[{"content":"Been a while since I did a \u0026ldquo;War Stories\u0026rdquo; post - here\u0026rsquo;s one about a routing policy I screwed up recently. Gave me a fright that I\u0026rsquo;d really messed something up, but in the end it was no big deal, and it taught me something about who uses route collector info.\nUh-oh\u0026hellip;we\u0026rsquo;re announcing bogons? While looking at bgp.he.net/AS32590 for something unrelated, I saw this:\nInvestigating more, it tells me this:\nWhat the hell is going on? We should never be announcing bogon ranges to any peer. I rushed off to check some of our peering sessions, e.g\n1 2 3 4 5 6 7 8 lindsayh@rtr\u0026gt; show route advertising-protocol bgp 86.104.125.69 inet.0: 1009955 destinations, 8974886 routes (1008431 active, 2 holddown, 2770 hidden) Prefix\tNexthop\tMED Lclpref AS path * 155.133.226.0/24 Self I * 155.133.229.0/24 Self I * 155.133.250.0/24 Self I * 162.254.197.0/24 Self I We\u0026rsquo;re just advertising the normal set of prefixes I expect at that site. Defintely not advertising anything unusual to HE. So why do they think we\u0026rsquo;re advertising bogons?\nHmmm\u0026hellip;Cloudflare Radar also says we\u0026rsquo;re announcing junk. Must be a clue there.\nA NOC that responds I reached out to HE, and their NOC is terrific - they responded very quickly on a Friday evening, even though we\u0026rsquo;re not a paying customer. Kudos to them.\nThey pointed out that their Super Looking Glass gives you an indication of where they\u0026rsquo;re learning those prefixes from. For example, if you look at 155.133.226.0/24, you\u0026rsquo;ll see \u0026ldquo;Learned from: route-views.sg\u0026rdquo;\nThis was the bit I\u0026rsquo;d missed - bgp.he.net is not just using information from what they see advertised to them. They are also looking at data received by route collector services, such as RouteViews. I had recently added sessions with RouteViews. They wanted to see our full tables, to get another view of what a well-peered edge network sees. I had somewhat carelessly advertised them our full tables\u0026hellip;which includes some prefixes that we use internally. We of course strip those out for advertisements to regular peers, but I had reused a policy that should only be used for our internal sessions.\nNo Real Harm No real harm done, since we didn\u0026rsquo;t advertise those prefixes to any \u0026ldquo;real\u0026rdquo; peers. Plus of course everyone else is stripping bogons on received prefixes, right? Right?\nBut it was interesting for me to learn more about how sites like bgp.he.net and radar.cloudflare.com get their data.\nThis article is Part 13 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - This Article ","permalink":"https://lkhill.com/advertising-bogons/","summary":"\u003cp\u003eBeen a while since I did a \u0026ldquo;War Stories\u0026rdquo; post - here\u0026rsquo;s one about a routing policy I screwed up recently. Gave me a fright that I\u0026rsquo;d really messed something up, but in the end it was no big deal, and it taught me something about who uses route collector info.\u003c/p\u003e","title":"Advertising Bogons (Or Was I?)"},{"content":"I\u0026rsquo;ve written before about choosing a Juniper version. Juniper has a new release process. Well, two actually - the new official process, and what they\u0026rsquo;re actually doing\u0026hellip;\nFirst the good bits. Juniper started a new release process in 2023. Key points:\nNumbering format remains the same - \u0026ldquo;\u0026lt;year\u0026gt;.\u0026lt;quarter\u0026gt;.R\u0026lt;release number\u0026gt;-S\u0026lt;service release\u0026gt;\u0026rdquo; New feature releases are only twice a year, in June \u0026amp; December - \u0026ldquo;YY.2\u0026rdquo; and \u0026ldquo;YY.4\u0026rdquo;. Not quarterly. No more \u0026ldquo;R3\u0026rdquo; maintenance releases - just the initial R1 release, then a later R2 release. Service Releases \u0026ldquo;-Sx\u0026rdquo; continue. I like the new process. It simplifies the versions they have to maintain. We used to say that you should wait for the R3 release, but really there\u0026rsquo;s no difference between R3 and R2-S3. Now Juniper doesn\u0026rsquo;t have to maintain the quarterly releases, and all the maintenance and service releases below them. It avoids the confusion that happened when they kept patching -R2, even after releasing R3.\nBut here\u0026rsquo;s the thing with a simplified release process: you\u0026rsquo;ve got no excuses for not delivering. I have no issue with 6-monthly feature releases. But it feels like they\u0026rsquo;re doing annual releases these days.\nLook at the current download page for the QFX5120-48Y, a very common ToR switch:\nHmmm, what\u0026rsquo;s what warning icon telling us? \u0026ldquo;Use for Lab Qualification only\u0026rdquo;:\nOK, how about 24.2R1-S1, that update should have fixed it? Nope.\nIt is similar for other platforms - the 24.2R1 and 24.2R1-S1 releases are marked for \u0026ldquo;lab only.\u0026rdquo;. One of the platforms that it is not marked lab only is ACX7100-48L. But in that case I tried using 24.2R1 in production, hit multiple issues, and then JTAC slapped my hand for daring to use that version. That platform does not have any 24.2R1-S1 release published, lab only or not.\nThe most recent release for QFX5120-48Y is 23.4R2-S2. That\u0026rsquo;s also the \u0026ldquo;suggested\u0026rdquo; release, so it should be good, right?\nWell no, not really. Amongst other bone-headed problems, it logs thousands of messages an hour like this about Unexpected TLVs. All Juniper customers know the standard TAC response \u0026ldquo;just filter the log messages\u0026rdquo; - the problem is the rate is so high that you still get a lot of syslog messages like EVENTD_KERNEL_LOGS_DROPPED [junos@2636.1.1.1.4.82.30 count=\u0026quot;2\u0026quot;] Due to excessive logging, (2) kernel events dropped by eventd\nI do not understand how Juniper QA continues to ship code that has huge increases in syslog messages, often at INFO and higher. These are not debug messages. This pattern happens again and again. You\u0026rsquo;d think \u0026ldquo;1000x increase in syslog volume\u0026rdquo; would be cause to investigate, but no.\nThe most obvious reason for this is the looming HPE acquisition. I know from firsthand experience how tough it is. The official word is always that everything in sunshine and rainbows, but it\u0026rsquo;s never that easy on the ground. The top execs get big payouts to stay, or payouts to leave. But the engineers on the ground have a big fat pile of uncertainty. Many will find a new job, to get greater certainty. Those that stay are distracted, waiting to hear if they still have a job.\nI hope it gets better soon.\n","permalink":"https://lkhill.com/juniper-release-process/","summary":"\u003cp\u003eI\u0026rsquo;ve written before about \u003ca href=\"/juniper-version-selection/\"\u003echoosing a Juniper version\u003c/a\u003e. Juniper has a new release process. Well, two actually - the new official process, and what they\u0026rsquo;re actually doing\u0026hellip;\u003c/p\u003e","title":"Juniper Release Process 2024 Redux"},{"content":"I recommend always using LACP for external connections. It will make your life easier, even when you only have a single connection. Here\u0026rsquo;s why we do it.\nIf you set up a PNI with AS32590, we will strongly recommend the use of LACP, even for a single link. If you have two PNIs with us, they will each be separate single-member LAGs, because they will be on different routers on our side.\nIt\u0026rsquo;s only once you have more than 2 links that we start using LACP in the way most people think of it.\nIt\u0026rsquo;s not just us. In Google\u0026rsquo;s Peering Policy, under \u0026ldquo;Private peering physical connection requirements\u0026rdquo;, it states\nLink aggregation via LACP is required for all links, including single links\nEver wondered why that is? What\u0026rsquo;s the point in setting up a LAG if I only have one link? What does it give me? More lines of config for no operational enhancement? And I thought we should use L3 everywhere anyway?\nI can\u0026rsquo;t speak for Google, only for the way we operate our network. But I\u0026rsquo;m pretty sure their reasons are similar to ours. The obvious reason is for future growth, but there are operational benefits too.\nEasy Expansion Traffic volumes only go one way: up and to the right. If I have an existing 2 x 1 x 100G PNIs to you, and we need more capacity, it\u0026rsquo;s easy - add another port to each LAG. No new IPs needed, no BGP changes.\nI can order the cross-connect and patching, and preconfigure my port to be part of the LAG. Then when you patch your end, the new link starts working straight away, no further changes needed.\nLAGs can also help when going from n x 10G to n x 100G. link-speed mixed seems like the Devil\u0026rsquo;s Work the first time you see it, but it is very useful. Set that option on a 2 x 10G LAG today. When you need to upgrade to 100G, you can add a 100G link to the bundle. It will start balancing traffic, and then you can remove the 10G links, no BGP flaps or changes.\nOperational Benefits The growth part is obvious. But there\u0026rsquo;s other operational benefits. Consider a real example I am dealing with today. I have a flapping 100G port on a Juniper PTX. The issue only starts with 21.4R3, and only when the remote end is a CFP2 optic, but not all CFP2 optics.\nATAC wants me to move the connection from port 0/0/4 (a QSFP28 port) to 0/0/3 (a QSFP56-DD port). Yes, we are clutching at straws, but this one has been hard to reproduce in the lab, so we\u0026rsquo;re eliminating one more thing.\nThe router is at a remote site. I need to log a ticket to get remote hands to move the cross-connect. How can I do it with the shortest outage? I\u0026rsquo;d like to copy the IP address from port 0/0/4 to 0/0/3. That way when the patch cable gets moved, everything comes up:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 lindsayh@ptx# show interfaces et-0/0/4 description \u0026#34;Transit: Potatotel AS64497 [100Gbit]\u0026#34; unit 0 { family inet { address 198.51.100.122/31; } family inet6 { address 2001:db8:aa00:15::1/127; } } {master}[edit] lindsayh@ptx# copy interfaces et-0/0/4 to et-0/0/3 {master}[edit] lindsayh@ptx# show | compare [edit interfaces] + et-0/0/3 { + unit 0 { + family inet { + address 198.51.100.122/31; + } + family inet6 { + address 2001:db8:aa00:15::1/127; + } + } + } But I can\u0026rsquo;t do that:\n1 2 3 4 5 6 7 8 9 10 {master}[edit] lindsayh@ptx# commit check re0: [edit interfaces et-0/0/4 unit 0 family inet] \u0026#39;address 198.51.100.122/31\u0026#39; identical local address found on rt_inst [default], intfs [et-0/0/3.0 and et-0/0/4.0], family [inet]. error: configuration check-out failed {master}[edit] lindsayh@ptx# I need to schedule a time to co-ordinate the move with Equinix, or accept it will be down between when they move it and I\u0026rsquo;m next online.\nIf we had used a single-member LAG, it would be easy. Just run set interfaces et-0/0/3 ether-options 802.3ad ae4. When they move the cable, everything will work. Later I can clean up the LAG config from the old port.\nFor your own internal links between devices, you might choose to make them all independent L3 links, and that\u0026rsquo;s OK. That may be the best choice. But any connection to a third party, e.g. PNIs, IXPs, Transit links, you should default to always using LACP, even if you only have one link. A couple of extra lines of config today will save you time later.\n","permalink":"https://lkhill.com/why-single-port-lag/","summary":"\u003cp\u003eI recommend always using LACP for external connections. It will make your life easier, even when you only have a single connection. Here\u0026rsquo;s why we do it.\u003c/p\u003e","title":"Why Single-Port LAGs?"},{"content":"The BGP RFCs state that external BGP peers should insert their own AS into the AS PATH advertised to eBGP peers. Some peers strip their AS, generally for commercial gain. Juniper and Cisco have opposite default behaviors for handling this. Make sure you set bgp enforce-first-as on Juniper routers. Caveats apply.\nBackground: Traffic Anomalies A few years ago I was looking at some traffic reporting anomalies. My IPFIX data said that traffic with next-hop AS \u0026lt;dodgy-AS\u0026gt; was around 3Gb. But my SNMP data showed that a PNI to that peer was doing 8-10Gb.\nI first doubted my router, because I had issues with IPFIX in the past on that specific platform. I also wondered about sampling rates. I have high flow rates, and need to set the sampling to be more coarse. But it was a big anomaly.\nSlicing \u0026amp; dicing the data different ways, and chatting to colleagues about it, we saw what was going on. IPFIX showed the right volumes when reporting on destination interface. But some prefixes received from the peer did not contain the peer\u0026rsquo;s AS. We still accepted them.\nHuh? Isn\u0026rsquo;t it normal behavior, to insert your own AS into any prefixes you advertise to external peers? It is a key part of BGP loop prevention. Why did my router accept those prefixes? What gives?\nAlways Check the RFC When in doubt, always start with the RFC. They are very readable, and this is exactly the sort of behavior they should define.\nRFC 4271 section 5.1.2 states that\nWhen a BGP speaker originates a route then:\na) the originating speaker includes its own AS number in a path segment, of type AS_SEQUENCE, in the AS_PATH attribute of all UPDATE messages sent to an external peer.\nNote that there is no \u0026ldquo;SHOULD\u0026rdquo;, \u0026ldquo;MAY\u0026rdquo; or \u0026ldquo;OPTIONAL\u0026rdquo; about it.\nLegitimate Exception: Route Servers Route Servers are a specific, legitimate exception to the above. RFC 7947 Section 2.2.2.1 states:\nAs a route server does not participate in the process of forwarding data between client routers, and because modification of the AS_PATH attribute could affect the route server client BGP Decision Process, the route server SHOULD NOT prepend its own AS number to the AS_PATH segment nor modify the AS_PATH segment in any other way.\nAlmost all IXPs operate this way today. I peer with a handful that don\u0026rsquo;t, and they annoy me. HKIX is one. PIT Chile changed default behavior this year.\nWhy would you strip your AS? Route servers have a legitimate reason to not insert their AS. Why else would a network do it?\nThere are other use-cases where you need to manipulate the advertised path, e.g. AS migration. See Daniel\u0026rsquo;s blog for examples.\nWhat about less than legitimate use-cases?\nImagine that I operate a CDN with extensive peering and transit connections.\nAnd let\u0026rsquo;s say that you operate an eyeballs ISP, with two upstream providers. Your upstream providers charge you on a traffic volume basis. They in turn have transit agreements with other operators, and peer at IXPs. They might have bi-lateral peering at IXPs or PNIs with me.\nAll else being equal, if I have identical relationships with those networks, I will split traffic to you across them.\nNote: Disclaimer: BGP is a suggestion framework, not a proscribed routing protocol like OSPF. I can and do route traffic according to my business needs. Your routing suggestions are just that: suggestions. Now what if one of your transit networks is a bit shady, and wants to maximize traffic going via their network? They have two levers to pull: Either announce more specifics for your prefixes, or strip their own AS. I ignore any other BGP attributes. Announcing more specifics has other issues, and may not be possible. But they can strip their AS, and hope that I don\u0026rsquo;t notice.\nNow I have two paths, with everything equal except the AS path length. Default BGP best path selection will make me send traffic via that provider.\nOr what if I peer with both you and your transit provider at an IX? I see two paths, with the same AS path length. I will split my traffic between direct to you, and via that transit. That is not cool. If you\u0026rsquo;re at the IX, I should send everything direct to you.\nNote: AFAIK, this only works with bi-lateral sessions. All route servers drop announcements where the first AS in the path is not the advertising peer\u0026rsquo;s AS. Juniper vs Cisco behaviour Juniper and Cisco take different approaches to this. By default, Cisco will only accept prefixes where the first AS matches the eBGP peer AS. You can disable this using the bgp enforce-first-as command.\nJuniper allows peers to strip their AS by default. You must explicitly set enforce-first-as.\nFor a typical IXP scenario, if you have a Cisco router, you need to configure \u0026ldquo;no bgp enforce-first-as\u0026rdquo; for route server sessions. With a Juniper router you must set \u0026ldquo;enforce-first-as\u0026rdquo; for all sessions except the route server sessions. There is no equivalent to \u0026ldquo;no enforce-first-as\u0026rdquo; on Junos.\nEffects of enforcing first-AS When enforced, both Cisco and Juniper will discard any prefixes received where the first AS in the path is not the peer\u0026rsquo;s AS. They maintain the BGP session, and they will accept any other valid prefixes received.\nSummary: If you peer at IXPs, and use Cisco gear, you\u0026rsquo;re OK. If you\u0026rsquo;re using Juniper, check that your config is enforcing first AS for all sessions except those from route servers.\n","permalink":"https://lkhill.com/enforce-first-as/","summary":"\u003cp\u003eThe BGP RFCs state that external BGP peers should insert their own AS into the AS PATH advertised to eBGP peers. Some peers strip their AS, generally for commercial gain. Juniper and Cisco have opposite default behaviors for handling this. Make sure you set \u003ccode\u003ebgp enforce-first-as\u003c/code\u003e on Juniper routers. Caveats apply.\u003c/p\u003e","title":"Enforcing First AS in BGP"},{"content":"Picking the right Junos version is important. If you\u0026rsquo;re not familiar with Juniper, finding and downloading the right software package is confusing. Here\u0026rsquo;s some guidance on picking the right version.\nTip: TLDR: Check the Suggested Releases page, find the latest service release in the suggested version for your platform. Almost never use the very latest version. Never use the version the box shipped with. Pay attention on the Downloads page, there are traps. It\u0026rsquo;s useful to understand Junos version numbering, and the upgrade policy. Then check the Suggested Releases page to see what they recommend, check if that makes sense, and figure out how to get from here to there.\nUnderstanding Version Numbering These days Juniper publishes a new release train every quarter. Versioning is simple \u0026ldquo;\u0026lt;year\u0026gt;.\u0026lt;quarter\u0026gt;.R\u0026lt;release number\u0026gt;\u0026rdquo;. So 21.4R1 is released in the 4th quarter of 2021. New releases add new features and support new hardware. Configs may break\nThey then publish \u0026ldquo;service releases\u0026rdquo; on top of that, for example 21.4R1-S1 and 21.4R1-S2. These are supposed to only be bugfixes, but complacency breeds contempt. So sometimes they throw in throw in breaking changes that may render your existing config non-bootable, because why the hell not? Be grateful if they\u0026rsquo;re documented, like the payload-protocol vs next-header change.\nA few months later they publish an \u0026ldquo;R2\u0026rdquo; release that rolls up bugfixes, and may have some small changes in behavior. No more service releases to the R1 train after that. A few more service releases, then they introduce an R3 release. Again rolls up bugfixes, perhaps with small behavior changes. They might add some more service releases on R2 after R3 comes out. I wish they wouldn\u0026rsquo;t.\nThe R3 release will see service releases over the course of its lifetime, becoming further and further apart. No R4. Many engineers look for R3 releases before considering upgrades.\nTip: Pre 2017 versions, e.g. 12.x and 15.x had their own thing going on with release numbering, but you can ignore that if you\u0026rsquo;re working on supported hardware. Extended End of Life Juniper went a bit funny with \u0026ldquo;Extended End of Life\u0026rdquo; versions for a while. Their docs were full of references to those versions, but they were all years out of date. I couldn\u0026rsquo;t predict which versions would be considered extended. They fixed this in the last couple of years. Now it\u0026rsquo;s obvious - the \u0026ldquo;even\u0026rdquo; numbered releases such as 21.2, 21.4 are \u0026ldquo;Extended\u0026rdquo; - they have 3 years of Engineering support after first release. The odd-numbered releases like 21.1 and 21.3 have 2 years of support.\nThis is 3 years from the first R1 release. Given that the R3 release comes out around 9 months after R1, and you\u0026rsquo;ll wait for a couple of service releases on top of that, it\u0026rsquo;s often a year from release when you install it. So you\u0026rsquo;ll want to be on the extended end of life releases, to give yourself a couple of years of support.\nThe Junos OS Dates \u0026amp; Milestones is your go-to page to check support lifecycles. Some releases will get even longer support, e.g. for specific EoL hardware.\nJTAC Suggested Releases Juniper has a great page \u0026ldquo;Junos Software Versions - Suggested Releases to Consider and Evaluate.\u0026rdquo; That page has a section for each of the main product lines, and model-specific guidance. Find your model, and check the listed versions, and \u0026ldquo;last updated\u0026rdquo; date.\nNote: They used to call it \u0026quot;Recommended\u0026quot; versions rather than \u0026quot;Suggested,\u0026quot; toning it down a little. It\u0026rsquo;s still your first and best place to start when picking a version. For example, if you\u0026rsquo;re updating an EX3400, it says \u0026ldquo;Latest 21.4R3-Sx\u0026rdquo;, last updated 14 Nov 2022. Straightforward - find the latest available service release for the 21.4R3 release train. Last updated a few months ago, so it\u0026rsquo;s solid advice.\nYes, these versions will still have bugs. There\u0026rsquo;s no guarantee they are perfect. But if you don\u0026rsquo;t have any specific requirements, they are always a solid choice. They are mostly conservative, but there will be no surprises from JTAC if you log a case against them. They will almost always be extended end of life releases, except for specific hardware support.\nYou should bookmark that page, and sign up for change notifications.\nOK, But What About What if I don\u0026rsquo;t like the suggested release? What if I need feature \u0026lt;X\u0026gt;? Or what if they have multiple suggested versions, e.g. for MX80 today they suggest 20.2R3, 20.4R3, 21.2R3. Not helpful.\nIn those cases you\u0026rsquo;ll need to make your own decision. Remember that Juniper is offering suggested releases - as long as you are still running a supported release, they will still support you. They might question your choice, but if you have a solid rationale, it\u0026rsquo;s fine.\nIf you really need feature \u0026lt;X\u0026gt; that is only in the very latest code, that\u0026rsquo;s what you have to do. If running brand new hardware, you might need a brand-new software release.\nMy general advice in those situations is:\nPick an even-numbered release if possible Pick the oldest even-numbered version that has the features you need Take the latest service release in that train If there are multiple suggested versions, look at the future support lifetime, and pick something you\u0026rsquo;re comfortable with. E.g. 20.2R3 is about to go end of support. That\u0026rsquo;s a poor choice if you\u0026rsquo;re upgrading today. In my case I would pick the newest branch, unless I had wide deployment of an older branch and was sticking with it for a while.\nWhat\u0026rsquo;s this about hardened releases? I saw a reference to hardened releases somewhere - what about those?\nMy advice is to ignore those. As best as I can tell, Juniper decided to do \u0026ldquo;hardened\u0026rdquo; releases for specific use-cases, e.g. EVPN-VXLAN, or VCF. But they did a poor job of explaining what a hardened release is, and have not kept their documentation up to date. You can see traces of it in this PDF, but I have not seen any clear public definitions. If you go to Pathfinder and click on Data Center, then select an architecture, e.g. MC-LAG, you\u0026rsquo;ll see a \u0026ldquo;hardended release.\u0026rdquo; At the time of writing, it says that is 20.2R3. Installing a release today that goes End of Engineering in June this year is a bad move. Don\u0026rsquo;t do that.\nThe \u0026ldquo;Suggested Releases\u0026rdquo; page has recommendations for use-cases for the QFX platforms. At 2023/03/30, for MC-LAG (QFX5K) it says \u0026ldquo;Latest 21.4R3-Sx / 22.2R3\u0026rdquo;. Those are better choices. At the time of writing, they suggest the same version for all use-cases. Probably tells us something about what happened to their plans for \u0026ldquo;hardened\u0026rdquo; releases.\nJuniper Upgrade Policy If you\u0026rsquo;re trying to get to there, I wouldn\u0026rsquo;t start from here\nWhen I upgrade a standalone Arista switch, I copy the new software to it, tell it to use that image, and reload. I don\u0026rsquo;t care what version I\u0026rsquo;m on today. With Junos, your current version impacts how you get to your destination. Depending on your current version, you might officially need to go via interim steps to get to your target.\nThe official policy says:\nFor both EOL and EEOL releases, you can upgrade to the next three subsequent releases or downgrade to the previous three releases. For example, you can upgrade from 20.4 to the next three releases – 21.1, 21.2 and 21.3 or downgrade to the previous three releases – 20.3, 20.2 and 20.1.\nFor EEOL releases only, you have an additional option - you can upgrade directly from one EEOL release to the next two subsequent EEOL releases, even if the target release is beyond the next three releases\u0026hellip;For example, 20.4 is an EEOL release. Hence, you can upgrade from 20.4 to the next two EEOL releases – 21.2 and 21.4\nIf you do annual upgrades, it\u0026rsquo;s easy. Going 20.4 to 21.4? Straight shot. What if you have 18.4? Do you really want to go 18.4 -\u0026gt; 19.4 -\u0026gt; 20.4 -\u0026gt; 21.4? Tedious. What if you\u0026rsquo;ve found an old box on the shelf and want to use that? Junos upgrades and reboots are very slow, do I have to go through all that? Can\u0026rsquo;t I skip some steps?\nIf you do a USB/TFTP install, you can go straight to any version. If you\u0026rsquo;re doing this online\u0026hellip;it is very version- and platform-dependent. I have my own experience for what steps I can do. For example, I know I can take a QFX5110 from 18.4R2 -\u0026gt; 21.4R3 in one step. I also know that EX3400 18.4R2 -\u0026gt; 20.4 is impossible if it\u0026rsquo;s too early a service release on the EX3400. I\u0026rsquo;ve hit similar issues on MX, where some steps were too large. If you have a large fleet to upgrade, try it out on a some low risk systems. Generally it fails at install time. If you have a handful of systems, then sticking to the guidance is safer.\nSome platforms specifically call out supported large jumps, e.g. SRX 15.1 -\u0026gt; 19.4R3. If Juniper says it\u0026rsquo;s OK, then go for it. Otherwise test first.\nDownloading the right software OK, we\u0026rsquo;ve figured out what version we want, and any interim releases we need. Let\u0026rsquo;s download it. Should be simple right? Yes and no. It\u0026rsquo;s easy once you know the tricks, but hard at first.\nLet\u0026rsquo;s say we have a QFX5100, and we want to run the latest 21.4R3-Sx release, as suggested.\nStart with the Downloads page, and put QFX5100 into the search box:\nuh\u0026hellip;do I want QFX 5e Series Switch, QFX 5e Series Switch with Enhanced Automation, Limited - MacSec Enabled QFX 5 Series, Limited - QFX 5 Series Switch with Enhanced Automation, QFX 5 Series Switch, QFX 5 Series Switch with Enhanced Automation?\nTurns out you don\u0026rsquo;t want any of those. The first page of results is a trap. It only has the \u0026ldquo;R\u0026rdquo; releases. You almost never want a base \u0026ldquo;R\u0026rdquo; release, you want a Service Release, e.g. R3-S4.\nScroll up, go to the drop-down, select \u0026ldquo;Junos SR\u0026rdquo;, and make sure 21.4 is the selected version. Now we see the service releases, in reverse chronological order. 21.4R3-S3 is the latest at release time. But there\u0026rsquo;s 6 variations. Which one do I want?\nAs a general rule, you never want a \u0026ldquo;Limited\u0026rdquo; release unless you\u0026rsquo;re in specific restricted countries. If you\u0026rsquo;re in one of those places you\u0026rsquo;ll know about this, if you\u0026rsquo;ver never heard of it you can ignore it. So now the choices are 5 vs 5e, and with or without \u0026ldquo;Enhanced Automation.\u0026rdquo; If you don\u0026rsquo;t know, choose \u0026ldquo;Enhanced Automation\u0026rdquo; - it will help you later. Read this for more info. Last thing, 5 vs 5e? For QFX5110 and QFX5120, you must use the \u0026ldquo;5e\u0026rdquo; image, and it will be the only option you see. For QFX5100 you can install 5 or 5e images. This is a trap. Do not install 5e unless you know exactly why you\u0026rsquo;re doing it. Get the \u0026ldquo;5\u0026rdquo; image.\nOther products like the PTX10001-36MR are much simpler. There are just one or two download variations.\nOne last thing before downloading that file. Make sure you are selecting the file from the \u0026ldquo;Install Package\u0026rdquo; section\nDo not download the file from the \u0026ldquo;Install Media\u0026rdquo; section unless you are trying to create a USB image. For a while the default page for some products opened to the Install Media section. Made me download the wrong file quite a few times.\nWhat about Junos vs Junos Evolved? Go to the downloads page for PTX10003, and you\u0026rsquo;ll get this dropdown:\nCan I choose if I want Junos Artisanal or Junos Evolved? No, this is just an artifact of the way they publish OpenConfig models. Those are listed under Junos, but the software you want to download is under \u0026ldquo;Junos Evolved SR.\u0026rdquo; Do not ask me why.\nOnce you\u0026rsquo;ve finally tracked down the right software, click on the package, login if required, accept the license, and download it. Then copy it to your switch, and install it. Exact methods vary by platform, start here for common methods. Install it, reboot, and cross your fingers!\n","permalink":"https://lkhill.com/juniper-version-selection/","summary":"\u003cp\u003ePicking the right Junos version is important. If you\u0026rsquo;re not familiar with Juniper, finding and downloading the right software package is confusing. Here\u0026rsquo;s some guidance on picking the right version.\u003c/p\u003e","title":"Juniper Version Selection"},{"content":"Juniper has a new enhanced four-post rack mount kit \u0026ldquo;JNP-4PST-RMK-1U-E\u0026rdquo; for their 1RU datacenter devices. It works with devices like the QFX5120 and PTX10001-36MR. It is much improved over the legacy rack mount kit. It are not as good as some competitors, but it is backwards compatible. It makes switch installation quicker and safer.\nBackground: Current 4-post rail kit Juniper has used the same 4-post kit for their 1RU datacenter switches and routers for many years. The same kit works on QFX5100, QFX5110 and QFX5120-48Y switches. The MX204 uses a slight variation, but is almost identical. Oddly, the QFX5120-32C uses something completely different. Devices are secured to the front and rear posts. 2-post mounting is unwise for modern deep devices with heavy PSUs. You can still get away with 2-post mounting for lighter, shallower access switches. Modern servers and deep switches/routers need 4-post mounting, or some sort of shelf.\nThe current kit \u0026ldquo;EX-4PST-RMK\u0026rdquo; has 2 parts per side:\nOne piece screws in to each side of the switch. Note that there are 8 holes per side, but Juniper supplies a total of 12 very small screws. As you can imagine, installing 12 very small screws per switch is no fun when you have a stack of 50. The other pieces of the rail kit mounts from the rear, to connect the switch to the rear posts.\nThe switch installs from the front, and screwed into\u0026hellip;oh. Wait. Yes, you will need to install 8 cage nuts first (not supplied). Make your blood sacrifice to the networking gods.\nHaving installed the cage nuts, now you can supply your own screws, and screw in the front\u0026hellip;no\u0026hellip;wait. What\u0026rsquo;s going to hold this heavy switch up while the screws are going in? The documentation says you need two people for this step. But we all know that installation doesn\u0026rsquo;t work that way.\nCan we pre-mount the rear rails, then slide the switch in, so it\u0026rsquo;s supported from the rear while we screw in the front? No chance. The rear rails are flimsy pieces of metal that wilt when you take them out of the box. Any slight bend and they bind up when sliding into the front rails. There\u0026rsquo;s no safe way to lift a switch in by yourself, slide it onto the rear rails, then screw in the front.\nYour choices are: find a helper, install a temporary server below the switch, or: Patchbox setup.exe:\nThis acts as another pair of hands. Now we can screw in the front, then install the rails at the rear. Note how easy they flex. Force them in, screw in to the rack, go back and tighten the front screws, and remove the setup.exe.\nThis kit works, but it is dangerous for one person, and it wastes time and money. Juniper uses the same kit for the new PTX10001-36MR, a very dense 1RU router with 3kW PSUs. Even better, for the PTX10001-36MR, 4 of the little screws are different to the others. No guidance on which ones to use where. Those are very small screws and very flimsy rails for a system that weighs 18kg.\nThe Industry and the Competition If you\u0026rsquo;ve spent your career installing network gear, you might assume \u0026ldquo;that\u0026rsquo;s the way it is.\u0026rdquo; Or it\u0026rsquo;s a challenge, see who can do the difficult task as quickly as possible. Or you take any suggested improvement as some sort of challenge to your engineering chops. Check this NANOG thread. Yes, I know, be very careful reading NANOG. A few quotes:\nA 30-minute time to install a regular 1U ToR switch seems a bit excessive. Maybe the very first time a tech installs any specific model switch with a unique rail configuration. After that one, it should be around 10 minutes for most situations.\nI\u0026rsquo;m an idiot for being so slow:\n30 minutes to pull a switch from the box stick ears on it and mount it in the rack seems like a realllllly long time. I think at tops that portion it that’s a 5-10 minute job if I unbox it at my desk\nCan someone explain to me how to install 8 x cage nuts, 12 x small screws, mount the device, and install the 8 x cage nut screws in 10 minutes? I\u0026rsquo;m sorry, I\u0026rsquo;m calling bullshit. Someone else claims to be even faster:\nit usually takes about 3 minutes\nAnd somehow, the tool-less kits are slower and more difficult? Why has no-one told the server engineers this?\nThose speed rails as well are a bit of a challenge to install\nI\u0026rsquo;m sorry what? No they are not. Not even close to a challenge to install compared to typical network vendor rails. I can install and remove Dell server rails from the front of the rack without even needing walk around the back. They are explicitly designed to be quick and easy to work with, not \u0026ldquo;as cheap as possible.\u0026rdquo;\nOther comments were along the lines of \u0026ldquo;considering overall lifetime TCO, it\u0026rsquo;s not a deal-breaker.\u0026rdquo; That I can understand. It\u0026rsquo;s not going to be the sole factor deciding on vendor X over Y. Some folks said they only rack a few switches once a year. Yes, for you, it doesn\u0026rsquo;t matter. For those of us doing this more than a few times, it does matter. \u0026ldquo;My switches run 15 years with no hardware replacements.\u0026rdquo; Some of have let go of CatOS. There was no network hardware on the market 15 years ago that meets my needs today.\nI can install an entire 384lb 21U core router in 30 minutes.\nYeah, well, good for you pal. My father walked uphill both ways to school, and on the day it snowed he still had to go to school. But here\u0026rsquo;s the thing: it doesn\u0026rsquo;t need to be that way. Just because you had to live with something doesn\u0026rsquo;t mean the rest of us have to. It doesn\u0026rsquo;t have to involve installing tiny fiddly screws and delicate balancing acts. There\u0026rsquo;s no reason other than stubbornness to resist improvement.\nServer vendors solved this problem years ago. Dell, HPE, Lenovo have all had 4-post rail kits that work well for years. Yes, they\u0026rsquo;ve gone through iterations, and yes, they all have little tricks you need to learn to operate them. Yes I have caused a ball bearing explosion in DC11. But they are solid, and much quicker and safer than what network vendors do.\nThe key difference is that the rails are first installed into the rack, front and rear. They have clips and square lugs to fit into the posts, no cage nuts or screws needed. The server then slides into the rails. Quick, no tools needed.\nNot all networking vendors have ignored progress. Arista rail kits work the same as server rail kits. Clip one piece to the side of the switch, install the rails into the rack, clip in, then slide the switch in. They also have adapters for 2-post rail kits. So it can be done. Dell does something similar.\nJuniper\u0026rsquo;s New Rack Mount Kit I have been telling Juniper this is a problem for years. Other customers too. Juniper has listened, and developed a new rack mount kit \u0026ldquo;JNP-4PST-RMK-1U-E.\u0026rdquo; No public documentation yet, but it is on the pricelist and orderable.\nThe first thing you\u0026rsquo;ll notice is there are 3 metal pieces per side. One piece screws onto the switch. Yes, you do still need to use some tools. The mounting points are the same as the old rails, so you can use this on all the same hardware that the old kit works on. The small bag there contains 16 screws! Install them all, or keep some for spares, leave a couple empty, for old time\u0026rsquo;s sake.\nThe other front and rear parts attach to the rack with no cage nuts required. The square lugs fit through the hole, and the retainer clip holds it in. The retainer clip design is a little suspect to me, but it is good enough.\nThen slide the switch in, and tighten the thumbscrews. Done! No apprentice needed to hold the heavy switch while you faff about dropping cage nut screws.\nNote there are no catches stopping the switch coming out once you undo the front thumbscrews. Most server rails let you slide the server almost all the way out, then you need to undo a catch to remove them all the way. It\u0026rsquo;s OK to not have one here, where you are not going to be opening the top of the switch while it\u0026rsquo;s in the rack.\nVerdict This new system is a real improvement over the old design.\nPros:\nSafe for solo installs No cage nuts needed Saves time and money Should handle higher weight devices better Cons:\nStill need to put the damn little screws in Watch your fingers, the edges are a little sharp Need to remember to add to order I\u0026rsquo;m glad Juniper has listened to feedback. They were falling behind competitors. This will save me time and money. I plan to order these, and hope they are the default option soon. I\u0026rsquo;d like to see more improvements with new hardware, offering true tool-less install.\nAnd for the curmudgeons who say I\u0026rsquo;m wrong, the old ways are the best, I am a poor excuse for an engineer, they will stick to the old ways? Good luck to you. You do that. I\u0026rsquo;ll move with the times. While you\u0026rsquo;re faffing around in the DC, I\u0026rsquo;ll go do something more useful.\n","permalink":"https://lkhill.com/juniper-rack-mount-kit/","summary":"\u003cp\u003eJuniper has a new enhanced four-post rack mount kit \u0026ldquo;JNP-4PST-RMK-1U-E\u0026rdquo; for their 1RU datacenter devices. It works with devices like the QFX5120 and PTX10001-36MR. It is much improved over the legacy rack mount kit. It are not as good as some competitors, but it is backwards compatible. It makes switch installation quicker and safer.\u003c/p\u003e","title":"New Juniper Rack Mount Kit"},{"content":"The Juniper EX3400 switch series is a decent access switch. But a Product Manager chose to save $0.50 on COGS by choosing a 2GB disk. That\u0026rsquo;s just not enough space to handle normal Junos upgrades. This has wasted untold engineer hours on busywork. I hope that person (A) got a bonus, and (B) is never allowed to under-spec hardware again.\nHere\u0026rsquo;s some tips I\u0026rsquo;ve learnt for manual and automated upgrades for EX3400s.\nManual Upgrades Search for \u0026ldquo;Juniper EX3400 disk space\u0026rdquo; and you\u0026rsquo;ll find plenty of people complaining about this, and some suggestions. Juniper KB31198 looks like a good place to start. But it starts with request system storage cleanup and request system snapshot delete snap*.\nThose might work if you\u0026rsquo;re upgrading from 15.1X -\u0026gt; 18.2. Maybe if you\u0026rsquo;re lucky it will be enough for upgrades within the 18.4 train. But it almost certainly won\u0026rsquo;t work if you\u0026rsquo;re going from 18.4.x -\u0026gt; 20.2.x.\nThere have been PRs that are supposed to fix this, and they might help around the edges, but they don\u0026rsquo;t help a lot.\nWith certain version combinations, you could get away with copying the new verson to /mfs, and installing from there. It was dependent on your source \u0026amp; target image.\nThe only method I have found that works is this:\n1 2 3 4 5 lindsayh@ex3400\u0026gt; start shell user root Password: pkg setop rm previous pkg delete old exit This will completely remove the oldest installed image, freeing up plenty of space. These commands have not caused me any problems on the hundreds of systems I have run it on. It would mean that you can\u0026rsquo;t do a rollback from the current version to the previous version, but this is not a problem. You\u0026rsquo;re about to install a new version.\nIt\u0026rsquo;s not quite as terrifying as my early days of upgrading Cisco 3500s that only enough space for one single image. If the upgrade failed, things went very bad.\nZTP/Automated Upgrades The previous method is OK if you only have a handful of systems. It\u0026rsquo;s not practical if you have a large number of systems, or if you are using ZTP to set up new switches.\nJuniper switches that have been zeroized will use DHCP to retrieve their config file, and the image to install. So you could have some config like this on your DHCP server:\n1 2 3 4 if ( substring (option vendor-class-identifier, 0,14) = \u0026#34;Juniper-ex3400\u0026#34;) { option ztp-ops.config-file-name \u0026#34;ztp/conf/ex3400.txt\u0026#34;; option ztp-ops.image-file-name \u0026#34;ztp/images/ex3400.tgz\u0026#34;; } With 15.1X systems, this would work. But new EX3400s ship with at least 18.2 code, and you want to run 18.4 or 20.2. Even on a brand new, out of the box system with no logs or other config, there is not enough space to run a regular upgrade. (Does that speak more to Juniper QA, or just how criminal the under-provisioning of hardware was?)\nYou need a different approach for ZTP. I use a modified version of the juniper-ztp scripts here. It is a little more complicated, with a few moving parts, but here\u0026rsquo;s how it works:\n1/ The new (or newly zeroized) switch boots up. DHCP gives it an IP address, and a configuration file. 2/ The configuration file contains some basic config info, and this section:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 event-options { generate-event { staging time-interval 300; } policy staging { events staging; then { execute-commands { commands { \u0026#34;op url ftp://10.0.0.1/slax/ztp.slax\u0026#34;; } } } } } 3/ That says \u0026rsquo;every 5 minutes, generate an event called \u0026ldquo;staging\u0026rdquo;\u0026rsquo;. Whenever you see that event, run the script at that URL 4/ It is a SLAX script, which is a bit of a shit to work with. The script defines a target version. It then checks \u0026ldquo;am I already running that version? If so, remove the event policy, and quit.\u0026rdquo;. It will never run again. If it is not running the right version, it will free up disk space using the earlier pkg commands, pull down the new version, install it and reboot.\nOnce the switch reboots, it re-runs the script every 5 minutes. Assuming the upgrade worked, it should now clean itself up.\nDownloading \u0026amp; installing the image takes more than 5 minutes, so the script also sets a flag when it runs, and checks for the presence of that flag, aborting if it is already running.\nI use a variation of this script for updating existing systems. All I need to do is push out the event-options config, and the switches will free up space, pull down the new image, and reboot.\nIt sucks that we have to do this because someone saved $0.50 on a $2,000 switch. This is what happens when people don\u0026rsquo;t think through the total lifecycle of a device. But using these commands and/or this script will make that hoop-jumping a bit easier.\nIt does make me wonder though: What\u0026rsquo;s Juniper Mist doing for EX3400 software upgrades? There\u0026rsquo;s no magic to what Mist does, underneath it all it probably runs some very similar commands.\n","permalink":"https://lkhill.com/ex3400-disk-space/","summary":"\u003cp\u003eThe Juniper EX3400 switch series is a decent access switch. But a Product Manager chose to save $0.50 on COGS by choosing a 2GB disk. That\u0026rsquo;s just not enough space to handle normal Junos upgrades. This has wasted untold engineer hours on busywork. I hope that person (A) got a bonus, and (B) is never allowed to under-spec hardware again.\u003c/p\u003e","title":"EX3400 Disk Space and Upgrades"},{"content":"I\u0026rsquo;ve written before about the default ARP policer on Juniper MX. It can create some odd failure conditions when you\u0026rsquo;re connected to noisy networks such as large Internet Exchanges. Junos OS Evolved, as used on platforms like the PTX10003 has low default values for ARP and ICMPv6 ND DDoS protections. It will cause the same problems, but is easier to diagnose and mitigate.\nJuniper DDoS Protection Platforms like MX, QFX, PTX have Control Plane DDoS protections built in. These will automatically rate-limit various traffic types that hit the CPU. This is generally a Good Thing. Certain packet types get punted from the ASIC to the CPU, but the CPU can\u0026rsquo;t handle anywhere near the traffic levels that the forwarding ASIC can. Send enough special packets to a router, choke the CPU, and you might be able to knock things offline. So having default policies to rate-limit traffic makes sense.\nPlatform Defaults Juniper might have \u0026ldquo;One Junos\u0026rdquo; but we know it\u0026rsquo;s not that simple. Behavior varies between platforms. Check these default values for some DDoS protections for different platforms:\nProtocol MX QFX PTX ARP 20,000 500 500 NDPv6 20,000 N/A 500 ICMP 20,000 N/A 500 BGP 20,000 3,000 5,000 Note how the PTX values are much closer to the QFX values than the MX.\nDiagnosis and Mitigation Those PTX ARP \u0026amp; NDPv6 values will cause you problems on a busy IX. This behavior shows up as flapping BGP sessions, especially IPv6 BGP sessions. It can be confusing at first, as you appear to have working connectivity. Most peers are unaffected. You might not pick up on it if you\u0026rsquo;re not looking at your logs. Exact symptoms will vary, and you will see some neighbors flap more than others.\nshow ddos-protection violations will show currently violating ddos-protections.\nRun show ddos-protection protocols ndpv6 to see current traffic values, if/when it last triggered, and the number of times it has triggered.\nCheck your syslog server for DDOS_PROTOCOL_VIOLATION_SET entries.\nRaising the limits is easy:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 lindsayh@ptx\u0026gt; show configuration system ddos-protection protocols { arp { aggregate { bandwidth 8000; burst 8000; } } ndpv6 { aggregate { bandwidth 8000; burst 8000; } } } lindsayh@ptx\u0026gt; If you have an active violation, it\u0026rsquo;s useful to run clear ddos-protection protocols states after making changes. Otherwise you have to wait a bit longer for the timer to expire.\nBut Why so Low? The PTX platform started life as a high-bandwidth, low-featureset device. Typical use-case was an LSR, where you have P2P links, and low levels of ARP traffic. Picking 500 pps was a reasonable default.\nBut the PTX featureset has evolved, and now it\u0026rsquo;s suitable for edge peering. For 100G/400G platforms, the price is much better than MX. So people are starting to deploy it in new places in the network. Being on the leading edge means you\u0026rsquo;ll hit a few rough edges, bugs, or in this case simply defaults that don\u0026rsquo;t make sense.\nNo big deal. I expect that Juniper will change these defaults in the near future. With luck, this will be resolved before you ever hit it.\n","permalink":"https://lkhill.com/juniper-arp-policer-ptx/","summary":"\u003cp\u003eI\u0026rsquo;ve written before about the \u003ca href=\"/juniper-arp-policer/\"\u003edefault ARP policer on Juniper MX\u003c/a\u003e. It can create some odd failure conditions when you\u0026rsquo;re connected to noisy networks such as large Internet Exchanges. \u003ca href=\"https://www.juniper.net/documentation/us/en/software/junos/evo-overview/topics/concept/evo-overview.html\"\u003eJunos OS Evolved\u003c/a\u003e, as used on platforms like the \u003ca href=\"https://www.juniper.net/us/en/products/routers/ptx-series/ptx10003-packet-transport-router.html\"\u003ePTX10003\u003c/a\u003e has low default values for ARP and ICMPv6 ND DDoS protections. It will cause the same problems, but is easier to diagnose and mitigate.\u003c/p\u003e","title":"Juniper ARP Policer on PTX"},{"content":"Juniper Routing Engines with VM Host need an i40e NVM firmware upgrade. The procedure is a pain in the ass, and documentation is not great. But you can\u0026rsquo;t avoid the upgrade any more. New Junos versions need the firmware upgrade, and replacement REs will ship with it already installed. Here\u0026rsquo;s some tips on doing the upgrade.\nBackground Newer Juniper Routing Engines use a Linux-based hypervisor, and Junos (still BSD-based) runs as a guest VM. This is mostly transparent for day to day operations. When you do a Junos upgrade, it will upgrade the underlying hypervisor if required.\nUpcoming Junos versions ship with a new version of Wind River Linux that needs i40e firmware version 6.01. Older versions used v4.26. You need the new i40e firmware installed first, before you can install the latest Junos versions. You can\u0026rsquo;t put this upgrade off forever. Sooner or later you\u0026rsquo;ll want to ugprade to a Junos version that only supports the new firmware. Or you\u0026rsquo;ll get a replacement RE delivered with new firmware, and you can\u0026rsquo;t downgrade it.\nFor the last couple of years, Juniper has been shipping Junos versions that will work with both old \u0026amp; new firmware versions. You need one of these to do the upgrade.\nSo you need to do something like this:\nUpgrade to a recent-ish Junos version (e.g. 18.4R3) that supports old \u0026amp; new firmware. Install the new firmware Now you can upgrade to future versions that only support the new firmware. Firmware Upgrade Overview As mentioned, the upgrade process is a hassle, especially for dual-RE systems, since you need to do at least 3 reboots per RE. Juniper tells you that you need console access and remote power control. It\u0026rsquo;s nice to have console access, but you can get away without it. You definitely don\u0026rsquo;t need remote power control for a dual-RE system, since you can power cycle the CB from the other RE.\nHere\u0026rsquo;s a bit more detailed look at the steps:\nLog a TAC case to get the correct jfirmware package for your Junos version. Copy that and the LLDP package (available at TSB17603) to your router, and copy them to the backup RE. Disable GRES. Install the jfirmware package, and start the firmware upgrade. Re-enable GRES and wait for sync to complete. Fail over to RE1, and reboot RE0. You\u0026rsquo;ll need to go through 3 reboot cycles. Use power controls to speed it up, or wait a bit longer. Disable GRES to allow you to install the jfirmware package on RE1. After install, re-enable GRES Fail over to make RE0 primary. Reboot RE1, go through 3 reboot cycles. Install the LLDP package on each RE, and reboot them again. Done - now you\u0026rsquo;re set up for future Junos upgrades Tedious, right? There are some ways to make it slightly less painful, and incorporate a Junos upgrade along the way, with just one traffic interruption due to FPC reloads. But it\u0026rsquo;s a stupid process, and I hope I never have to go through this cycle again.\njfirmware install and reboot Install the jfirmware package:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 root@netboot\u0026gt; request vmhost software add /var/tmp/jfirmware-vmhost-x86-64-... Verified jfirmware-vmhost-x86-64-18.4R3-S4.2 signed by PackageProductionEc_2018 method ECDSA256+SHA256 [ platform = ; re_name = RE-S-2X00x6 ] Pushing /packages/db/jfirmware-vmhost-x86-64-18.4R3-S4.2/contents/vmhost-firmware-x86-64-18.4R3-S4.2.tgz to host ...done. Extracting /packages/db/jfirmware-vmhost-x86-64-18.4R3-S4.2/contents/vmhost-firmware-x86-64-18.4R3-S4.2.tgz ...done. Preparing... ################################################## supported for kernel version: 3.10.100-ovp-rt110-WR6.0.0.38_preempt-rt i40e_pkg ################################################## Installation of /tmp/i40e_pkg-2.0-0.x86_64.rpm ... done Installing i40e pkg on host ... done. Preparing... ################################################## supported for kernel version: 3.10.100-ovp-rt110-WR6.0.0.38_preempt-rt bios_pkg ################################################## Installing /tmp/bios_pkg-1.0-0.x86_64.rpm ... done. Installing bios pkg on host ... done. root@netboot\u0026gt; This just makes it available for install - you still need to do kick off the install. Note that request system firmware upgrade is a hidden command, and you need to type it out. You can tab-complete the last part:\n1 2 3 4 5 6 7 8 9 root@netboot\u0026gt; request system firmware upgrade re i40nvm Part Type Tag Current Available Status version version Routing Engine 0 RE i40e-NVM 7 4.26 6.01 OK Perform indicated firmware upgrade ? [yes,no] (no) yes Firmware upgrade initiated, use \u0026#34;show system firmware\u0026#34; after vmhost reboot to verify the firmware version root@netboot\u0026gt; Now flip the master routing engine over, and reboot RE0 from RE1 with request vmhost reboot routing-engine other.\nIf you watch the console on RE0, you\u0026rsquo;ll see this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 Initializing platform services: 2.4.3 NVM_version: 4.26 DRV_version: 2.4.3 Need Manual procedure to upgrade i40e firmware revision from 4.26 to 6.01 upgrading i40e firmware ..... Intel(R) Ethernet NVM Update Tool NVMUpdate version 1.30.2.11 Copyright (C) 2013 - 2017 Intel Corporation. Unsupported device found - DeviceId: 153A Config file read. Inventory [00:005:00:00]: Intel(R) Ethernet Controller XL710 for 40GbE backplane Flash inventory started Shadow RAM inventory started Warning: VPD is not valid Alternate MAC address is not set Shadow RAM inventory finished Flash inventory finished OROM inventory started OROM inventory finished [00:005:00:01]: Intel(R) Ethernet Controller XL710 for 40GbE backplane Device already inventoried. Update [00:005:00:00]: Intel(R) Ethernet Controller XL710 for 40GbE backplane Flash update started |======================[100%]======================| NVM image verification started Shadow RAM image verification started |======================[100%]======================| Shadow RAM image verification finished Flash image verification started |======================[100%]======================| Flash image verification finished NVM image verification finished Flash update successful Config file doesn\u0026#39;t have any OROM components specified for device \u0026#39;XL710\u0026#39;. Tool will use current device\u0026#39;s combo set for the OROM update. Config file doesn\u0026#39;t have any OROM components specified for device \u0026#39;XL710\u0026#39;. Tool will use current device\u0026#39;s combo set for the OROM update. Post update inventory [00:005:00:00]: Intel(R) Ethernet Controller XL710 for 40GbE backplane EEPROM inventory started Alternate MAC address is not set EEPROM inventory finished OROM inventory started OROM inventory finished [00:005:00:01]: Intel(R) Ethernet Controller XL710 for 40GbE backplane Device already inventoried. Please Power Cycle your system now and run the NVM update utility again to complete the update. Failure to do so will result in an incomplete NVM update. Upgrade complete please power reboot You may notify to power reboot again after reboot if required At this point you can power-cycle the CB, which will cut power cycle the RE. The first time you do this, you might see that it takes a while before show chassis environment cb 0 shows it as Offline. Once it is Offline, bring it back online again.\n1 2 3 4 5 6 7 8 9 10 11 12 13 root@netboot\u0026gt; request chassis cb offline slot 0 Offline initiated, use \u0026#34;show chassis environment cb\u0026#34; to verify root@netboot\u0026gt; show chassis environment cb 0 CB 0 status: State Offline Power 1 Disabled Power 2 Disabled root@netboot\u0026gt; request chassis cb online slot 0 Online initiated, use \u0026#34;show chassis environment cb\u0026#34; to verify root@netboot\u0026gt; If you\u0026rsquo;re watching the console, you\u0026rsquo;ll see very similar messages to last time.\nTip: What if you don\u0026rsquo;t have a console server? How do you know when to power cycle the RE? If you leave it long enough, the routing engine will boot on its own. When you see it back up, power cycle it again. Power cycle the CB again. Eventually you\u0026rsquo;ll see this:\n1 2 3 4 5 i40e firmware revision is the latest to 6.01 Fortville NVM Firmware Version: 6.01 Host reboot is required to load compatible i40e driver You don\u0026rsquo;t need to do anything at this point. Eventually it will carry on to load Junos.\nYou can check that the new firmware shows up:\n1 2 3 4 5 6 7 8 9 10 11 root@netboot\u0026gt; show system firmware Part Type Tag Current Available Status version version Routing Engine 0 RE BIOS 0 0.53.1 0.55.2 OK Routing Engine 0 RE FPGA 1 41.0.0 41.0 OK Routing Engine 0 RE SSD1 5 12028 12050 OK Routing Engine 0 RE SSD2 5 12028 12050 OK Routing Engine 0 RE i40e-NVM 7 6.1 6.01 OK Routing Engine 1 0 0.0.0 0 OK root@netboot\u0026gt; Yes. Yes they did mix up \u0026ldquo;6.1\u0026rdquo; and \u0026ldquo;6.01\u0026rdquo;. Don\u0026rsquo;t worry about it. You\u0026rsquo;re running the right version.\nOf course you\u0026rsquo;re not done yet, now you need to load the LLDP fix, and go through the whole process again with the other RE.\nLLDP package install On each RE, run this:\n1 2 3 4 5 6 7 8 9 10 11 root@netboot\u0026gt; request system software add /var/tmp/lldp-patch-for-i40e-upgrade.tgz Verified lldp-patch-for-i40e-upgrade signed by PackageDevelopmentEc_2018 method ECDSA256+SHA256 [ re_name = RE-S-2X00x6 ] Pushing script(s) to host ... Install the script(s) under host-os.... Script(s) copy done. root@netboot\u0026gt; show version | match lldp lldp-patch-for-i40e-upgrade root@netboot\u0026gt; Note that it\u0026rsquo;s request system software add ..., not request vmhost software add ...\nThen one more reboot of each RE, but just a regular reboot, with no need for any power cycling. When the system is back up, you\u0026rsquo;ll see a message like this when loggging in:\n1 2 3 4 5 6 7 8 9 10 FreeBSD/amd64 (netboot) (ttyu0) login: root Password: Last login: Sun Oct 4 20:49:38 on ttyu0 --- JUNOS 18.4R3-S4.2 Kernel 64-bit JNPR-11.0-20200618.2bc7e35_buil At least one package installed on this device has limited support. Run \u0026#39;file show /etc/notices/unsupported.txt\u0026#39; for details. root@netboot:~ # Don\u0026rsquo;t worry about it. Juniper TAC assures me that this is still a supported configuration.\nCombining with Junos upgrade Can I combine this with a Junos upgrade, and how do I minimise the number of FPC restarts, so I minimise user disruption?\nYes, if you pay attention to what you\u0026rsquo;re doing, and you give yourself a little more time. You can do the firmware upgrades, LLDP fix and Junos upgrade in one change window, with only one disruptive FPC restart.\nHere\u0026rsquo;s how I would do it:\nDisable GRES, and install the jfirmware package on RE0, but don\u0026rsquo;t reboot yet. Re-enable GRES and wait for the REs to sync Fail over to RE1 - this should be seamless. Go through the 3 reboot cycles on RE0 to get the i40e firmware done Install the LLDP package on RE0 Install the new Junos version on RE0 and reboot Install the new jfirmware package on RE1. Fail over to RE0. The new Junos version will take over, and all FPCs will restart. This is disruptive Go through the reboot cycles on RE1. When i40e is done, install the LLDP package, followed by the new Junos version Re-enable GRES What about the LLDP fix with the new Junos version? No need to re-install it. Depending on which version you upgrade to, it will either still be there as a separate package, or it will be integrated into the main codebase.\nThe only good thing about this process? It worked on every RE I upgraded.\nHope this helps, and hope I never go through this again.\n","permalink":"https://lkhill.com/juniper-i40e-upgrade/","summary":"\u003cp\u003eJuniper Routing Engines with VM Host need an \u003ca href=\"https://kb.juniper.net/InfoCenter/index?page=content\u0026amp;id=TSB17603\"\u003ei40e NVM firmware upgrade\u003c/a\u003e. The procedure is a pain in the ass, and documentation is not great. But you can\u0026rsquo;t avoid the upgrade any more. New Junos versions need the firmware upgrade, and replacement REs will \u003ca href=\"https://kb.juniper.net/InfoCenter/index?page=content\u0026amp;id=TSB17978\"\u003eship with it already installed\u003c/a\u003e. Here\u0026rsquo;s some tips on doing the upgrade.\u003c/p\u003e","title":"Juniper i40e NVM Firmware Upgrade"},{"content":"Juniper routers consider a directly configured IP as a \u0026ldquo;direct\u0026rdquo; route, except when you use a /32 mask (for IPv4). Then it is a \u0026ldquo;local\u0026rdquo; route. This caused me some confusion when creating a policy to redistribute loopback IP addresses into BGP.\nRoute Protocol Types A router learns routes from a variety of sources - networks configured on the box, those learned from IS-IS, rumors of prefixes from BGP or RIP, etc. You can see the full list here.\nWhen routes are learned from different sources, Junos uses \u0026ldquo;Route Preference Values\u0026rdquo; to decide which route source to prefer. (Cisco refers to this as Administrative Distance). If routes are otherwise identical, the route with the lowest preference will be installed into the FIB.\nIf you\u0026rsquo;re looking at the route table, you can narrow down displayed routes to look at a specific type, e.g. show route protocol direct to see locally connected networks:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 vagrant@vqfx\u0026gt; show route protocol direct inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.0.2.0/24 *[Direct/0] 00:02:45 \u0026gt; via em0.0 10.1.2.0/24 *[Direct/0] 00:00:59 \u0026gt; via xe-0/0/0.0 169.254.0.0/24 *[Direct/0] 00:02:49 \u0026gt; via em1.0 inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both fe80::205:860f:fc71:8500/128 *[Direct/0] 00:02:49 \u0026gt; via lo0.0 {master:0} vagrant@vqfx\u0026gt; Route Filtering by Protocol It\u0026rsquo;s not just about displaying routes, or selecting which route to prefer. We can also use the route type when filtering, to decide which routes we want to redistribute. Let\u0026rsquo;s say we wanted to redistribute static routes (and only static routes) into OSPF. Something like this does the trick:\n1 2 3 4 [edit] set policy-options policy-statement export-ospf term statics from protocol static set policy-options policy-statement export-ospf term statics then accept set protocols ospf export export-ospf Route filters can get quite complex, matching on all sorts of things - prefix length, route origin, AS path, etc.\nSo far so good. What if we wanted to write a filter that would match on loopback addresses?\n\u0026ldquo;Direct\u0026rdquo; vs \u0026ldquo;Local\u0026rdquo; First a diversion - What\u0026rsquo;s the difference between \u0026ldquo;Direct\u0026rdquo; and \u0026ldquo;Local\u0026rdquo; routes?\nThe docs say this:\ndirect — Directly connected route\n\u0026hellip;\nlocal — Local address\nOK, so a \u0026ldquo;direct\u0026rdquo; route comes from configuring an IP + subnet mask on an interface. If we run set interface xe-0/0/1 unit 0 family inet address 100.100.100.1/24, then the router creates a \u0026ldquo;direct\u0026rdquo; route for 100.100.100.0/24 via that interface. It will also create a local entry for 100.100.100.1/32:\n1 2 3 4 5 6 7 8 9 10 11 12 vagrant@vqfx\u0026gt; show route 100.100.100.0/24 inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 100.100.100.0/24 *[Direct/0] 00:00:35 \u0026gt; via xe-0/0/1.0 100.100.100.1/32 *[Local/0] 00:00:35 Local via xe-0/0/1.0 {master:0} vagrant@vqfx\u0026gt; What About Loopbacks? What happens when we configure a loopback interface? We almost always configure these with a /32 (or /128) subnet mask. How does it show up in the routing table? Is that a \u0026ldquo;direct\u0026rdquo; or a \u0026ldquo;local\u0026rdquo; route? Should be a \u0026ldquo;local\u0026rdquo; route, right? Turns out it\u0026rsquo;s not. It\u0026rsquo;s a direct route:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 {master:0}[edit] vagrant@vqfx# set interfaces lo0 unit 0 family inet address 198.51.100.1/32 {master:0}[edit] vagrant@vqfx# commit configuration check succeeds commit complete {master:0}[edit] vagrant@vqfx# run show route 198.51.100.1/32 inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 198.51.100.1/32 *[Direct/0] 00:00:08 \u0026gt; via lo0.0 {master:0}[edit] vagrant@vqfx# Hmm. Bit odd. What if we used a different prefix length on the loopback? Now it shows up a little differently:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 {master:0}[edit] vagrant@vqfx# delete interfaces lo0 unit 0 family inet address 198.51.100.1/32 {master:0}[edit] vagrant@vqfx# set interfaces lo0 unit 0 family inet address 198.51.100.1/24 {master:0}[edit] vagrant@vqfx# commit configuration check succeeds commit complete {master:0}[edit] vagrant@vqfx# run show route 198.51.100.0/24 inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 198.51.100.0/24 *[Direct/0] 00:00:05 \u0026gt; via lo0.0 198.51.100.1/32 *[Local/0] 00:00:05 Local via lo0.0 {master:0}[edit] vagrant@vqfx# It must be something to do with the /32 mask. There\u0026rsquo;s no need to have both a \u0026ldquo;direct\u0026rdquo; and a \u0026ldquo;local\u0026rdquo; entry for the same prefix, but the choice of \u0026ldquo;direct\u0026rdquo; is surprising, to me at least.\nWhy Does it Matter? The reason I noticed this was because I was configuring a policy to redistribute loopbacks into BGP. This was for a leaf-spine network, so I wanted to have the exact same policy configured on all devices. Each system had a /32 address taken from 198.51.100.0/24. OK, this should be easy. Let\u0026rsquo;s use this config:\n1 2 3 4 set policy-options policy-statement CLOS-OUT term loopbacks from protocol local set policy-options policy-statement CLOS-OUT term loopbacks from route-filter 198.51.100.0/24 prefix-length-range /32-/32 set policy-options policy-statement CLOS-OUT term loopbacks then accept set protocols bgp group SPINES export CLOS-OUT Nope. Doesn\u0026rsquo;t work. It would work if I had a shorter mask than /32 on my loopbacks, but most people aren\u0026rsquo;t going to do that.\nThe network \u0026amp; prefix length matches, but the protocol doesn\u0026rsquo;t. You have to change it to from protocol direct, and then it works.\nFunnily enough, if you use something like test policy CLOS-OUT 198.51.100.1/32, it will tell you that it accepts the prefix, regardless of whether you use from protocol local or from protocol direct. But in practice I found it did not export the routes unless I used from protocol direct. This was on a recent Junos version. Behavior could be version-specific, I have not tested different versions of Junos.\nNo Big Deal. Just Another Gotcha Ultimately it\u0026rsquo;s no big deal. Just one of those random little things that might confuse someone. If you find this through Google, hope it helps :)\n","permalink":"https://lkhill.com/juniper-direct-local-routes/","summary":"\u003cp\u003eJuniper routers consider a directly configured IP as a \u0026ldquo;direct\u0026rdquo; route, except when you use a \u003ccode\u003e/32\u003c/code\u003e mask (for IPv4). Then it is a \u0026ldquo;local\u0026rdquo; route. This caused me some confusion when creating a policy to redistribute loopback IP addresses into BGP.\u003c/p\u003e","title":"Juniper Direct vs Local Routes"},{"content":"Juniper devices have a default ARP policer that drops ARP requests and responses over 150kbps. By default, this is an aggregate policer that applies to all interfaces. This can lead to unexpected behavior when high levels of ARP on one interface lead to BGP session drops on another interface. You can\u0026rsquo;t change the default policer limits, but you can create a new policer, with higher limits.\nUPDATE: There is a similar issue with PTX. A bit easier to diagnose \u0026amp; resolve.\nProblem: IPv4 BGP Session Flaps on PNI I was investigating a problem reported by one of our Transit providers. Once a day or so, our IPv4 BGP session with them would flap. The interface itself was stable, and the IPv6 session remained up. One particular site was seeing this more than others. The sites used different platforms, but were running the same code version.\nThe curious thing was the logs - we saw log messages saying that we had a notification message saying NOTIFICATION received from 192.0.2.188 (External AS 64498): code 4 (Hold Timer Expired Error). The syslog included this hold timer 30s, hold timer remain 0s, last sent 2s. So our router thought it was sending regular KEEPALIVE messages, but the remote end thought it had missed too many.\nLooking more closely, we saw that we had BGP session flaps with other neighbors, including iBGP sessions. Clearly it was not a problem with a specific interface, or some other vendor or configuration.\nWhat\u0026rsquo;s Happening? Our routers were connected to an IXP that has a large subnet, with many peers. This can mean large amounts of ARP traffic. By default, Juniper routers police ARP to 150kbps. Any ARP requests or responses above that rate are dropped. The interesting wrinkle is that it is not per-interface, but per-PFE.\nWhen the router saw large amounts of ARP traffic on the IX-facing interface, it started policing it. The Transit links we had used the same PFE. During the window when ARP was being policed, it affected ARP on the transit interface. Our router could not get an ARP response for our upstream provider\u0026rsquo;s IP, so it could not send keepalives. The upstream detected loss of keepalives, and sent a notification to us. The session was cleared and reset. By this time we had an ARP entry, and the session quickly came back up.\nOf course, IPv6 was unaffected.\nDetecting ARP Policing There\u0026rsquo;s a couple of things to look at to see if this is affecting you:\n1 2 3 4 5 6 7 lhill@mx.lab.net\u0026gt; show policer __default_arp_policer__ Policers: Name Bytes Packets __default_arp_policer__ 3091706 67211 {master} lhill@mx.lab.net\u0026gt; That tells you the aggregate policer has been triggered. To check which FPCs are affected, you need to drill down:\n1 2 3 4 5 6 7 8 9 10 11 12 13 {master} lhill@mx.lab.net\u0026gt; start shell pfe network fpc2 NGMPC platform (1200Mhz QorIQ P2020 processor, 3584MB memory, 512KB flash) NGMPC2(mx.lab.net vty)# show filter index 17000 counters Filter Counters/Policers: Index Packets Bytes Name -------- -------------------- -------------------- -------- 17000 67186 __default_arp_policer__ NGMPC2(mx.lab.net vty)# I have not seen any syslogs to indicate ARP policing. It is a different framework to the DDoS Protection capabilities.\nChanging ARP Limits 150kbps of ARP traffic is not a huge amount on a router with multiple interfaces in large subnets. So you\u0026rsquo;ll probably want to change the limits.\nYou can\u0026rsquo;t just change the default ARP limit though. Instead, you have two choices:\n1/ Create a new ARP policer, and associate the \u0026ldquo;busy\u0026rdquo; interface with that policer. The policer will only apply to that interface, and all the other interfaces will share the default 150kbps. 2/ Create a new ARP policer, and associate interfaces with that. The \u0026ldquo;busy\u0026rdquo; interface will be left with the default bucket.\nConfiguration is pretty simple. First create a new policer:\n1 2 3 set firewall policer arp_limit if-exceeding bandwidth-limit 1m set firewall policer arp_limit if-exceeding burst-size-limit 1m set firewall policer arp_limit then discard Then associate it with an interface:\n1 set interfaces ae1 unit 0 family inet policer arp arp_limit Monitoring the new Policer You can look at the output of show policer - note that if you have created a new policer and associated it with more than one interface, you will see an entry per interface in the show policer output:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 lhill@mx.valve.net\u0026gt; show policer ? Possible completions: \u0026lt;[Enter]\u0026gt; Execute this command \u0026lt;policer\u0026gt; Policer name __auto_policer_template_1__ __auto_policer_template_2__ __auto_policer_template_3__ __auto_policer_template_4__ __auto_policer_template_5__ __auto_policer_template_6__ __auto_policer_template_7__ __auto_policer_template_8__ __auto_policer_template__ __default_arp_policer__ arp_limit-ae1.0-inet-arp arp_limit-xe-1/0/1.0-inet-arp detail Show filter statistics with enhanced policer statistics logical-system Name of logical system, or \u0026#39;all\u0026#39; | Pipe through a command {master} lindsayh@mx.lab.net\u0026gt; show policer arp_limit-ae1.0-inet-arp Policers: Name Bytes Packets arp_limit-ae1.0-inet-arp 0 0 {master} lhill@mx.lab.net\u0026gt; You can see that I associated the policer with ae1 and xe-1/0/1.0.\nHope this helps someone else looking at flapping BGP or BFD sessions.\n","permalink":"https://lkhill.com/juniper-arp-policer/","summary":"\u003cp\u003eJuniper devices have a default ARP policer that drops ARP requests and responses over 150kbps. By default, this is an aggregate policer that applies to \u003cstrong\u003eall\u003c/strong\u003e interfaces. This can lead to unexpected behavior when high levels of ARP on one interface lead to BGP session drops on another interface. You can\u0026rsquo;t change the default policer limits, but you can create a new policer, with higher limits.\u003c/p\u003e","title":"Juniper Default ARP Policer"},{"content":"Juniper SRX 300 Series firewalls may stop forwarding traffic in some situations. The firewall says it is forwarding the traffic, but it doesn\u0026rsquo;t work. Monitoring traffic looks OK, ARP entries are present, but traffic never gets to the destination, until you clear ARP. Turns out the problem comes from using LACP with fast timers and active mode. Luckily the fix is simple.\nAlert: Firewall Offline Here\u0026rsquo;s the situation we saw: Our NMS reported a Juniper SRX320 offline. All other devices at the site were still working, but the firewall was unreachable. Traffic from the firewall to the NMS goes via the firewall\u0026rsquo;s default gateway. Firewall A in this diagram was unreachable, but Firewall B was fine.\nOK, what\u0026rsquo;s happening? Why is my firewall unreachable?\nFirewall says its fine? Try to ping Firewall A, no response. From the default gateway, we can see an ARP entry for the firewall, but no response to ping. We can log in to Firewall B, and we see an ARP entry for Firewall A. Crucially: we can ping Firewall A from Firewall B. Hmmm. That\u0026rsquo;s strange. Why can we ping it from one locally connected device but not another?\nFrom Firewall B, we SSH across to Firewall A. Everything looks fine - it\u0026rsquo;s up and running, it has not restarted, security policies are as expected, and it has a valid ARP entry for its default gateway. Why can\u0026rsquo;t we ping it?\nWhen we monitor traffic, the firewal says it is generating packets with the right L2 headers, and forwarding them out the right interface. We see regular ARP traffic. But we have no reachability.\nOn a whim, we try clearing ARP on the firewall. Traffic starts working again. Check the ARP cache, it has the same entry it had before. It wasn\u0026rsquo;t like it had an invalid entry before.\nThe firewall starts working properly again, and might be OK for hours, days or weeks before it fails again.\nWhat\u0026rsquo;s Happening? We investigated it quite deeply, including a very long debugging session with JTAC with a firewall that was in a known-bad state. But we couldn\u0026rsquo;t work out why it wasn\u0026rsquo;t forwarding packets properly. Everything looked correct. Changing software versions made no difference. The only common factor was that this problem was only seen on SRX300-series devices. Not on old SRX200-series, or bigger iron boxes. Every few days or weeks a firewall would go offline, and clearing ARP restored it.\nLACP Timers? We use LACP on these firewalls, and we set them up as active mode, with fast timers. JTAC suggested we should change that to passive, with slow timers. They didn\u0026rsquo;t think this was the cause of the problem, it\u0026rsquo;s just something that they suggest as a general good practice. This may be officially documented somewhere, but I haven\u0026rsquo;t come across it.\nI resisted making that change at first, as LACP didn\u0026rsquo;t seem related. LACP was working, and we weren\u0026rsquo;t seeing any issues with the LACP interface.\nOn a whim, I made the change in one place. Couldn\u0026rsquo;t tell straight away if it solved anything, because the problem only occurred every few days or weeks. But after a week that system was still looking OK. So we rolled out the change everywhere else:\n1 2 set interfaces ae0 aggregate-ether-options lacp periodic slow set interfaces ae0 aggregate-ether-options lacp passive A week goes by with no outages. Then another week\u0026hellip;and another. We cracked it at last. I don\u0026rsquo;t know why this works, but it does.\nFootnote: I missed a system when rolling out the change. 3 months later that firewall went offline. None of the others had broken in that period. Proves that this was the issue. I just wish I knew why.\n","permalink":"https://lkhill.com/juniper-srx-lacp/","summary":"\u003cp\u003e\u003ca href=\"https://www.juniper.net/us/en/products-services/security/srx-series/srx300/\"\u003eJuniper SRX 300 Series\u003c/a\u003e firewalls may stop forwarding traffic in some situations. The firewall says it is forwarding the traffic, but it doesn\u0026rsquo;t work. Monitoring traffic looks OK, ARP entries are present, but traffic never gets to the destination, until you clear ARP. Turns out the problem comes from using LACP with fast timers and active mode. Luckily the fix is simple.\u003c/p\u003e","title":"Juniper Branch SRX LACP Weirdness"},{"content":"IPFIX is problematic on the Juniper QFX10K switches. Documentation is sparse, and doesn\u0026rsquo;t have a complete configuration. Behavior changes between versions in undocumented ways. Here\u0026rsquo;s a couple of things I noticed when upgrading from Junos 17.3 to 17.4. These also apply if you are running 18.4 code. I hit more problems with 18.4, and ended up rolling back to 17.4.\nBig Changes in Reported Throughput Here\u0026rsquo;s a graph showing total reported throughput for a QFX10K I upgraded:\nThere\u0026rsquo;s a few things going on there. First the reported traffic drops to zero after I upgraded. Then it starts coming up, after I fixed the first problem. But then after that the reported traffic is flat, and lower than it should be. Then it starts coming up again after I made the second fix.\nFirst Problem: Chassis Sample Instance The first configuration change I needed to add was this: set chassis fpc 0 sampling-instance sample-border, where sample-border is the name of the sampling instance I have configured under forwarding-options. This was not required with 17.3. If you don\u0026rsquo;t do it with 17.4, you won\u0026rsquo;t get any data.\nSecond Problem: DDoS-Protection Some Juniper platforms implement Control Plane DDoS Protection. Implementation varies across platforms and versions. Generally it works OK, but can be very confusing, especially with systems that have shared policers. It might say one thing is triggering a violation, but it\u0026rsquo;s actually something else.\nTurns out that in this case something changed between 17.3 and 17.4, and high volumes of IPFIX now trigger ddos-protection violations. The system ends up throttling itself.\nI had to make these changes:\n1 2 3 set system ddos-protection protocols resolve aggregate bandwidth 8000 set system ddos-protection protocols exceptions aggregate bandwidth 4000 set system ddos-protection protocols ndpv6 aggregate bandwidth 8000 It\u0026rsquo;s not obvious why I need to change the resolve or ndpv6 settings. My guess is that it\u0026rsquo;s something to do with shared policers.\nIf you have low levels of traffic, you won\u0026rsquo;t hit these limits. My guess is that IPFIX testing for this platform was in low-bandwidth labs, and so they didn\u0026rsquo;t hit the limits.\nStill Don\u0026rsquo;t Quite Trust It Reporting is still a bit flaky for these systems, and IPFIX numbers don\u0026rsquo;t quite match up to interface statistics. Treat IPFIX as more of a hint on the QFX10K, rather than something to rely on.\n","permalink":"https://lkhill.com/juniper-qfx10k-ipfix/","summary":"\u003cp\u003eIPFIX is problematic on the Juniper \u003ca href=\"https://www.juniper.net/us/en/products-services/switching/qfx-series/qfx10002/\"\u003eQFX10K\u003c/a\u003e switches. Documentation is sparse, and doesn\u0026rsquo;t have a complete configuration. Behavior changes between versions in undocumented ways. Here\u0026rsquo;s a couple of things I noticed when upgrading from Junos 17.3 to 17.4. These also apply if you are running 18.4 code. I hit more problems with 18.4, and ended up rolling back to 17.4.\u003c/p\u003e","title":"Juniper QFX10K IPFIX Gotchas"},{"content":"Juniper changed the way they do temperature management on MX240 and MX480 chassis devices, somewhere between 15.1 and 17.3. The net result is that your chassis might run hotter after you upgrade, which can lead to the system shutting down some optics. Probably not what you want. Luckily there\u0026rsquo;s a few hidden commands you can use to change this behavior\n\u0026ldquo;Optics will be disabled\u0026hellip;\u0026rdquo; Post upgrade, you might see higher temperatures reported by show chassis fpc. This system was reporting temperatures in the low 30s, now it reports 50:\n1 2 3 4 5 6 7 8 9 lindsayh@MX240\u0026gt; show chassis fpc Temp CPU Utilization (%) CPU Utilization (%) Memory Utilization (%) Slot State (C) Total Interrupt 1min 5min 15min DRAM (MB) Heap Buffer 0 Empty 1 Online 50 22 1 22 22 22 2048 38 21 2 Empty {master} lindsayh@MX240\u0026gt; On its own, that\u0026rsquo;s OK, until you start seeing log messages like this:\n1 FPC 1 temperature over 50 degrees C; non-high-temperature tolerant optics will be disabled in 58 seconds if condition persists Yeah that\u0026rsquo;s not good, especially when it carries out the threat, and starts disabling optics.\nFix 1: Raise the threshold at which optics get disabled NEBS-compliant optics have a higher temperature threshold, so they\u0026rsquo;re OK with the higher system temperature. But some of your optics might not officially be NEBS-compliant, and Juniper will shut them down.\nIf you\u0026rsquo;re comfortable with running those optics a bit hotter, you can change the threshold:\n1 set chassis fpc 1 non-nebs-optics-overheat-trigger 60 This is a hidden command, you won\u0026rsquo;t be able to use tab auto-complete here. Note that you can use this command on Junos 15.1.\nFrom what I\u0026rsquo;ve seen, most optics are OK with this, and hey, 10Gb optics are cheap enough that it doesn\u0026rsquo;t really matter if you need to replace a few. New ones you buy will probably be NEBS-compliant anyway (or at least report to the system that they are compliant, which is all that really matters\u0026hellip;).\nFix 2: Change the fan speed temperature thresholds Another approach is to tell the system to kick the fans in a bit earlier. You\u0026rsquo;ll need these hidden commands:\n1 2 3 set chassis fpc 2 temperature-threshold fans-to-normal-speed 41 set chassis fpc 2 temperature-threshold fans-on-intermediate-speed 43 set chassis fpc 2 temperature-threshold fans-on-full-speed 48 You can play around with different thresholds here. You can probably go a bit higher. This will make the fans kick in at full speed a bit earlier, which will pull down the FPC temperatures. Couple of side effects are screaming fans, and more syslogs complaining about high temperatures. But it lowers temperatures.\nThese commands do not work with Junos 15.1, so if you have only upgraded one of your REs, you will not be able to do normal commit until both REs are upgraded.\nFix 3: Use a platform with a better airflow Part of the problem here is that systems like the MX480 use a dumb cooling design. To quote from the docs:\nThe air intake to cool the chassis is located on the side of the chassis next to the air filter. Air is pulled through the chassis toward the fan tray, where it is exhausted out the side of the system. The air intake to cool the power supplies is located in the front of the router above the craft interface. The exhaust for the power supplies is located on the rear bulkhead power supplies.\n(emphasis added)\nThis side-to-side airflow is a pain in the ass, and can easily cause overheating problems on its own, regardless of what Juniper is doing with temperature management. Sometimes you need to add these sorts of passive or active cooling units to get better airflow, e.g. the Vertiv Switchair, or similar from APC. They help, but you end up wasting another 2U, to fix a problem inflicted by your vendor\u0026rsquo;s airflow design decision.\n","permalink":"https://lkhill.com/mx-upgrade-overheat/","summary":"\u003cp\u003eJuniper changed the way they do temperature management on MX240 and MX480 chassis devices, somewhere between 15.1 and 17.3. The net result is that your chassis might run hotter after you upgrade, which can lead to the system shutting down some optics. Probably not what you want. Luckily there\u0026rsquo;s a few hidden commands you can use to change this behavior\u003c/p\u003e","title":"Juniper MX Upgrades Causing Overheating"},{"content":"I came across a situation where a software upgrade failed for some members in a Juniper QFX Virtual Chassis. There is a known issue with upgrades with a certain configuration + version combination, but I thought it didn\u0026rsquo;t apply to me. Turns out that the key was the host OS version, not the Junos VM version. Your host and guest versions can be out of sync with Juniper QFX 5K devices, and this can lead to confusing behavior, especially in a virtual chassis where host OS versions might vary.\nUpgrade Failures - post-install error When upgrading an old Juniper QFX5100, you might see these messages when running the upgrade:\n1 2 Error: jinstall-vjunos fails post-install Error: jinstall-vjunos-14.1X53-D34-domestic-signed fails post-install In my case, I saw it for some nodes in a Virtual Chassis. Some worked, some failed. KB31923 says that this error is due to this configuration:\n1 2 3 # show system internet-options tcp-drop-synfin-set; no-tcp-reset drop-tcp-with-syn-only; Easy enough to change:\n1 2 3 4 5 6 7 8 9 10 # delete system internet-options {master:0}[edit] root# show |compare [edit system] internet-options { tcp-drop-synfin-set; no-tcp-reset drop-tcp-with-syn-only; {master:0}[edit] root# commit Then the upgrade will proceed.\nBut I\u0026rsquo;m not using that version? The KB says that it applies to \u0026ldquo;\u0026hellip;Junos 14.1X53-D25, 27, 30 and 40\u0026hellip;\u0026rdquo; - but I wasn\u0026rsquo;t running that version. I was running something slightly newer. Or was I?\nThe QFX5100 runs a hypervisor, and uses KVM to launch Junos as a guest VM. Normally you interact with the switch via the guest VM. When you check the version, you run show version, and look at the first Junos: xxx line. That\u0026rsquo;s not enough, because you might end up in a situation where the guest version is newer than the host version, e.g.:\n1 2 3 4 5 6 7 8 9 lkhill@qfx5100\u0026gt; show version fpc0: -------------------------------------------------------------------------- Hostname: qfx5100 Model: qfx5100-48s-6q Junos: 14.1X53-D42.3 \u0026lt;snip\u0026gt; JUNOS Host Software [13.2X51-D38] Junos for Automation Enhancement Huh. The guest version is all that matters for forming a virtual chassis, so they don\u0026rsquo;t care about the host version mismatch. But when you go to upgrade\u0026hellip;it fails on the systems running the older host OS.\nHow did we end up in this situation? The key here is that the guest version does not have to match the host version. From the Juniper docs:\nNote: On QFX5100 and EX4600 switches, the Host OS is not upgraded automatically, so you must use the force-host option if you want the Junos OS and Host OS versions to be the same. \u0026hellip;\nThe Junos OS and Host OS versions do not need to be the same. \u0026hellip; Upgrading the Host OS is not required for every software upgrade, as noted above. If you do a format install from USB, it will make both versions the same. But if you do an upgrade using request system software add ..., then\u0026hellip;well\u0026hellip;it gets messy.\nDuring the upgrade process, it checks the current host version. It has rules to check that host version against the target guest version. I have not found where this is documented, but there are rules around minimum host versions for guests. If you upgrade from 13.1 to 14.1, it won\u0026rsquo;t change the host version. If you upgrade from 14.1 to 17.3, it will. If you upgrade from 17.3 to 18.4, it won\u0026rsquo;t.\nThis could cause trouble? Yes, it could. Mostly it is fine, and for a standalone switch, it doesn\u0026rsquo;t really matter. But in a virtual chassis, it can lead to unexepected behavior, such as upgrades failing on only some nodes. I also saw that show version would hang for a few seconds on the nodes running older host OS versions.\nWhat should I do? For standalone devices, it doesn\u0026rsquo;t matter much. But for virtual chassis members in particular, I recommend adding force-host to the request system software add command. This will force a host upgrade, regardless of if Junos thinks it needs to or not. It will mean a slightly longer reboot time, but it ensure that all devices are running a consistent set of guest and host versions. Will help avoid some confusion further down the line.\n","permalink":"https://lkhill.com/qfx-host-version/","summary":"\u003cp\u003eI came across a situation where a software upgrade failed for some members in a \u003ca href=\"https://www.juniper.net/documentation/en_US/junos/topics/concept/virtual-chassis-switches-overview.html\"\u003eJuniper QFX Virtual Chassis\u003c/a\u003e. There is a known issue with upgrades with a certain configuration + version combination, but I thought it didn\u0026rsquo;t apply to me. Turns out that the key was the \u003cstrong\u003ehost\u003c/strong\u003e OS version, not the Junos VM version. Your host and guest versions can be out of sync with Juniper QFX 5K devices, and this can lead to confusing behavior, especially in a virtual chassis where host OS versions might vary.\u003c/p\u003e","title":"QFX Upgrades - Check Host Version"},{"content":"Juniper routing instances are very useful when you need separate routing tables on the one device, for example to separate customers. Junos lets you configure SNMP polling of routing instances, so customers can poll \u0026ldquo;their\u0026rdquo; interfaces using 'instance_name'@'community'. All very useful. But it wasn\u0026rsquo;t obvious to me how to poll the default table via an interface in a routing instance. The trick is to just use @'community'. Here\u0026rsquo;s an example.\nNetwork Overview To demo this I have a simple network. I\u0026rsquo;m using a Virtual QFX plus Vagrant setup, based on the Vagrantfiles in this repo. I\u0026rsquo;m running one vqfx10k, connected to one server. The key here is that the server has two connections to the vqfx. One interface is in the default instance, one is in a \u0026ldquo;Customer\u0026rdquo; routing instance:\nHere\u0026rsquo;s the routing-instance config:\n1 2 3 4 5 6 7 8 vagrant@vqfx\u0026gt; show configuration routing-instances Customer { instance-type virtual-router; interface xe-0/0/1.0; } {master:0} vagrant@vqfx\u0026gt; And here\u0026rsquo;s my SNMP configuration:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 vagrant@vqfx\u0026gt; show configuration snmp filter-interfaces { interfaces { lsi; dsc; tap; gre; ipip; pim*; esi; cp*; irb*; pip*; jsrv*; mtun*; gr*; vtep; } all-internal-interfaces; } community public { authorization read-only; routing-instance Customer; } routing-instance-access; {master:0} vagrant@vqfx\u0026gt; Key lines there are routing-instance-access - which allows SNMP polling via routing instances - and routing-instance Customer under community public. The first allows polling via non-default instance, and the second says we can use public for polling via the \u0026ldquo;Customer\u0026rdquo; instance. You could have unique communities per instance, or some other more complex set of SNMP ACLs.\nSNMP Polling - Default Instance Let\u0026rsquo;s start with polling the default instance, via xe-0/0/0:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 vagrant@server:~$ snmpwalk -v 2c -c public 10.1.2.1 ifDescr IF-MIB::ifDescr.6 = STRING: lo0 IF-MIB::ifDescr.16 = STRING: lo0.0 IF-MIB::ifDescr.17 = STRING: em0 IF-MIB::ifDescr.18 = STRING: em0.0 IF-MIB::ifDescr.23 = STRING: em1 IF-MIB::ifDescr.24 = STRING: em1.0 IF-MIB::ifDescr.35 = STRING: vme IF-MIB::ifDescr.152 = STRING: em3 IF-MIB::ifDescr.156 = STRING: em5 IF-MIB::ifDescr.158 = STRING: em6 IF-MIB::ifDescr.160 = STRING: em7 IF-MIB::ifDescr.515 = STRING: xe-0/0/1 IF-MIB::ifDescr.516 = STRING: xe-0/0/0 IF-MIB::ifDescr.517 = STRING: xe-0/0/0.0 IF-MIB::ifDescr.518 = STRING: xe-0/0/2 IF-MIB::ifDescr.519 = STRING: xe-0/0/3 IF-MIB::ifDescr.520 = STRING: xe-0/0/4 IF-MIB::ifDescr.521 = STRING: xe-0/0/5 IF-MIB::ifDescr.523 = STRING: xe-0/0/6 IF-MIB::ifDescr.524 = STRING: xe-0/0/7 IF-MIB::ifDescr.525 = STRING: xe-0/0/2.16386 IF-MIB::ifDescr.526 = STRING: xe-0/0/8 IF-MIB::ifDescr.527 = STRING: xe-0/0/9 IF-MIB::ifDescr.528 = STRING: xe-0/0/3.16386 IF-MIB::ifDescr.529 = STRING: xe-0/0/10 IF-MIB::ifDescr.530 = STRING: xe-0/0/11 IF-MIB::ifDescr.531 = STRING: xe-0/0/4.16386 IF-MIB::ifDescr.532 = STRING: xe-0/0/5.16386 IF-MIB::ifDescr.533 = STRING: xe-0/0/6.16386 IF-MIB::ifDescr.534 = STRING: xe-0/0/7.16386 IF-MIB::ifDescr.535 = STRING: xe-0/0/8.16386 IF-MIB::ifDescr.536 = STRING: xe-0/0/9.16386 IF-MIB::ifDescr.537 = STRING: xe-0/0/10.16386 IF-MIB::ifDescr.538 = STRING: xe-0/0/11.16386 IF-MIB::ifDescr.539 = STRING: xe-0/0/1.0 vagrant@server:~$ OK, so far that\u0026rsquo;s business as usual.\nSNMP Polling - Customer Instance The Juniper documentation \u0026ldquo;Understanding SNMP Support for Routing Instances shows how to specify an instance. The trick is to use \u0026quot;instance\u0026quot;@\u0026quot;community\u0026quot;:\n1 2 3 4 vagrant@server:~$ snmpwalk -v 2c -c Customer@public 10.1.3.1 ifAlias IF-MIB::ifAlias.515 = STRING: Customer RI IF-MIB::ifAlias.539 = STRING: vagrant@server:~$ Polling the Default Instance via a Non-Default Interface If I was only allowed to see my own routing instance information, the above options work fine. But what if I am polling via a non-default interface, but I want to see information for the whole device?\nIf I poll via the \u0026ldquo;Customer\u0026rdquo; interface, I don\u0026rsquo;t get any response:\n1 2 3 vagrant@server:~$ snmpwalk -v 2c -c public 10.1.3.1 ifAlias Timeout: No Response from 10.1.3.1 vagrant@server:~$ Hmmm. What if I specify \u0026ldquo;default\u0026rdquo; as my instance name?\n1 2 3 4 5 6 7 8 9 10 vagrant@server:~$ snmpwalk -v 2c -c default@public 10.1.3.1 ifAlias IF-MIB::ifAlias.6 = STRING: IF-MIB::ifAlias.16 = STRING: IF-MIB::ifAlias.17 = STRING: IF-MIB::ifAlias.18 = STRING: IF-MIB::ifAlias.23 = STRING: IF-MIB::ifAlias.24 = STRING: IF-MIB::ifAlias.516 = STRING: Default RI IF-MIB::ifAlias.517 = STRING: vagrant@server:~$ That looks pretty good\u0026hellip;except it\u0026rsquo;s only showing information for the interfaces in the default table. What if I want to see all interfaces, the same as if I polled it via an interface in the default table?\nI couldn\u0026rsquo;t figure out how to do this from the docs. I think it was Ben Dale that suggested using @community - that is, just use @ in front of the community, but don\u0026rsquo;t specify an instance name:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 vagrant@server:~$ snmpwalk -v 2c -c @public 10.1.3.1 ifAlias IF-MIB::ifAlias.6 = STRING: IF-MIB::ifAlias.16 = STRING: IF-MIB::ifAlias.17 = STRING: IF-MIB::ifAlias.18 = STRING: IF-MIB::ifAlias.23 = STRING: IF-MIB::ifAlias.24 = STRING: IF-MIB::ifAlias.35 = STRING: IF-MIB::ifAlias.152 = STRING: IF-MIB::ifAlias.156 = STRING: IF-MIB::ifAlias.158 = STRING: IF-MIB::ifAlias.160 = STRING: IF-MIB::ifAlias.515 = STRING: Customer RI IF-MIB::ifAlias.516 = STRING: Default RI IF-MIB::ifAlias.517 = STRING: IF-MIB::ifAlias.518 = STRING: IF-MIB::ifAlias.519 = STRING: IF-MIB::ifAlias.520 = STRING: IF-MIB::ifAlias.521 = STRING: IF-MIB::ifAlias.523 = STRING: IF-MIB::ifAlias.524 = STRING: IF-MIB::ifAlias.525 = STRING: IF-MIB::ifAlias.526 = STRING: IF-MIB::ifAlias.527 = STRING: IF-MIB::ifAlias.528 = STRING: IF-MIB::ifAlias.529 = STRING: IF-MIB::ifAlias.530 = STRING: IF-MIB::ifAlias.531 = STRING: IF-MIB::ifAlias.532 = STRING: IF-MIB::ifAlias.533 = STRING: IF-MIB::ifAlias.534 = STRING: IF-MIB::ifAlias.535 = STRING: IF-MIB::ifAlias.536 = STRING: IF-MIB::ifAlias.537 = STRING: IF-MIB::ifAlias.538 = STRING: IF-MIB::ifAlias.539 = STRING: vagrant@server:~$ Success! That\u0026rsquo;s the output I was looking for. Easy in the end.\nI couldn\u0026rsquo;t see any references to this in the Juniper documentation. I\u0026rsquo;ve also found that this behavior changed somewhere between 15.x and 18.x. If anyone finds any docs, let me know?\n","permalink":"https://lkhill.com/snmp-routing-instances/","summary":"\u003cp\u003eJuniper \u003ca href=\"https://www.juniper.net/documentation/en_US/junos/topics/concept/routing-instances-overview.html\"\u003erouting instances\u003c/a\u003e are very useful when you need separate routing tables on the one device, for example to separate customers. Junos lets you configure SNMP polling of routing instances, so customers can poll \u0026ldquo;their\u0026rdquo; interfaces using \u003ccode\u003e'instance_name'@'community'\u003c/code\u003e. All very useful. But it wasn\u0026rsquo;t obvious to me how to poll the \u003cstrong\u003edefault\u003c/strong\u003e table via an interface in a routing instance. The trick is to just use \u003ccode\u003e@'community'\u003c/code\u003e. Here\u0026rsquo;s an example.\u003c/p\u003e","title":"Junos SNMP via Routing Instance"},{"content":"I have started a new role as a Network Engineer with Valve Corporation. My period of unemployment was short-lived, and I am gainfully employed once more.\nWarning: No. Don\u0026rsquo;t ask me about Half-Life 3. I don\u0026rsquo;t know, and even if I did, I wouldn\u0026rsquo;t say anything. Not Another Vendor? Did I think about going to work for another vendor? Yes, I did. I thought a lot about what I want to do, and what type of company I want to work for. Small/medium/large, vendor/customer, Product Manager vs Engineer, etc.\nFor now, I decided I want to solve business problems using whichever tools are appropriate, rather than building and selling a single product. I didn\u0026rsquo;t want to work for a company that just consumes technology though. I want to work somewhere that has interesting problems, and will do whatever is needed to solve those problems - build/buy/cobble together.\nWhy Valve? Valve is big enough to offer the right level of challenge, but also small enough that I can make a difference. I\u0026rsquo;m not lost in the machine, but I am working on a global network.\nValve is also quite a different company. Check out the Employee Handbook to get a sense of some of it. Very flat structure, high degree of autonomy, and a great working environment.\nIt does mean going in to the office every day, a big change from the last few years. But Valve is based in Bellevue, Washington. Easy commute from my house, no traffic issues. Much better than slogging across to Seattle.\nThanks to Everyone Thanks to everyone in my network who helped me during my job search. I am humbled by the support that people offered, the connections, the opportunities. I was able to talk to many interesting companies, looking at a wide range of roles. I am grateful that I had choices open to me. Most people don\u0026rsquo;t.\nNow I\u0026rsquo;m looking forward to getting stuck in to learning a new network, uncovering some skeletons, figuring out how to improve things, and making a difference.\nSide note: While I was taking time off, I was doing regular exercise, walking, running, riding, every day. Apple Watch streak of over 60 days pushed my target move goal to 1,000 calories. Two weeks into work, disrupted exercise schedule\u0026hellip;and now my watch is insulting me, steadily dropping my target back to 800.\n","permalink":"https://lkhill.com/steam-powered/","summary":"\u003cp\u003eI have started a new role as a Network Engineer with \u003ca href=\"https://www.valvesoftware.com/\"\u003eValve Corporation\u003c/a\u003e. My period of unemployment was short-lived, and I am gainfully employed once more.\u003c/p\u003e","title":"New Role with Valve"},{"content":"This blog is now hosted via Netlify, rather than GitHub Pages. It is still built using Jekyll, but I updated the theme to Mediumish.\nI looked at switching to Hugo for site generation, but I hit several bugs trying to do the import, and theme setup was a pain. So I stuck with Jekyll, because it\u0026rsquo;s doing what I need. Using Netlify gives me a few more options around build and deploy, and moves away from Cloudflare.\nAll URLs and RSS feed should remain the same. Let me know if you see any issues.\n","permalink":"https://lkhill.com/netlify-migration/","summary":"\u003cp\u003eThis blog is now hosted via \u003ca href=\"https://www.netlify.com\"\u003eNetlify\u003c/a\u003e, rather than \u003ca href=\"https://pages.github.com\"\u003eGitHub Pages\u003c/a\u003e. It is still built using \u003ca href=\"https://jekyllrb.com\"\u003eJekyll\u003c/a\u003e, but I updated the theme to \u003ca href=\"https://github.com/wowthemesnet/mediumish-theme-jekyll/\"\u003eMediumish\u003c/a\u003e.\u003c/p\u003e","title":"Netlify Migration"},{"content":"I\u0026rsquo;ve given in to the Sunk Cost Fallacy once more: I\u0026rsquo;ve renewed my CCIE. There was a lot of foot dragging this time around, and I only had four months to spare. But it\u0026rsquo;s done, for another year. Here\u0026rsquo;s some quick notes on my prep, and thoughts on the exam.\nPreparation I decided to sit the CCIE R\u0026amp;S Written Exam to renew. This was the easiest route for me. I don\u0026rsquo;t use Cisco products on a day to day basis, so certifying with a different track would be very hard for me.\nThe version hasn\u0026rsquo;t changed since the last time I sat it. It\u0026rsquo;s still 400-100, v5.1. The only difference is that the \u0026ldquo;Evolving Technologies\u0026rdquo; section has been tweaked a little. Think Automation toolsets, Cloud concepts, etc.\nI used the study guide I purchased last time from \u0026ldquo;CCIE in 8 Weeks\u0026rdquo;. I also re-subscribed to their online practice exams. I meant to only subscribe for 3 months, but\u0026hellip;I couldn\u0026rsquo;t get motivated to do this exam. I ended up paying for another 3 months access, before I finally knuckled down and did the study while I was on vacation. I flicked through my old CCIE flashcards a few times too.\nThe key thing with online quizzes or flashcards is to not just learn the answer to that question, but to use them to identify weak areas. Then go and read the documentation on those topics, and create mini labs if something is still unclear.\nExam Impressions I think I\u0026rsquo;ve done this exam four or five times now. This was probably the hardest, and my score wasn\u0026rsquo;t pretty. But it was enough. I passed. I think the difficulty level was similar to previous times, it\u0026rsquo;s just that I\u0026rsquo;m getting further \u0026amp; further away from the core material.\nMost of the questions were fair. There were a couple that had awkward wording, but I think that was uninintentional. I don\u0026rsquo;t think they were trying to catch me out in that way. There was one that had very clear typos - when the diagram refers to 192.168.1.0, and multiple possible answers refer to 192.168.10.0, I\u0026rsquo;m 99% certain that\u0026rsquo;s a typo. I added comments to those questions, so it should get fixed.\nThere were a few questions that I had absolutely no idea about. Usually you can throw away a couple of answers, but this time there were a couple of questions on Cisco-specific products that I just had zero knowledge of. Oh well.\nTiming was about right. The exam has 90 questions, and you have 120 minutes. Like all Cisco exams, you can\u0026rsquo;t go backwards, only forwards. You need to plan your time. My technique is to allow 20 minutes for every 15 questions. Every 20 minutes, I check how I\u0026rsquo;m tracking. At first I was slightly behind, I then picked up a little speed, and finished with 10-15 minutes to spare.\nThe strangest thing was the \u0026ldquo;Evolving Technologies\u0026rdquo; questions. According to Cisco, this makes up 10% of the score. But late in the exam I realized I hadn\u0026rsquo;t seen anything in that section. Normally questions are randomly distributed. But don\u0026rsquo;t worry, they hadn\u0026rsquo;t forgotten. Just ended up being grouped together. Nothing too crazy in that section, it was probably easiest for me, given the areas I work in.\nWhat about the Continuing Education Program? You don\u0026rsquo;t have to sit a Trivial Pursuits-style exam to recertify. You can instead take Cisco-blessed courses, and/or attend Cisco Live presentations. Earn enough credits, you get recertified. Seems like a good idea, but the cost is way to high for me. My employer doesn\u0026rsquo;t care about my CCIE. I pay the exam fees myself, and that is expensive enough. Paying for the Continuing Education courses would cost me far more. There is no way my employer is paying for Cisco training courses, so the written exam it is.\nIf I worked for a Cisco partner or customer and had Cisco training credits, and/or I attended Cisco Live I would do the Continuing Education Program. Would be much easier.\nWhere To From Here? Being CCIE certified is mostly irrelevant to what I do on a day to day basis. My employer doesn\u0026rsquo;t care. I don\u0026rsquo;t see myself becoming a full-time network engineer again. But\u0026hellip;I\u0026rsquo;ll probably go through another round of renewal, and then qualify for Emeritus.\n","permalink":"https://lkhill.com/ccie-renewed-once-more-400-101-v5-1/","summary":"\u003cp\u003eI\u0026rsquo;ve given in to the \u003ca href=\"https://en.wikipedia.org/wiki/Sunk_cost\"\u003eSunk Cost Fallacy\u003c/a\u003e once more: I\u0026rsquo;ve renewed my CCIE. There was a lot of foot dragging this time around, and I only had four months to spare. But it\u0026rsquo;s done, for another year. Here\u0026rsquo;s some quick notes on my prep, and thoughts on the exam.\u003c/p\u003e","title":"CCIE Renewed Once More - Exam 400-101 v5.1"},{"content":"Using network CLI for automation has always been fragile. But it keeps surprising me with the way it breaks. This time, it was a combination of Ansible, Arista, replace: config and terminal length used as a config command.\nNote: I work for Extreme Networks. I would like to be clear that I am not in any way picking on Arista here. This is just one of those interesting combinations of interplay between various features and products. I have no doubt that Extreme products can be configured in a way that makes them break with Ansible too. The Problem I often hang out in the NTC Slack channel. A user reported they were having a problem with Ansible and EOS. Basic changes worked, but when they used eos_config with the replace: config option, it just timed out. We knew basic authentication \u0026amp; connectivity was fine, it had to be something else.\nBut it made no sense, because these modules are widely used. What\u0026rsquo;s going on?\nBackground #1: Pagination Some commands produce more than one screen\u0026rsquo;s worth of output - for example, show run can be hundreds of lines long. Most screens don\u0026rsquo;t have hundreds of lines, so pagination is used. The network device detects how many lines your terminal window has. When a command output is longer than that, it will pause at the end of each \u0026lsquo;screen\u0026rsquo; length of output. Typically it displays something like --More--. Hit enter and the display will move up one line, hit space and it will move up a whole screen length.\nThis is all very useful if you\u0026rsquo;re a human looking at the CLI output.\nBut as a machine, it\u0026rsquo;s a pain. If you have a script interacting with the CLI, it has to detect the --More-- prompt, and respond appropriately. Slows things down, is annoying.\nThat\u0026rsquo;s why almost all network operating systems support some form of the terminal length command. This lets you over-ride the auto-detected terminal length. More importantly, if you enter terminal length 0, it will ignore any length, and just display all output in one long stream. That\u0026rsquo;s the simplest for any CLI expect-style automation to deal with. Almost all automation tools will use this.\nNormally this works well. When something like Ansible connects to a device, the first thing it does after login is run terminal length 0, and it no longer needs to worry about pagination. After that it just runs commands, and expects that the entire output will be returned, with no need to detect page breaks.\nBackground #2: replace:config The eos_config module supports the replace: config option. The default is to use replace: line, which only pushes changed lines if it detects a difference. That\u0026rsquo;s what most people use. Occasionally you need the replace: block option, which will push all lines in that block, if any of them are different. By block, it means \u0026ldquo;this section of the code\u0026rdquo; - e.g. the interface configuration.\nThe config option is not documented. But it will push the entire config if any one line needs to be changed. I don\u0026rsquo;t know exactly why you\u0026rsquo;d do this, but hey, it\u0026rsquo;s an option.\nCombination == Problem. Why? The user reported that they were unable to use Ansible with replace:config. Ansible reported a timeout - exactly the sort of thing I would expect it to do if it had not matched the prompt properly, or it was stuck at a --More-- prompt.\nBut why? How could that be happening when Ansible modules are widely used with Arista? There\u0026rsquo;s nothing unusual, no reason why it shouldn\u0026rsquo;t work when many, many other people successfully use these.\nWhy would it be getting stuck with pagination when that gets disabled on login?\nWhat\u0026rsquo;s Happening? The key was this part of the EOS docs\nThe pagination setting is persistent if configured from Global Configuration mode. If configured from EXEC mode, the setting applies only to the current CLI session.\nHang on a second. On most devices I\u0026rsquo;ve used, terminal length is only used at the EXEC mode. That is, it only applies to the current login session. It\u0026rsquo;s not a global setting, it\u0026rsquo;s an ad-hoc setting.\nArista EOS supports terminal length as a global configuration command. This system had terminal length 20 in the configuration. On initial login, Ansible ran terminal length 0 for that session, and all was well.\nBUT When replace: config was used, and it detected a change, it re-entered the entire configuration, including the terminal length 20 command. At that point, the system went back to enforcing a page length of 20. This confused Ansible, because it started seeing --More-- prompts, and didn\u0026rsquo;t know what to do with it.\nThe Fix It\u0026rsquo;s a fairly simple fix here - remove the terminal length 20 line from the configuration. In this case it was a command that had been added a long time ago, perhaps when automatic length detection didn\u0026rsquo;t work. No longer needed, so remove the command, the terminal length stops getting messed up, and Ansible doesn\u0026rsquo;t sit there stuck at a --More-- prompt.\nNow hopefully I\u0026rsquo;ll remember this when I come across it in another 5 years\u0026hellip;\n","permalink":"https://lkhill.com/ansible-pagination/","summary":"\u003cp\u003eUsing network CLI for automation has always been fragile. But it keeps surprising me with the way it breaks. This time, it was a combination of Ansible, Arista, \u003ccode\u003ereplace: config\u003c/code\u003e and \u003ccode\u003eterminal length\u003c/code\u003e used as a \u003cstrong\u003econfig\u003c/strong\u003e command.\u003c/p\u003e","title":"CLI Still Sucks for Automation"},{"content":"We are now Lawful Permanent Residents of the United States - aka Green Card Holders. It took a few years to get to this point. Here\u0026rsquo;s our timeline, why we did it, what it means for us, and what next.\nTimeline I first moved to the US on an L-1B visa. This is an intra-company transfer visa, that let me move to the US to continue working for Brocade.\nMay 2015 - Began work for Brocade, based in New Zealand. Jul 2016 - Received L-1B visa, allowing us to move to US. Aug 2016 - Moved from New Zealand to US. Nov 2016 - Broadcom announces intention to acquire Brocade Nov 2016 - Green Card process initiated - Department of Labour certification filed. Jul 2017 - PERM filed. Oct 2017 - Extreme Network acquired my business unit. I remained employee of Broadcom. Nov 2017 - PERM approved. Jan 2018 - Received permission to transfer L-1 visa to Extreme Networks. Feb 2018 - I-140 and I-485 submitted. Sep 2018 - I-140 approved. Feb 2019 - I-485 interview scheduled. Mar 2019 - I-485 interview held. Lots of questions, confirming details \u0026amp; history, but all straightforward. One week later: cards in hand Total time for Green Card part of process (DoL certification, PERM, I-485) 2 years, 4 months. We are lucky that we\u0026rsquo;re from New Zealand. Due to the way the country allocations work, if I was from India this would have taken at least 10 years.\nWhy did we do it? There\u0026rsquo;s two main issues with the L-1 visa I was on. One is that it has a time limit. Ours was due to expire this year. It can be renewed, but only up to five years.\nSecond, my visa is tied to my employer. I was unable to change jobs, and if I lost my job, I would have to immediately leave the country. If everything is going well, this is OK. But if, say\u0026hellip;your company is being acquired, and the new owner wants to sell your division, it gets very stressful. It also means I have no leverage with salary negotation.\nWhat Difference Does it Make? First thing is that it makes foreign \u0026amp; domestic travel much easier. I can apply for TSA precheck, making airport security like it was 20 years ago. Faster through airports, less hassle. This applies to most US airports.\nInternational arrivals also become much easier for me. L-1 visa holders need to go through the traditional booth + CBP officer process. Green Card holders can go through the Automated Passport Control kiosks, which move faster. Even better, I can apply for Global Entry, for much, much faster processing.\nOn bad days international arrivals at US airports can take hours, so this makes a big difference. I don\u0026rsquo;t need to carry my original visa paperwork either, just my green card and passport.\nAnd as above, we no longer have time limits on how long we can stay here, and I have full job portability. I can change jobs, or I can take some time off between jobs.\nWhere to from here? We\u0026rsquo;re planning on staying in the Seattle area for the next few years. Will we live here forever? Probably not, but never say never.\nWill I keep working for Extreme Networks? Short term, yes. Medium-term? Who knows? The technology industry changes too much to make fixed plans.\n","permalink":"https://lkhill.com/green-card-journey/","summary":"\u003cp\u003eWe are now Lawful Permanent Residents of the United States - aka Green Card Holders. It took a few years to get to this point. Here\u0026rsquo;s our timeline, why we did it, what it means for us, and what next.\u003c/p\u003e","title":"Our Green Card Journey"},{"content":"I use a Privacy Filter on my laptop screen when traveling. I\u0026rsquo;m doing a bit of time on planes these days, and it makes a big difference. Most of my code is Open Source, but other content is proprietary. High chance of competitors being on the same plane as me, so better to make it harder for others to see.\nThe only problem with these screens is that if you frequently take it off like I do, the adhesive strips collect dust, and stop sticking after a while. Recently someone asked me how to get them replaced.\n3M does not sell replacement strips\u0026hellip;but they do something even better: they give them away for free. Pretty cool ah?\nJust go here, fill in the details, and they\u0026rsquo;ll send you some more. How good is that?\n","permalink":"https://lkhill.com/privacy-strips/","summary":"\u003cp\u003eI use a \u003ca href=\"https://www.amazon.com/gp/product/B00BIDDBRC/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8\u0026amp;psc=1\"\u003ePrivacy Filter\u003c/a\u003e on my laptop screen when traveling. I\u0026rsquo;m doing a bit of time on planes these days, and it makes a big difference. Most of my code is \u003ca href=\"https://github.com/LindsayHill\"\u003eOpen Source\u003c/a\u003e, but other content is proprietary. High chance of competitors being on the same plane as me, so better to make it harder for others to see.\u003c/p\u003e","title":"Replacement Strips for Screen Privacy Filter"},{"content":"We have left the Bay Area, and headed North. We have moved to the Greater Seattle area - specifically the Eastside, between Bellevue and Redmond. We\u0026rsquo;ve given up the old apartment in San Francisco for a larger, nicer house\u0026hellip;for a lot less in rent. A lot fewer bars \u0026amp; restaurants, a lot more trees, parks and lakes.\nBut Why? The typical Bay Areas response is: \u0026ldquo;But why??? It rains all the time in the Pacific Northwest!!!!\u0026rdquo;\nA few things:\n1. Yes, it rains more here than San Francisco, but not as much as people think. It\u0026rsquo;s not even in the top 10 cities in the US for annual rainfall. Boston, New York, Washington DC all receive more.\n2. Rain is OK. In fact rain is good. You don\u0026rsquo;t get lush forests through irrigation. You also don\u0026rsquo;t get clean streets just from street sweepers. The main attractions for us are:\nMuch better lifestyle for us. It\u0026rsquo;s easy to go mountain biking, running, hiking, skiing here.\nMuch lower rent. Yes, rents have gone up a lot here, but it\u0026rsquo;s still much better value than San Francisco. I pay much less rent here, but I get a nice place, and the water doesn\u0026rsquo;t run brown first thing in the morning.\nGreat technology scene - Seattle is Cloud City. The big players here are Amazon and Microsoft, but there are a lot of great technology companies here. I won\u0026rsquo;t feel isolated in the slightest.\nSan Francisco lifestyle is great if you are 24, work for FAANG, earn \u0026gt; $350k/year, and don\u0026rsquo;t care about vast inequality. But that\u0026rsquo;s not us. We\u0026rsquo;re in our 40s, and don\u0026rsquo;t earn that much. Hidden cash-only bars are less interesting than having a little bit of space, and getting out into nature on a regular basis.\nSo What\u0026rsquo;s Next? So what\u0026rsquo;s next - are you changing jobs? No, not right now. I will continue to work for Extreme Networks, focused on network automation and Open Source software.\nBut you\u0026rsquo;ll be a remote worker now?\nYes, but due to office moves, I was only going to the office once a week anyway. I expect to visit the Bay Area roughly one week a month. I won\u0026rsquo;t be at home all the time anyway - there are lots of great StackStorm users for me to visit in Seattle.\nLooking Ahead We\u0026rsquo;re looking forward to our new life here. It will take time to re-establish personal relationships. We\u0026rsquo;re in suburbia now, so that means no decent cafes, no bars within walking distance. But I expect to do a lot more trail running and mountain biking this year. Maybe I\u0026rsquo;ll even take up kayaking. No skiing this year due to Anna\u0026rsquo;s broken arm, but there\u0026rsquo;s always next winter.\nOne thing we do know: We\u0026rsquo;re going to get a dog. Many people in San Francisco have dogs in apartments, but we don\u0026rsquo;t believe in that. Dogs should have outside space. Now we have that, and we can add a dog to our little family.\n","permalink":"https://lkhill.com/seattle/","summary":"\u003cp\u003eWe have left the Bay Area, and headed North. We have moved to the Greater Seattle area - specifically the Eastside, between Bellevue and Redmond. We\u0026rsquo;ve given up the old apartment in San Francisco for a larger, nicer house\u0026hellip;for a lot less in rent. A lot fewer bars \u0026amp; restaurants, a lot more trees, parks and lakes.\u003c/p\u003e","title":"New Year, New Home"},{"content":"I have been battling to get the combination of CircleCI, Docker and systemd to play together. After much frustration, I have a workable solution. Machine Executor, privileged: true, cgroup passthrough, and disabling AppArmor.\nBackground: CircleCI for Ansible Linting \u0026amp; Checks In the StackStorm team we use CircleCI with most of our repositories. We check things like code style checks, and run unit tests. With every Pull Request we trigger these checks, and checks must pass before merging. Some repos also use CircleCI for post-merge deployment steps.\nWe use Ansible and Terraform to manage some of our internal infrastructure. All configurations are stored in Git. All changes to that configuration must be submitted as a Pull Request. All PRs need approval, and all commit checks must pass. We use CircleCI to run these commit checks.\nWe run multiple checks, but for Ansible playbooks, they include using ansible-lint, and ansible-playbook --syntax-check. We then spin up a Docker container using CircleCI and run some of our playbooks twice, checking that it passes both times, and that the second run records no changes.\nHere\u0026rsquo;s a snippet of some of our CircleCI configuration:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 version: 2 jobs: build: working_directory: ~/ci docker: - image: williamyeh/ansible:ubuntu16.04 steps: - checkout - run: name: Install ansible-lint command: | pip install ansible-lint - run: name: Ansible YAML syntax check command: | ansible-playbook --syntax-check *.yml - run: name: Ansible-lint check command: | ansible-lint -v *.yml - run: name: Run local.yml playbook in CircleCI Ubuntu16 env command: | ansible-playbook -vv local.yml - run: name: Run local.yml again, checking to make sure it\u0026#39;s idempotent command: \u0026gt; ansible-playbook local.yml | grep \u0026#39;changed=0.*failed=0\u0026#39; \u0026amp;\u0026amp; (echo \u0026#39;Idempotence test: pass\u0026#39; \u0026amp;\u0026amp; exit 0) || (echo \u0026#39;Idempotence test: fail\u0026#39; \u0026amp;\u0026amp; exit 1) This system has been working well for us. Once a PR passes checks, gets approved and merged, all production systems pull it automatically.\nEnter Systemd This system worked up to the point when I went poking into our Sensu playbooks, and saw that we were using an old Sensu repo. We use Sensu to run various monitoring checks on our EC2 instances and services.\nWe were stuck on the 0.26.x version. This was no big deal - for our simple needs, running that version was fine, and worked as expected. But I decided to get up to date, and fix the repo URL, and pull in current package versions (1.6.x at time of writing).\nTo test it, I first made a local Ansible change, and ran it on a test system. Perfect - new repo added, new Sensu version installed. A few minor tweaks to account for updated plugin installation, and everything worked.\nNext step, submit a PR.\nBzzzt:\n1 2 3 TASK [stackstorm.sensu : Ensure sensu-client is enabled and running] *********** task path: /root/ci/roles/stackstorm.sensu/tasks/main.yml:54 fatal: [localhost]: FAILED! =\u0026gt; {\u0026#34;changed\u0026#34;: false, \u0026#34;msg\u0026#34;: \u0026#34;Could not find the requested service sensu-client: host\u0026#34;} Hmm. Why is it failing to check that service status? It works on a real system.\nSystemd + Docker: Not Friends What\u0026rsquo;s going on here? Basically: Systemd + Docker do not get along. At some point Sensu switched to using Systemd unit files to manage the service, rather than traditional init scripts. In theory this should not be a problem with Ubuntu 16.04. It should be better, making things consistent with the \u0026rsquo;new\u0026rsquo; way of managing services.\nThe problem was with our test infrastructure. We were launching an Ubuntu 16.04 Docker container, and running our tests inside that.\nDocker + Systemd do not get along. This LWN has a good summary of what\u0026rsquo;s going on. A couple of choice quotes:\n\u0026ldquo;This is Lennart Poettering,\u0026rdquo; said Walsh, showing a picture. \u0026ldquo;This is Solomon Hykes\u0026rdquo;, showing another. \u0026ldquo;Neither one of them is willing to compromise much. And I get to be in the middle between them.\u0026rdquo;\n\u0026hellip;\nAccording to Walsh\u0026rsquo;s presentation, the root cause of the conflict is that the Docker daemon is designed to take over a lot of the functions that systemd also performs for Linux. These include initialization, service activation, security, and logging. \u0026ldquo;In a lot of ways Docker wants to be systemd,\u0026rdquo; he claimed. \u0026ldquo;It dreams of being systemd.\u0026rdquo;\nOK, Here\u0026rsquo;s a Workaround There is a workaround: You can start the container in \u0026ldquo;privileged\u0026rdquo; mode. This is insecure, but in theory should be fine for my CI environment.\nI can\u0026rsquo;t change the Docker setup options when I\u0026rsquo;m using docker: in my CircleCI configuration, but I can use setup_remote_docker, and launch Docker containers from my CI container.\nSo I tried doing something like this in my CircleCI config:\n1 2 3 4 5 6 7 8 9 10 11 12 13 - setup_remote_docker: version: 18.05.0-ce - run: name: Pull dependent Docker Images command: docker-compose pull xenial - run: name: Set up remote container command: | docker-compose up -d xenial - run: name: Run local.yml playbook in remote Docker container command: | docker-compose exec xenial ansible-playbook -vv local.yml I used this docker-compose.yml file:\n1 2 3 4 5 xenial: image: stackstorm/packagingtest:xenial-systemd privileged: true volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro Nope: Still Not working Sadly that didn\u0026rsquo;t work. The NTP role we are using started failing.\n1 2 3 TASK [geerlingguy.ntp : Ensure NTP is running and enabled as configured.] ****** task path: /root/.ansible/geerlingguy.ntp/tasks/main.yml:23 fatal: [localhost]: FAILED! =\u0026gt; {\u0026#34;changed\u0026#34;: false, \u0026#34;msg\u0026#34;: \u0026#34;Unable to start service ntp: Job for ntp.service failed because the control process exited with error code. See \\\u0026#34;systemctl status ntp.service\\\u0026#34; and \\\u0026#34;journalctl -xe\\\u0026#34; for details.\\n\u0026#34;} It\u0026rsquo;s not really a privileged container. There are still some host-imposed restrictions.\nFinally: Machine Executor + Disable AppArmor CircleCI supports different \u0026ldquo;executors\u0026rdquo; - the environment the tests run in. Normally you run tests in a Docker container, and just specify which container image you want to use.\nBut it also supports the machine executor. Rather than run tests in a container, it runs test within a VM. Problem is, those VMs are Ubuntu 14.04-based. I needed to test with Ubuntu 16.04.\nHere\u0026rsquo;s the combination I needed to run my tests: Use the machine executor, and launch Ubuntu 16.04 Docker containers from that VM. Because I have full control within the VM, I can set whatever options I need for my container.\nHere\u0026rsquo;s my new config:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 version: 2 jobs: ansible: machine: true working_directory: ~/ci steps: - checkout # All Ansible-related tests must run in a remote, privileged container - run: name: Set up host system command: | sudo service apparmor teardown sudo -H pip install docker-compose - run: name: Pull dependent Docker Images command: docker-compose pull xenial - run: name: Set up remote container command: | docker-compose up -d xenial docker-compose exec xenial sed -i \u0026#39;s/localhost/localhost ansible_connection=local/\u0026#39; /etc/ansible/hosts - run: name: Install ansible-lint command: | docker-compose exec xenial pip install ansible-lint - run: name: Ansible YAML syntax check command: | docker-compose exec xenial ansible-playbook --syntax-check *.yml - run: name: Ansible-lint check command: | docker-compose exec xenial ansible-lint -x 204 -v *.yml - run: name: Run local.yml playbook in remote Docker container command: | docker-compose exec xenial ansible-playbook -vv local.yml - run: name: Run local.yml again, checking to make sure it\u0026#39;s idempotent command: \u0026gt; docker-compose exec -T xenial ansible-playbook local.yml | grep \u0026#39;changed=0.*failed=0\u0026#39; \u0026amp;\u0026amp; (echo \u0026#39;Idempotence test: pass\u0026#39; \u0026amp;\u0026amp; exit 0) || (echo \u0026#39;Idempotence test: fail\u0026#39; \u0026amp;\u0026amp; exit 1) Success at last! Tests finally passed, and I was able to move on to the next round of Ansible improvements I wanted to make.\nNote this part: sudo service apparmor teardown. Without this, NTPD inside my container failed to start. Same issue as here\nNote: I was feeling a bit over it all by the time I finally got all this working. I wasn\u0026rsquo;t too worried due to the low risk of what I\u0026rsquo;m doing here, along with the ephemeral nature of the Machine instances. But if you know the right way to change AppArmor rather than disabling it, let me know. ","permalink":"https://lkhill.com/circleci-docker-systemd/","summary":"\u003cp\u003eI have been battling to get the combination of CircleCI, Docker and systemd to play together. After much frustration, I have a workable solution. Machine Executor, \u003ccode\u003eprivileged: true\u003c/code\u003e, cgroup passthrough, and disabling AppArmor.\u003c/p\u003e","title":"CircleCI, Docker and Systemd"},{"content":"We published Ansible modules for Extreme SLX devices earlier this year. Now we have modules covering all the main Extreme Switching \u0026amp; Routing product families - SLX, VDX, MLX, EXOS, VSP.\nAvailable Modules SLX - slxos_command, slxos_config, slxos_facts, slxos_interface, slxos_l2_interface, slxos_l3_interface, slxos_linkagg, slxos_lldp, slxos_vlan VDX - nos_command, nos_config, nos_facts EXOS - exos_command, exos_config, exos_facts VOSS - voss_command, voss_config, voss_facts MLX - ironware_command, ironware_config, ironware_facts All modules are available in the current GA version of Ansible (2.7), except for voss_config. That one proved a bit trickier for me to write, and I didn\u0026rsquo;t get it done in time for the 2.7 cutoff. That one is an open Pull Request against the Ansible devel branch. That should get reviewed and merged soon. It will then make its way into the next GA release. You can of course use the code direct from my branch in the meantime.\nAll modules use the network_cli plugin. See Platform Options for general information about how to use this connection type.\nWarning: These modules are not officially supported by Extreme. They are published as Open Source code, in the hope they will be useful to someone. Don\u0026rsquo;t even think about logging a TAC case. Thanks to my colleagues who helped with those modules.\nFuture Ansible Work I have no plans for writing additional Ansible modules right now. Writing roles that build upon network-engine makes more sense.\nThat said, these modules will need some future work:\nReview all modules to ensure they are up to date with API changes, simmilar to the recent updates to EOS, IOS, Junos modules. Look at using httpapi connection plugin for devices that support it. Strip out the connection: local support from the Ironware modules. None of the other modules support this legacy method. This should be done in the 2.9 development cycle. Questions/comments? Email me, or submit an issue. Better yet, submit a Pull Request.\n","permalink":"https://lkhill.com/more-extreme-ansible/","summary":"\u003cp\u003eWe published Ansible modules for \u003ca href=\"/ansible-slx/\"\u003eExtreme SLX devices\u003c/a\u003e earlier this year. Now we have modules covering all the main Extreme Switching \u0026amp; Routing product families - SLX, VDX, MLX, EXOS, VSP.\u003c/p\u003e","title":"More Ansible Modules for Extreme"},{"content":"This year I\u0026rsquo;ve written several Ansible modules. It wasn\u0026rsquo;t that hard, yet some people claimed they had been waiting \u0026ldquo;years\u0026rdquo; for those modules. There was nothing stopping anyone else doing it, yet they hadn\u0026rsquo;t. There\u0026rsquo;s a weird reticence amongst network engineers to learn or write any code, even when it could make a large difference to their job. People either do nothing, or they create complex Ansible playbooks to work around their reluctance to write Python. It\u0026rsquo;s not that scary. Why don\u0026rsquo;t people put in a bit of effort?\nDon\u0026rsquo;t be Afraid of a Little Python Ansible playbooks use YAML, a somewhat human-readable markup language. These are instructions for \u0026ldquo;what\u0026rdquo; Ansible should do - e.g. \u0026ldquo;Use the Cisco ios_config module to ensure that this configuration line is present.\u0026rdquo;\nThe underlying modules use Python. These are the \u0026ldquo;how\u0026rdquo; - they take the instructions from the playbooks, and turn those into device connections to devices, making configuration changes, checking state, etc.\nSome people look at these modules as a mystery black box that only the vendor can write. They think that the only way they can interact with Ansible is via playbooks.\nThis leads to two situations:\n1/ Twiddling thumbs for years, continuing with manual operations, while waiting for someone else to write a missing module.\n2/ Trying to use YAML as a programming language, leading to this:\nWriting YAML pic.twitter.com/NPA6P3GJg0\n\u0026mdash; Justin Palmer (@Caged) September 12, 2018 Both of these situations are a mess. They are unnecessary if people would get over their fear of writing a little code.\nAnsible Modules: Not That Scary This year I decided to write some Ansible modules for various Extreme Networks products - SLX, VDX, VSP. I also reviewed the MLX modules, and contributed a little to some EXOS modules.\nI am not a full-time developer, nor do I play one on TV. But you know what? It wasn\u0026rsquo;t that hard. I found some other molds that worked in a similar way (IOS), and spent a bit of time reading those, then copied \u0026amp; tweaked them to make them work for SLX/VDX/etc. The code is in Python, and it isn\u0026rsquo;t all that complicated to re-work some existing modules.\nI have seen posts from people saying that they have \u0026gt; 1,000 Extreme devices, and needed Ansible modules to manage them. Those posts were from years ago, yet they never wrote modules themselves. They sat and waited for the vendor to write them.\nI can understand this if it was something genuinely new, with no prior art to work from.\nBut that\u0026rsquo;s not true at all here. There\u0026rsquo;s plenty of code to build from, easy access to documentation and development environments, and no shortage of forums for help. Yet no-one else bothered to write those modules.\nMakes you wonder: How serious were people when they said they \u0026ldquo;NEED\u0026rdquo; these modules? No-one cared enough to write them. It didn\u0026rsquo;t take a huge investment in time. So either it wasn\u0026rsquo;t a priority, or people were too scared of writing a little Python.\nYAML Like Jeff Geerling says:\nYAML is not a programming language.\nQuite so. Just because you can do something with a combination of YAML \u0026amp; Jinja2, doesn\u0026rsquo;t always mean you should. To quote a little more from Jeff:\nAs a rule of thumb, if you\u0026rsquo;ve spent more than 10 minutes wrestling with escaping quotes in a when condition in your playbook, it\u0026rsquo;s probably time to consider writing a separate module to perform the logic you need to do for the task.\nIf you need to do complex data manipulation, you\u0026rsquo;ll come unstuck if you stay within the confines of YAML. Write a Python module instead. Then you have a full set of tools to do whatever complex conditional or manipulation you need.\nConclusion Don\u0026rsquo;t be afraid of writing a little Python. If you have a real automation problem to solve, then invest a little time into it, and make a start on writing some code. Take charge of your own environment. Don\u0026rsquo;t sit back waiting for a vendor to solve all your problems. You\u0026rsquo;ll make much greater progress if you do.\n","permalink":"https://lkhill.com/ansible-dont-be-afraid-code/","summary":"\u003cp\u003eThis year I\u0026rsquo;ve written several Ansible modules. It wasn\u0026rsquo;t that hard, yet some people claimed they had been waiting \u0026ldquo;years\u0026rdquo; for those modules. There was nothing stopping anyone else doing it, yet they hadn\u0026rsquo;t. There\u0026rsquo;s a weird reticence amongst network engineers to learn or write any code, even when it could make a large difference to their job. People either do nothing, or they create complex Ansible playbooks to work around their reluctance to write Python. It\u0026rsquo;s not that scary. Why don\u0026rsquo;t people put in a bit of effort?\u003c/p\u003e","title":"Ansible - Don't be Afraid of a Little Python"},{"content":"It is 6 years since I passed the CCIE Lab Exam. The dreaded email has arrived:\nCCIE: Your CCIE status is \u0026lsquo;suspended\u0026rsquo; and you need to recertify in twelve months.\nTime to re-evaluate what the CCIE means to me. Should renew it? Should people start out on the CCIE track now? My opinions have shifted over the years.\nShould I Renew? I\u0026rsquo;ve been through this cycle a few times now. I\u0026rsquo;m getting closer to Emeritus, but it\u0026rsquo;s still a few years away.\nMy career has shifted over the last few years. I work for a Network Vendor, but networking is only part of what I do. I am a Product Manager, focused on automation. I spend very little time looking at network devices, or CLI. I spend my time talking to customers, updating roadmaps, writing Python, reviewing Pull Requests.\nMy future will be working with technologies like Serverless Computing, IoT, and Edge.\nCCIE R\u0026amp;S doesn\u0026rsquo;t cover any of that.\nIt is unlikely that I will ever work as a traditional hands-on network engineer again. Not impossible, but unlikely. I doubt that any future employer will care about whether I have a current CCIE certification. At this point my experience is more relevant.\nSo\u0026hellip;why bother renewing?\nWell\u0026hellip;there\u0026rsquo;s still that tiny matter of personal pride, combined with a bit of sunk cost fallacy. It\u0026rsquo;s hard to give up something that took a lot of personal time, money and effort. I did it to prove to myself I could do it, not for promotion or salary. It was a point of pride that I could do it.\nSo I\u0026rsquo;ll probably renew. It will take me around a month of study, and about $500.\nI still have 12 months to decide. After that, it will expire, and I would need to sit the whole lab again. There is no way I would ever sit the lab again. Better to invest my time and energy elsewhere.\nWhat if You\u0026rsquo;re Starting Out? So that\u0026rsquo;s me. But what about you? What about young engineers starting out, trying to decide what education path to take? Should you pursue the CCIE?\nI\u0026rsquo;ve gone back \u0026amp; forth about this for a while, but now I\u0026rsquo;m sure: Don\u0026rsquo;t do it.\nIt\u0026rsquo;s not worth the time and the distraction from learning broader skills. You are better off learning something else. The market is changing. You will be better served by having a mix of skills in things like Cloud, SD-WAN, basic coding, Linux.\nLearn the basics of networking. By all means pursue CCNP certification, to give yourself a solid networking base. But then broaden your skills, learn adjacent fields.\nThe market for hyper-specialized network engineers is shrinking. If you\u0026rsquo;re already there, and have a profitable niche, then stick with it if you\u0026rsquo;re happy. But don\u0026rsquo;t start down that path, not in 2018. The world has moved on.\n","permalink":"https://lkhill.com/ccie-should-i-renew/","summary":"\u003cp\u003eIt is 6 years since I \u003ca href=\"/ccie-success/\"\u003epassed the CCIE Lab Exam\u003c/a\u003e. The dreaded email has arrived:\u003c/p\u003e","title":"CCIE - Should I Renew?"},{"content":"Too many IXPs (and networkers in general) are using horrible outdated methods of graphing data. These are an ugly eyesore, and should be updated to something from this century. Big IXPs in particular have no excuse: they have the resources to do better.\nIXPs: Invest, Spend, Drop Prices? Two years ago Dave Temkin from Netflix presented at NANOG 67, talking about The Real Cost of Public IXPs (warning: PDF).\nThis caused a bit of a stir. As El Reg put it:\n[According to Dave Temkin] The internet exchange industry is ripping customers off, charging too much for features people don\u0026rsquo;t need, and spending millions on staff salaries, unnecessary marketing and social events.\nYou can argue amongst yourselves as to how much IXPs should invest, how closely their port prices should track transit costs, etc. Or maybe you just like all the free drinks, dammit.\nI think that if they\u0026rsquo;re going to spend money rather than reduce prices, they should spend it on something I care about: Data visualization. Most IXPs traffic graphs are an eyesore, they\u0026rsquo;re outdated, and it\u0026rsquo;s time they were fixed.\nUgly Eyesores Here\u0026rsquo;s some typical traffic graphs from some of the biggest IXPs in the world:\nDE-CIX\nAMS-IX\nIX.br\nAll ugly. All awful. All generated using 20yr old rrdtool or some derivative.\nOK, It\u0026rsquo;s Not All Bad Some IXPs are doing a good job. Check out these examples - note you\u0026rsquo;ll need to click the image to go to a full interactive display:\nMSK-IX (Using Highcharts)\nLINX (Using Chart.js)\nIX-Australia (Using Grafana)\nThese graphs are much more pleasing to the eye, and are interactive. Users can easily zoom in or out, add details, etc. So much nicer.\nTime to Update rrdtool is old and ugly. It was fine 20 years ago, when that was all we had. But the world has moved on, and there are many good Free, Open Source options for visualizing time-series data.\nMaybe IXPs could go to one less conference this year, and fund an intern to fix up their data? Give us beautiful graphs, and publish the data in a format we can consume it ourselves if we wish.\n","permalink":"https://lkhill.com/ixp-graphs-eyesore/","summary":"\u003cp\u003eToo many IXPs (and networkers in general) are using horrible outdated methods of graphing data. These are an ugly eyesore, and should be updated to something from this century. Big IXPs in particular have no excuse: they have the resources to do better.\u003c/p\u003e","title":"IXP Graphs are an Eyesore"},{"content":"Microsoft buys GitHub, and most of the press has been pretty positive, even from those you might not expect.\nBut, of course there\u0026rsquo;s the usual herp-derp comments, and a big spike in moving repos to Gitlab\nWe\u0026#39;re seeing 10x the normal daily amount of repositories #movingtogitlab https://t.co/7AWH7BmMvM We\u0026#39;re scaling our fleet to try to stay up. Follow the progress on https://t.co/hN0ce379SC and @movingtogitlab\n\u0026mdash; GitLab (@gitlab) June 3, 2018 Most of those repositories will be inconsequential single-user repos, but it is still so much wasted effort. If your knee-jerk reaction is to immediately stop doing real work, and move your code somewhere else, you haven\u0026rsquo;t been paying attention. The world has moved on.\nBack in 2014 I wrote Keep an Open Mind:\nI get frustrated because these people aren’t paying attention to what Microsoft has been doing. They have come a very long way since the 2002 Bill Gates email setting security as the top priority. It’s a big ship to turn, and it took time. Their overall security model and practices are far better than they were, and stability is no longer an issue. Their business strategy is very different now too.\nBut poor engineers continue to view Microsoft through the lens of their 1990s experience. They refuse to countenance a Microsoft solution, even when it is the most appropriate one for the problem at hand. They’re doing themselves and their customers a disservice.\nMy belief hasn\u0026rsquo;t changed. Keep an open mind, watch what\u0026rsquo;s going on, don\u0026rsquo;t get stuck in the past. Stop panicking about things that don\u0026rsquo;t matter any more, get back to writing code, or running your business.\n","permalink":"https://lkhill.com/github-microsoft-its-ol/","summary":"\u003cp\u003eMicrosoft buys GitHub, and most of the press has been \u003ca href=\"https://stratechery.com/2018/microsoft-to-buy-github-a-win-for-github-facebooks-data-sharing-deals-with-device-makers/\"\u003epretty positive\u003c/a\u003e, even from those you \u003ca href=\"https://www.linuxfoundation.org/blog/microsoft-buys-github-the-linux-foundations-reaction/\"\u003emight not expect\u003c/a\u003e.\u003c/p\u003e","title":"GitHub \u0026amp; Microsoft - It's OK"},{"content":"I hate long support lifecycles for hardware and software. Yes, you should be able to buy a new iPhone or switch and use it for 3+ years. But some people want 10+yrs of support, and wail and moan when vendors end support. This is wrong. It drives up costs \u0026amp; complexity, and makes your systems less robust, not more. It\u0026rsquo;s a false sense of security. Plan to buy smaller \u0026amp; cheaper, and upgrade frequently.\nWhy Vendors Don\u0026rsquo;t Like Them Vendors don\u0026rsquo;t want to do long support lifecycles. They will do them, because people pay for it, but there comes a point where they put a line in the sand. \u0026ldquo;Sorry, that system is now EoL.\u0026rdquo;\nWhy?\nCosts: Testing software and hardware combinations is hard work. Add many years of released hardware \u0026amp; software combinations, and it gets much harder. More racks of gear \u0026amp; more permutations == more costs.\nComplexity: It\u0026rsquo;s hard enough to test against a small set. But now you have to deal with obscure systems acquired from a third party 7 years ago? Complexity == time and money.\nMotivation: Hands up who wants to work on legacy systems? Exactly. It\u0026rsquo;s hard to motivate engineers to support older systems. People want to work on new \u0026amp; interesting problems. So you end up with junior engineers supporting the old stuff.\nHardware: There\u0026rsquo;s two angles here: one is that it is hard to deploy new software features on older hardware. By committing to supporting old hardware, you constrain development of new features. The other is that hardware needs to be over-engineered when it first ships, raising the cost. Think about your chassis switches: How much extra capacity needs to be built in now, to allow you to plug in new line cards in 5 years? How much do you think it costs to add that capacity now, well ahead of when it will be used, and right at the limits of engineering capacity?\nWhy They\u0026rsquo;re Also Not Good for Customers It\u0026rsquo;s not just vendors. Long support lifecycles are not good for customers either, often because they create a false sense of security.\n\u0026ldquo;Forgotten\u0026rdquo; Systems Catch You in the End Many years ago my team managed several messaging services. The vast majority of customers were on well-managed, modern systems. But for various reasons we still had a handful of services running via some legacy systems.\nAside: this is completely normal: Every non-trivial business has some legacy systems.\nThe old boxes sat there, chugging away. Everything worked, and no-one ever touched them. At one point they had an uptime of over 1,000 days. In my naive junior engineer days I thought that high uptimes were a Good Thing. They were still under support. All was well, right?\nNot quite. We had a power failure at that site, and a server did not come back up.\nProblem was, it had been so long since anyone did anything to them that no-one remembered how they worked. The hardware was old, the OS two generations behind, and the documentation non-existent.\nWe had vendor support involved, but they too were a bit hazy on some of the details, since the OS \u0026amp; hardware was so old. It took several days to cobble together a working system, and get services up again.\nWe should never have let it get that bad. We knew the systems were old, we knew we needed to move away, but \u0026ldquo;Well, it\u0026rsquo;s still under support\u0026hellip;so we\u0026rsquo;ll put that migration off another year.\u0026rdquo;\nSometimes You\u0026rsquo;re Fooling Yourself In the above example, we had vendor support engaged, and they were able to help, although it took a bit longer due to the age. But other times you find that the vendor either cannot, or will not, properly support old systems. They are very happy to take your support fees. But when you log a case, their first response is always \u0026ldquo;Upgrade to the very latest version and see if the problem re-occurs.\u0026rdquo; Yes, I\u0026rsquo;m looking at you here, Check Point.\nChances of getting a code fix, or even a decent investigation into an issue are near-zero.\nBetter to have been carrying out regular upgrades, staying current.\nDoes it Ever Make Sense? Maybe. There are scenarios where you have a system that you know is going to be hard to upgrade/replace, and you know that requirements won\u0026rsquo;t change. For example, a router deployed to a very remote data collection site. You still want to have a plan to be able to replace that device. But your plan might mean knowing what the \u0026ldquo;new\u0026rdquo; system you\u0026rsquo;ll use is, rather than stockpiling spares.\nThink about your overall service health and robustness. What\u0026rsquo;s going to make a system more robust? One that never changes, or one that is regularly tested, regularly exercised, with staff that do know what all systems are doing?\nIf a system doesn\u0026rsquo;t change for a long period of time, you lose institutional knowledge on how to deal with it. Then when you are forced to change, you don\u0026rsquo;t know what to do. Even long support lifecycles come to an end . Better that you prepare for it.\n","permalink":"https://lkhill.com/long-support-lifecycles/","summary":"\u003cp\u003eI hate long support lifecycles for hardware and software. Yes, you should be able to buy a new iPhone or switch and use it for 3+ years. But some people want 10+yrs of support, and wail and moan when vendors end support. This is wrong. It drives up costs \u0026amp; complexity, and makes your systems \u003cstrong\u003eless\u003c/strong\u003e robust, not more. It\u0026rsquo;s a false sense of security. Plan to buy smaller \u0026amp; cheaper, and upgrade frequently.\u003c/p\u003e","title":"Don't Rely on Long Support Lifecycles"},{"content":"I\u0026rsquo;ve seen a few Twitter threads recently about learning to live with the sudden plenty of working for tech companies. If you didn\u0026rsquo;t grow up that way, the adjustment takes time. It made me think about a few things I\u0026rsquo;ve learnt about corporate travel, and mistakes I\u0026rsquo;ve made along the way. People who grew in the corporate world instinctively know stuff I had to learn. Here\u0026rsquo;s some of the mistakes, and learnings:\nSudden Change of Scene There\u0026rsquo;s been a few threads recently on Twitter related to the concept of \u0026ldquo;growing up poor, and learning how to adapt to working in well-paid industries.\u0026rdquo;\nHere\u0026rsquo;s an example thread:\nStarting a conference for people that work in tech but grew up poor. Talks:\n* Low fee ways to send money to family.\n* Making yourself feel ok about spending $50 on brunch.\n* Where people with money store their extra money instead of just leaving it in your checking account.\n\u0026mdash; Mikeal Rogers (@mikeal) May 1, 2018 Read the thread - there\u0026rsquo;s some gems in there. Stuff like these hit home for me:\nmy first week at my job i spent $30 at the safeway to feed myself all week until they explained i could spend $100 a day on food. i couldnt parse it. looking forward to this\n\u0026mdash; ΜΟΛΩΝ ΛΑΒO (@jonny290) May 2, 2018 I was on business travel for 2 weeks. Got a note back on my expense report, and was bracing to remove a bunch of stuff. They wanted to know *why it was so low*. I had to admit to eating microwave food in my hotel room while colleagues were out to fancy dinners.\n\u0026mdash; Laura (@ContextSans) May 2, 2018 I didn\u0026rsquo;t grow up poor, but we weren\u0026rsquo;t rich. My father was self-employed. My first job was working in a supermarket. I had no exposure to the business world and company travel, and there was so much I didn\u0026rsquo;t know.\nEarly Business Travel: Mistakes I\u0026rsquo;ve made My first business trip was to Australia. I was 22 years old, and it was my first time leaving the country. It was only my 2nd or 3rd ever flight. I had been a university student, and had been living in debt for years, scrimping to get by.\nMy flight departed at 8AM, on a Sunday. Mistake #1: Don\u0026rsquo;t let someone else book your flights. 8AM international flight means you need to be at the airport at 6AM. On a Sunday.\nI lived in the central city. For some reason I decided to take the airport bus to get to the airport, because it was much cheaper than a taxi. Due to timetables, this meant getting up at 4AM. Moron. Mistake #2: Travel by whichever means is the best combination of speed \u0026amp; convenience. Don\u0026rsquo;t skimp to save a few $$. In the context of a company trip, a few dollars is irrelevant. Take a taxi or Lyft, or public transport if that\u0026rsquo;s faster (e.g. the Arlanda Express).\nThe flight had a mechanical issue shortly after take-off, and we returned to our departure airport. We ended up with something like an 8-hour delay, and this was years before I ever got lounge access. I was very relieved when the airline gave us $10 vouchers to buy lunch. Otherwise I would have gone hungry. The thought of spending company money on overpriced airport food didn\u0026rsquo;t even occur to me. Mistake #3: When you\u0026rsquo;re traveling for work, your boss pays for every meal, every coffee, every snack. Don\u0026rsquo;t even think about it, put it on the corporate card.\nI would often book trips from New Zealand -\u0026gt; Australia leaving on Sunday afternoon, returning home at midnight Friday night. All so that I could be at the client site the full business week. Mistake #4: You don\u0026rsquo;t have to give up your own personal time for work travel. Wherever possible, try to travel during the business week. Get the Monday morning flight, come home Friday afternoon rather than Friday night. Don\u0026rsquo;t justify it to anyone else, instead be clear: this is when I will be on site. There\u0026rsquo;s no way I would do this when I was younger. But people will take advantage of you if you let them. They don\u0026rsquo;t need you there at 9AM on Monday.\nI would often choose to buy my own food from a supermarket, feeling bad about going to a restaurant for every meal. I had spent the previous few years spending $30 on food. The thought of spending $30 on a hotel breakfast seemed completely outrageous. So I\u0026rsquo;d buy cheaper meals, try to keep my costs under control. I thought I was splashing out by buying the organic food from the supermarket.\nI thought that people would be paying attention to my expense claims, looking at how much I was spending. I wondered what would happen if I bought a second beer at dinner.\nThings I\u0026rsquo;ve Learned I was so wrong. No-one gave a shit. One night I was in Sydney on some work trip or another when I ran into the company CFO at the bar. I was paying for my own beer, then realized he was drinking decent wine on the company credit card. At that point I stopped caring about perception. As long as you toe the line with company policies, no-one cares. You can also get away with a lot more than the official policy, but that takes time to figure out.\nHere\u0026rsquo;s a summary of what I\u0026rsquo;ve learned:\n1/ Policies: This is the most important thing. Your company will have an official travel policy. I strongly urge you to read this. The policy will tell you exactly what you can spend per day on food without anyone caring. Don\u0026rsquo;t think twice about spending anything up to that limit.\n2/ Company Time, Company Dime: From the time you leave home, until you get home again, you are traveling for work, not pleasure. Put aside your usual cheap ways, the habits you follow when taking a long trip on your own dime. Every meal or snack is now paid for by the company. Optimize for time, not cost when selecting travel options.\n3/ Make your own bookings: Do not rely on someone else to select flights for you. Use an agent if it makes life easier to handle the mechanics, but be specific: tell them exactly what times you want to travel. Travel at times that are convenient for you. Don\u0026rsquo;t get the 6AM flights. Know the policies: you may be able to book something other than steerage under very specific circumstances. The travel agent won\u0026rsquo;t tell you this, you need to tell them what you want.\n4/ Hotels: Book for interest, not company convenience. Don\u0026rsquo;t book the hotel closest to the office or client site. Book hotels down town. Talk to the regional sales teams - they will know the most interesting hotels. Knowledge of policies helps: you don\u0026rsquo;t have to book the \u0026lsquo;official\u0026rsquo; hotels if you stay below the city limit. Your corporate travel agent is not your friend here, they get kickbacks if you book from their \u0026lsquo;official\u0026rsquo; list.\n5/ Personal Travel: Going to a city you\u0026rsquo;ve never been to before? Stay a few days before or after. Pay for your own hotels \u0026amp; food during that time, no-one cares. There is an exception to this - if you\u0026rsquo;re traveling long haul economy, get flights arriving a few days early. Play tourist, and charge all your expenses during that time to the company. If they want you to get somewhere and work, then either you travel business class, or they pay for recovery time.\nWork Travel Sucks: Minimize the Pain There\u0026rsquo;s a lot of stuff about the well-paid business world that I didn\u0026rsquo;t get exposed to growing up. But I\u0026rsquo;ve learnt a few things along the way, some things from watching others, some things from taking the time to read up on policies. Make sure you do the same: if you don\u0026rsquo;t, your boss isn\u0026rsquo;t going to tell you to spend more money.\n","permalink":"https://lkhill.com/work-travel-learnings/","summary":"\u003cp\u003eI\u0026rsquo;ve seen a few Twitter threads recently about learning to live with the sudden plenty of working for tech companies. If you didn\u0026rsquo;t grow up that way, the adjustment takes time. It made me think about a few things I\u0026rsquo;ve learnt about corporate travel, and mistakes I\u0026rsquo;ve made along the way. People who grew in the corporate world instinctively know stuff I had to learn. Here\u0026rsquo;s some of the mistakes, and learnings:\u003c/p\u003e","title":"Culture Shifts and Work Travel Learnings"},{"content":"Cloud computing is a lot more than \u0026ldquo;someone else\u0026rsquo;s computer\u0026rdquo; and it annoys the hell out of me when people keep trotting out this tired old excuse. There is much more to service delivery than compute power. You do yourself and your customers a disservice if you don\u0026rsquo;t do your research.\nA few years ago it was fashionable to dismiss cloud as \u0026ldquo;just someone else\u0026rsquo;s computer\u0026rdquo;, e.g.:\nThere is no cloud. It\u0026#39;s just someone else\u0026#39;s computer. pic.twitter.com/9d3S5chWQq\n\u0026mdash; David Whittaker (@rundavidrun) February 13, 2016 There\u0026rsquo;s T-shirts:\nYou can even buy coffee mugs.\nIn a time when most cloud computing was Infrastructure as a Service, there was an element of truth to it. But\u0026hellip;\nTimes Change The problem is that there\u0026rsquo;s still people thinking this. Check these recent tweets.\nThese people don\u0026rsquo;t realize that the world has moved on a long way. There is much more to cloud computing than just \u0026ldquo;someone else\u0026rsquo;s computer.\u0026rdquo;\nConsider a simple example, like email. To provide email services from \u0026ldquo;my computer\u0026rdquo; I also need power, cooling, rack space, servers, storage, networking, operating system, software, application configuration and maintenance, etc\u0026hellip;not to mention the operational expertise to keep it all going.\nIf someone else provided just the computer part of that, I would still have an enormous amount of work to do. But if I buy this service through Office 365 or something similar, I don\u0026rsquo;t have to care about any of that. I provision users on demand, and don\u0026rsquo;t care about anything else about how it gets provisioned. I even get a clear bill.\nHow exactly is that \u0026ldquo;just someone else\u0026rsquo;s computer\u0026rdquo;?\nAll the SaaS and FaaS/serverless offerings fit into this category. Much more than just a computer.\nNot Just a Bookseller Five years ago VMware\u0026rsquo;s President and COO was dismissing Amazon as a bookseller\n\u0026hellip;I find it really hard to believe that we cannot collectively beat a company that sells books.\nFast-forward a few years, and VMware now has a partnership with AWS. And what\u0026rsquo;s happened to their share prices over the last 5 years?VMware has gone from around $70 to $133, with a market cap of $54B. Amazon has gone from $269 to $1,572, with a market cap of $762B.\nBut yeah, they\u0026rsquo;re just a bookseller, Cloud is a fad, and it\u0026rsquo;s just \u0026ldquo;someone else\u0026rsquo;s computer.\u0026rdquo;\nYou do yourself, and your customers a great disservice if you continue to believe this. You show yourself to be ignorant of what\u0026rsquo;s going on, and how technology is evolving.\nNow, it is legitimate to decide that the best option for delivering services to your users is to use private infrastructure. But don\u0026rsquo;t just casually dismiss cloud. Do yourself, and your customers a favor, and take some time to understand the options, and make an informed decision. Otherwise:\nIf you dislike change, you\u0026rsquo;re going to dislike irrelevance even more.\nEric Shinseki\n","permalink":"https://lkhill.com/cloud-not-just-computer/","summary":"\u003cp\u003eCloud computing is a lot more than \u0026ldquo;someone else\u0026rsquo;s computer\u0026rdquo; and it annoys the hell out of me when people keep trotting out this tired old excuse. There is much more to service delivery than compute power. You do yourself and your customers a disservice if you don\u0026rsquo;t do your research.\u003c/p\u003e","title":"Cloud\u0026#58; Not Just Someone Else's Computer"},{"content":"Here\u0026rsquo;s something I\u0026rsquo;ve been working on recently: Ansible modules for Extreme SLX switches \u0026amp; routers. Ansible is a popular automation framework, and with good reason: it has a low barrier to entry. Time to usefulness is short. But you need device-specific modules to work with networking devices. Finally we have some modules for SLX. Read on for how to use them.\nThis blog is not an intro to Ansible in general. There\u0026rsquo;s plenty of good intros out there. This is specifically about demonstrating Ansible with SLX switches.\nBackground Ansible is an agent-less configuration management system. It uses \u0026ldquo;playbooks\u0026rdquo;, written in YAML, to define desired configuration state. \u0026ldquo;modules\u0026rdquo; written in Python translate this into whatever is needed to configure the system, application, database or network device.\nAnsible has been making great strides in adding network automation capabilities. But we haven\u0026rsquo;t had any modules for working with Brocade Extreme devices. That is now changing.\nPaulQuack has contributed MLXe (Ironware) modules, which were included in Ansible 2.5. I\u0026rsquo;ve been working on modules for the SLX, with my colleagues. These have now been released with Ansible 2.6.\nHere\u0026rsquo;s the modules available so far:\nCommand - slxos_command Config - slxos_config Facts - slxos_facts VLAN - slxos_vlan Interface - slxos_interface LinkAgg - slxos_linkagg LLDP - slxos_lldp Here\u0026rsquo;s how to install \u0026amp; use these modules:\nInstallation Our modules have been included in the latest Ansible GA release (2.6), so you can follow the normal Ansible installation procedures. Use pip, yum, or apt, whichever suits you best.\nConfiguration Add entries to /etc/hosts file for your switches - e.g. 172.16.10.42 slx01\nCreate ~/.ansible.cfg containing this:\n1 2 3 [defaults] host_key_checking = False inventory = ~/playbooks/hosts Create these directories: ~/playbooks, ~/playbooks/backups, ~/playbooks/group_vars.\nCreate the file ~/playbooks/hosts containing this:\n1 2 [slx] slx01 ansible_network_os=slxos ansible_connection=network_cli If you have more than one switch (e.g. slx02, slx03, add additional lines as required)\nCreate the file ~/playbooks/group_vars/slx.yaml containing this:\n1 2 3 --- ansible_user: admin ansible_ssh_pass: password Replace password with the password you use to authenticate to your SLX devices. Yes, you really should use ansible-vault for this file.\nCommand Module: Now we\u0026rsquo;ve got things installed \u0026amp; configured, here\u0026rsquo;s how to use it.\nFirst up is the slxos_command module. It is used to run commands on SLX devices - e.g show commands. It is not for use with configuration commands. The syntax is very similar to ios_command.\nThis can be used to do things like run show chassis, and capture the output. This output can be used in further tasks, displayed to screen, or written to file. It can also look for specific lines in the output, and fail if those lines are not present. This is useful if you want to do things like check NTP synchronisation state.\nAll commands below are run from the ~/playbooks directory.\nRun show version and publish output: Create slx_command_ver.yaml, containing this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 --- - hosts: slx01 gather_facts: no tasks: - name: Grab version slxos_command: commands: \u0026#34;show version\u0026#34; register: show_ver - name: var_result debug: var: show_ver.stdout_lines[0] Run it with ansible-playbook slx_command_ver.yaml. Here\u0026rsquo;s some example output:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 lhill@bwc:~/playbooks$ ansible-playbook slx_command_ver.yaml PLAY [slx01] ************************************************************************************************************************* TASK [Grab version] ****************************************************************************************************************** ok: [slx01] TASK [var_result] ******************************************************************************************************************** ok: [slx01] =\u0026gt; { \u0026#34;failed\u0026#34;: false, \u0026#34;show_ver.stdout_lines[0]\u0026#34;: [ \u0026#34;SLX-OS Operating System Software\u0026#34;, \u0026#34;SLX-OS Operating System Version: 17s.1.02\u0026#34;, \u0026#34;Copyright (c) 1995-2018 Brocade Communications Systems, Inc.\u0026#34;, \u0026#34;Firmware name: 17s.1.02\u0026#34;, \u0026#34;Build Time: 00:06:59 Sep 28, 2017\u0026#34;, \u0026#34;Install Time: 10:58:51 Sep 30, 2017\u0026#34;, \u0026#34;Kernel: 2.6.34.6\u0026#34;, \u0026#34;Host Version: Ubuntu 14.04 LTS\u0026#34;, \u0026#34;Host Kernel: Linux 3.14.17\u0026#34;, \u0026#34;\u0026#34;, \u0026#34;Control Processor: QEMU Virtual CPU version 2.0.0\u0026#34;, \u0026#34;\u0026#34;, \u0026#34;System Uptime: 143days 19hrs 29mins 7secs \u0026#34;, \u0026#34;\u0026#34;, \u0026#34;Slot Name Primary/Secondary Versions Status\u0026#34;, \u0026#34;---------------------------------------------------------------------------\u0026#34;, \u0026#34;SW/0 SLX-OS 17s.1.02 ACTIVE*\u0026#34;, \u0026#34; 17s.1.02\u0026#34; ] } PLAY RECAP *************************************************************************************************************************** slx01 : ok=3 changed=0 unreachable=0 failed=0 Run a command and check the output In this example, we\u0026rsquo;re checking for specific NTP servers in the output. On my device there is only one NTP server configured and in use. This playbook should pass the first task, and fail the second one.\nHere\u0026rsquo;s what\u0026rsquo;s configured on my device:\n1 2 3 SLX01# show run | inc ntp ntp server 172.16.10.2 use-vrf mgmt-vrf SLX01# Create slx_command_ntp.yaml:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 --- - hosts: slx01 gather_facts: no tasks: - name: Check ntp status slxos_command: commands: \u0026#34;show ntp status\u0026#34; wait_for: result[0] contains 172.16.10.2 retries: 1 - name: Check for non-existent NTP server slxos_command: commands: \u0026#34;show ntp status\u0026#34; wait_for: result[0] contains 172.16.10.3 retries: 1 Example output:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 lhill@bwc:~/playbooks$ ansible-playbook slx_command_ntp.yaml PLAY [slx01] ************************************************************************************************************************* TASK [Check ntp status] ************************************************************************************************************** ok: [slx01] TASK [Check for non-existent NTP server] ********************************************************************************************* fatal: [slx01]: FAILED! =\u0026gt; {\u0026#34;changed\u0026#34;: false, \u0026#34;failed\u0026#34;: true, \u0026#34;failed_conditions\u0026#34;: [\u0026#34;result[0] contains 172.16.10.3\u0026#34;], \u0026#34;msg\u0026#34;: \u0026#34;One or more conditional statements have not been satisfied\u0026#34;} to retry, use: --limit @/home/lhill/playbooks/slx_command_ntp.retry PLAY RECAP *************************************************************************************************************************** slx01 : ok=1 changed=0 unreachable=0 failed=1 lhill@bwc:~/playbooks$ Note that this is the expected behavior - that second task should fail.\nConfig Module: This module is used to manage configuration sections on SLXes. It is not for use with show commands. The syntax is very similar to ios_config. It is used to ensure config lines are present. These can be at the global level, or under specific parents (e.g. under an interface Ethernet stanza or an access-list). You can also run commands before or after changing lines. This is useful when updating ACLs.\nThis module will report if any changes were made. This is very handy for auditing devices - you can keep re-running the same playbook, and identify which devices had unauthorized changes made. It can also be run in check mode, where it reports differences, but does not make changes.\nYou can choose if you want to save the configuration after making changes. There are four options for save_when:\nnever - this is the default. Don\u0026rsquo;t save changes. always - always save the config, even if nothing changed changed - save the config only if this playbook run changed it. Note the difference between this behavior and modified below. modified - save the config if the running and startup configs are different. This is handy if someone else has been making changes without saving them. Set a global configuration value This example sets an NTP server if not already set, and saves the configuration if we change it.\nCreate slx_config_set_ntp.yaml:\n1 2 3 4 5 6 7 8 9 --- - hosts: slx01 gather_facts: no tasks: - name: NTP server 172.16.10.3 slxos_config: lines: \u0026#34;ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34; save_when: changed This was our config before running the playbook:\n1 2 3 SLX01# show run | inc ntp ntp server 172.16.10.2 use-vrf mgmt-vrf SLX01# Example output (note the added -vv here to give us additional information about what\u0026rsquo;s happening):\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 lhill@bwc:~/playbooks$ ansible-playbook -vv slx_config_set_ntp.yaml ansible-playbook 2.6.0 (slxos_modules 2a7acba239) last updated 2018/02/21 02:06:16 (GMT +200) config file = /home/lhill/.ansible.cfg configured module search path = [u\u0026#39;/home/lhill/.ansible/plugins/modules\u0026#39;, u\u0026#39;/usr/share/ansible/plugins/modules\u0026#39;] ansible python module location = /home/lhill/ansible/lib/ansible executable location = /home/lhill/ansible/bin/ansible-playbook python version = 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] Using /home/lhill/.ansible.cfg as config file PLAYBOOK: slx_config_set_ntp.yaml **************************************************************************************************** 1 plays in slx_config_set_ntp.yaml PLAY [slx01] ************************************************************************************************************************* META: ran handlers TASK [NTP server 172.16.10.3] ******************************************************************************************************** task path: /home/lhill/playbooks/slx_config_set_ntp.yaml:8 changed: [slx01] =\u0026gt; {\u0026#34;changed\u0026#34;: true, \u0026#34;commands\u0026#34;: [\u0026#34;ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34;], \u0026#34;failed\u0026#34;: false, \u0026#34;updates\u0026#34;: [\u0026#34;ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34;]} META: ran handlers META: ran handlers PLAY RECAP *************************************************************************************************************************** slx01 : ok=1 changed=1 unreachable=0 failed=0 lhill@bwc:~/playbooks$ Now look at the startup and running configs on the device:\n1 2 3 4 5 6 7 SLX01# show run | inc ntp ntp server 172.16.10.2 use-vrf mgmt-vrf ntp server 172.16.10.3 use-vrf mgmt-vrf SLX01# show startup-config | inc ntp ntp server 172.16.10.2 use-vrf mgmt-vrf ntp server 172.16.10.3 use-vrf mgmt-vrf SLX01# We can see our command has been added and saved.\nNow run the playbook again:\n1 2 3 4 5 6 7 8 9 10 11 12 lhill@bwc:~/playbooks$ ansible-playbook -v slx_config_set_ntp.yaml Using /home/lhill/.ansible.cfg as config file PLAY [slx01] ************************************************************************************************************************* TASK [NTP server 172.16.10.3] ******************************************************************************************************** ok: [slx01] =\u0026gt; {\u0026#34;changed\u0026#34;: false, \u0026#34;failed\u0026#34;: false} PLAY RECAP *************************************************************************************************************************** slx01 : ok=1 changed=0 unreachable=0 failed=0 lhill@bwc:~/playbooks$ Note the output: changed=0. It sees that the line is already there, and does not need to be changed.\nRemoving a configuration line The slxos_config module is not declarative. By default it will not remove additional lines. There are ways around this with more complex playbooks. That\u0026rsquo;s an exercise for the reader. But you can use no statements. Be aware that this will always report changes, because it sees that command as \u0026rsquo;not present\u0026rsquo; so runs it every time.\nCreate slxos_config_remove_ntp.yaml:\n1 2 3 4 5 6 7 8 --- - hosts: slx01 gather_facts: no tasks: - name: NTP server 172.16.10.3 slxos_config: lines: \u0026#34;no ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34; Output:\n1 2 3 4 5 6 7 8 9 10 11 12 lhill@bwc:~/playbooks$ ansible-playbook -v slx_config_remove_ntp.yaml Using /home/lhill/.ansible.cfg as config file PLAY [slx01] ************************************************************************************************************************* TASK [NTP server 172.16.10.3] ******************************************************************************************************** changed: [slx01] =\u0026gt; {\u0026#34;changed\u0026#34;: true, \u0026#34;commands\u0026#34;: [\u0026#34;no ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34;], \u0026#34;failed\u0026#34;: false, \u0026#34;updates\u0026#34;: [\u0026#34;no ntp server 172.16.10.3 use-vrf mgmt-vrf\u0026#34;]} PLAY RECAP *************************************************************************************************************************** slx01 : ok=1 changed=1 unreachable=0 failed=0 lhill@bwc:~/playbooks$ More complex configuration using parents This example has multiple tasks - first it grabs the running config, and saves it to a local timestamped backup file. Then it makes a configuration change, but only on one specific interface. This uses the parents option. Also note the use of gather_facts: yes to get the current date \u0026amp; time, which is then used in the variable ansible_facts.date_time.iso8601. Here we\u0026rsquo;re going to enable PTP on a specific interface:\nslx_config_parents.yaml:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 --- - hosts: slx01 gather_facts: yes tasks: - name: Get running config slxos_command: commands: show run register: show_run - name: Save config to file copy: content: \u0026#34;{{ show_run.stdout[0] }}\u0026#34; dest: \u0026#34;backups/{{inventory_hostname}}-{{ansible_facts.date_time.iso8601}}.txt\u0026#34; - name: PTP on Eth 0/24 slxos_config: lines: protocol ptp parents: interface Ethernet 0/24 save_when: modified Example output:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 lhill@bwc:~/playbooks$ ansible-playbook slx_config_parents.yaml PLAY [slx01] ************************************************************************************************************************* TASK [Gathering Facts] *************************************************************************************************************** ok: [slx01] TASK [Get running config] ************************************************************************************************************ ok: [slx01] TASK [Save config to file] *********************************************************************************************************** changed: [slx01] TASK [PTP on Eth 0/24] *************************************************************************************************************** changed: [slx01] PLAY RECAP *************************************************************************************************************************** slx01 : ok=4 changed=2 unreachable=0 failed=0 lhill@bwc:~/playbooks$ We can see that we have a backup file saved locally:\n1 2 3 4 5 6 7 8 9 10 11 12 lhill@bwc:~/playbooks$ head backups/slx01-2018-02-21T06\\:55\\:58Z.txt root enable host-table aging-mode conversational clock timezone Etc/GMT hardware profile tcam default profile overlay-visibility default profile route-table default maximum_paths 8 system-mode default ! http server use-vrf default-vrf lhill@bwc:~/playbooks$ And we can see that our protocol ptp command was added to one specific interface:\n1 2 3 4 5 6 7 8 9 10 11 12 SLX01# show run | begin ^interface\\ Ethernet\\ 0/23 interface Ethernet 0/23 shutdown ! interface Ethernet 0/24 protocol ptp ! shutdown ! interface Ethernet 0/25 shutdown ! More Examples For more examples, check out this repo. That has example playbooks, instructions on how to run them, and sample output. Examples include use of the Interface, VLAN, Facts, LLDP and LinkAgg modules.\nFuture Development Current plans are:\nAdd more modules - probably banner, VRF, system, users, logging next. Monitor upstream Ansible developments and move to the httpapi plugin Create more playbooks and roles for managing SLX switches. Develop modules for other Extreme systems - e.g. EXOS-based systems. This is Open Source development folks - that means you can contribute to! Want a new module? Start writing one. See a bug? File an issue, or better yet, a Pull Request. Created some interesting playbooks? Let us know so they can get included in the examples repo.\n","permalink":"https://lkhill.com/ansible-slx/","summary":"\u003cp\u003eHere\u0026rsquo;s something I\u0026rsquo;ve been working on recently: Ansible modules for Extreme SLX switches \u0026amp; routers. Ansible is a popular automation framework, and with good reason: it has a low barrier to entry. Time to usefulness is short. But you need device-specific modules to work with networking devices. Finally we have some modules for SLX. Read on for how to use them.\u003c/p\u003e","title":"Ansible for Extreme Devices"},{"content":"It takes a village to raise a child. Or so the old saying goes. Creating a product is the same. It takes more than small group of developers (or parents) to raise a product. There\u0026rsquo;s a lot more to creating a product than writing an application. Don\u0026rsquo;t mistake a feature or application for a product.\nLook, Six Engineers Created a Product! People hear about new applications or protocols, or small companies selling for millions. They then leap to conclusions:\n\u0026ldquo;Why is it that big vendors like Cisco need thousands of people to create a product? Facebook can put 6 engineers on a project and produce something like Open/R. It\u0026rsquo;s easy, right? We don\u0026rsquo;t need big vendors any more!\u0026rdquo;\n\u0026ldquo;Look at Instagram - they only had a dozen people and they sold their company for $1 billion dollars! You don\u0026rsquo;t need any more people than that.\u0026rdquo;\nLet\u0026rsquo;s look a bit closer at Instagram. How much revenue did they have? Zero.\nHow long were they in business for? A couple of years. So how many generations of product were they supporting? One. And did they have complete support structures for users? No. How many products had gone through end of life? None. In how many countries had they figured out how to sell their products and handle payments? Wait, they had no revenue, remember?\nHow many people do you think Facebook now has working on Instagram, and all the related services? My guess is thousands, and it\u0026rsquo;s not even a product. It\u0026rsquo;s a feature of the broader Facebook group of applications.\nHell, it\u0026rsquo;s so big \u0026amp; complicated that they\u0026rsquo;ve outsourced their product design to Snap.\nEvan Spiegel is Facebook’s head of product.\n\u0026mdash; Benedict Evans (@BenedictEvans) March 9, 2017 This is not to take away from what the Instagram founders achieved. They got a big payout, and millions of people use their application. Good on them - they can now do whatever they want with their lives.\nA Feature Does Not a Product Make But don\u0026rsquo;t confuse a feature or application for a product.\nCreating a complete product, and a sustainable business is bloody hard. Consider some of the things required for managing the lifecycle of a network device:\nInitial product planning \u0026amp; investment.\nHardware selection, planning, testing.\nSoftware development, including third-party library selection and licensing.\nFeature planning and prioritization.\nTesting features and combinations - not just a minimal set, but any that customers might use.\nTesting optics.\nDocumentation.\nHardware testing.\nCertifications and Compliance.\nExport compliance agreements.\nResponding to detailed RFPs.\nPricelists, order handling.\nUnderstanding legal frameworks in different countries.\nShipping.\nProduct Education and Training.\nSupport: Diagnosing bugs, or answering simple questions because users don\u0026rsquo;t read documentation.\nHardware spares, diagnosing failures and managing replacements.\nEnd of Life, including support for years beyond End of Sale.\nThe list goes on…\nDo We Need All That? You could argue that some of these things are not necessary. E.g. Do we need a traditional salesforce to sell products? Can\u0026rsquo;t we sell online at a fixed price? What about support - why do we need full hand-holding support organizations? If we all used Open Source software without paying for it, it would make everything else easier. Not having to worry about revenue dramatically simplifies things. There is of course the tiny problem of \u0026ldquo;Who pays for ongoing development?\u0026rdquo; but we\u0026rsquo;ll gloss over that for now.\nUsers have options. In the networking market, users can choose from vendors or Open Source software with whitebox hardware. Or they can develop their own hardware and software. Not everyone wants to do that. Given the relative costs, effort and rewards, the majority of the market chooses commercial products from vendors. They could choose something else, but don\u0026rsquo;t. They decide the price paid is worth the time and investment tradeoff.\nIs that changing? Yes, it is, and will continue to do so. Open Source options are evolving, and large network operators are able to extend these to suit their needs. As they continue to evolve, Open Source options will address a wider section of the market. Vendors will also continue to evolve their products. Customers will choose the option that makes the most sense for their needs.\nIt\u0026rsquo;s not all going to change overnight because someone releases a new network application. There\u0026rsquo;s more to it than that.\nBack to Open/R Facebook first started talking about Open/R in May 2016.\nBut it wasn\u0026rsquo;t until November 2017 that the code was released. What was released is not in itself a complete solution. How many businesses could take that, and actually deploy it today? Very, very few.\nDoes this mean it\u0026rsquo;s not useful? Of course not. I don\u0026rsquo;t want to pick on Open/R at all. I find the concept exciting, and I love that users are able to develop their own features, without relying on vendors. But don\u0026rsquo;t think that it\u0026rsquo;s going to straight away change the way the industry works. Because it\u0026rsquo;s a long way from a complete product.\nUsers Don\u0026rsquo;t Become Developers Overnight On a related note, if you think that all network engineers should become developers, you\u0026rsquo;re dreaming. Some people will write their own applications, but most won\u0026rsquo;t. System Administrators didn\u0026rsquo;t become developers overnight when Linux came along.\nMost Linux users have never contributed any code. Most don\u0026rsquo;t even use it because of the freedom that access to source code provides. They use it because it\u0026rsquo;s free as in beer.\nThe Linux ecosystem didn\u0026rsquo;t develop purely through users contributing applications. Distributions played a key role in pulling together a set of applications and features, and turning them into a product. They did the hard work, the often thankless work, the things no-one else wants to do.\nThat\u0026rsquo;s what developing a product means. Creating useful features, or an application, is not easy. But it\u0026rsquo;s one part of a complete product. Don\u0026rsquo;t confuse an application for a product.\n","permalink":"https://lkhill.com/village-raise-child/","summary":"\u003cp\u003eIt takes a village to raise a child. Or so the old saying goes. Creating a product is the same. It takes more than small group of developers (or parents) to raise a product. There\u0026rsquo;s a lot more to creating a product than writing an application. Don\u0026rsquo;t mistake a feature or application for a product.\u003c/p\u003e","title":"It Takes a Village to Raise a Child"},{"content":"Two years ago I wrote about how to use InfluxDB \u0026amp; Grafana for better visualization of network statistics. I still loathe MRTG graphs, but configuring InfluxSNMP was a bit of a pain. Luckily it\u0026rsquo;s now much easier to collect SNMP data using Telegraf. InfluxDB and Grafana have also improved a lot. Read on for details about to monitor network interface statistics using Telegraf, InfluxDB and Grafana.\nBackground - Telegraf, InfluxDB + Grafana There\u0026rsquo;s three parts to this:\nGrafana: Grafana is \u0026ldquo;The open platform for beautiful analytics and monitoring.\u0026rdquo; It makes it easy to create dashboards for displaying data from many sources, particularly time-series data. It works with several different data sources such as Graphite, Elasticsearch, InfluxDB, and OpenTSDB. We\u0026rsquo;re going to use this as our main front end for visualizing our network statistics.\nInfluxDB: InfluxDB is \u0026ldquo;\u0026hellip;a data store for any use case involving large amounts of timestamped data.\u0026rdquo; This is where we\u0026rsquo;re going to store our network statistics. It is designed for exactly this use-case, where metrics are collected over time.\nTelegraf: Telegraf is \u0026ldquo;\u0026hellip;a plugin-driven server agent for collecting and reporting metrics.\u0026rdquo; This can collect data from a wide variety of sources, e.g. system statistics, API calls, DB queries, and SNMP. It can then send those metrics to a variety of datastores, e.g. Graphite, OpenTSDB, Datadog, Librato. Telegraf is maintained by InfluxData, the people behind InfluxDB. So it has very good support for writing data to InfluxDB.\nYou might ask why I\u0026rsquo;m using separate collection, storage and presentation layers, rather than using one system that does it all. The advantage of this model is that is much more flexible - I can easily add collectors to get data from different sources, or I can query different data stores from my visualization layer. Maybe I can even mash up multiple data sources in one graph or dashboard. If I later decide I don\u0026rsquo;t like Grafana, I can switch to something else, e.g. Chronograf, a user interface written by InfluxData.\nInstallation My base system is a minimal install of Ubuntu 16.04 LTS, with all updates applied. I use Vagrant I\u0026rsquo;m using stable versions of Telegraf, InfluxDB and Grafana. No need for nightly or custom builds anymore!\nTo give us something to monitor, I have an Extreme VDX 6740 switch in my lab. We\u0026rsquo;ll use that as a target device.\nInfluxDB Follow the standard installation instructions to add the Influx Data repo, then install and start InfluxDB v1.3:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 ubuntu@telegraf:~$ curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - OK ubuntu@telegraf:~$ source /etc/lsb-release ubuntu@telegraf:~$ echo \u0026#34;deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable\u0026#34; | sudo tee /etc/apt/sources.list.d/influxdb.list deb https://repos.influxdata.com/ubuntu xenial stable ubuntu@telegraf:~$ sudo apt update \u0026amp;\u0026amp; sudo apt install influxdb Hit:1 https://repos.influxdata.com/ubuntu xenial InRelease Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [183 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [279 kB] Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [96.5 kB] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [555 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [226 kB] Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,940 B] Get:19 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,600 B] Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,760 B] Fetched 3,511 kB in 14s (238 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run \u0026#39;apt list --upgradable\u0026#39; to see it. Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: influxdb 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 18.8 MB of archives. After this operation, 58.9 MB of additional disk space will be used. Get:1 https://repos.influxdata.com/ubuntu xenial/stable amd64 influxdb amd64 1.3.7-1 [18.8 MB] Fetched 18.8 MB in 14s (1,293 kB/s) Selecting previously unselected package influxdb. (Reading database ... 86052 files and directories currently installed.) Preparing to unpack .../influxdb_1.3.7-1_amd64.deb ... Unpacking influxdb (1.3.7-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up influxdb (1.3.7-1) ... Created symlink from /etc/systemd/system/influxd.service to /lib/systemd/system/influxdb.service. Created symlink from /etc/systemd/system/multi-user.target.wants/influxdb.service to /lib/systemd/system/influxdb.service. ubuntu@telegraf:~$ sudo systemctl start influxdb ubuntu@telegraf:~$ The defaults work for us, so we don\u0026rsquo;t need to make any changes to InfluxDB configuration.\nTelegraf We\u0026rsquo;re going to use the stable Telegraf packages. These are distributed from the same Influx Data repos we added in the last step. We just need to install \u0026amp; start Telegraf:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ubuntu@telegraf:~$ sudo apt install telegraf Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: telegraf 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 8,771 kB of archives. After this operation, 26.4 MB of additional disk space will be used. Get:1 https://repos.influxdata.com/ubuntu xenial/stable amd64 telegraf amd64 1.4.4-1 [8,771 kB] Fetched 8,771 kB in 7s (1,212 kB/s) Selecting previously unselected package telegraf. (Reading database ... 86078 files and directories currently installed.) Preparing to unpack .../telegraf_1.4.4-1_amd64.deb ... Unpacking telegraf (1.4.4-1) ... Setting up telegraf (1.4.4-1) ... Created symlink from /etc/systemd/system/multi-user.target.wants/telegraf.service to /lib/systemd/system/telegraf.service. ubuntu@telegraf:~$ sudo systemctl start telegraf ubuntu@telegraf:~$ This includes the right packaging bits such that Telegraf is now properly configured as a service. Much simpler than having to build Influxsnmp.\nNow we just need to configure it to poll our switch. Before we do that, let\u0026rsquo;s install some SNMP utilities, so we can test our switch SNMP configuration:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ubuntu@telegraf:~$ sudo apt install snmp snmp-mibs-downloader Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: unzip The following NEW packages will be installed: snmp snmp-mibs-downloader 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 5,118 kB/5,273 kB of archives. After this operation, 6,435 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 snmp-mibs-downloader all 1.1 [5,118 kB] Fetched 5,118 kB in 13s (382 kB/s) Selecting previously unselected package snmp. (Reading database ... 86021 files and directories currently installed.) Preparing to unpack .../snmp_5.7.3+dfsg-1ubuntu4_amd64.deb ... Unpacking snmp (5.7.3+dfsg-1ubuntu4) ... Selecting previously unselected package snmp-mibs-downloader. Preparing to unpack .../snmp-mibs-downloader_1.1_all.deb ... Unpacking snmp-mibs-downloader (1.1) ... Processing triggers for man-db (2.7.5-1) ... Setting up snmp (5.7.3+dfsg-1ubuntu4) ... Setting up snmp-mibs-downloader (1.1) ... \u0026lt;snip\u0026gt; ubuntu@telegraf:~$ sudo vi /etc/snmp/snmp.conf ubuntu@telegraf:~$ cat /etc/snmp/snmp.conf # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can reenable # loading them by commenting out the following line. # mibs : ubuntu@telegraf:~$ Note that last step there - I commented out the mibs: line in snmp.conf.\nMy switch already has SNMP configured, but let\u0026rsquo;s quickly check it is behaving:\n1 2 3 4 5 6 7 8 9 ubuntu@telegraf:~$ snmpwalk -v 2c -c public 10.26.7.223 system SNMPv2-MIB::sysDescr.0 = STRING: Brocade VDX Switch, BR-VDX6740, Network Operating System Software Version 7.1.0. SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.1588.3.3.1.131 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (934278900) 108 days, 3:13:09.00 SNMPv2-MIB::sysContact.0 = STRING: Field Support. SNMPv2-MIB::sysName.0 = STRING: LEAF1 SNMPv2-MIB::sysLocation.0 = STRING: TME lab SNMPv2-MIB::sysServices.0 = INTEGER: 79 ubuntu@telegraf:~$ OK, looking good.\nNote: If you\u0026rsquo;re having problems with SNMP on a VDX, make sure you have snmp views configured. Now we need to configure Telegraf to poll our switch. Configuration is stored at /etc/telegraf/telegraf.conf. It will also read in any configuration files in /etc/telegraf/telegraf.d, as long as the filename ends with .conf.\nThe default telegraf.conf file tells it to monitor various system level metrics (disk, CPU, memory, processes, etc), and write it to InfluxDB, in the telegraf database. We can leave all that at default - it will work for our purposes. We just need to add some configuration to tell it to use SNMP to poll our switch.\nWe\u0026rsquo;re going to take the example configuration from here, and tweak it a little bit. By default, Telegraf polls metrics every 10s. That can be a bit aggressive when polling network devices via SNMP, so we\u0026rsquo;re going to adjust that a little.\nHere\u0026rsquo;s what our configuration file looks like:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 ubuntu@telegraf:~$ cat /etc/telegraf/telegraf.d/leaf1.conf [[inputs.snmp]] agents = [ \u0026#34;10.26.7.223\u0026#34; ] version = 2 community = \u0026#34;public\u0026#34; interval = \u0026#34;60s\u0026#34; timeout = \u0026#34;10s\u0026#34; retries = 3 [[inputs.snmp.field]] name = \u0026#34;hostname\u0026#34; oid = \u0026#34;RFC1213-MIB::sysName.0\u0026#34; is_tag = true [[inputs.snmp.field]] name = \u0026#34;uptime\u0026#34; oid = \u0026#34;DISMAN-EXPRESSION-MIB::sysUpTimeInstance\u0026#34; # IF-MIB::ifTable contains counters on input and output traffic as well as errors and discards. [[inputs.snmp.table]] name = \u0026#34;interface\u0026#34; inherit_tags = [ \u0026#34;hostname\u0026#34; ] oid = \u0026#34;IF-MIB::ifTable\u0026#34; # Interface tag - used to identify interface in metrics database [[inputs.snmp.table.field]] name = \u0026#34;ifDescr\u0026#34; oid = \u0026#34;IF-MIB::ifDescr\u0026#34; is_tag = true # IF-MIB::ifXTable contains newer High Capacity (HC) counters that do not overflow as fast for a few of the ifTable counters [[inputs.snmp.table]] name = \u0026#34;interface\u0026#34; inherit_tags = [ \u0026#34;hostname\u0026#34; ] oid = \u0026#34;IF-MIB::ifXTable\u0026#34; # Interface tag - used to identify interface in metrics database [[inputs.snmp.table.field]] name = \u0026#34;ifDescr\u0026#34; oid = \u0026#34;IF-MIB::ifDescr\u0026#34; is_tag = true # EtherLike-MIB::dot3StatsTable contains detailed ethernet-level information about what kind of errors have been logged on an interface (such as FCS error, frame too long, etc) [[inputs.snmp.table]] name = \u0026#34;interface\u0026#34; inherit_tags = [ \u0026#34;hostname\u0026#34; ] oid = \u0026#34;EtherLike-MIB::dot3StatsTable\u0026#34; # Interface tag - used to identify interface in metrics database [[inputs.snmp.table.field]] name = \u0026#34;ifDescr\u0026#34; oid = \u0026#34;IF-MIB::ifDescr\u0026#34; is_tag = true ubuntu@telegraf:~$ You can use the --test option to get Telegraf to grab one cycle of metrics, and publish them to stdout. This tells you that your configuration is sane, and capable of collecting data:\n1 2 3 4 5 6 7 8 ubuntu@telegraf:~$ telegraf --test --config /etc/telegraf/telegraf.d/leaf1.conf * Plugin: inputs.snmp, Collection 1 * Internal: 1m0s \u0026gt; snmp,hostname=LEAF1,agent_host=10.26.7.223,host=telegraf uptime=934357700i 1511590281000000000 \u0026gt; interface,ifIndex=201424896,hostname=LEAF1,agent_host=10.26.7.223,host=telegraf,ifDescr=TenGigabitEthernet\\ 34/0/12 ifPhysAddress=\u0026#34;00:27:f8:c7:74:0b\u0026#34;,ifOperStatus=2i,ifInOctets=0i,ifInUcastPkts=0i,ifInDiscards=0i,ifOutErrors=0i,ifOutQLen=0i,ifSpeed=0i,ifSpecific=\u0026#34;.0.0\u0026#34;,ifInNUcastPkts=0i,ifOutOctets=0i,ifAdminStatus=1i,ifLastChange=3300i,ifInErrors=0i,ifOutUcastPkts=0i,ifOutNUcastPkts=0i,ifType=6i,ifMtu=2500i,ifInUnknownProtos=0i,ifOutDiscards=0i,ifDescr=\u0026#34;TenGigabitEthernet 34/0/12\u0026#34; 1511590285000000000 \u0026gt; interface,agent_host=10.26.7.223,host=telegraf,ifDescr=TenGigabitEthernet\\ 34/0/22,ifIndex=201506816,hostname=LEAF1 ifOutQLen=0i,ifDescr=\u0026#34;TenGigabitEthernet 34/0/22\u0026#34;,ifMtu=2500i,ifOutUcastPkts=0i,ifInUcastPkts=0i,ifInNUcastPkts=0i,ifSpecific=\u0026#34;.0.0\u0026#34;,ifSpeed=0i,ifOperStatus=2i,ifInOctets=0i,ifOutOctets=0i,ifOutDiscards=0i,ifType=6i,ifAdminStatus=1i,ifLastChange=3300i,ifInUnknownProtos=0i,ifOutNUcastPkts=0i,ifOutErrors=0i,ifPhysAddress=\u0026#34;00:27:f8:c7:74:15\u0026#34;,ifInDiscards=0i,ifInErrors=0i 1511590285000000000 \u0026gt; interface,ifDescr=TenGigabitEthernet\\ 34/0/15,ifIndex=201449472,hostname=LEAF1,agent_host=10.26.7.223,host=telegraf ifAdminStatus=1i,ifSpecific=\u0026#34;.0.0\u0026#34;,ifDescr=\u0026#34;TenGigabitEthernet 34/0/15\u0026#34;,ifSpeed=0i,ifLastChange=3300i,ifOutUcastPkts=0i,ifOutNUcastPkts=0i,ifPhysAddress=\u0026#34;00:27:f8:c7:74:0e\u0026#34;,ifOperStatus=2i,ifInUnknownProtos=0i,ifOutOctets=0i,ifOutQLen=0i,ifMtu=2500i,ifInOctets=0i,ifInNUcastPkts=0i,ifInDiscards=0i,ifInErrors=0i,ifOutDiscards=0i,ifOutErrors=0i,ifType=6i,ifInUcastPkts=0i 1511590285000000000 \u0026lt;snip\u0026gt; This may produce a lot of output, if your device has many interfaces.\nNow we just need to tell Telegraf to pick up the new configuration:\n1 ubuntu@telegraf:/etc/telegraf$ sudo systemctl reload telegraf That will now begin collecting data and storing it in InfluxDB.\nAfter a couple of minutes, check to see if InfluxDB is storing results:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ubuntu@telegraf:~$ influx Connected to http://localhost:8086 version 1.3.7 InfluxDB shell version: 1.3.7 \u0026gt; use telegraf Using database telegraf \u0026gt; show measurements name: measurements name ---- cpu disk diskio interface kernel mem processes snmp swap system \u0026gt; select * from interface limit 2 name: interface time agent_host host hostname ifAdminStatus ifAlias ifConnectorPresent ifDescr ifDescr_1 ifHCInBroadcastPkts ifHCInMulticastPkts ifHCInOctets ifHCInUcastPkts ifHCOutBroadcastPkts ifHCOutMulticastPkts ifHCOutOctets ifHCOutUcastPkts ifHighSpeed ifInBroadcastPkts ifInDiscards ifInErrors ifInMulticastPkts ifInNUcastPkts ifInOctets ifInUcastPkts ifInUnknownProtos ifIndex ifLastChange ifLinkUpDownTrapEnable ifMtu ifName ifOperStatus ifOutBroadcastPkts ifOutDiscards ifOutErrors ifOutMulticastPkts ifOutNUcastPkts ifOutOctets ifOutQLen ifOutUcastPkts ifPhysAddress ifPromiscuousMode ifSpecific ifSpeed ifType ---- ---------- ---- -------- ------------- ------- ------------------ ------- --------- ------------------- ------------------- ------------ --------------- -------------------- -------------------- ------------- ---------------- ----------- ----------------- ------------ ---------- ----------------- -------------- ---------- ------------- ----------------- ------- ------------ ---------------------- ----- ------ ------------ ------------------ ------------- ----------- ------------------ --------------- ----------- --------- -------------- ------------- ----------------- ---------- ------- ------ 1511389515000000000 10.26.7.223 telegraf LEAF1 1 TenGigabitEthernet 34/0/31 TenGigabitEthernet 34/0/31 0 0 0 0 0 0 201580544 3300 2500 2 0 0 0 0 0 0 00:27:f8:c7:74:1e .0.0 0 6 1511389515000000000 10.26.7.223 telegraf LEAF1 1 TenGigabitEthernet 34/0/17 TenGigabitEthernet 34/0/17 0 0 0 0 0 0 201465856 3300 2500 2 0 0 0 0 0 0 00:27:f8:c7:74:10 .0.0 0 6 \u0026gt; exit ubuntu@telegraf:~$ Next step: installing and configuring Grafana, our visualization tool.\nGrafana Follow the standard installation instructions to add the Grafana repo and signing key, then install the package:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ubuntu@telegraf:/etc/telegraf$ echo \u0026#34;deb https://packagecloud.io/grafana/stable/debian/ jessie main\u0026#34; | sudo tee /etc/apt/sources.list.d/grafana.list deb https://packagecloud.io/grafana/stable/debian/ jessie main ubuntu@telegraf:/etc/telegraf$ curl https://packagecloud.io/gpg.key | sudo apt-key add - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed ubuntu@telegraf:/etc/telegraf$ sudo apt install grafana Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: grafana 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 47.3 MB of archives. After this operation, 139 MB of additional disk space will be used. Get:1 https://packagecloud.io/grafana/stable/debian jessie/main amd64 grafana amd64 4.6.2 [47.3 MB] Fetched 47.3 MB in 37s (1,247 kB/s) Selecting previously unselected package grafana. (Reading database ... 86498 files and directories currently installed.) Preparing to unpack .../grafana_4.6.2_amd64.deb ... Unpacking grafana (4.6.2) ... Processing triggers for systemd (229-4ubuntu21) ... Processing triggers for ureadahead (0.100.0-19) ... Setting up grafana (4.6.2) ... ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable grafana-server ### You can start grafana-server by executing sudo /bin/systemctl start grafana-server Processing triggers for systemd (229-4ubuntu21) ... Processing triggers for ureadahead (0.100.0-19) ... ubuntu@telegraf:/etc/telegraf$ Note the comments there - Grafana does not auto-start. Let\u0026rsquo;s set it up to auto-start, and start it now:\n1 2 3 4 5 6 7 ubuntu@telegraf:/etc/telegraf$ sudo systemctl daemon-reload ubuntu@telegraf:/etc/telegraf$ sudo systemctl enable grafana-server Synchronizing state of grafana-server.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable grafana-server Created symlink from /etc/systemd/system/multi-user.target.wants/grafana-server.service to /usr/lib/systemd/system/grafana-server.service. ubuntu@telegraf:/etc/telegraf$ sudo systemctl start grafana-server ubuntu@telegraf:/etc/telegraf$ Grafana is now listening on port 3000. Open a web browser, go to http://{VM_IP}:3000/ and login using the default username/password combo: admin/admin.\nClick on Add data source:\nFill in these details:\nName: telegraf\nDefault: selected\nType: InfluxDB\nHTTP settings: URL http://localhost:8086, Access: proxy\nInfluxDB Details: Set Database to \u0026rsquo;telegraf\u0026rsquo;. No username/password.\nAdd that, and you should see \u0026ldquo;Data source is working\u0026rdquo;:\nSo, to recap:\nWe\u0026rsquo;ve installed InfluxDB to store our collected metrics. We\u0026rsquo;ve configured Telegraf to collect data via SNMP, and store it in InfluxDB. We\u0026rsquo;ve checked that Telegraf is getting data and that it is stored in InfluxDB. We\u0026rsquo;ve installed Grafana, and configured it to query InfluxDB. Next steps: pulling it all together to create some graphs!\nVisualising the Data Grafana has the concept of \u0026ldquo;Dashboards\u0026rdquo; and \u0026ldquo;Panels.\u0026rdquo; A panel displays some set of metrics or values, using a variety of visualizations - e.g. a line graph, bar chart, single value, traffic light, etc. A dashboard is a set of panels, grouped however you like - e.g. you could have three horizontal panels all the same size, or maybe mix and match different sized-panels.\nIt is super easy to create new dashboards, add panels, and play around with different ways of presenting your data. The great thing is that the data doesn\u0026rsquo;t all need to be from the same source. You can easily combine different data sources, creating all kinds of useful visualizations.\nWe\u0026rsquo;ll set up a simple dashboard showing interface throughput, and we\u0026rsquo;ll add another panel to display system uptime.\nInterface Throughput Click on the Grafana icon in the top left, and go to Dashboards -\u0026gt; Home. Click on New dashboard:\nClick on Graph, then click on Panel Title on the new panel. Click Edit. Now we can add metrics, and set up our graph the way we want.\nOn the General tab, give it a title. Configure the Metrics tab like this:\nKey points:\nUse the ifHC* fields - for modern high-speed interfaces these are a better choice than the older ifInOctets/ifOutOctets. Note the use of derivative(1s). The underlying data is stored as a counter that increments with every 8 bits received. This is not particularly useful on its own. By using derivative(), combined with math(*8), we can calculate bits per second. My switch hostname is LEAF1 - you will need to use a different WHERE hostname = filter. We\u0026rsquo;ve grouped by time and tag(ifDescr) - this splits the data out into separate lines per interface. The ALIAS BY setting controls the labels given to each series. In this case it makes it show up as something like TenGigabitEthernet 34/0/1 Input. On the Axes tab, set the Left Y Unit to data rate -\u0026gt; bits/sec.\nOn the Legend tab, select the With only zeros option. I only have a few interfaces enabled on this switch, so this will suppress display of all the disconnected interfaces.\nAll going well, you should now see a graph showing interface throughput:\nPlay around with the time picker in the top-right of the screen, and try selecting \u0026amp; zooming into a time window. It will get more interesting as you collect more data.\nSave your Dashboard by clicking the Save icon in the menu bar.\nSystem Uptime Let\u0026rsquo;s add a simple switch uptime display, to show how to use the single-stat display, with thresholding.\nAdd a Row to the Dashboard, and choose Singlestat. Edit it, and set the Title to \u0026ldquo;Uptime.\u0026rdquo;\nSet the Metrics tab like this:\nNote the use of math(/100) there. We\u0026rsquo;re converting the measured sysUptime value from hundredths of seconds to seconds.\nSet the Options tab like this:\nCouple of key points there:\nWe\u0026rsquo;re using the Current Stat - this is the most recently received value. I\u0026rsquo;ve set the threshold to 7200,86400, and selected the \u0026ldquo;Background\u0026rdquo; option. This will change the background color between red/yellow/green if our switch was rebooted in the last 2 or 24 hours. I\u0026rsquo;ve also clicked \u0026ldquo;Invert\u0026rdquo;, which switches Red \u0026amp; Green. We want to know if our switch was rebooted recently. Lower numbers are bad in this case.\nSet the unit to seconds (s), and you should get a panel that looks like this:\nIf the switch is rebooted, the background will change color. You can test what this looks like by playing around with the threshold values.\nFuture improvements Obviously there\u0026rsquo;s a lot that could be improved upon here:\nAdd templating to enable selection of specific interfaces, or repeating graphs per interface. Write Ansible + Vagrant config to package up the above. Even better: Do it with Docker, based upon Brent\u0026rsquo;s work. Add more network data sources - e.g. system-level stats, or NOS data collected via API. Add events (e.g. BGP peer status change, application code deploy) as annotations. Add alerting. The point is that it\u0026rsquo;s a flexible framework, and it doesn\u0026rsquo;t need to just be network stats. It gets much more interesting once you start adding other data sources.\n","permalink":"https://lkhill.com/telegraf-influx-grafana-network-stats/","summary":"\u003cp\u003eTwo years ago I wrote about how to use \u003ca href=\"/using-influxdb-grafana-to-display-network-statistics/\"\u003eInfluxDB \u0026amp; Grafana\u003c/a\u003e for better visualization of network statistics. I still loathe MRTG graphs, but configuring InfluxSNMP was a bit of a pain. Luckily it\u0026rsquo;s now much easier to collect SNMP data using \u003ca href=\"https://www.influxdata.com/time-series-platform/telegraf/\"\u003eTelegraf\u003c/a\u003e. InfluxDB and Grafana have also improved a lot. Read on for details about to monitor network interface statistics using Telegraf, InfluxDB and Grafana.\u003c/p\u003e","title":"Using Telegraf, InfluxDB and Grafana to Monitor Network Statistics"},{"content":"It is now almost 12 months since the first announcement that Broadcom was to acquire Brocade, and sell off the IP parts of the business. It took another 6 months to get confirmation that Extreme Networks would be buying my business unit (SRA).\nFor regulatory reasons, the Broadcom/Brocade transaction has still not closed. The original plan was to close that deal first, then close the Extreme transaction. But due to the delays, they re-arranged things, and now the Extreme deal has finally closed. Desks have been cleared, moving crews are working all weekend, and come Monday, I will have a new \u0026ldquo;Extreme Networks\u0026rdquo; badge.\nWhat does this mean for me? My group is moving to become part of Extreme Networks. In the short term, I keep working with the same core group of people. But now we will be part of a new wider group, with a different strategic focus.\nWe will have new systems and applications to integrate StackStorm with, new use-cases, and maybe further opportunities beyond StackStorm. So far all signs are pointing to this being a positive move, and I am looking forward to getting this transition behind us.\n","permalink":"https://lkhill.com/extreme-transition/","summary":"\u003cp\u003eIt is now almost 12 months since the first announcement that \u003ca href=\"/brocadecom/\"\u003eBroadcom was to acquire Brocade\u003c/a\u003e, and sell off the IP parts of the business. It took another 6 months to get confirmation that \u003ca href=\"/news-at-last-its-extreme/\"\u003eExtreme Networks\u003c/a\u003e would be buying my business unit (SRA).\u003c/p\u003e","title":"Extreme Transition At Last"},{"content":"There\u0026rsquo;s a lot of angst in the networking community about programming, SDN, automation, and what it means for networking careers. Plenty of people will tell you don\u0026rsquo;t worry about it, focus on the fundamentals, there\u0026rsquo;s plenty of work, you will be fine.\nThere is some truth in that. There are still lots of jobs in networking. People with solid skillsets should have no problem finding a good job.\nBut.\nDon\u0026rsquo;t fool yourself. Things are changing.\nI\u0026rsquo;ve seen some research from Gartner that indicates that organisations have been steadily decreasing their Network Operations teams over the last five years. They have also been reducing their Data Networks spend. (Sadly I don\u0026rsquo;t have publication rights for this research, so you\u0026rsquo;ll just have to take my word for it).\nThis is going to put pressure on networking engineers. Your role will be forced to change, if for no other reason than that you are going to have less budget, and fewer people to do the work.\nSo you\u0026rsquo;d better think about what that means for how your role might change.\nDo you need to change jobs today? No. You don\u0026rsquo;t have to outrun the lion\u0026rsquo; - but you do want to make sure you can outrun the other guy. If the boss wants to decrease headcount further, who\u0026rsquo;s going to get picked?\n","permalink":"https://lkhill.com/sorry-jobs-changing/","summary":"\u003cp\u003e\u003ca href=\"https://networkingnerd.net/2017/03/24/do-network-professionals-need-to-be-programmers/\"\u003eThere\u0026rsquo;s\u003c/a\u003e \u003ca href=\"http://movingpackets.net/2013/11/06/why-wont-have-a-job-in-5-years/\"\u003ea\u003c/a\u003e \u003ca href=\"https://keepingitclassless.net/2017/03/learn-programming-or-perish/\"\u003elot\u003c/a\u003e \u003ca href=\"http://packetpushers.net/podcast/podcasts/show-332-dont-believe-programming-hype/\"\u003eof\u003c/a\u003e \u003ca href=\"http://etherealmind.com/%e2%97%8e-debating-whether-network-engineers-need-to-learn-programming/\"\u003eangst\u003c/a\u003e in the networking community about programming, SDN, automation, and what it means for networking careers. Plenty of people will tell you don\u0026rsquo;t worry about it, focus on the fundamentals, there\u0026rsquo;s plenty of work, you will be fine.\u003c/p\u003e","title":"Sorry, Network Jobs Are Changing"},{"content":"Everything comes at a cost: steak dinners \u0026amp; pre-sales engineering has to get paid for somehow. That should be obvious to most. Feature requests also come at a cost, both upfront, and ongoing. Those ongoing costs are not always understood.\nIt\u0026rsquo;s easy to look at vendor gross margins, and assume that there is plenty of fat. But remember that Gross margin is just Revenue minus cost of goods sold. It\u0026rsquo;s not profit. It doesn\u0026rsquo;t include sales \u0026amp; marketing costs, or R\u0026amp;D costs. Those costs affect net income, which is \u0026lsquo;real\u0026rsquo; income. Companies need to recoup those costs somehow if they want to make money. Gross margin alone doesn\u0026rsquo;t pay the bills.\nFour-Legged SalesDroids, and Steak Dinners A \u0026ldquo;four-legged sales call\u0026rdquo; is when two people show up for sales calls. The usual pattern is an Account Manager for the \u0026lsquo;relationship\u0026rsquo; stuff, with a Sales Engineer acting as truth police. These calls can be very useful. It\u0026rsquo;s a good way to talk about the current business challenges, discuss product roadmaps, provide feedback on what\u0026rsquo;s working, and what\u0026rsquo;s not. The Sales Engineer can offer implementation advice, maybe help with some configuration issues.\nOften a sales call includes lunch or dinner. Breaking bread together is an important part of relationship-building. And everyone likes a free steak dinner, right? Of course, it\u0026rsquo;s not quite free.\nSending two people out to visit a customer is expensive. Travel time and costs add up. Providing \u0026lsquo;free\u0026rsquo; advice takes time. Don\u0026rsquo;t get me wrong: it is a very important part of the relationship. You want customers to have a good experience with your products. But those salaries need to be paid somehow.\nSome sales calls are great two-way discussions, with both parties getting something from it. Users find out more about what\u0026rsquo;s coming, and they have a chance to provide feedback to the vendors, to help make things better.\nBut other sales calls are a simple reading of a slide deck. Why waste your time, and your vendor\u0026rsquo;s time if you just want them to give the standard pitch?\nIt would have been far more efficient for everyone if people had just watched the YouTube video, or read the data sheet. Sending people out to do that doesn\u0026rsquo;t make sense. There\u0026rsquo;s a reason that many SaaS companies just publish a price list, and don\u0026rsquo;t have big sales teams. There\u0026rsquo;s too much overhead required.\nFeatures: Do You Really Need SNA, NVGRE, and FCoTR? RFPs span the whole range from \u0026ldquo;x ports at y speeds\u0026rdquo; to a complete laundry list of every networking protocol ever written. Sometimes they include RFPs that never made it out of draft, or features that no-one has ever implemented outside of a university lab. Sometimes they\u0026rsquo;re ridiculously broad and claim that it is MUST HAVE for a desktop access switch to support OSPF, IS-IS, full-table BGP, SNA, AppleTalk, and IPX. Oh, and of course it should support every possible combination of optic ever produced, at every possible distance.\nPlus the CLI: I want to be able to choose IOS, JunOS or Huawei-style CLI. Oh and don\u0026rsquo;t forget the echo and chargen services. Very important. MUST HAVE.\nEverything MUST HAVE when you know that perhaps 10% of the features will ever actually get used.\nBut now the sales teams want a committed roadmap for when that core chassis switch with 288 x 100Gb ports will also support PoE+ on 10Mb thicknet.\nSigh.\nPeople just don\u0026rsquo;t think it through when they ask for these features.\nCosts are not just incurred when developing features. They become a form of long-term technical debt. Every feature needs testing with every release. That feature needs testing with every other plausible combination of features. More features mean either much greater complexity in testing (and therefore longer test cycles), or worse: untested feature combinations.\nIf you are going to deploy a feature today, or in the near future, then by all means stipulate it. But don\u0026rsquo;t put every possible feature in as MUST HAVE, if you\u0026rsquo;re unlikely to ever implement it. And just because you\u0026rsquo;ve used rlogin since 1995, it doesn\u0026rsquo;t mean that it\u0026rsquo;s still a MUST HAVE requirement in 2017. Move on.\nEverything Has a Cost For fun, take a look at the financial results for a company like Cisco. For the quarter ended April 29, 2017, they had total revenue of $11.94B. COGS was $4.4B, for an overall gross margin of 63%. But then look at the Operating Expenses. R\u0026amp;D was $1.5B, while Sales and Marketing costs were $2.2B. Their net income was $2.5B, for a net margin of 21%.\nYes, that\u0026rsquo;s right: They spent 50% more on Sales than on R\u0026amp;D. All those sales calls and steak dinners add up.\nBut pay attention to the overall numbers: Gross margin is just one financial measure. It is an important one, as it plays a large part in the marginal profits made from additional sales. But it\u0026rsquo;s not the only one. R\u0026amp;D costs include the costs of feature development. It adds up.\nNB: I am not in any way picking on Cisco here. They are just the best-known company in the networking space, and their numbers are representative of the industry as a whole. You\u0026rsquo;ll see similar numbers for other networking companies. Other industries will have slightly different percentages, but the patterns will be similar.\nPricing is much more complicated than taking input costs and adding a profit margin. But costs are still a factor. Higher costs mean higher prices. More time spent on sales calls and adding unused features raises costs, which has a good chance of raising prices.\nTo be clear: There\u0026rsquo;s nothing wrong with spending time with a sales team. If you\u0026rsquo;re planning a large purchase, you should spend the time to make sure you understand what is being proposed. Similarly, if you really need a feature, then by all means request it. But don\u0026rsquo;t fool yourself into thinking that this comes for free. Everything has a cost.\n","permalink":"https://lkhill.com/everything-has-cost/","summary":"\u003cp\u003eEverything comes at a cost: steak dinners \u0026amp; pre-sales engineering has to get paid for somehow. That should be obvious to most. Feature requests also come at a cost, both upfront, and ongoing. Those ongoing costs are not always understood.\u003c/p\u003e","title":"Everything Has a Cost"},{"content":"Right now, it\u0026rsquo;s an employee\u0026rsquo;s market in the Bay Area. Technology firms are growing, and they\u0026rsquo;re always trying to hire more people. So I regularly receive emails from recruiters. This is not to brag, it\u0026rsquo;s just the way things are right now, based upon the economy, my background, my current location, and my age. I\u0026rsquo;m lucky.\nSome of these approaches are outstanding. Well-crafted, tailored to the person and the role. Some are pathetically bad, and I don\u0026rsquo;t know why they try.\nThe Right Approach A good approach goes like this:\nHi Lindsay!\nI\u0026rsquo;m a recruiter at $CoolCompany. We\u0026rsquo;re looking for great people to work on our teams doing $InterestingThingOne and $InterestingThingsTwo! We\u0026rsquo;re hoping to do This, That and the Other Thing! Check out our projects on Github \u0026lt;here\u0026gt; and \u0026lt;here\u0026gt;.\nWe think this would be a good match because of your background working on $RecentProject in $PreviousIndustries.\nWe were thinking about someone to do these sorts of things: X, Y, Z. But mainly it\u0026rsquo;s about finding the right people, and we\u0026rsquo;re fine with re-working the role a bit to suit.\nLet us know what you think\nRegards, Good Recruiter\nThe Wrong Approach Hi \u0026lt;Insert Name Here\u0026gt;\nWe have a job opening for a Senior Product Manager in your area, which you may find of interest. If you are interested, please get in touch with us.\nSincerely, Lame Recruiter.\nNB: This is a real example. I\u0026rsquo;m not making this up. They searched LinkedIn for people with my job title, in my geographic region, and they just sent a form email. Couldn\u0026rsquo;t even be bothered to attach any details about the job. The only connection was the Product Manager title. If you know anything about Product Management, you know that PMs take many different forms, come from different backgrounds, and do very different jobs, depending on the company, and the requirements.\nFor those recruiters sending out blast emails like that, why do you even bother? What\u0026rsquo;s your hit rate for good candidates, when you send out something barely above spam level? There\u0026rsquo;s a reason that recruiters have a bad reputation, and it\u0026rsquo;s because of things like that. Sending out spam email, and then claiming a large payment should it ever succeed, and they get a candidate placed.\nThe good recruiters are looking to fit the right person to the right role. I have worked with recruiters that have done a great job. They have matched my skills to the right role, and they have paid attention to when I would be available. I don\u0026rsquo;t begrudge those recruiters the fees they earn. The rest that just clip the ticket, fill in the paperwork, and don\u0026rsquo;t do any real work? No time for them.\nDon\u0026rsquo;t get me wrong, I\u0026rsquo;m not being arrogant. I know that the economic cycle will turn in future. Plus I\u0026rsquo;m in my late thirties now, and soon I will be over the hill by Valley standards. I\u0026rsquo;ll be the one who needs to work my contacts, talk to recruiters, hustle to find a new job. Maybe then I\u0026rsquo;ll be grateful to receive a form letter from a recruiter, sending a blast email?\nNah.\n","permalink":"https://lkhill.com/recruiters-try-harder/","summary":"\u003cp\u003eRight now, it\u0026rsquo;s an employee\u0026rsquo;s market in the Bay Area. Technology firms are growing, and they\u0026rsquo;re always trying to hire more people. So I regularly receive emails from recruiters. This is not to brag, it\u0026rsquo;s just the way things are right now, based upon the economy, my background, my current location, and my age. I\u0026rsquo;m lucky.\u003c/p\u003e","title":"Recruiters: Must Try Harder"},{"content":"I spend a lot of time poking around with code, and I can figure out most integration challenges, and simple code fixes. But I do not call myself a developer. I know, we can argue about what constitutes a developer, but I don\u0026rsquo;t really want to get into that. I\u0026rsquo;d just like to highlight something that showed the difference between the futzing about that I do, and the way a senior developer thinks about problems.\nStackStorm Documentation Process We use reStructuredText for StackStorm documentation. It\u0026rsquo;s a form of markup language, with everything is written in plaintext. It gets parsed into HTML (and potentially other formats). The use of special punctuation marks and indentation tells the parser how to render the HTML - e.g. inserting links, highlighting text, bullet points, etc.\nWhen I want to update our documentation, I create a branch on our GitHub st2docs repo. I make my changes, then create a Pull Request against the master branch. When I do this, it triggers our CircleCI checks. These checks include attempting to build the documentation, and failing if there are any parsing errors. If I\u0026rsquo;ve made a mistake in my syntax, it gets caught at this point, and I can\u0026rsquo;t merge it until I\u0026rsquo;ve fixed the problems. Once I\u0026rsquo;ve fixed the issues, and my PR gets merged, we then have jobs that kick off building the documentation and pushing the content to our S3 buckets.\nThis usually works pretty well. Any mistakes I make get caught before we push things to production.\nUh-oh…CircleCI Checks Failed This week I created a PR to update our sensor documentation. CircleCI started its checks, and then…it failed. Big red X. Hmm. I\u0026rsquo;m pretty good at RST syntax now, and I usually pick up those errors with my local checks before I push them to GitHub. What happened?\nHere\u0026rsquo;s the error message:\n1 2 3 4 5 6 7 8 9 10 reading sources... [ 98%] webhooks reading sources... [100%] workflows Warning, treated as error: st2/CHANGELOG.rst:113: ERROR: Unexpected indentation. make: *** [.community-docs] Error 1 case $CIRCLE_NODE_INDEX in 0) make docs ;; 1) make bwcdocs ;; esac returned exit code 2 OK, so it\u0026rsquo;s an RST syntax error. But I didn\u0026rsquo;t change that file. What\u0026rsquo;s going on?\nIf you dig into our documentation build process, it clones the main StackStorm repo and uses the CHANGELOG.RST file from that repo to create docs.stackstorm.com/changelog.html.\nWhen our developers make changes to StackStorm, they include an entry in that file to document the change we\u0026rsquo;ve made. The build process then prettifies that changelog and turns it into a more readable HTML file.\nSomeone made a change to that file but had a small mistake in their syntax. When the file got pulled into the docs build process, it resulted in a failure.\nFix? Or Not? OK, no big deal, I\u0026rsquo;ve seen that a couple of times before. I\u0026rsquo;ll submit a PR to fix the syntax:\n1 2 - #3335 #3463 [Nick Maludy] + #3335 #3463 [Nick Maludy] Simple fix, remove the extra space, and should be fine, right?\nSort of.\nBut that only fixes this instance of the problem.\nThe \u0026ldquo;Proper\u0026rdquo; Fix Tomaz submitted the real fix. His PR does this:\nFix the indentation error Fix another problem with some duplicate content But more importantly: He adds linting checks that will get run on every PR to that repo in future, to ensure that any RST errors will be identified in that repo, pre-merge. That\u0026rsquo;s the real difference. I wanted to just fix the immediate problem, and get on with what I wanted to do. Kami did the right thing, fixing the problem, and ensuring that if it happens again, it will be picked up earlier in the chain, to reduce downstream effects.\nI really should know better. I know the pattern. But I still have a lot to learn, to make that sort of thing automatic when I\u0026rsquo;m working on code.\n","permalink":"https://lkhill.com/senior-devs/","summary":"\u003cp\u003eI spend a lot of time poking around with code, and I can figure out most integration challenges, and simple code fixes. But I do not call myself a developer. I know, we can argue about what constitutes a developer, but I don\u0026rsquo;t really want to get into that. I\u0026rsquo;d just like to highlight something that showed the difference between the futzing about that I do, and the way a senior developer thinks about problems.\u003c/p\u003e","title":"The Difference Between Proper Devs and Me"},{"content":"Something different today: Here\u0026rsquo;s something I learnt about RPM package management, and post-upgrade scripts. It turns out that they don\u0026rsquo;t work the way I thought they did. Post-uninstall commands are called on both uninstall and upgrade. For my own reference as much as anyone\u0026rsquo;s here some info about it, and how to deal with it.\nRPM Package Management RPM is a Linux package management system. It is a way of distributing and managing applications installed on Linux systems. Packages get distributed as .rpm files. These contain the application binaries, configuration files, and application metadata such as dependencies. They can also contain scripts to run pre- and post- installations, upgrades and removal.\nUsing package management systems is a vast improvement over distributing source code, or requiring users to manually copy files around and run scripts themselves.\nThere is some effort required to get the spec files used to create packages. But once it has been set up, it is easy to create new versions of packages, and distribute them to users. System administrators can easily check which version they\u0026rsquo;re running, check what new versions are available, and upgrade.\nWe use RPMs to distribute StackStorm packages for RHEL/CentOS systems. Similarly, we distribute debs for Ubuntu-based installations. These perform a similar function to RPMs, for Debian-based systems such Ubuntu.\nCustomer Reports: Too Many Logs We started getting reports from some users that they had too many StackStorm logs under /var/log/st2. This was surprising to us, since we include an st2 logrotate configuration file in our standard packaging. This should exist at /etc/logrotate.d/st2. It contains rules for automatic compression and deletion of st2 logs.\nYet some users said they didn\u0026rsquo;t have this file. What was going on? We couldn\u0026rsquo;t reproduce it. All our test systems had this file present.\nBut the file was missing for these users. rpm -qV st2 told us that RPM expected it to be there, but it was missing.\nThe issue only came up occasionally. Most users weren\u0026rsquo;t affected. Only a few people were. After a while I started to realise that they were all RHEL/CentOS users, and they had been using ST2 for a while. Maybe there\u0026rsquo;s a common thread here?\nSmoking Gun: The %postun Step During investigation, I came across this section of the RPM spec file:\n1 2 3 4 5 %postun %service_postun st2actionrunner %{worker_name} st2api st2stream st2auth st2notifier %service_postun st2resultstracker st2rulesengine st2sensorcontainer st2garbagecollector # Wipe out st2 logrotate config, since there\u0026#39;s no analog of apt-get purge avaialable [ ! -f /etc/logrotate.d/st2 ] || rm /etc/logrotate.d/st2 At first glance, it looks OK. %postun sounds like it should be run post-uninstall. It cleans up a leftover file, so it should be fine, right?. Problem is that this section also gets called at the end of an upgrade, not just on uninstall. That was the bit that caught me out.\nFrom Stack Overflow:\nYes, when an RPM upgrade occurs, RPM first installs the new version of the package and then uninstalls the old version of the package. Only the files of the old package are removed. But your scripts (i.e. %pre, %post, %preun, %postun) need to know whether they are handling an upgrade or just a plain install or uninstall.\nThe Fix: Check this is Actually an Uninstall This is the PR I submitted:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 --- a/packages/st2/rpm/st2.spec +++ b/packages/st2/rpm/st2.spec @@ -60,8 +60,10 @@ Conflicts: st2common %postun %service_postun st2actionrunner %{worker_name} st2api st2stream st2auth st2notifier %service_postun st2resultstracker st2rulesengine st2sensorcontainer st2garbagecollector - # Wipe out st2 logrotate config, since there\u0026#39;s no analog of apt-get purge avaialable - [ ! -f /etc/logrotate.d/st2 ] || rm /etc/logrotate.d/st2 + # Remove st2 logrotate config, since there\u0026#39;s no analog of apt-get purge available + if [ $1 -eq 0 ]; then + [ ! -f /etc/logrotate.d/st2 ] || rm /etc/logrotate.d/st2 + fi %files %defattr(-,root,root,-) When the %postun script gets called, it passes in \u0026ldquo;the number of packages that will be left after this step is completed.\u0026rdquo; So this fix says \u0026ldquo;Only run this script if this is the very last instance of this package being removed or upgraded.\u0026rdquo;\nNow this step will only be executed on uninstall, not on upgrade.\nOne Upgrade\u0026rsquo;s Not Enough The StackStorm packages have been updated, but unfortunately a single upgrade doesn\u0026rsquo;t fully solve the problem. If existing users upgrade, it will run the current %postun scripts - so it will still delete the logrotate configuration file.\nUsers have to carry out a second upgrade cycle. This time the config file won\u0026rsquo;t get deleted, and all future upgrades will also be OK.\nAnnoying, but an interesting learning exercise.\n","permalink":"https://lkhill.com/rpm-postupgrade/","summary":"\u003cp\u003eSomething different today: Here\u0026rsquo;s something I learnt about RPM package management, and post-upgrade scripts. It turns out that they don\u0026rsquo;t work the way I thought they did. Post-uninstall commands are called on both uninstall and upgrade. For my own reference as much as anyone\u0026rsquo;s here some info about it, and how to deal with it.\u003c/p\u003e","title":"RPM Post-Upgrade Scripts"},{"content":"The extremely irregular War Stories series returns, with an anecdote from 15 years ago, investigating a problem with a web app that only seemed to crash when one particular person used it. Ultimately a simple problem, but it took me a while to track it down. I blame Perl.\nISPY With my Little Eye \u0026ldquo;ispy\u0026rdquo; was our custom-built system that archived SMS logs from all our SMSCs, aggregating them to one server for analysis. Message contents were kept for a short period, with CDRs stored for longer (i.e. details of sending and receiving numbers, and timestamps, but no content).\nThe system had a web interface that support staff could use to investigate customer reports of SMS issues. They could enter source and/or destination MSISDNs, and see when messages were sent, and potentially contents. Access to contents was restricted, and was typically only used for things like abuse investigations.\nThis system worked well, usually.\nExcept when it didn\u0026rsquo;t.\nEvery few weeks, we\u0026rsquo;d get reports that L2 support couldn\u0026rsquo;t access the system. We\u0026rsquo;d login, see that one process was using up 99% CPU, kill it, and it would be OK for a while. Normally the system was I/O bound, so we added alerts to detect high CPU, and restarted it whenever we saw that. It was only every couple of weeks or so, and we had a lot of other things to do, so we put off doing a proper investigation.\nPerl: Write Once, Read Never The system was entirely custom, and completely undocumented. I had previously moved it from one server to another, but that was mainly a case of copying some content and application folders across. I had never had to dig deeply into it.\nThere was a bunch of scripts that periodically collected data from the SMSCs, and a Perl CGI app, fronted by Apache.\nAnyone who\u0026rsquo;s ever had to debug someone else\u0026rsquo;s Perl knows that it is a \u0026ldquo;Write Once, Read Never\u0026rdquo; language. Even the person who wrote it has a low chance of being able to figure it out.\nI spent days going through the code, starting from the inputs, following through the system, trying to understand how it worked. Along the way I learnt a lot about how it worked, and I cleaned up a lot of redundant code, and various small bugs. The minor improvements were fine, but I still hadn\u0026rsquo;t found a smoking gun.\nA Pattern Emerges: There\u0026rsquo;s Always That One User The problem persisted, until one day I realized that it was often the same person that told me it wasn\u0026rsquo;t working. There was a team that used the system, so why was it one person in particular? I dug into the logs, and found the culprit:\n1 2 10.64.4.105 - - [10/Apr/2002:08:15:59 +1200] \u0026#34;POST /ispy/sms?src=64220248363 HTTP/1.1\u0026#34; 200 44 10.64.24.33 - - [10/Apr/2002:08:41:59 +1200] \u0026#34;POST /ispy/sms?src=6421606231%20 HTTP/1.1\u0026#34; 200 44 The first query was fine. It was the second one that caused problems. At that point the system got stuck in a loop.\nTurns out that when this user pasted in a mobile number, for some reason they often ended up pasting in a space at the end.\nThis completely screwed up the pattern matching code, causing it to get stuck in a loop endlessly cycling through logs. Gah.\nTrust, But Verify Never trust user input. Never. Always verify that what they\u0026rsquo;ve given you matches the format that you expect.\nIn this case I needed a chomp() on the input. That stripped off any trailing characters, cleaning up my input. No more crashes, everyone happy. Saved time by not having to restart the app every couple of weeks.\nNot that anyone really cared. The app crash/restart cycle had been going on for a couple of years, and the rest of the Ops team just restarted the app without bothering to properly investigate it. Oh well. My fundamental laziness meant more work in the short-term, but less in the long term. I can live with that.\nThis article is Part 12 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - This Article Part 13 - Advertising Bogons (Or Was I?) ","permalink":"https://lkhill.com/war-stories-always-check-inputs/","summary":"\u003cp\u003eThe extremely irregular War Stories series returns, with an anecdote from 15 years ago, investigating a problem with a web app that only seemed to crash when one particular person used it. Ultimately a simple problem, but it took me a while to track it down. I blame Perl.\u003c/p\u003e","title":"War Stories: Always Check Your Inputs"},{"content":"I am the Product Manager for StackStorm. This gives me the opportunity to attend several industry events. This year I attended SREcon in San Francisco, and devopsdays Seattle. I found both events interesting, but also found them more different than I expected.\nSREcon Americas This year SREcon Americas was held in San Francisco, a nice walk along the Embarcadero from where I live. This is bliss compared to my regular daily tour of the Californian outdoor antique railway museum, aka Caltrain.\nAccording to the organizers, SREcon is:\n…a gathering of engineers who care deeply about site reliability, systems engineering, and working with complex distributed systems at scale\nThat was pretty much true to form. Two things stood out to me:\nThe number of smart people, working on interesting problems The number of companies aggressively hiring in this space. I had many interesting conversations at SREcon. We had a booth, so would briefly start describing what StackStorm is, but would very quickly move past that. Conversations often went \u0026ldquo;Oh yeah, we\u0026rsquo;ve built something along those lines in-house, because there was nothing on the market back when we needed it. But I wouldn\u0026rsquo;t do it again. How did you solve \u0026lt;insert knotty problem here\u0026gt;?\u0026rdquo; Great conversations.\nThe problems that people were solving were very, very interesting too. I\u0026rsquo;ve done plenty of sysadmin work in my past, and I miss it. I look at what the SRE folks are doing, and can see that as an evolution of the very best sysadmins. Less of the drudgery, more focus on solving problems at speed \u0026amp; scale. Don\u0026rsquo;t fool yourself into thinking that developers can do everything. There is still a need for people that can glue disparate systems together. The challenges have changed, that\u0026rsquo;s all.\nIf my circumstances were a little different, it might be an area for me to explore more.\nRelated to that, I was very surprised at just how many of the booths were companies actively hiring people. Normally at these events the booths are companies like mine, with relevant products to pitch. But there were very few product pitch booths. Instead it was companies like LinkedIn, Google, Twitter, Capital One, all talking about the cool things they are doing, and actively pitching their company to prospective employees.\nVery different to what I was expecting. Take note, potential SREs: get yourself along to an SREcon and talk to the companies there. Find out if it sounds like what you want to do, and talk to hiring managers.\nOh and it\u0026rsquo;s not news to anyone here, but if you think that you\u0026rsquo;re a special case and can\u0026rsquo;t use public cloud: You\u0026rsquo;re probably wrong. Plenty of companies at SREcon were not Web 2.0 companies. They have complex technical, regulatory and legal challenges, but they are aggressively moving to public cloud.\nDevopsdays Devopsdays are more localized affairs, with many events happening all around the world.\nDevopsdays is a worldwide series of technical conferences covering topics of software development, IT infrastructure operations, and the intersection between them. Topics often include automation, testing, security, and organizational culture. (From)\nThis event had a very different feel to SREcon, more so than I expected. Conversations took on a couple of different flavors:\n\u0026ldquo;How do we get started on this journey? We\u0026rsquo;re still dealing with many legacy processes. How do we get started?\u0026rdquo; \u0026ldquo;How do we take our staff on this transition?\u0026rdquo; Not just \u0026ldquo;how do we implement blah at our company?\u0026rdquo; but \u0026ldquo;What are the impacts on our staff? We want to keep our existing team together, how do we do that?\u0026rdquo; People are thinking about culture, and the impact of changing roles through move to cloud \u0026amp; automation. Both were a little surprising to me. The first one because when I think of Seattle, the first thing that comes to mind is Cloud City. All the major Western public cloud teams are based there. Sorry Oracle, you don\u0026rsquo;t yet count.\nAs ever, the future is here; it\u0026rsquo;s just unevenly distributed. There are many smart people in Seattle doing amazing cloudy things. There\u0026rsquo;s also many people just like the rest of us, struggling to figure out what to do. It\u0026rsquo;s reassuring really.\nOn the second item, I\u0026rsquo;m trying to figure out if this is an SRE vs DevOps thing, or a Seattle vs Silly Valley thing.\nTools \u0026amp; Techniques vs Culture \u0026amp; People One group is thinking about tools \u0026amp; techniques, while the other is thinking about culture \u0026amp; people. The impression from the SRE event was that people will have the skills, or that they will develop them. But then it\u0026rsquo;s all about using the skills.\nThe chatter at the DevOps event wasabout how to change cultures in teams, how to take people along that journey, and how to adapt to reflect the realities of people, not just tools.\nWhat I\u0026rsquo;m trying to figure out is this due to differences in SRE vs DevOps, or about locations? Someone pointed out to me that DevOps has always been more about the culture, so I should not be surprised that many of the conversations revolved around culture rather than tools.\nBut I\u0026rsquo;m also wondering how much of it is due to Seattle vs San Francisco. The Seattle has several large employers that have been in business for decades, e.g. Boeing and Microsoft. People have long careers with the same company. Companies value people, and want to keep them over a long period. They know that it\u0026rsquo;s tough to find good people, so you should develop those you have, rather than just expecting to find skills on the open market. Employees expect to work for one company for a long time.\nThe Bay Area feels like it has a high turnover of technology companies, with people moving around as company fortunes rise and fall. There is more of an expectation to hire people with a given set of skills, and if they no longer match what you need, drop them and find new people. On the other side, employees expect to move frequently, seeking the ever-elusive right role.\nOr is my impression mistaken?\n","permalink":"https://lkhill.com/srecon-devopsdays/","summary":"\u003cp\u003eI am the Product Manager for \u003ca href=\"https://stackstorm.com\"\u003eStackStorm\u003c/a\u003e. This gives me the opportunity to attend several industry events. This year I attended SREcon in San Francisco, and devopsdays Seattle. I found both events interesting, but also found them more different than I expected.\u003c/p\u003e","title":"SREcon, DevOpsDays and Seattle vs Sillicon Valley"},{"content":"Last week Savvius announced upgraded versions of its Insight network visibility appliances. These have the usual performance and capacity increases you\u0026rsquo;d expect, and fill a nice gap in the market.\nBut the bit that was most interesting to me was the use of an on-board Elastic stack, with pre-built Kibana dashboards for visualizing network data, e.g.:\nHistorically the only way we could realistically create these sorts of dashboards and systems was using Splunk. I\u0026rsquo;m a big fan of Splunk, but it has a problem: Cost. Especially if you\u0026rsquo;re trying to analyze large volumes of network data. You might be able to make Splunk pricing work for application data, but network data volumes are often just too large.\nSavvius has previously included a Splunk forwarder, to make it easier to get data from their systems into Splunk. But Elastic has reached the point where Splunk is no longer needed. It\u0026rsquo;s viable for companies like Savvius to ship with a built-in Elastic stack setup.\nThere\u0026rsquo;s nothing stopping people centralizing the data either. You can modify the setup on the Insight appliance to send data to a central Elastic setup, and you can copy the Kibana dashboards, and create your own versions. No more Splunk license constraints: now it\u0026rsquo;s just a matter of how much central storage you can afford, and how much you need.\nThe Insight appliances are running Linux under the hood. Obviously Savvius can\u0026rsquo;t offer full support for whatever you might do at a Linux level, but I liked that they had a pragmatic attitude to it. It\u0026rsquo;s your box, you\u0026rsquo;ve got the power, make changes at that level if you need to.\nI\u0026rsquo;m very pleased to see the continuing evolution of log \u0026amp; data management tools, going from high-value novelty to commodity item. One less excuse for the foot-draggers who still don\u0026rsquo;t do centralised logging.\nAside: Am I the only one who finds it amazing that I can order devices like this via Amazon Prime?\nUpdate: I\u0026rsquo;ve been informed that these are no longer available via Amazon. You\u0026rsquo;ll need to go through the regular reseller process.\n","permalink":"https://lkhill.com/savvius-elastic/","summary":"\u003cp\u003eLast week Savvius \u003ca href=\"https://www.savvius.com/company/news/press_release/2017-05-16\"\u003eannounced\u003c/a\u003e upgraded versions of its \u003ca href=\"https://www.savvius.com/products/network_visibility_performance_diagnostics/savvius_insight\"\u003eInsight network visibility appliances\u003c/a\u003e. These have the usual performance and capacity increases you\u0026rsquo;d expect, and fill a nice gap in the market.\u003c/p\u003e","title":"Savvius Insight and the use of Elastic"},{"content":"Native IPv6 availability continues to increase, leading to the sunset of SixXS services. But it looks like we don\u0026rsquo;t like starting any major IPv6 rollouts around Christmas/New Years, but instead start going into production from April onwards.\nSixXS Sunset In March 2017, the SixXS team announced that they are closing down all services in June 2017:\nSixXS will be sunset in H1 2017. All services will be turned down on 2017-06-06, after which the SixXS project will be retired. Users will no longer be able to use their IPv6 tunnels or subnets after this date, and are required to obtain IPv6 connectivity elsewhere, primarily with their Internet service provider.\nSixXS has provided a free IPv6 tunnel broker service for years, allowing people to get \u0026rsquo;native\u0026rsquo; IPv6 connectivity even when their ISP didn\u0026rsquo;t offer it. A useful service in the early days of IPv6, when ISPs were dragging the chain.\nBut this is a Good Thing that it is now closing down. It\u0026rsquo;s closing down because their mission has been achieved, and people no longer require tunnel broker services. IPv6 is now widely available in many countries, and not just from niche ISPs. Mainstream ISPs such as Comcast in the US, Sky in the UK, and Telstra in Australia now enable IPv6 by default for consumer connections.\nOf course there\u0026rsquo;s technology laggards like Spark in NZ dragging the chain, but who cares when every other major ISP in that market offers IPv6?\nPlus I always hated IPv6 tunneling protocols. Maybe Cisco can finally remove it from the CCIE blueprint now?\nI wonder how long it will be before HE shuts down their tunnel broker service?\nIPv6 Rollouts - Do you all take Christmas off? I keep a close eye on the Google IPv6 stats. These show the percentage of Google users that can access Google services using IPv6. The stats have been showing strong growth, now peaking at over 18%.\nA few months ago, Rich @ Gestalt IT highlighted IPv6\u0026rsquo;s bad case of the Mondays.\n… traffic during the week is about 2-3% overall percentage points lower, about 25% of overall IPv6 traffic. It’s an IPv6 party on the weekend!\nI\u0026rsquo;ve been watching the stats for a few years now, and I think there\u0026rsquo;s another pattern emerging: People flip the switch on their IPv6 rollouts around April.\nLook at what we see when we zoom in to Jan 2015 -\u0026gt; now:\nLook at the areas I\u0026rsquo;ve highlighted. We see a peak around Jan 1, most likely due to heavy consumer/mobile usage. We then see flat usage for 3 months, before it starts trending upwards again.\nLooks like standard project planning to me. No-one wants to start anything before Christmas. The first few months of the year are spent planning and testing, and then by April we\u0026rsquo;re ready to go. Production rollouts then kick in, and we see climbing IPv6 usage. Will be interesting to see if that pattern holds over the next couple of years.\nOr am I just staring too closely at the graph, and seeing what I want to see?\n","permalink":"https://lkhill.com/ipv6-trends/","summary":"\u003cp\u003eNative IPv6 availability continues to increase, leading to the sunset of SixXS services. But it looks like we don\u0026rsquo;t like starting any major IPv6 rollouts around Christmas/New Years, but instead start going into production from April onwards.\u003c/p\u003e","title":"IPv6 Trends, SixXS Sunset and Project Planning"},{"content":"I have completed migrating my website to GitHub Pages. URLs and RSS feed location should remain the same.\nThe only issue I\u0026rsquo;m aware of at the moment is with Disqus. I moved my Wordpress comments to Disqus prior to the switchover, but it looks like the comments are not showing up here. Hopefully will sort that out soon.\nLet me know if you see any other issues.\n","permalink":"https://lkhill.com/website-migration-complete/","summary":"\u003cp\u003eI have completed migrating my website to \u003ca href=\"https://pages.github.com\"\u003eGitHub Pages\u003c/a\u003e. URLs and \u003ca href=\"/feed/\"\u003eRSS feed\u003c/a\u003e location should remain the same.\u003c/p\u003e","title":"Website Migration Complete"},{"content":"It came around again: CCIE renewal. Last time I renewed, I wasn\u0026rsquo;t sure if I should do it again. But I gave in, passed the CCIE R\u0026amp;S Written Exam, and moved one step closer to Emeritus. Turns out it wasn\u0026rsquo;t that bad, and I should not have put it off for so long.\nRenewal Cycle Cisco certifications below Expert level have a 3-year renewal cycle. You can renew your CCNA or CCNP certifications at any time by sitting an exam at the same level. Your 3-year cycle restarts from the day you pass that exam.\nCCIE is a little different. A CCIE certification remains valid for two years from your lab date. You can sit any CCIE-level written exam to renew your CCIE certification. At that point your validity date gets extended for another two years - note that it is another two years based upon your lab date, not the date you passed your most recent re-cert exam.\nIf you don\u0026rsquo;t pass a written exam during the two-year period, your status goes to \u0026ldquo;Suspended.\u0026rdquo; You then have another 12 months to pass the exam, or you completely lose your CCIE status.\nMy renewal date was last September. I didn\u0026rsquo;t pass the exam until March this year. Sadly that means I need to pass the exam again by September 2018. Only 18 months away. Sigh.\nWhy Bother? Every time I go through renewal I go through the grief stages, before I finally accept that I should just get on with it, knuckle down, and sit the damn exam. My employer doesn\u0026rsquo;t really care if I\u0026rsquo;m an active CCIE or not. They don\u0026rsquo;t pay for it, and there\u0026rsquo;s plenty of other things I would rather spend $450USD on. Yes, that\u0026rsquo;s right: Cisco put the price up, and it\u0026rsquo;s now $450USD to sit the exam.\nIt has limited relevance to my dayjob, and in many ways, limited relevance to the future.\nLast year, we saw many people talking about the exam being very poor quality, wth ridiculous questions, spelling \u0026amp; grammar mistakes, etc.\nBut\u0026hellip;I put a lot of effort and personal $$ into passing in the first place, and human nature won\u0026rsquo;t let me give that up. Not yet anyway. So once more, around we go.\nMinor Blueprint Updates The current version is 400-101, v5.1. This is an incremental update to the v5.0 version I last sat.\nThe main change the addition of \u0026ldquo;Evolving Technologies\u0026rdquo;:\nAn Evolving Technologies section is included in the Written exam only. It will enable candidates to bridge their core technology expertise with knowledge of the evolving technologies that are being adopted at an accelerated pace, such as cloud, IoT, and network programmability.\nIt has been recalibrated and will consist of three subdomains and a total of five tasks for which the expected depth of knowledge will be focused on conceptual comprehension. The Evolving Technologies section will account for 10 percent of the total score while the remaining core technologies will account for 90 percent.\n(emphasis added)\nThe key point is that the written exam does not go into detail on those new topics. It\u0026rsquo;s high-level only.\nPreparation I took a slightly different approach this time. Previously I had used the Cisco Press book \u0026ldquo;CCIE Routing \u0026amp; Switching v5.0 Official Cert Guide,\u0026rdquo; Volume 1 and Volume 2. I have a Safari Books subscription, so didn\u0026rsquo;t have to directly buy the books (or lug them around).\nI wasn\u0026rsquo;t that happy with the quality and depth of those books. So I revived my old CCIE flashcards, and signed up for \u0026ldquo;CCIE in 8 Weeks\u0026rdquo;. Ignore the silly name. They publish a set of study notes, which are frequently updated, and track much closer to the current blueprint. I used that set of notes to give my study some structure. I worked through that, updating my flashcards as required.\nThe other key point is that whenever I came across something that I didn\u0026rsquo;t feel comfortable with, I followed the links to Cisco docs, and read through the details.\nWhen you sign up for the \u0026ldquo;CCIE in 8 Weeks\u0026rdquo; program, you get 3 months of access to updates, and online practice questions. I spent some time with these practice questions near the end of my study.\nI did a few very small IOU labs for some things where I didn\u0026rsquo;t trust the documentation, but did very little actual labbing.\nExam Impressions I\u0026rsquo;m pleased to report that the quality issues have been resolved. I only noticed one or two minor quality issues, no more than any typical vendor certification exam.\nI did not feel overwhelmed by trivia questions. The question set generally seemed reasonable, with nothing too crazy. I wouldnt say it was easy, but it felt like \u0026lsquo;good\u0026rsquo; sorts of questions, without being drowned in bullshit around IPv6 tunneling techniques that no-one cares about.\nThe \u0026ldquo;Evolving Technologies\u0026rdquo; questions didn\u0026rsquo;t trouble me at all. All fairly high-level, and all on topics that frankly, you should know about. If you\u0026rsquo;re not familiar with basics of things like Cloud services, and Network programmability tools, you\u0026rsquo;re doing yourself a disservice.\nWill I Renew Again? Probably. Life might get in the way, but I think I\u0026rsquo;ll go through at least one more renewal cycle. I have to pass the exam another 2 or 3 times. I definitely won\u0026rsquo;t drag out my renewal next time though, since this one turned out to be not as bad as feared.\nI have been letting other certifications go. RHCE, VCP, CCDP, CCSE are all expired. Only CCIE \u0026amp; CISSP are still valid\u0026hellip;and CISSP might be the next to go\u0026hellip;\n","permalink":"https://lkhill.com/ccie-renewed-again-exam-400-101-v5-1/","summary":"\u003cp\u003eIt came around again: CCIE renewal. \u003ca href=\"/ccie-renewed-exam-400-101/\"\u003eLast time I renewed\u003c/a\u003e, I wasn\u0026rsquo;t sure if I should do it again. But I gave in, passed the \u003ca href=\"http://www.cisco.com/c/en/us/training-events/training-certifications/exams/current-list/ccie-routing-switching.html\"\u003eCCIE R\u0026amp;S Written Exam\u003c/a\u003e, and moved one step closer to \u003ca href=\"http://www.cisco.com/c/en/us/training-events/training-certifications/certifications/expert/ccie-program/emeritus.html\"\u003eEmeritus\u003c/a\u003e. Turns out it wasn\u0026rsquo;t that bad, and I should not have put it off for so long.\u003c/p\u003e","title":"CCIE Renewed Again - Exam 400-101 v5.1"},{"content":"Using proper formatting can make it much easier to read code and log samples. Yet so many people don\u0026rsquo;t bother putting proper formatting around blocks of text. Take some time to learn how to format text in common applications and forums, and make things easier for those trying to help you.\nWhat\u0026rsquo;s easier to read? This?\nversion: \u0026lsquo;2.0\u0026rsquo;\nexamples.mistral-yaql-st2kv-user-scope:\nvars:\npolo: unspecified\ntasks:\ntask1:\naction: std.noop\npublish:\npolo: \u0026lt; st2kv(\u0026lsquo;marco\u0026rsquo;) %\u0026gt;\non-complete:\n- fail: \u0026lt; $.polo != polo %\u0026gt;\nOr this?\n1 2 3 4 5 6 7 8 9 10 11 12 version: \u0026#39;2.0\u0026#39; examples.mistral-yaql-st2kv-user-scope: vars: polo: unspecified tasks: task1: action: std.noop publish: polo: \u0026lt;% st2kv(\u0026#39;marco\u0026#39;) %\u0026gt; on-complete: - fail: \u0026lt;% $.polo != polo %\u0026gt; Which one is easier to read? Which one lets you parse key information faster? Which one clearly shows file formatting and indentation? Obvious, right?\nYet far too often, I see people paste unformatted text into Slack, GitHub comments, and web forums. They dump huge blocks of unformatted, difficult to read code and logs. Even after repeated prompts to use proper formatting, they just dump big blocks of text.\nThe good thing is that it\u0026rsquo;s not that hard to change the display formatting. Many applications contain shortcuts to make this easy. It\u0026rsquo;s worth your time learning a few of the tips and tricks.\nSlack \u0026amp; GitHub Both Slack and GitHub use a form of Markdown to make it easy to quickly add formatting to text. The syntax varies slightly, but common things include:\nPut \u0026lsquo;_\u0026rsquo; around text to italicize it. Slack: Put asterisks \u0026lsquo;*\u0026rsquo; around text to make it bold. GitHub: Put double-asterisks around text to make it bold. In-line fixed-width: Want to mention a command? Put backquotes around the command and it will be in fixed-width. Blocks of fixed-width output, e.g. from a shell session - Put 3 x backquotes at the start, and 3 at the end. 1 2 3 4 5 6 7 8 9 ~ lhill$ snmpwalk 10.26.7.224 system SNMPv2-MIB::sysDescr.0 = STRING: Brocade VDX Switch, BR-VDX6740, Network Operating System Software Version 7.1.0. SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.1588.3.3.1.131 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (522793200) 60 days, 12:12:12.00 SNMPv2-MIB::sysContact.0 = STRING: Field Support. SNMPv2-MIB::sysName.0 = STRING: LEAF2 SNMPv2-MIB::sysLocation.0 = STRING: TME lab SNMPv2-MIB::sysServices.0 = INTEGER: 79 ~ lhill$ Those options work well for inline highlighting, or small blocks of fixed-width output. But when you\u0026rsquo;ve got larger blocks of code or logs, you should use GitHub gists, or Slack Snippets. These let you paste large blocks of code or logs, and choose the appropriate syntax highlighting. Slack will automatically collapse the text, rather than filling up everyone\u0026rsquo;s screen. If you post your code/logs into a GitHub gist, then paste the link into a Slack window, it will auto-detect it as a Gist, and offer to import it for you. Neat! Wordpress has a similar option.\nThis code here is included just by adding a link to the Gist:\nMore reading\nSlack: Format your messages GitHub: Mastering Markdown Why Does it Matter? This is not just about making things look prettier. That\u0026rsquo;s just a side-effect. By adding formatting, you\u0026rsquo;re making it more readable. Make it more readable, and you\u0026rsquo;re reducing cognitive load for other people reading the code, who are trying to help you. Make things easier for them, and they\u0026rsquo;re more likely to help you.\nIt can help you too: Fixed-width formatting can highlight indentation or layout issues. Syntax highlighting can quickly identify simple errors with missing braces. There\u0026rsquo;s a reason that many developers use editors that offer syntax highlighting.\nDo Us All a Favor Learn some basic formatting tricks for Slack \u0026amp; GitHub, and whatever other forum you\u0026rsquo;re posting content to. Reduce friction for those trying to help you. It\u0026rsquo;s easy, and it makes a big difference. No excuses.\n","permalink":"https://lkhill.com/formatting-matters/","summary":"\u003cp\u003eUsing proper formatting can make it much easier to read code and log samples. Yet so many people don\u0026rsquo;t bother putting proper formatting around blocks of text. Take some time to learn how to format text in common applications and forums, and make things easier for those trying to help you.\u003c/p\u003e","title":"Formatting Matters"},{"content":"We have news at last: Extreme Networks is acquiring Brocade\u0026rsquo;s Data Center Networking business. This includes the SLX, VDX and MLXe routing and switching product lines, Network Visibility and Analytics products, and most importantly, my team: StackStorm.\nExtreme Networks has been around a long time - they were founded in 1996, the same year as Foundry, which was acquired by Brocade in 2008, and became my business unit. They\u0026rsquo;ve had ups and downs over the years, but business is going well right now. Their share price is up, and they have been on an acquisition spree recently, acquiring Zebra Wireless, and 3 weeks ago announcing their intention to acquire Avaya Networking.\nThis gives them all the pieces to provide end-to-end IP networking solutions, and gives them scale to compete.\nThe deal is expected to close 60 days after Broadcom completes its acquisition of Brocade, which is scheduled to happen by July 30. Until then we will continue to operate as separate businesses. We don\u0026rsquo;t know exactly what it will mean for my team, but given that network automation was explicitly mentioned in investor call, we should find a good home.\nThe legal nature of the company means that it should be possible for me to transfer my L-1 visa. Hopefully we\u0026rsquo;ll find out for certain soon, which removes at least some of the uncertainty about my future.\nI am constrained in what I will be able to say about our future until the deal closes, but today things are looking positive. Here\u0026rsquo;s hoping that it stays that way, and let\u0026rsquo;s not forget my colleagues in Brocade\u0026rsquo;s Software Business Unit: we all hope they find a good home soon too.\n","permalink":"https://lkhill.com/news-at-last-its-extreme/","summary":"\u003cp\u003eWe have news at last: \u003ca href=\"https://www.extremenetworks.com\"\u003eExtreme Networks\u003c/a\u003e is \u003ca href=\"http://newsroom.brocade.com/manual-releases/2017/extreme-networks-to-acquire-brocade%E2%80%99s-data-center#.WOAdLI6jmRs\"\u003eacquiring Brocade\u0026rsquo;s Data Center Networking business\u003c/a\u003e. This includes the SLX, VDX and MLXe routing and switching product lines, \u003ca href=\"http://www.brocade.com/en/products-services/envision-fabric-network-visibility-analytics.html\"\u003eNetwork Visibility and Analytics\u003c/a\u003e products, and most importantly, my team: \u003ca href=\"https://www.stackstorm.com\"\u003eStackStorm\u003c/a\u003e.\u003c/p\u003e","title":"News at Last: It's Extreme"},{"content":"Dress codes are funny things. Everyone in Silicon Valley likes to make out they are super-relaxed, and you can wear whatever you like. \u0026ldquo;We don\u0026rsquo;t have a dress code.\u0026rdquo; But that\u0026rsquo;s not really true. There are still rules about what you can wear. People who say \u0026ldquo;we don\u0026rsquo;t care what you wear\u0026rdquo; very much do care if you wear the wrong thing.\nHere\u0026rsquo;s some examples of dress codes from well-known Bay Area tech companies:\nFrom Google:\nWhat to wear: For most of our interviews, the dress code is casual, but your recruiter will let you know what’s most appropriate. When in doubt, be yourself and wear what makes you comfortable.\nFrom Twitter:\nWhat should I wear to my interview?\nWe have a very relaxed, welcoming, and fun environment. While we don’t have a strict dress code, we also wouldn’t recommend pajamas. Come comfortable\u0026hellip;\nAt Facebook:\nWhat is Facebook\u0026rsquo;s dress code? There isn\u0026rsquo;t one. Wear what you are comfortable in.\nWhen I started work, I wore a suit every day. That changed over the years, based upon where I was working, and broader industry trends. These days it\u0026rsquo;s dress shirts, trousers, and nice shoes. I like to mix the shirts up a bit - it\u0026rsquo;s unusual to see me in a traditional business blue or white shirt. More likely to be a combination of patterns, colours and styles. Definitely not branded shirts, or polo shirts.\nThis works pretty well across a range of business environments, but it\u0026rsquo;s a step up on the typical attire in the Bay Area. And here\u0026rsquo;s the funny thing: In a world of \u0026rsquo;no dress code\u0026rsquo;, people sometimes struggle with that. The public message is that they don\u0026rsquo;t care what you wear, but if you turn up to an interview at those companies in a suit, they will form a negative opinion of you. \u0026ldquo;It doesn\u0026rsquo;t matter what you wear!\u0026hellip;as long as you dress like us.\u0026rdquo;\nPeople will make assumptions that I\u0026rsquo;m the sales guy, or they might think I\u0026rsquo;m off to an interview, or they find it vaguely threatening. Sometimes people will say \u0026ldquo;you should be in t-shirt and jeans\u0026rdquo;..but hey, no dress code, right?\nIt\u0026rsquo;s not that big a deal, and mostly I wear whatever I like\u0026hellip;but it is funny how \u0026ldquo;no dress code\u0026rdquo; doesn\u0026rsquo;t really mean that.\nJust a random observation.\n","permalink":"https://lkhill.com/no-dress-code-ahahahahaha/","summary":"\u003cp\u003eDress codes are funny things. Everyone in Silicon Valley likes to make out they are super-relaxed, and you can wear whatever you like. \u0026ldquo;We don\u0026rsquo;t have a dress code.\u0026rdquo; But that\u0026rsquo;s not really true. There are still rules about what you can wear. People who say \u0026ldquo;we don\u0026rsquo;t care what you wear\u0026rdquo; very much do care if you wear the \u003cem\u003ewrong\u003c/em\u003e thing.\u003c/p\u003e","title":"No Dress Code? AHAHAHAHAHA"},{"content":"This blog has been quiet since my last post in November 2016, covering the announcement that Broadcom is acquiring Brocade, and selling off my part of the business. That was over four months ago, and many of you will be wondering what\u0026rsquo;s happening. Unfortunately I have no real news: we still don\u0026rsquo;t know what\u0026rsquo;s happening.\nUpdate: We now have news: It\u0026rsquo;s Extreme Networks\nOriginally we were unsure if the IP business would be sold in whole, or broken into parts. We can now see that it is being broken into parts: Arris is acquiring the Ruckus Wireless and ICX Switch business unit. That does not include my part of the business.\nBroadcom is continuing to seek buyers for my business unit (Data Center IP, covering SLX, MLX and VDX product families, and of course StackStorm). They are also looking for buyers for the Software Business Unit (vRouter, SDN Controller, and vADC). There are no published timetables for when this process will be complete: it will be done when it\u0026rsquo;s done.\nThis means that I still don\u0026rsquo;t know what\u0026rsquo;s going to happen to me. My visa is tied to my employer. A change in employer could mean I have to leave the United States. This is making it somewhat tricky to plan for the future. We\u0026rsquo;re all hoping for a resolution soon - I\u0026rsquo;ll be sure to post something here as soon as we know what\u0026rsquo;s happening.\n","permalink":"https://lkhill.com/brocade-update-no-update/","summary":"\u003cp\u003eThis blog has been quiet since my last post in November 2016, covering the announcement that \u003ca href=\"/brocadecom/\"\u003eBroadcom is acquiring Brocade\u003c/a\u003e, and selling off my part of the business. That was over four months ago, and many of you will be wondering what\u0026rsquo;s happening. Unfortunately I have no real news: we still don\u0026rsquo;t know what\u0026rsquo;s happening.\u003c/p\u003e","title":"Brocade Update: No Update"},{"content":"The news is public: Broadcom is acquiring Brocade, my employer. Official announcement here, and some (unofficial) commentary here. What\u0026rsquo;s happening, and what does it mean for me? There\u0026rsquo;s limits to what I can say - either because I don\u0026rsquo;t have the answers, or because it\u0026rsquo;s not public. But here\u0026rsquo;s a little bit of info for readers wondering what will happen to me.\nUpdate: We now have news: It\u0026rsquo;s Extreme Networks\nWhat\u0026rsquo;s Happening? Broadcom has announced its intention to acquire Brocade for approximately $5.5 billion:\nThis morning we announced a definitive agreement under which Broadcom will acquire Brocade. Broadcom believes the SAN business is a strong complement to its portfolio of enterprise storage and networking solutions, and its intention is to continue to deliver the market-leading storage networking solutions and innovation for which Brocade is so well known.\nWhen will this happen?\nClosing of the transaction is presently expected in the second half of Broadcom’s fiscal year 2017, which ends in October 2017, and is subject to regulatory approvals in various jurisdictions, customary closing conditions as well as the approval of Brocade’s stockholders.\nWhat about the IP business? This is the tricky bit. Broadcom is well-known as a maker of \u0026ldquo;merchant silicon,\u0026rdquo; used by many networking companies. Their Trident and Jericho chipset families are widely used in high-performance switches, e.g. Brocade\u0026rsquo;s new SLX 9850. If Broadcom retains Brocade\u0026rsquo;s IP Networking business, it will clash with their other customers. So:\n\u0026hellip;due to competitive overlap with some of Broadcom’s most important customers, Broadcom will seek a buyer for the business.\nOK, when will that happen? Lloyd Carney said this at the all-hands meeting:\nWhen will the transaction of IP business [happen], before or after it closes? For us the best thing would be sooner rather than later. If we could ascertain what that is tomorrow, announce to the world tomorrow and get it transacted the day after that, that’s what I’d want to do.\nOK, what does that mean for Lindsay? I am a Product Manager for Brocade Workflow Composer, based upon StackStorm. That is in the DCIP Business Unit, part of the IP Networking business. So my part of the company will be sold. No announcements have been made as to who will buy the IP Networking business.\nWhat does it mean for me right now? Nothing. Our roadmap hasn\u0026rsquo;t changed, we\u0026rsquo;re still releasing products (watch for StackStorm 2.1 real soon now). I can assure you, my to-do list is longer than ever. I think I took one thing off my list, but added 10.\nDidn\u0026rsquo;t you just move to the US? Yes, yes I did. I moved from New Zealand to San Francisco about 3 months ago.\nDoes that complicate things? Yes, yes it does, because my employer sponsored my visa.\nAnyone who has dealt with the US immigration system knows that it is\u0026hellip;complicated. My visa is tied to my employer. In certain circumstances, that visa can be transferred to a new employer. In other circumstances, it can\u0026rsquo;t. In my case, it depends upon the nature of the transaction, and the legal structure of the acquiring entity. Like I said, it\u0026rsquo;s complicated.\nUntil a buyer is announced, I won\u0026rsquo;t know if I can stay here. Even then, it will probably take a few more weeks after that before I can get confirmation if I can stay.\nOh well. Que sera, sera.\nBest-case scenario, we end up at a great home, and we continue doing cool work on on network automation. Worst-case scenario, maybe I\u0026rsquo;ll get to do that trans-America bike ride a year or two sooner than planned?\n","permalink":"https://lkhill.com/brocadecom/","summary":"\u003cp\u003eThe news is public: Broadcom is acquiring Brocade, my employer. Official announcement \u003ca href=\"https://community.brocade.com/t5/Wingspan/Broadcom-to-Acquire-Brocade/ba-p/89520\"\u003ehere\u003c/a\u003e, and some (unofficial) commentary \u003ca href=\"http://packetpushers.net/3-possible-outcomes-brocades-ip-networking-business/\"\u003ehere\u003c/a\u003e. What\u0026rsquo;s happening, and what does it mean for me? There\u0026rsquo;s limits to what I can say - either because I don\u0026rsquo;t have the answers, or because it\u0026rsquo;s not public. But here\u0026rsquo;s a little bit of info for readers wondering what will happen to me.\u003c/p\u003e","title":"Brocadecom"},{"content":"SNMP was not designed with VRFs in mind. Querying the routing table via SNMP did not take into account the idea of having multiple routing tables. But clearly it’s something people want to do, so some clever engineers figured out how to shoe-horn VRF contexts in. This week a customer asked me how to query the routing table for the non-default VRF on Brocade VDX switches. Here’s how to do it:\nVRF Configuration Warning: I’m using a Brocade 6940 running NOS 7.0.1 here. Note that SNMP configuration changed around NOS 6.x, so if you’re running something older this may work differently. For this lab I have Loopback 1 in the default VRF, with an IP of 50.50.50.50/32. I’ve created another VRF called “internet”, and put Loopback 2 in that VRF, with IP 60.60.60.60/32. Now I have two different routing tables:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 VDX6940-204063# sh run rb 1 int loop 1 rbridge-id 1 interface Loopback 1 no shutdown ip address 50.50.50.50/32 ! ! VDX6940-204063# sh ip route Total number of IP routes: 1 Type Codes - B:BGP D:Connected O:OSPF S:Static U:Unnumbered +:Leaked route; Cost - Dist/Metric BGP Codes - i:iBGP e:eBGP OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link Destination Gateway Port Cost Type Uptime 50.50.50.50/32 DIRECT Lo 1 0/0 D 1d1h VDX6940-204063# show running-config rbridge-id 1 vrf internet rbridge-id 1 vrf internet rd 65500:100 address-family ipv4 unicast ! ! ! VDX6940-204063# show running-config rb 1 int loop 2 rbridge-id 1 interface Loopback 2 no shutdown vrf forwarding internet ip address 60.60.60.60/32 ! ! VDX6940-204063# sh ip route vrf internet Total number of IP routes: 1 Type Codes - B:BGP D:Connected O:OSPF S:Static U:Unnumbered +:Leaked route; Cost - Dist/Metric BGP Codes - i:iBGP e:eBGP OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link Destination Gateway Port Cost Type Uptime 60.60.60.60/32 DIRECT Lo 2 0/0 D 13m16s Default SNMP Configuration Basic SNMP configuration looks like this:\n1 2 3 4 snmp-server community public groupname user snmp-server view All 1 included snmp-server group user v1 read All write All notify All snmp-server group user v2c read All write All notify All If we poll the inetCidrRouteTable OID (1.3.6.1.2.1.4.24.7), we can see results for the default VRF:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ~ lhill$ snmpwalk -v 2c -c public 10.254.4.149 1.3.6.1.2.1.4.24.7 IP-MIB::ip.24.7.1.7.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 1476395009 IP-MIB::ip.24.7.1.7.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.7.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.8.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 3 IP-MIB::ip.24.7.1.8.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 4 IP-MIB::ip.24.7.1.8.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 4 IP-MIB::ip.24.7.1.9.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 2 IP-MIB::ip.24.7.1.9.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 1 IP-MIB::ip.24.7.1.9.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 1 IP-MIB::ip.24.7.1.10.1.4.50.50.50.50.32.2.0.0.0.0 = Gauge32: 93453 IP-MIB::ip.24.7.1.10.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = Gauge32: 8020667 IP-MIB::ip.24.7.1.10.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = Gauge32: 8020667 IP-MIB::ip.24.7.1.11.1.4.50.50.50.50.32.2.0.0.0.0 = Gauge32: 0 IP-MIB::ip.24.7.1.11.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = Gauge32: 0 IP-MIB::ip.24.7.1.11.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = Gauge32: 0 IP-MIB::ip.24.7.1.12.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.12.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.12.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.13.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.13.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.13.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.14.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.14.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.14.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.15.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.15.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.15.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.16.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.16.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.16.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.17.1.4.50.50.50.50.32.2.0.0.0.0 = INTEGER: 1 IP-MIB::ip.24.7.1.17.2.16.254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.0.10.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 1 IP-MIB::ip.24.7.1.17.2.16.255.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.2.0.0.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 = INTEGER: 1 ~ lhill$ VRF-Aware SNMP OK, so how do we poll the ‘internet’ VRF routing table?\nWe need to configure multiple SNMP server context to VRF mapping. Here’s a minimal configuration (added to our earlier config):\n1 2 3 4 5 snmp-server community internet groupname user snmp-server context internetcontext vrf-name internet ! snmp-server mib community-map internet context internetcontext Now we can poll our switch using the community string internet, and we’ll get results for that VRF:\n1 2 3 4 5 6 7 8 9 10 11 12 13 lhill$ snmpwalk –v2c -c internet 10.254.4.149 1.3.6.1.2.1.4.24.7 IP-MIB::ip.24.7.1.7.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 1476395010 IP-MIB::ip.24.7.1.8.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 3 IP-MIB::ip.24.7.1.9.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 2 IP-MIB::ip.24.7.1.10.1.4.60.60.60.60.32.2.0.0.0.0 = Gauge32: 422 IP-MIB::ip.24.7.1.11.1.4.60.60.60.60.32.2.0.0.0.0 = Gauge32: 0 IP-MIB::ip.24.7.1.12.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.13.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 0 IP-MIB::ip.24.7.1.14.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.15.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.16.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: -1 IP-MIB::ip.24.7.1.17.1.4.60.60.60.60.32.2.0.0.0.0 = INTEGER: 1 lhill$ Easy as that.\n","permalink":"https://lkhill.com/vrf-aware-snmp-on-brocade-vdx/","summary":"\u003cp\u003eSNMP was not designed with VRFs in mind. Querying the routing table via SNMP did not take into account the idea of having multiple routing tables. But clearly it’s something people want to do, so some clever engineers figured out how to shoe-horn VRF contexts in. This week a customer asked me how to query the routing table for the non-default VRF on Brocade VDX switches. Here’s how to do it:\u003c/p\u003e","title":"VRF-Aware SNMP on Brocade VDX"},{"content":"Experienced travelers will already know this, but it bears repeating: Don\u0026rsquo;t trust your hotel to perform currency conversions for credit card transactions. They will rip you off. Leave it to the credit card company.\nA few months ago I stayed at a Sheraton hotel in Australia. They swiped my credit card when I checked in, and on check out they asked if I wished to pay with that same card. I did, so I didn\u0026rsquo;t need to swipe my card again. They sent me an invoice for approximately $265 AUD.\nA few weeks later I was processing my expenses, and I realised I\u0026rsquo;d been charged over $300 NZD. With the exchange rate at the time, it should have been about $275. Looking closer, I realised that they had charged me in New Zealand dollars. They should have charged me in Australian dollars, and let my credit card company sort out the exchange rate.\nWhat\u0026rsquo;s going on? Some hotels offer you a choice of currency when paying your bill. This should be an option when you enter your PIN. Do not take this option. It is almost never a good idea. Your credit card company will charge you a fee for currency conversion (1.85% for my New Zealand credit cards, 3% for my US credit cards). But here, the hotel applied a much higher fee, making it cost about 10% more than it should have.\nWhat\u0026rsquo;s worse is that they didn\u0026rsquo;t even give me the option, and it was not reflected on my invoice - which means I can\u0026rsquo;t claim those costs as business expenses, and I\u0026rsquo;m out of pocket. I was furious when I realised what they\u0026rsquo;d done. I rung them up, and they agreed to refund me the NZD amount, and charge me in Australian dollars, so that I would pay normal currency conversion charges.\nOther hotels are more upfront about it: when I stayed at the Hilton in Sydney, they offered to charge me in New Zealand dollars, but they clearly spelled out the conversion charges. These were more than my credit card charges, and so there was no reason to use their service, but at least they were clear about the costs.\nMoral of the story: Don\u0026rsquo;t get tricked into paying extra for services you don\u0026rsquo;t need.\n","permalink":"https://lkhill.com/dont-trust-hotel-currency-conversion/","summary":"\u003cp\u003eExperienced travelers will already know this, but it bears repeating: Don\u0026rsquo;t trust your hotel to perform currency conversions for credit card transactions. They will rip you off. Leave it to the credit card company.\u003c/p\u003e","title":"Don't Trust Hotel Currency Conversion"},{"content":"Sky UK recently completed their rollout of IPv6. The uptake statistics are quite remarkable. If you think that people don\u0026rsquo;t have IPv6-capable devices, or that their home routers can\u0026rsquo;t handle IPv6\u0026hellip;you really need to look at the data, and re-think your opinion.\nAPNIC has a long-running program collecting data on IPv6 client capability/preference by country and ASN. This graph shows the data for Great Britain:\nSo a year ago we had ~5% takeup, and now it\u0026rsquo;s 20-25%. And here\u0026rsquo;s the reason for that big jump from April this year - this graph shows the data for AS5607, BSkyB:\nSo \u0026gt; 80% of clients on the BSkyB network are IPv6-capable.\nIf someone tells you that people don\u0026rsquo;t have IPv6-capable devices, or routers: the data does not back that up. A few years ago that may have been true, but people don\u0026rsquo;t access the Internet using Windows XP desktops anymore: They use iOS and Android mobile devices. These have short replacement lifecycles, so people tend to be running newer versions. These are capable of using IPv6, and will prefer it if it is available.\nThe other related trend is that people have more wireless devices at home, and they have faster connections to the Internet than they used to. When people had 1 or 2 devices using a 10Mbps ADSL link, their local wireless performance didn\u0026rsquo;t matter much.\nNow they have \u0026gt; 10 devices, and \u0026gt; 100Mbps links. This created demand to upgrade home routers. ISPs offer better devices for \u0026lsquo;free\u0026rsquo;, and people are buying their own. These newer devices support IPv6. As ISPs start enabling IPv6 at their edge, everything else is in place.\nWhy does it matter? You could still look at the overall uptake (global peak ~13% of Google users) and say \u0026ldquo;meh, doesn\u0026rsquo;t matter to me.\u0026rdquo;\nOr you could look at the country and user-specific stats - e.g. \u0026gt; 50% of mobile users in the US use IPv6. If you\u0026rsquo;re designing an application that targets those user bases, it makes sense to use IPv6 where possible, and translate to IPv4 at the edge. That way you\u0026rsquo;ll be doing less protocol translation than going the other way.\nOf course, if your target user base is on-site users of Oracle ERP systems\u0026hellip;well, who cares? Enterprise is lagging further behind in technology.\n","permalink":"https://lkhill.com/when-the-ipv6-data-changes-so-should-your-opinion/","summary":"\u003cp\u003eSky UK recently \u003ca href=\"https://corporate.sky.com/media-centre/news-page/2016/sky-completes-roll-out-of-ipv6-becoming-the-first-major-uk-internet-provider-to-future-proof-its-service-for-customers\"\u003ecompleted their rollout\u003c/a\u003e of IPv6. The uptake statistics are quite remarkable. If you think that people don\u0026rsquo;t have IPv6-capable devices, or that their home routers can\u0026rsquo;t handle IPv6\u0026hellip;you really need to look at the data, and re-think your opinion.\u003c/p\u003e","title":"When the IPv6 Data Changes, so Should Your Opinion"},{"content":"If you are still using HPE Software, you should actively plan to migrate away. The recent divestiture does not look good to me - I think existing customers are going to get soaked. Plan your migration now.\nI’ve said it before, that I retain a soft spot for Hewlett-Packard. They gave me my first professional job out of university. I served my sentence doing HP OpenView consulting, and HP-UX Administration, but still: it got me started. Once you have some professional experience, it’s much easier to move to the next role.\nIt saddens me to watch HP’s ongoing struggles. It’s sad to watch a big ship get broken up for parts. But things had to change. They need to do something to adapt to the realities of modern IT demands.\nThere was one line in the recent announcement about divesting HPE’s software assets that stood out to me:\nMicro Focus expects to improve the margin on HPE\u0026rsquo;s software assets by approximately 20 percentage points by the end of the third full financial year following the closing of the transaction\nPress Release\n(Emphasis added).\nIt has been clear for a while that HP Software was no longer a core asset for HPE. It was clear that it was not adapting, and was being starved for investment. Revenues have seen decline. Smart customers have seen this coming, and have been actively migrating away from HPE Software.\nBut if you’re still using it, you should pay attention to that press release. How do you think Micro Focus plans to improve margins by 20 percentage points? That\u0026rsquo;s a lot of margin. You’ve got three options:\nIncrease sales. Software development has high fixed costs, so margin improves with additional sales. Increase prices, collecting more money from existing customers. Reduce investment, spending less to improve margins, and hope customers don’t notice. This is a mature business. They will have a low percentage of new customers. Most revenue will be coming from existing customers. It is not a growth market. So what’s left? Raise prices, and reduce investment.\nIf you’re an existing customer, expect to see more license audits, and higher renewal quotes. Expect to see feature stagnation.\nIt won’t happen straight away, but it will happen. If you’re still delaying that migration, time to get a move on.\n","permalink":"https://lkhill.com/time-to-move-away-from-hpe-software/","summary":"\u003cp\u003eIf you are still using HPE Software, you should actively plan to migrate away. The recent divestiture does not look good to me - I think existing customers are going to get soaked. Plan your migration now.\u003c/p\u003e","title":"Time to move away from HPE Software"},{"content":"Stop using legacy mobile audio, especially for conference calls. There are better alternatives. You’re doing your customers and colleagues a disservice by using mobile audio. It’s time we moved on. PSTN is not much better either - switch to VoIP, and give your ears a break from crappy audio connections.\nRefresher: Audio Quality Standards There are many different methods of encoding speech for transmission across networks. There are trade-offs with each, balancing bandwidth, voice quality, and endpoint requirements. The interesting point is that there is not a direct relationship between bandwidth and quality. Half the bandwidth does not have to mean half the quality.\nThe Mean opinion score test provides a way of ‘scoring’ the quality of a call. 1 is Bad, 5 is Excellent. G.711 encoding has a score of 4.1, which is very good quality, but uses 64kbps per call. GSM has a score of 3.5, which is the minimum acceptable level…but it only uses 12.2kbps. Pretty good tradeoff if you’re in a bandwidth-constrained environment.\nBut we’re no longer constrained by bandwidth. We don’t need to squeeze that audio call down to only a few kbps. We can use other options such as FaceTime, which anecdotally has a higher score than G.711 or G.722. We have better options, and we should use them.\nWhy does it matter? I have a congenital hearing loss. I’m not the only one - it affects 1.1 billion people to some degree. I’m already working hard to understand you. That GSM call with a score of 3.5 is maybe OK for those without hearing loss, but it’s like a 2.5 for me.\nAny additional barriers make it extra difficult for me. I also spend a large part of my day on the phone. If the audio quality is poor, I need to turn up the volume to attempt to understand you. Result: ringing ears, or worse: I give up. Raise the required concentration level too high, and I won’t bother. I’ll drift off. It’s hard enough to deal with the many different accents we encounter every day. Add poor quality audio, and I’m not paying attention to you.\nGive me the best quality audio you can, and I might pay attention.\nThis isn’t just about people with hearing loss either. Anyone who has to spend a lot of time on the phone will benefit from better audio quality. It’s like civilised countries using clear distinguishing features on their currency: people with limited eyesight really need it, but we all benefit.\nConferencing systems \u0026amp; clients All modern conferencing systems support VoIP, and have iOS and Android clients. There is no excuse for (A) Not allowing VoIP with your conferencing system, or (B) Dialling in use mobile/PSTN. I have a proper audio setup, but if you dial in to a conference call, I get lowered to your level. I understand that you might not be in the office - that’s OK: Use the client on your phone.\nNote: There’s a special place in hell reserved for those companies that do not enable VoIP with WebEx. very large Silicon Valley companies fall into this bucket. This is a disgrace. You should be ashamed of yourself, trying to save a few pennies by forcing people to dial in. It is 2016, you have vast campuses in Palo Alto, and while your long-term outlook may not be rosy, I know you’re not losing money right now. No VoIP option? Don’t invite me Please don’t invite me to meetings where your system doesn’t support VoIP, or you’re planning on dialling into an audio bridge using a mobile phone. Get a headset, and get a proper Internet connection. Fix your WebEX configuration if you don’t allow VoIP.\nI’m sure your product is great, but if I get a headache trying to hear you, I’m not interested.\nMore Info on Helping Hard-of-Hearing People It\u0026rsquo;s not just about conference calls. There\u0026rsquo;s a lot of things you can do to homes and offices to make things easier for people with hearing loss. The good news? Like curb cuts, these things also help people with \u0026rsquo;normal\u0026rsquo; hearing levels.\nCheck out this page for a wealth of information about modifications you can make.\n","permalink":"https://lkhill.com/stop-using-mobiles-for-conference-calls/","summary":"\u003cp\u003eStop using legacy mobile audio, especially for conference calls. There are better alternatives. You’re doing your customers and colleagues a disservice by using mobile audio. It’s time we moved on. PSTN is not much better either - switch to VoIP, and give your ears a break from crappy audio connections.\u003c/p\u003e","title":"Stop using mobiles for conference calls"},{"content":"Just a quick note to let you know that I am now based in the San Francisco Bay Area. After much preparation, and administrative hassle, everything is now sorted. My company has relocated me to the Bay Area, where I will work at the San Jose HQ.\nAnna has of course joined me. We\u0026rsquo;re living in short-term accommodation in San Francisco right now, and over the next couple of months we\u0026rsquo;ll figure out where we want to stay long-term.\nLots to do, and lots to learn. But I think it will be a good move for me professionally, and I hope that Anna enjoys it too.\nIf you live in the Bay Area, or you\u0026rsquo;re passing through, I\u0026rsquo;d love to catch up with you, once we get settled. I\u0026rsquo;m looking forward to being able to unpack my bags in about a week or so!\n","permalink":"https://lkhill.com/relocated-at-last/","summary":"\u003cp\u003eJust a quick note to let you know that I am now based in the San Francisco Bay Area. After much preparation, and administrative hassle, everything is now sorted. My company has relocated me to the Bay Area, where I will work at the San Jose HQ.\u003c/p\u003e","title":"Relocated at last"},{"content":"netmiko is a \u0026ldquo;Multi-vendor library to simplify Paramiko SSH connections to network devices,\u0026rdquo; written by Kirk Byers. It doesn\u0026rsquo;t solve all of your pain with dealing with CLI-only network devices, but it tries to at least take away the low-level hassle of setting up a connection, and handling variations with things like enable mode, line-breaks, etc.\nI\u0026rsquo;ve submitted a couple of PRs over the last few days to support Brocade ICX and MLXe devices - #235, #236 and #237. These have now been merged into the master code.\nThis has not yet had extensive testing. Please try it out, and report any issues.\nI\u0026rsquo;m currently looking at VDX support. Looks like a few oddities around detecting the prompt, and dealing with the banner. Feel free to pitch in!\n","permalink":"https://lkhill.com/netmiko-support-for-brocade-icx-and-mlxe/","summary":"\u003cp\u003enetmiko is a \u0026ldquo;Multi-vendor library to simplify Paramiko SSH connections to network devices,\u0026rdquo; written by \u003ca href=\"https://twitter.com/kirkbyers\"\u003eKirk Byers\u003c/a\u003e. It doesn\u0026rsquo;t solve all of your pain with dealing with CLI-only network devices, but it tries to at least take away the low-level hassle of setting up a connection, and handling variations with things like enable mode, line-breaks, etc.\u003c/p\u003e","title":"netmiko support for Brocade ICX and MLXe"},{"content":"It\u0026rsquo;s funny how you can work with something for years, but miss a small detail. This week I learnt about Skew Time for VRRP. The reason for it is completely obvious once you think about it, but for some reason the detail had escaped me for all these years.\nVRRP Hellos VRRP sends out a \u0026ldquo;hello\u0026rdquo; multicast every \u0026lt;hello\u0026gt; seconds. Usually this is something like every 1 or 3 seconds. Unlike HSRP, only the current master sends out hello messages. This contains the current master priority \u0026amp; status.\nThe backup devices listen out for this hello message. If they think they have a higher priority, or if they fail to hear the hello message, they will assume the role of master.\nDown Interval Changing from backup to master because of one missed hello could cause network instability. There\u0026rsquo;s a common rule used for all keepalive-type messages, where backup devices will wait for three missed polls/keepalives before declaring something \u0026lsquo;down.\u0026rsquo;\nNote: NB: HSRP is slightly different here - the holdtime can be manually specified, including to a shorter time than the hello time, if you\u0026rsquo;re feeling spectacularly stupid. VRRP is similar. It waits three poll intervals before declaring the master \u0026lsquo;down,\u0026rsquo; and attempting to take over. Simple, right? At least that\u0026rsquo;s what I always thought. Turns out there\u0026rsquo;s an additional delay called \u0026lsquo;skew time.\u0026rsquo;\nSkew Time If you run \u0026ldquo;show vrrp\u0026rdquo; on a Cisco router, you\u0026rsquo;ll see output like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 Router# show vrrp Ethernet0/1 - Group 1 State is Master Virtual IP address is 10.21.0.10 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption is enabled min delay is 0.000 sec Priority is 100 Authentication MD5, key-string, timeout 30 secs Master Router is 10.21.0.1 (local), priority is 100 Master Advertisement interval is 1.000 sec Master Down interval is 3.609 sec (Above from Cisco Docs) Note the \u0026ldquo;Master Down interval\u0026rdquo; there - it\u0026rsquo;s not 3s, but 3.609s.\nTurns out that a \u0026ldquo;skew time\u0026rdquo; is added to the down interval. Cisco devices calculate Skew time as (256-priority)/256. Brocade VDX switches take a more simplistic approach - they calculate skew time as \u0026ldquo;If priority \u0026gt; 128, then skew time = 0, otherwise skew time = 1.\u0026rdquo;\nWhy do we need skew time? I was used to working with networks with two devices - e.g. a pair of IPSO firewalls. What\u0026rsquo;s the reason for skew time if you have a pair of devices? Why do you want to insert a seemingly random delay?\nIt makes more sense when you have more than 2 devices in a VRRP group. If the current master goes offline, then you will have multiple devices attempting to assume the master role simultaneously. If you have configured priorities appropriately then it will all settle down (once the lower priority devices realise there is a higher priority device operating). But there will be some instability in the meantime - remember that only the current master sends hellos, so the backup routers don\u0026rsquo;t know if there are any other backup routers on the network. Better to add a small priority-based delay, so that it\u0026rsquo;s more likely that the next-highest priority backup device will become master.\nAll very clever. I like it when I find these small details, and realise that the protocol writers are fairly clever after all.\n","permalink":"https://lkhill.com/vrrp-skew-time-and-always-be-learning/","summary":"\u003cp\u003eIt\u0026rsquo;s funny how you can work with something for years, but miss a small detail. This week I learnt about Skew Time for VRRP. The reason for it is completely obvious once you think about it, but for some reason the detail had escaped me for all these years.\u003c/p\u003e","title":"VRRP Skew Time (and always be learning...)"},{"content":"All frequent flyers strive to the top tier of their program. Qantas Platinum, BA Gold, KrisFlyer Elite Gold, United Premier 1K. They all want that extra level of benefits, those extra upgrades.\nBut a former manager said:\nYou don\u0026rsquo;t really want to be on the top tier. You want to be on the tier just below, where you get most of the useful benefits like priority check-in, priority luggage, and lounge access. The top tier is actually a badge of shame, because it says you travel too much.\u0026quot;\nWell\u0026hellip;\nYeah. After spending the last few years at AirNZ Gold, I\u0026rsquo;ve now moved up a level to Elite. Too much travel in the last year, almost all of it in Economy. Four trips to the US, 2 trips to Europe, 2 trips to Australia, plus a few domestic trips. Too damn much.\nI don\u0026rsquo;t think I\u0026rsquo;ll be able retain it beyond this year. Will have to make the most of it for my upcoming Asia + US trips. Elite Airpoints Dollar Upgrades look like the most useful thing, since the free couple of upgrades get used up pretty quickly. If only I could also use those upgrades on trips to Europe via Asia\u0026hellip;\n","permalink":"https://lkhill.com/travel-badge-of-shame/","summary":"\u003cp\u003eAll frequent flyers strive to the top tier of their program. Qantas Platinum, BA Gold, KrisFlyer Elite Gold, United Premier 1K. They all want that extra level of benefits, those extra upgrades.\u003c/p\u003e","title":"Travel Badge of Shame"},{"content":"Google is telling us they’re serious about the cloud. They’re hiring the right people, spending the big bucks, and even (gasp!) talking to customers! (Oh how that must stick in their craw). They have great technology, they’ve proved it out at scale, and the price is right.\nThere’s just one nagging doubt in the back of our minds. Is Google serious about this? Are they going to turn around one day and say “GCP is too hard to maintain, we’re dropping it. Besides, self-driving Segways are the future.”\nFool me once… Because they have form in this. I present Exhibit A, Google Reader. Yes, that old saw. Yes, yes I am still bitter. No, I won’t let it go.\nI used Google Reader daily. I loved it. It came from a pre-Twitter, pre-Facebook time. A time when we used to have to visit a list of sites to keep up with things. We’d have to remember to check our friend’s travel blog every few weeks, just in case there was a new post. Sure, we used Slashdot as an aggregator, but everyone knows that’s been dead/dying since Rob Malda sold out to the man. (Has Netcraft has confirmed it?)\nGoogle Reader solved that problem for me, and I loved it.\nAnd Google killed it.\nApparently it was ‘too hard to maintain’ - try telling that to the very small companies that set up similar services after Google killed it.\nSo now Google’s telling us that they’re totally committed to the cloud, and we should sign up because they have the best technology. That may well be true, but here’s the thing about Reader: Technologists loved it. And guess who decides which public cloud to build services on? Technologists. And we don’t quite trust Google.\nThis isn’t just my opinion. Check out the comments on this HN thread\nGoogle seems to be facing a trust problem here that its competitors don\u0026rsquo;t, due to its history of shutting down popular services, even those that were being used internally and even those that it had been recently hyping to the press\u0026hellip;\nThat\u0026rsquo;s why I wouldn\u0026rsquo;t build a business on Google, because they have a long history of killing things when they aren\u0026rsquo;t wildly profitable/successful. A $10m/yr profit product is considered a distraction of valuable engineer time unless it has some ulterior goal for the company\u0026hellip;\nThe problem (I suffer from it as well), is that people naturally feel that the corporate offerings from Google will mirror the experience that they have with the consumer offerings from Google. And the big issue with Google\u0026rsquo;s consumer offerings is that they seem to have limited to no support and that there is a very real chance that Google will just shut them down all of a sudden\u0026hellip;\nHow many people will spend their cloud dollars on AWS or Azure over GCP because of this? I have no way of measuring it, but I’m sure it’s non-zero. All for a service that Google could have easily maintained, but they killed because they weren’t selling enough ads on it.\nYou broke our trust Google, and it takes a long time to forgive.\nWhat about Amazon? So far, Amazon has not given the impression that they will drop services they’re no longer interested in. They seem to be going the other way, adding services as fast as they can. Right now they’re more likely to replicate the functionality of popular services built on top of AWS, and make it a base AWS service. (Don’t act surprised by this, it’s a key part of their strategy. Read up on ILC for more).\nI’m sure at some point Amazon will want to retire services. If Aurora proves its worth over the long run, and provides a superset of RDS services, why keep them both running? But I get the feeling they’ll do that based on demand, and they’ll just progressively shift the pricing mix until customers move on their own.\nHow do they regain trust? We still don’t quite trust Google to not say “Nah, we’ve lost interest in GCP. We’re building a space elevator.” Even if GCP was a $5 billion dollar business, it would be dominated by their advertising revenue.\nHow will Google regain trust? There’s not much they can do but persevere, and build business the long, slow, hard way. If they can get to the point where GCP is even a third of advertising revenues, then maybe, just maybe I’ll believe they’re serious about it.\nUPDATE: I wrote this just before Google announced Yet Another Product Decommissioning\n","permalink":"https://lkhill.com/gcp-and-regaining-trust/","summary":"\u003cp\u003eGoogle is telling us they’re serious about the \u003ca href=\"https://cloud.google.com\"\u003ecloud\u003c/a\u003e. They’re hiring the \u003ca href=\"http://fortune.com/2015/11/19/google-diane-greene-cloud/\"\u003eright people\u003c/a\u003e, spending the big bucks, and even (gasp!) \u003cem\u003etalking to customers\u003c/em\u003e! (Oh how that must stick in their craw). They have great technology, they’ve proved it out at scale, and the price is right.\u003c/p\u003e","title":"GCP, and Regaining Trust"},{"content":"Ivan’s post this week was a good reminder that other parts of IT aren\u0026rsquo;t perfect either. It’s not all roses on the other side of the fence. Networking has done many good things, and often showed the way.\nConsider a conversation between a sysadmin \u0026amp; a network engineer:\nLook at how I can virtualise these systems! Now I can isolate users and consolidate hardware resources. They have no idea they’re on the same hardware. It\u0026rsquo;s incredible!\nOh. Bit like these VLANs, VRFs, and VDCs we’ve been doing for 15+ years now?\nLook at how I can use Puppet to define this server’s complete configuration using a single text file! This is amazing! I can use version control for my infrastructure!\nOh. You mean like this single text file that defines the configuration of my network device here? Yes, yes that does seem useful.\nWhy do you networking people have so many different ways of configuring systems? Why don’t you just have one common API?\nOh. You mean like the way that there’s a Universal install script Linux systems?\nSNMP sucks. The data format is terrible, implementations are inconsistent. Why don’t you switch to gRPC?\nWait, weren’t you telling me last month to use JSON? No wait, it was XML before that. But obviously it’s hopelessly outdated now. Should be using SOAP? No, that’s right, we’ve moved to REST. Ah no, CIM is the data model that’s going to rule us all! Wait, when does that one arrive? I lose track.\nNetworking’s not perfect. Don’t get me wrong. But my point is: Don’t get down about networking. Be wary of assuming the grass is always greener on the other side. Those network engineers of the past have achieved amazing things. We’ll do amazing things in the future. We just need to keep evolving.\n","permalink":"https://lkhill.com/networkings-not-so-bad/","summary":"\u003cp\u003e\u003ca href=\"http://blog.ipspace.net/2016/03/speaking-of-cli.html\"\u003eIvan’s post\u003c/a\u003e this week was a good reminder that other parts of IT aren\u0026rsquo;t perfect either. It’s not all roses on the other side of the fence. Networking has done many good things, and often showed the way.\u003c/p\u003e","title":"Networking's not so bad"},{"content":" This article is Part 11 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - This Article Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) A return to our sporadic series of networking war stories. This time it’s fun with dedicated backup networks, DNS auto-registration, and Active Directory. Thank God it’s a lot easier these days with virtualisation. But back then…\nBackups suck, but you need to do them somehow Back in the olden days we had a dedicated tape drive connected to each server. Daily/weekly backups were written to the local tape drive using a SCSI connection. Someone would walk around the servers each day and change the tapes. It was simple, and it worked, but it doesn’t scale.\nTwo things happened - server numbers started exploding, and Gigabit Ethernet became practical. That meant that it became practical to have centralised ‘backup’ servers connected to tape drives, and to stream backup data across the network. Much better scale - we only needed to install an agent on each server, and the centralised backup servers needed to have enough tapes + tape drives. This also gave us much better central control \u0026amp; visibility of our backups.\nOf course, we were worried about the impact of streaming large backup files across the network. We didn’t want that to affect production traffic, so we installed dedicated backup NICs on each server. Yes, that did increase cost, but it was still cheaper \u0026amp; easier than hundreds of tape drives.\nVery simplified, our network looked like this:\nWe put the backup server in the same subnet, so traffic was directly switched, without traversing any firewalls or routers. Note that this also meant that we didn’t need any custom routing on each server. They would keep using their default gateway for regular traffic, and use the locally connected route for backup traffic.\nUmm, what just happened to my application? Initial testing looked good. We added the backup NIC, and tested backups. Everything looked good. Traffic was routing as expected - data traffic went via the firewall, backup traffic used the local connection to switch traffic to the backup server via the backup NIC. OK, let’s start rolling it out to more systems.\nAnd…some applications start breaking. Huh? What’s going on? Applications are saying that connections are timing out. But hang on, I can RDP to that server. It’s up \u0026amp; running. Firewall rules haven’t changed. What the hell is going on?\nLooking through the logs a bit more, I notice something strange. Clients are trying to connect to 20.20.20.x addresses - ie the backup network. Of course the firewall drops that traffic. But why would a client try to connect to that network? How does it even know that network exists?\nWhat’s going on? By default, Windows systems attempt to dynamically register their hostname in DNS. This is configured on the network adapter. On IPv4 Properties, go to Advanced, DNS tab:\nThe online help explains what this option does:\nRegister this connection’s addresses in DNS specifies that the computer attempt dynamic registration of the IP addresses (through DNS) of this connection with the full computer name of this computer, as specified on the Computer Name tab (available in System in Control Panel).\nSo our problem was that when we added a secondary interface, it registered a new IP in DNS. AD DNS now had two A records for that hostname. You had a 50/50 chance of being handed out the ‘wrong’ IP address from DNS. Applications that only used IP addresses were OK, but applications using hostnames could break. It could be hard to predict, as an application could cache the results of the DNS lookup.\nGood thing we were doing our rollout in stages, and could change process before all systems were affected. New process was to ensure that we unchecked the dynamic registration option. All under control, and the rollout continued.\nOK, so how come half of all CLIENTS just went offline? All went well, until one day we started getting reports that clients were having trouble accessing resources across the network. Clients couldn’t login, or apps would time out. There was no obvious pattern - it wasn’t location-based. One person would be working fine, the person next to them would be effectively offline. Rebooting sometimes worked, sometimes it didn’t.\nThe most recent network change was to add the backup interface to an AD server. That narrowed our investigations a bit. Eventually we realised that some clients were trying to use the wrong interface of our AD server for DNS queries. But how did they learn that? We’d un-checked the dynamic registration option. But when we looked at our DNS zones, we could see multiple entries for our AD servers. Gah!\nTurns out there’s an additional step required if you’ve got a secondary NIC on your AD server. You need to configure the DNS service to not listen on the backup interface. For each zone, you also need to remove the unwanted IP from the “Name Servers” tab. See KB2023004 for more info.\nThat one was lots of fun, especially when EVERYTHING seemed to be melting!\n","permalink":"https://lkhill.com/war-stories-backup-nics-dns-and-ad/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 11\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Backup NICs, DNS and AD"},{"content":"I’ve been wondering about how we’re approaching networking change. We know we need to make things better. Are we changing the ‘right’ things? I’ve got a feeling that we’re not, but I suspect that we’re too constrained by higher-order systems.\nSimon Wardley wrote a great post on Efficiency vs Effectiveness. He gave a slightly contrived example of an organisation that is optimising the wrong thing. They plan on using robotics to automate server modifications to fit their custom racks. The problem is that they miss the point altogether. Yes, they’re optimising their flow. But they should ask: Is this the right flow?\nCheques: Apparently people still use them? Recently I came across the “Wells Fargo Mobile Deposit” application. It sounds good - a faster way to deposit cheques(checks):\nMobile Deposit is secure, easy to use, and convenient.\nDeposit checks directly into your eligible account using your Android or Apple® mobile device or your Windows Phone. Take photos of the front and back of your check and submit. It’s that easy. Get confirmation on your device and by email for each successful deposit. Save time with fewer trips to an ATM or store. Except…did anyone tell them that cheques are antiquated relics? That they come from a when a man’s word was his bond, and failure to uphold said word was just cause for a duel? Did anyone tell them that the rest of the world has moved on, and cheques represent a vanishingly small proportion of financial transactions?\nIf you’re forced to deal with cheques, then sure, this looks like a good way to make them slightly less painful. But user needs don’t start with “I need to write or deposit a cheque” No, they start with “I need to send or receive money.”\nWhat’s a better use of time \u0026amp; energy? Optimising a broken \u0026amp; crappy process, or moving to a better process altogether?\nNetworking: Automate our existing tasks? Or change model? I’ve been wondering about this in the context of network automation. There’s a lot we can do to automate our existing processes better:\nScript ACL deployment (fewer fat finger mistakes!) Write a portal (with APIs) for server teams for provisioning edge ports Scripted pre- and post-change tests But sometimes I wonder if we’re doing the right thing. What’s a better use of my time \u0026amp; energy? Figuring out how to automate my DMVPN config, sacrifice a few chickens, and finally get PfR working? Or should I be researching SD-WAN solutions?\nIf I’m running a smallish DC, should I bother setting up an auto-provisioning system for server ports, so we can build a private cloud? Or should I help my business move to all public cloud? Rather than optimising our current process, should I be figuring out a better process altogether? What gives the best outcome for my business?\nBut…you can’t control what users ask for In Wardley’s example, we could see \u0026amp; control the whole process. We could see why it was silly to optimise in the wrong place. We probably had enough control to make a change too.\nBut whatever process we’re working on is usually part of some larger value chain. We can’t always change the user needs that we take as input. Sometimes the higher order systems/users expect things to be done a certain way, and we can’t change that. We have to work with the inputs we have.\nNetworking is a classic example of this. We have to fit into a broader system, and it’s hard to change that. Too many entrenched processes, too many integration points, too much inertia. It can change, but it takes time. Look how long it’s taking to roll out IPv6.\nApplication developers can laugh at us, as they switch to another ‘hot’ new language more often than Thailand has coups. That’s easy when you’re operating a higher order system. But networking is lower in the stack. Changing interfaces takes time.\nSo I guess we’re just going to have to polish that turd some more, doing what we can to make things better in some small way. Bigger change will take longer.\n","permalink":"https://lkhill.com/efficiency-vs-effectiveness/","summary":"\u003cp\u003eI’ve been wondering about how we’re approaching networking change. We know we need to make things better. Are we changing the ‘right’ things? I’ve got a feeling that we’re not, but I suspect that we’re too constrained by higher-order systems.\u003c/p\u003e","title":"Efficiency vs Effectiveness"},{"content":"Brocade VDX switches have REST and NETCONF interfaces. The REST API uses the built-in HTTP server. By default, this uses plain-text HTTP. As of NOS 6.0, you can (and should!) use HTTPS. If NOS has a certificate configured, it will automatically use HTTPS. Here\u0026rsquo;s how to configure it.\nPre-Change Tests Let\u0026rsquo;s just do a couple of quick checks before we begin. Check that the switch is only listening on port 80, and that it responds to simple API queries:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Lindsays-MacBook:~ lhill$ nmap -p80,443 10.254.4.125 Starting Nmap 7.00 ( https://nmap.org ) at 2016-02-05 18:56 NZDT Nmap scan report for 10.254.4.125 Host is up (0.14s latency). PORT STATE SERVICE 80/tcp open http 443/tcp closed https Nmap done: 1 IP address (1 host up) scanned in 0.52 seconds Lindsays-MacBook:~ lhill$ curl -u admin:password -d \u0026#34;\u0026lt;activate-status\u0026gt;\u0026lt;/activate-status\u0026gt;\u0026#34; http://10.254.4.125/rest/operational-state/activate-status \u0026lt;output xmlns=\u0026#39;urn:brocade.com:mgmt:brocade-firmware\u0026#39;\u0026gt; \u0026lt;overall-status\u0026gt;0\u0026lt;/overall-status\u0026gt; \u0026lt;activate-entries\u0026gt; \u0026lt;rbridge-id\u0026gt;1\u0026lt;/rbridge-id\u0026gt; \u0026lt;status\u0026gt;0\u0026lt;/status\u0026gt; \u0026lt;/activate-entries\u0026gt; \u0026lt;/output\u0026gt; Lindsays-MacBook:~ lhill$ ssh admin@10.254.4.125 admin@10.254.4.125\u0026#39;s password: Welcome to the Brocade Network Operating System Software admin connected from 10.252.131.4 using ssh on Leaf-203025 Leaf-203025# show http server status rbridge-id 1: Status: HTTP Enabled and HTTPS Disabled Leaf-203025# OK, all as expected.\nSet up your Certificate Authority You can use any CA to sign your switch certificate. If you already have your own working internal Certificate Authority, you should use that. If you\u0026rsquo;re feeling flush, you could pay money for a signed certificate. Let\u0026rsquo;s Encrypt should work too, although I haven\u0026rsquo;t investigated it.\nBut if you don\u0026rsquo;t care about this certificate being trusted by every browser, it\u0026rsquo;s fine to set up your own root CA, and use it for this. There are quite a few steps to this. Jamie Nguyen has documented the steps for using OpenSSL to set up your own CA. I followed Jamie\u0026rsquo;s excellent instructions to create my own root + intermediate CAs. The file locations I\u0026rsquo;ve used below are the same as his.\nNote that I\u0026rsquo;ve used the intermediate CA to sign the switch certificate. You don\u0026rsquo;t have to do this - you could just have a root CA. Your steps will vary slightly, but you should be able to figure out what you need to do.\nPrepare your switch \u0026amp; generate a CSR On the switch, we need to generate a key pair, and set up the CA. We\u0026rsquo;ll import the CA certificate from our CA server. Note that the file I import is a combination file containing both the root \u0026amp; intermediate CAs.\n1 2 3 4 5 6 7 8 Leaf-203025(config)# rbridge-id 1 Leaf-203025(config-rbridge-id-1)# crypto key label k1 rsa modulus 2048 Leaf-203025(config-rbridge-id-1)# crypto ca trustpoint t1 Leaf-203025(config-ca-t1)# keypair k1 Leaf-203025(config-ca-t1)# end Leaf-203025# Leaf-203025# crypto ca authenticate t1 protocol SCP host 10.254.204.170 user lhill\u0026amp; directory /tmp file ca-chain.cert.pem Password: ********** Now we generate our CSR, and transfer it to the CA server:\n1 2 Leaf-203025# crypto ca enroll t1 country US state CA locality SJ organization Brocade orgunit PM common leaf-203025.brocade.com protocol SCP host 10.254.204.170 user lhill directory /tmp Password: ********** Sign the certificate \u0026amp; install it Signing the certificate on our CA:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 [root@myca ~]# cd ca [root@myca ca]# cp /tmp/10.254.4.125.csr intermediate/csr/ [root@myca ca]# openssl ca -config intermediate/openssl.cnf -extensions server_cert -days 375 -notext -md sha256 -in intermediate/csr/10.254.4.125.csr -out intermediate/certs/10.254.4.125.cert.pem Using configuration from intermediate/openssl.cnf Enter pass phrase for /root/ca/intermediate/private/intermediate.key.pem: Check that the request matches the signature Signature ok Certificate Details: Serial Number: 4096 (0x1000) Validity Not Before: Feb 5 04:46:37 2016 GMT Not After : Feb 14 04:46:37 2017 GMT Subject: countryName = US stateOrProvinceName = CA localityName = SJ organizationName = Brocade organizationalUnitName = PM commonName = leaf-203025.brocade.com X509v3 extensions: X509v3 Basic Constraints: CA:FALSE Netscape Cert Type: SSL Server Netscape Comment: OpenSSL Generated Server Certificate X509v3 Subject Key Identifier: D5:80:2D:09:F6:ED:D8:26:48:BF:9C:1F:2D:72:CF:10:51:06:A3:9E X509v3 Authority Key Identifier: keyid:E1:94:E5:FD:1F:07:0F:56:EA:91:30:39:61:4C:0C:DC:3D:93:97:5F DirName:/C=NZ/ST=Auckland/L=Auckland/O=LKHill Ltd/CN=rootca.lkhill.com/emailAddress=lindsay@lkhill.com serial:10:00 X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Extended Key Usage: TLS Web Server Authentication Certificate is to be certified until Feb 14 04:46:37 2017 GMT (375 days) Sign the certificate? [y/n]:y 1 out of 1 certificate requests certified, commit? [y/n]y Write out database with 1 new entries Data Base Updated [root@myca ca]# cp intermediate/certs/10.254.4.125.cert.pem /tmp And installing it on the switch:\n1 2 3 4 5 Leaf-203025# crypto ca import t1 certificate protocol SCP host 10.254.204.170 user lhill directory /tmp file 10.254.4.125.cert.pem Password: ********** rbridge-id-1: % Error: Crypto Identity Certificate Import failed.Verify cert validity-date/key/signature/other parameters Leaf-203025# crypto ca import t1 certificate protocol SCP host 10.254.204.170 user lhill directory /tmp file 10.254.4.125.cert.pem Password: ********** Note the error message - that is a very generic error message. In this case I\u0026rsquo;d entered the wrong password. I mention it here to point out that you should check the basics - NTP, IP addresses, directories, filenames, passwords - before digging into the keys \u0026amp; certs.\nRestart the HTTP server You need to restart the HTTP server to make it detect the new HTTPS certificate, and to disable HTTP.\n1 2 3 4 5 6 7 8 9 Leaf-203025# conf t Entering configuration mode terminal Leaf-203025(config)# rbridge-id 1 Leaf-203025(config-rbridge-id-1)# http server shutdown Leaf-203025(config-rbridge-id-1)# no http server shutdown Leaf-203025(config-rbridge-id-1)# end Leaf-203025# show http server status rbridge-id 1: Status: HTTP Disabled and HTTPS Enabled Leaf-203025# OK, looking good.\nTesting time! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Lindsays-MacBook:~ lhill$ nmap -p80,443 10.254.4.125 Starting Nmap 7.00 ( https://nmap.org ) at 2016-02-05 18:56 NZDT Nmap scan report for 10.254.4.125 Host is up (0.14s latency). PORT STATE SERVICE 80/tcp closed http 443/tcp open https Nmap done: 1 IP address (1 host up) scanned in 0.52 seconds Lindsays-MacBook:~ lhill$ curl -u admin:password -k -d \u0026#34;\u0026lt;activate-status\u0026gt;\u0026lt;/activate-status\u0026gt;\u0026#34; https://10.254.4.125/rest/operational-state/activate-status \u0026lt;output xmlns=\u0026#39;urn:brocade.com:mgmt:brocade-firmware\u0026#39;\u0026gt; \u0026lt;overall-status\u0026gt;0\u0026lt;/overall-status\u0026gt; \u0026lt;activate-entries\u0026gt; \u0026lt;rbridge-id\u0026gt;1\u0026lt;/rbridge-id\u0026gt; \u0026lt;status\u0026gt;0\u0026lt;/status\u0026gt; \u0026lt;/activate-entries\u0026gt; \u0026lt;/output\u0026gt; Note: The eagle-eyed will notice that I\u0026rsquo;m using -k for my cURL testing, to tell it to ignore certificate errors. This is because my local system does not yet have the root CA certificate installed. If it did, and I configured DNS correctly, I would not get certificate errors. Done!\n","permalink":"https://lkhill.com/configure-the-brocade-nos-rest-api-to-use-https/","summary":"\u003cp\u003eBrocade VDX switches have REST and NETCONF interfaces. The REST API uses the built-in HTTP server. By default, this uses plain-text HTTP. As of NOS 6.0, you can (and should!) use HTTPS. If NOS has a certificate configured, it will automatically use HTTPS. Here\u0026rsquo;s how to configure it.\u003c/p\u003e","title":"Configure the Brocade NOS REST API to use HTTPS"},{"content":"A reader asked \u0026ldquo;What can I do if my boss won\u0026rsquo;t let me automate my tasks?\u0026rdquo; Sadly some people still have a fear of automating even common, well-understood tasks. They\u0026rsquo;re worried about automation run amok. They think it\u0026rsquo;s safer to have a human typing in commands. But you know better. Humans have a place. But that place is not executing the same sequence of steps, over and over.\nYou need to prepare for change. Continuing to do repetitive tasks manually does not have a future. Either your boss will have a change of heart, or you\u0026rsquo;re going to change jobs. You have to prepare yourself for either eventuality. Here\u0026rsquo;s some thoughts on what to do.\nJust Do It First option: Just do it. Don\u0026rsquo;t bother asking, just get on with automating things you do often. You should be doing this anyway.\nLast year we heard the story of a Russian hacker that had taken automation a little further than usual, with gems such as:\nkumar-asshole.sh - scans the inbox for emails from \u0026ldquo;Kumar\u0026rdquo; (a DBA at our clients). Looks for keywords like \u0026ldquo;help\u0026rdquo;, \u0026ldquo;trouble\u0026rdquo;, \u0026ldquo;sorry\u0026rdquo; etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply \u0026ldquo;no worries mate, be careful next time\u0026rdquo;. hangover.sh - another cron-job that is set to specific dates. Sends automated emails like \u0026ldquo;not feeling well/gonna work from home\u0026rdquo; etc. Adds a random \u0026ldquo;reason\u0026rdquo; from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am. Did he ask permission? No, of course not. No-one even knew those scripts existed until he left. But they automated common tasks, and made his life easier. You can do the same.\nStart with Low-risk/Low-fear items Some people assume that automation means automating changes. But it doesn\u0026rsquo;t have to just be for making changes. It can be for running reports, checking compliance, etc. A large percentage of an engineer\u0026rsquo;s time is spent running \u0026lsquo;investigation\u0026rsquo; commands, not making changes.\nLook for good candidates for automation. That might be a \u0026lsquo;bulk\u0026rsquo; task - e.g. \u0026ldquo;Find a list of all Windows VMs with VMware tools versions \u0026lt;= 9.4.0.\u0026rdquo; But it might also be something you run often: \u0026ldquo;Find me all firewall rules for this destination IP.\u0026rdquo; Create a script that takes an IP address as input, so you can re-run it as needed.\nStart out with those, building up your experience with writing scripts, getting comfortable with the concepts.\nScript your changes (but manually run them) Planning a middle of the night config change? Script all your steps, including your pre- and post-change checks. Don\u0026rsquo;t worry about making an all-singing, all-dancing magical thing. It\u0026rsquo;s fine to just prepare your commands in Notepad++, ready for pasting into the terminal. You\u0026rsquo;re going to do exactly the same thing as if you were doing it manually, it\u0026rsquo;s just that your typing it out in advance. No problems with the boss.\nWhen you go to make the change, paste in your pre-change checks. If those pass, paste in the changes, then run the post-change checks. If it fails, then paste in the \u0026lsquo;undo\u0026rsquo; commands that you prepared in advance. Total change time: 5-10 minutes. It\u0026rsquo;s bad enough being at work in the middle of the night, and all those numbers start to look alike when your eyes start getting blurry.\nThere\u0026rsquo;s a huge difference between getting your work done in 10-15 minutes, and taking up the full two-hour change window. If it\u0026rsquo;s a day-time change, and the boss thinks it will take you two hours, great! Now you can do something else more interesting during that time. Very helpful when you need a bit of creativity to fill in timesheets.\nThis scripting of your pre- and post-change checks will also stand you in good stead for when you move to full automation.\nYou can\u0026rsquo;t always change other people\u0026rsquo;s opinions. Gathering enough data \u0026amp; showing what can be done can help. But you can also prepare yourself for change, and you don\u0026rsquo;t always need to ask permission. Decide what\u0026rsquo;s right for you, your job, and your career.\n","permalink":"https://lkhill.com/help-my-boss-is-scared-of-automation/","summary":"\u003cp\u003eA reader asked \u0026ldquo;What can I do if my boss won\u0026rsquo;t let me automate my tasks?\u0026rdquo; Sadly some people still have a fear of automating even common, well-understood tasks. They\u0026rsquo;re worried about automation run amok. They think it\u0026rsquo;s safer to have a human typing in commands. But you know better. Humans have a place. But that place is not executing the same sequence of steps, over and over.\u003c/p\u003e","title":"Help! My Boss is Scared of Automation!!!"},{"content":"One of the things I struggled with when starting at a vendor was dealing with project codenames. There is no secret decoder ring - you have to learn the names the hard way. I couldn\u0026rsquo;t understand why descriptive names weren\u0026rsquo;t used. It took a while, but I\u0026rsquo;ve come to understand the reasoning behind the obscure names now. It\u0026rsquo;s still a stretch to say I \u0026rsquo;love\u0026rsquo; them, but I can at least understand them now.\nNaming Standards \u0026amp; Bikeshedding When I started my professional career, it was common to name servers using things like Greek \u0026amp; Roman Gods, or Star Wars characters. Billing might run on Apollo, while Medusa was used for third-party connections.\nThis is fine for 5-10 servers, but clearly doesn\u0026rsquo;t scale. I\u0026rsquo;ve wasted many long and pointless hours in server naming \u0026ldquo;bikeshedding\u0026rdquo; discussions. Grumpy old sysadmins would argue that it was far easier to remember names like Bert \u0026amp; Ernie than web01/web02. The Young Turks saw that as a way of hoarding knowledge. It seemed to deliberately make it more difficult for newcomers/outsiders. They preferred descriptive names that gave some indication of what the system was doing, where it was located, etc.\nArguments went back and forth, then virtualisation came along and server numbers exploded. That killed the arguments for \u0026lsquo;personalised\u0026rsquo; names.\nProject Naming Project numbers haven\u0026rsquo;t had the same explosion. It\u0026rsquo;s still possible to have \u0026lsquo;custom\u0026rsquo; names for each project. And so businesses do. These names don\u0026rsquo;t describe the project functionality. Instead they might be planet names, animal names, cities, etc. There might be a vague theme - e.g. all versions of a software product might all be named after chemical elements. Other products will follow their own theme.\nYou might ask: Doesn\u0026rsquo;t that have the same problems as server naming? Isn\u0026rsquo;t it hard for new employees to understand what that project is? Why bother? Why not use something descriptive, like Customer Billing v10.40?\nThere Might be a Good Reason I thought that secrecy must be the goal. \u0026ldquo;Let\u0026rsquo;s use codenames like Overlord, Manhattan, Torch and play spies! No-one will know what we\u0026rsquo;re up to. World domination will be ours!\u0026rdquo;\nThere is an element of this to it. Confidentiality does matter. But let\u0026rsquo;s face it, it\u0026rsquo;s just not that big a secret that a vendor is working on a new version of an existing product.\nThere is another pragmatic reason: The official product name can and will change, right up until just before product launch. If you give the project a name early on that sounds descriptive, then it starts to slip into the product. What happens if you change the name at the last minute?\nFor example, consider Brocade Flow Optimizer. When Brocade was first working on that product, we could assign a working name of \u0026ldquo;Brocade Flow Twiddler.\u0026rdquo; But then the developers will start working that into the product, and it will pop up in many odd locations. We might use commands like btwiddle .\nThen a week before launch, the team realises that Twiddler is a silly name, and Optimizer sounds much more professional. Easy enough to update the marketing materials\u0026hellip;but what about the code? Can we update all our code quickly and reliably? Maybe. Maybe not.\nIf we instead used the codename \u0026ldquo;Project Doohickie\u0026rdquo; then it\u0026rsquo;s highly unlikely to end up in the code. The project team will know what Doohickie refers to, and there will be a little bit of secrecy. But it also makes sure that we can change the application name at any time, without risking leftover references.\nI\u0026rsquo;m still struggling with recalling all the project names, or finding out how to look up the project name for an old product version. But at least now I think I understand part of why we use those codenames.\n","permalink":"https://lkhill.com/learning-to-love-codenames/","summary":"\u003cp\u003eOne of the things I struggled with when starting at a vendor was dealing with project codenames. There is no \u003ca href=\"https://en.wikipedia.org/wiki/Secret_decoder_ring\"\u003esecret decoder ring\u003c/a\u003e - you have to learn the names the hard way. I couldn\u0026rsquo;t understand why descriptive names weren\u0026rsquo;t used. It took a while, but I\u0026rsquo;ve come to understand the reasoning behind the obscure names now. It\u0026rsquo;s still a stretch to say I \u0026rsquo;love\u0026rsquo; them, but I can at least understand them now.\u003c/p\u003e","title":"Learning to Love Codenames"},{"content":"Recently I wanted to look at the structure of sFlow packets. Of course I can read the specs, but it\u0026rsquo;s often easier to look at some real packets. So I set up a simple network, configured sFlow, created some traffic across the network, and used tcpdump to capture the sFlow packets.\nUnfortunately I had a bit of a brain fade, and configured sFlow to use port 2055, not port 6343. So it looked like this:\n1 2 3 4 5 6 7 8 9 10 vagrant@ubuntu:~$ tcpdump -r sflow.cap reading from file sflow.cap, link-type EN10MB (Ethernet) 13:48:37.812602 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 13:48:57.813663 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 13:48:59.061629 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 232 13:49:17.806908 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 13:49:37.804433 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 13:49:57.806000 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 13:50:17.808959 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.2055: UDP, length 148 vagrant@ubuntu:~$ This is totally fine, but by default Wireshark won\u0026rsquo;t decode this as sFlow. It appears like this:\nNo big deal, I can right-click, go \u0026ldquo;Decode As\u0026hellip;\u0026rdquo;, set UDP Port to 2055, choose \u0026ldquo;sFlow\u0026rdquo; from the drop-down, and hit OK. Now it looks OK:\nBut I don\u0026rsquo;t want to do that every time I open the file. More to the point, I don\u0026rsquo;t want to have tell someone else to do that when opening the file. I wanted to change the packets to have a destination port of 6343, the commonly used sFlow port. Wireshark will default to decoding UDP/6343 packets as sFlow.\nI\u0026rsquo;d torn down my lab my this stage, and couldn\u0026rsquo;t be bothered re-configuring it \u0026amp; collecting new traffic. What I really wanted was to edit the existing packets to change the destination port. I found Tcpreplay did exactly what I needed. Here\u0026rsquo;s how I did it:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 vagrant@ubuntu:~$ sudo apt-get install tcpreplay Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: tcpreplay 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/448 kB of archives. After this operation, 1,032 kB of additional disk space will be used. Selecting previously unselected package tcpreplay. (Reading database ... 100006 files and directories currently installed.) Preparing to unpack .../tcpreplay_3.4.4-2_amd64.deb ... Unpacking tcpreplay (3.4.4-2) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up tcpreplay (3.4.4-2) ... vagrant@ubuntu:~$ tcprewrite --portmap=2055:6343 --in sflow.cap --outfile=sflow_6343.cap vagrant@ubuntu:~$ tcpdump -r sflow_6343.cap reading from file sflow_6343.cap, link-type EN10MB (Ethernet) 13:48:37.812602 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 13:48:57.813663 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 13:48:59.061629 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 232 13:49:17.806908 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 13:49:37.804433 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 13:49:57.806000 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 13:50:17.808959 IP 10.254.4.125.44695 \u0026gt; 10.254.4.170.6343: sFlowv5, IPv4 agent 10.254.4.125, agent-id 0, length 148 vagrant@ubuntu:~$ Easy as that. Of course there are many more options for rewriting packets if you want to do something complex. All I needed was this simple change, and it was quick and easy.\n","permalink":"https://lkhill.com/modifying-packet-captures-with-tcprewrite/","summary":"\u003cp\u003eRecently I wanted to look at the structure of \u003ca href=\"http://www.sflow.org\"\u003esFlow\u003c/a\u003e packets. Of course I can read the specs, but it\u0026rsquo;s often easier to look at some real packets. So I set up a simple network, configured sFlow, created some traffic across the network, and used tcpdump to capture the sFlow packets.\u003c/p\u003e","title":"Modifying Packet Captures with tcprewrite"},{"content":"A year ago I published a table of New Zealand ISP IPv6 support. At the time support was fairly poor. I\u0026rsquo;m pleased to report that things have gotten better over the last year. There has also been a very pleasing uptick in DNSSEC support.\nIPv6 Changes The big movers here are Trustpower \u0026amp; Orcon, who have both enabled IPv6 by default for their users. So now we have the two largest ISPs still only offering IPv4, but all of the next tier of ISPs are offering IPv6. New Zealand has a flexible ISP market, and almost all consumers can change provider quickly \u0026amp; easily. This means that IPv6 is effectively available for all who want it.\nNew Zealand IPv6 Availability - Click image to see APNIC data\nThe numbers are still small, but we can see a move upwards towards the end of the year when Orcon \u0026amp; Trustpower enabled IPv6. Many legacy home routers have IPv6 disabled, but as these get replaced/reconfigured, I expect to see a steady increase in IPv6 uptake across those ISPs.\nThe two market leaders - Spark \u0026amp; Vodafone still only offer broken promises. In 2014 Vodafone implied it was not far away: \u0026ldquo;I can promise you well well before 2018.\u0026rdquo; But I\u0026rsquo;m not holding my breath.\nDNSSEC - Well done Spark! DNSSEC validation numbers look much better:\nNew Zealand DNSSEC Validation - click image to see APNIC data\nWe see a big jump here, with around half of all DNS queries from NZ going through resolvers with DNSSEC validation enabled. This jump is almost entirely due to Spark changing their policy. Smaller ISPs such as Trustpower have also recently enabled DNSSEC validation.\nVodafone continues to drag the chain. No IPv6, no DNSSEC. It\u0026rsquo;s a bit embarrassing that their AS is described in whois as \u0026ldquo;VODAFONE-NZ-NGN-AS.\u0026rdquo; Are you allowed to describe your network as \u0026ldquo;Next Generation\u0026rdquo; when you don\u0026rsquo;t support basic services such as IPv6 and DNSSEC? There should be rules about that sort of thing.\nThe good news is that consumers now have a range of viable suppliers for these services. Changing ISP is trivial, and I highly recommend that you change supplier if you\u0026rsquo;re not getting the services you want. If enough people move, maybe the laggards will finally get the message.\n","permalink":"https://lkhill.com/nz-ipv6-dnssec-update/","summary":"\u003cp\u003eA year ago I published a table of \u003ca href=\"/ipv6-availability-in-new-zealand/\"\u003eNew Zealand ISP IPv6 support\u003c/a\u003e. At the time support was fairly poor. I\u0026rsquo;m pleased to report that things have gotten better over the last year. There has also been a very pleasing uptick in DNSSEC support.\u003c/p\u003e","title":"NZ IPv6 \u0026 DNSSEC Update"},{"content":"Brocade tightened up some SNMP settings with NOS 6.0.x. This improves security, but it also means that you will need to modify your configuration if you upgrade. If you don\u0026rsquo;t, SNMP won\u0026rsquo;t work, and you\u0026rsquo;ll get errors with BNA/Nagios/Cacti/etc. Here\u0026rsquo;s the changes, and how to get SNMP working with NOS 6.0.x. NB This applies to VDX Data Centre switches. Other product lines have different configuration.\nNote: Usual disclaimers apply: Yes, I work for Brocade. Doesn\u0026rsquo;t mean that I\u0026rsquo;m an official spokesperson, or a replacement for TAC. I\u0026rsquo;m just putting this info out there to help others who get bitten by this. 5.x and earlier defaults NOS 5.x and earlier had default SNMP settings that looked like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 snmp-server contact \u0026#34;Field Support.\u0026#34; snmp-server location \u0026#34;End User Premise.\u0026#34; snmp-server sys-descr \u0026#34;Brocade VDX Switch.\u0026#34; snmp-server community ConvergedNetwork snmp-server community OrigEquipMfr rw snmp-server community \u0026#34;Secret C0de\u0026#34; rw snmp-server community common snmp-server community private rw snmp-server community public snmp-server user snmpadmin1 groupname snmpadmin snmp-server user snmpadmin2 groupname snmpadmin snmp-server user snmpadmin3 groupname snmpadmin snmp-server user snmpuser1 snmp-server user snmpuser2 snmp-server user snmpuser3 Yeah. Pretty open. So if you\u0026rsquo;re lazy, and your NMS tried a default discovery string of \u0026lsquo;public\u0026rsquo;, you could get SNMP working without touching the config. Naughty.\n6.x: Sensible defaults NOS 6.0.x changes the defaults to this:\n1 2 3 4 snmp-server contact \u0026#34;Field Support.\u0026#34; snmp-server location \u0026#34;End User Premise.\u0026#34; snmp-server sys-descr \u0026#34;Brocade VDX Switch.\u0026#34; snmp-server enable trap Much better - no more default strings in use.\nWhat about upgraded systems? So what happens if you upgrade? According to the documentation:\nAfter an upgrade to Network OS6.0.0, the default SNMP configuration from previous releases is removed only if the copy default-config startup-config command is issued before the upgrade. Otherwise, the running configuration is not changed. (emphasis added)\nHowever, there is a catch: SNMP views are now required. If you don\u0026rsquo;t configure an SNMP view, SNMP won\u0026rsquo;t work, even with your previous settings.\nAdd this config snippet to get basic SNMPv2 working with community string \u0026lsquo;public\u0026rsquo;:\n1 2 3 snmp-server community public groupname user snmp-server view All 1 included snmp-server group user v2c read All notify All That creates a new SNMP view that contains the entire tree, from 1 downwards. The configuration maps the community string to the group, which is then mapped to the view. Adding that will get read-only SNMP working the way it did previously. If you need more complex views, you probably already configured them, and weren\u0026rsquo;t affected by this change.\nObviously I don\u0026rsquo;t recommend the use of \u0026lsquo;public\u0026rsquo; nor do I recommend v2 in general. But hey, that\u0026rsquo;s what most people use. You can see what you need to change for your own community string. It will also need further changes for SNMP read-write, and for v3.\n","permalink":"https://lkhill.com/brocade-vdx-snmp-changes/","summary":"\u003cp\u003eBrocade tightened up some SNMP settings with NOS 6.0.x. This improves security, but it also means that you will need to modify your configuration if you upgrade. If you don\u0026rsquo;t, SNMP won\u0026rsquo;t work, and you\u0026rsquo;ll get errors with BNA/Nagios/Cacti/etc. Here\u0026rsquo;s the changes, and how to get SNMP working with NOS 6.0.x. NB This applies to \u003ca href=\"https://www.extremenetworks.com/product/vdx-6740/\"\u003eVDX Data Centre switches\u003c/a\u003e. Other product lines have different configuration.\u003c/p\u003e","title":"Brocade VDX SNMP Changes"},{"content":"I loathe MRTG graphs. They were cool in 2000, but now they\u0026rsquo;re showing their age. We have much better visualisation tools available, and we don\u0026rsquo;t need to be so aggressive with aggregating old data. I\u0026rsquo;ve been working with InfluxDB + Grafana recently. Much cooler, much more flexible. Here\u0026rsquo;s a walk-through on setting up InfluxDB + Grafana, collecting network throughput data, and displaying it.\nWarning: These instructions are now out of date. influxsnmp is no longer updated, and the instructions below won\u0026rsquo;t work properly. Check out this new blog on how to use Telegraf with InfluxDB and Grafana instead. Background - InfluxDB + Grafana There\u0026rsquo;s three parts to this:\nGrafana: This is our main UI. Grafana is a \u0026ldquo;\u0026hellip;graph and dashboard builder for visualizing time series metrics.\u0026rdquo; It makes it easy to create dashboards for displaying time-series data. It works with several different data sources such as Graphite, Elasticsearch, InfluxDB, and OpenTSDB. InfluxDB: This is where we store the data that Grafana displays. InfluxDB is \u0026ldquo;\u0026hellip;an open-source distributed time series database with no external dependencies.\u0026rdquo; It\u0026rsquo;s a relatively new project, and is not quite at 1.0 yet, but it shows a lot of promise. It can be used in place of Graphite. It is very flexible, and can store events as well as time series data. Influxsnmp: We need to get data from the network into InfluxDB. There are a few options for doing this, but none of them are particularly good right now. Influxsnmp is a simple utility for collecting data via SNMP and storing it in InfluxDB. You might ask why I\u0026rsquo;m using separate collection, persistent store and presentation layers, rather than using one system that does it all. The advantage of this model is that is much more flexible - I can easily add collectors to get data from different sources, or I can use other data stores that I already have. If I later decide I don\u0026rsquo;t like Grafana, I can query InfluxDB from something else.\nInstallation All steps are taken on an Ubuntu 14.04 system. Steps may vary for other systems. Note also that I\u0026rsquo;m using the nightly builds for InfluxDB + Grafana, so expect to see the outputs change slightly in future.\nInfluxDB Download, install and start InfluxDB:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 lhill@grafana:~$ curl -O https://s3.amazonaws.com/influxdb/influxdb_nightly_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14.1M 100 14.1M 0 0 433k 0 0:00:33 0:00:33 --:--:-- 416k lhill@grafana:~$ sudo dpkg -i influxdb_nightly_amd64.deb [sudo] password for lhill: Selecting previously unselected package influxdb. (Reading database ... 95702 files and directories currently installed.) Preparing to unpack influxdb_nightly_amd64.deb ... Unpacking influxdb (0.9.5-nightly-9633410) ... Setting up influxdb (0.9.5-nightly-9633410) ... Removing any system startup links for /etc/init.d/influxdb ... Adding system startup for /etc/init.d/influxdb ... /etc/rc0.d/K20influxdb -\u0026gt; ../init.d/influxdb /etc/rc1.d/K20influxdb -\u0026gt; ../init.d/influxdb /etc/rc6.d/K20influxdb -\u0026gt; ../init.d/influxdb /etc/rc2.d/S20influxdb -\u0026gt; ../init.d/influxdb /etc/rc3.d/S20influxdb -\u0026gt; ../init.d/influxdb /etc/rc4.d/S20influxdb -\u0026gt; ../init.d/influxdb /etc/rc5.d/S20influxdb -\u0026gt; ../init.d/influxdb lhill@grafana:~$ sudo service influxdb start Starting the process influxdb [ OK ] influxdb process was started [ OK ] lhill@grafana:~$ Now use the InfluxDB CLI client to create two databases. We\u0026rsquo;re going to use one for SNMP data, and another for storing events. Note that we don\u0026rsquo;t need to declare schemas.\n1 2 3 4 5 6 7 8 lhill@grafana:~$ /opt/influxdb/influx Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring. Connected to http://localhost:8086 version 0.9.5-nightly-9633410 InfluxDB shell 0.9.5-nightly-9633410 \u0026gt; create database snmp \u0026gt; create database events \u0026gt; exit lhill@grafana:~$ We now have InfluxDB running. You can connect to http://localhost:8083/ for a simple Web UI to InfluxDB, or query it with the CLI client.\nInfluxsnmp Influxsnmp is written in Go. Today it is only distributed as source, so we need to build it. The build process includes some components that require Go \u0026gt;= v1.3. The default repositories for Ubuntu 14.04 have Go v1.2.1. So for this setup we\u0026rsquo;re going to download the latest Golang binary package, and use that.\nFirst install git, then get Go 1.5.1, and setup our environment:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 lhill@grafana:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: git-man Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 3,325 kB of archives. After this operation, 21.5 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://nz.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB] Get:2 http://nz.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.1 [2,627 kB] Fetched 3,325 kB in 2s (1,133 kB/s) Selecting previously unselected package git-man. (Reading database ... 95719 files and directories currently installed.) Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.1_all.deb ... Unpacking git-man (1:1.9.1-1ubuntu0.1) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.1_amd64.deb ... Unpacking git (1:1.9.1-1ubuntu0.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up git-man (1:1.9.1-1ubuntu0.1) ... Setting up git (1:1.9.1-1ubuntu0.1) ... lhill@grafana:~$ curl -O https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 74.2M 100 74.2M 0 0 1010k 0 0:01:15 0:01:15 --:--:-- 1126k lhill@grafana:~$ tar zxf go1.5.1.linux-amd64.tar.gz lhill@grafana:~$ echo \u0026#39;export GOROOT=$HOME/go\u0026#39; \u0026gt;\u0026gt; .profile lhill@grafana:~$ echo \u0026#39;export PATH=$PATH:$GOROOT/bin\u0026#39; \u0026gt;\u0026gt; .profile lhill@grafana:~$ echo \u0026#39;export GOPATH=$HOME/work\u0026#39; \u0026gt;\u0026gt; .profile lhill@grafana:~$ . .profile lhill@grafana:~$ Now download the source for influxsnmp and build it:\n1 2 3 4 5 6 lhill@grafana:~$ go get github.com/paulstuart/influxsnmp lhill@grafana:~$ go install github.com/paulstuart/influxsnmp lhill@grafana:~$ ls $GOPATH/bin/ influxsnmp lhill@grafana:~$ cp $GOPATH/src/github.com/paulstuart/influxsnmp/oids.txt $GOPATH/bin/ lhill@grafana:~$ mkdir $GOPATH/etc The packaging for influxsnmp isn\u0026rsquo;t quite right yet, so we have to manually copy over the oids.txt file. There are sample config.gcfg \u0026amp; ports.txt files that ship with influxsnmp. They\u0026rsquo;re easy to understand. Here\u0026rsquo;s what mine look like, for polling a few interfaces on my SRX. Note the location of ports.txt - it needs to be in the same directory as the binary file.\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 lhill@grafana:~$ cat $GOPATH/etc/config.gcfg ; multiple snmp devices can be specified ; their config name must match a mib config name ; or an alternate config name can be used ; or there must be a wildcard mib configured -- named \u0026#39;*\u0026#39; [snmp \u0026#34;srx110\u0026#34;] host = srx community = Sup3rS3cr3t port = 161 timeout = 20 retries = 5 repeat = 0 freq = 30 ;debug = false ; if port file is ommited then all columns will be retrieved portfile = ports.txt ; this is a wildcard -- becomes default ; if a \u0026#39;snmp\u0026#39; section name is not otherwise specified [mibs \u0026#34;*\u0026#34;] name = ifXEntry scalers = false column = ifHCInOctets column = ifHCInUcastPkts column = ifHCOutOctets column = ifHCOutUcastPkts column = ifInErrors column = ifInDiscards column = ifOutErrors column = ifOutDiscards [influx \u0026#34;*\u0026#34;] host = localhost port = 8086 db = snmp ;user = username ;password = password ; web status monitor - set port to 0 to disable [http] port = 9501 lhill@grafana:~$ cat $GOPATH/bin/ports.txt # snmp_column label_for_metrics fe-0/0/4 NetBeez fe-0/0/5 AppleTV fe-0/0/6 Wireless fe-0/0/7 TiVo at-1/0/0 ADSL Finally we\u0026rsquo;ll start the poller:\n1 2 3 4 5 6 lhill@grafana:~$ nohup $GOPATH/bin/influxsnmp -config $GOPATH/etc/config.gcfg -logs $HOME/log \u0026gt; $HOME/log/nohup.out 2\u0026gt;\u0026amp;1 \u0026amp; lhill@grafana:~$ cat log/nohup.out nohup: ignoring input Web interface: http://192.168.166.164:9501 lhill@grafana:~$ (Yes, it really should be properly installed as a service, with proper config file locations, logging, etc.)\nThere\u0026rsquo;s a simple http interface listening on port 9501. That has some basic stats on influxsnmp operations. We can also take a look at InfluxDB to check that we\u0026rsquo;re receiving data:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 \u0026gt; select value from ifHCInOctets where column=\u0026#39;ADSL\u0026#39; name: ifHCInOctets ------------------ time value 1445821685851115439 52912945362 1445821692356103691 52912957099 1445821722367440151 52913306572 1445821752356421192 52914402662 1445821782357405741 52914782128 1445821812356691368 52914913911 1445821842357547023 52915284111 1445821872357314936 52915831952 1445821902357408200 52915932362 1445821932357485730 52915948310 1445821962356608706 52916072093 \u0026gt; So far so good - we\u0026rsquo;re collecting data, storing it, and we can query it with InfluxDB. Now we need to create visualisations.\nGrafana First download, install \u0026amp; start Grafana. Note that I\u0026rsquo;m using a nightly build again.\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 lhill@grafana:~$ curl -O https://grafanarel.s3.amazonaws.com/builds/grafana_latest_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22.0M 100 22.0M 0 0 568k 0 0:00:39 0:00:39 --:--:-- 608k lhill@grafana:~$ sudo dpkg -i grafana_latest_amd64.deb Selecting previously unselected package grafana. (Reading database ... 96458 files and directories currently installed.) Preparing to unpack grafana_latest_amd64.deb ... Unpacking grafana (2.5.0-pre1) ... Setting up grafana (2.5.0-pre1) ... Adding system user `grafana\u0026#39; (UID 105) ... Adding new user `grafana\u0026#39; (UID 105) with group `grafana\u0026#39; ... Not creating home directory `/usr/share/grafana\u0026#39;. ### NOT starting grafana-server by default on bootup, please execute sudo update-rc.d grafana-server defaults 95 10 ### In order to start grafana-server, execute sudo service grafana-server start Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot lhill@grafana:~$ sudo service grafana-server start * Starting Grafana Server [ OK ] lhill@grafana:~$ Grafana is now listening on port 3000. Open a web browser, and login using the default admin/admin. Click on Data Sources on the left:\nClick Add new and fill in these details:\nName: snmp Default: selected Type: InfluxDB 0.9.x Http settings: - Url http://localhost:8086 InfluxDB Details: - set Database to \u0026lsquo;snmp\u0026rsquo;. We\u0026rsquo;re not using a username \u0026amp; password, but you need to put something in there to be able to save this. So use admin/admin After you\u0026rsquo;ve clicked Add, you\u0026rsquo;ll be able to click Test Connection - try it, and make sure that it\u0026rsquo;s OK.\nRepeat the above process for a new Data Source, with two differences - set the Database as \u0026ldquo;events\u0026rdquo; and leave \u0026ldquo;Default\u0026rdquo; unchecked. We\u0026rsquo;ll use this later for annotations.\nNow we\u0026rsquo;re ready to go with creating dashboards.\nVisualising the Data Dashboards Grafana lets you have multiple dashboards. Each dashboard is a set of panels, where a panel could be a graph, a single metric, or some text. You could have a dashboard with 10 separate graphs, or maybe just one huge number. We want to set up a simple dashboard that shows us a graph of the current traffic on my ADSL link.\nClick on Dashboards on the left, then the drop-down arrow beside Home. Click New at the bottom:\nOn the new blank dashboard, click the small bar at the top left. That will expand out. Choose Add Panel -\u0026gt; Graph\nNow you\u0026rsquo;ll get a graph with test data. Click on the title, where it says \u0026ldquo;no title (click here).\u0026rdquo; On the pop-up box, click Edit.\nClick on the General tab, and set the title to \u0026ldquo;ADSL Throughput.\u0026rdquo; Click on Metrics. Grafana\u0026rsquo;s query editor works well for regular measurements, but it doesn\u0026rsquo;t currently work for derivative functions. We\u0026rsquo;ll use the editor to build up our query, and then switch to raw mode to finish off.\nNext to FROM, click \u0026ldquo;select measurement\u0026rdquo; - this will change to a drop-down that should list the different measurements we\u0026rsquo;re collecting. We want \u0026ldquo;ifHCInOctets.\u0026rdquo; On the _WHERE _line, click +, select \u0026ldquo;column\u0026rdquo; = \u0026ldquo;ADSL\u0026rdquo; You\u0026rsquo;ll need to choose one of your own interfaces, as defined in ports.txt. On the ALIAS BY line, enter \u0026ldquo;Input.\u0026rdquo;\nClick the \u0026ldquo;+ Query\u0026rdquo; button, and add a new query with the same settings as above, except select \u0026ldquo;ifHCOutOctets.\u0026rdquo;\nNow we need to edit the queries in \u0026lsquo;raw\u0026rsquo; mode. Your query screen should look like this:\nClick the menu button in the top left, and click \u0026ldquo;Switch editor mode.\u0026rdquo; We need to add the derivative() function, because we\u0026rsquo;re collecting a counter, not a rate. We also need to multiply the result by 8, to get bps. Your queries should look like this:\n1 SELECT 8 * derivative(mean(\u0026#34;value\u0026#34;),1s) AS \u0026#34;value\u0026#34; FROM \u0026#34;ifHCInOctets\u0026#34; WHERE \u0026#34;column\u0026#34; = \u0026#39;ADSL\u0026#39; AND $timeFilter GROUP BY time($interval) fill(none) One more thing to do - click on Axes \u0026amp; Grid and click \u0026ldquo;short\u0026rdquo; next to Unit. From the drop-down, go data rate -\u0026gt; bits/sec. If you like, you can also enable Legend values: Min, Max, Avg, Current.\nClick Back to dashboard. Click on the Gear icon near the top centre of the screen, and choose Settings. Give the dashboard a title, and click the Save dashboard icon.\nYou should now have a screen that looks something like this:\nPlay around with the time picker in the top-left of the screen, and try selecting \u0026amp; zooming into a time window. It will get more interesting as you collect more data.\nTemplating That graph is OK, but what about having a graph per interface? Or having a drop-down list of interfaces, so we can choose which ones get displayed? This is where the Grafana Template functionality is useful. Click on the Dashboard Gear icon, and click Templating. Click \u0026ldquo;+New\u0026rdquo;\nSet _Name: _Interface, leave it at Type: query, Data Source: snmp. Set the _Query _to SHOW TAG VALUES WITH KEY = \u0026quot;column\u0026quot; and enable Multi-value selection. Click Add. Close the Templating box.\nEdit the original graph. Change each query to that it looks for the variable \u0026ldquo;$Interface\u0026rdquo; instead of \u0026lsquo;ADSL.\u0026rsquo; On the General tab, change the title to \u0026ldquo;$Interface Throughput.\u0026rdquo; Set Repeat Panel to \u0026ldquo;Interface.\u0026rdquo; Save the Dashboard.\nThere will be a drop-down list of Interfaces at the top of the Dashboard. Choose a different interface, and watch the graph update. Select two interfaces at once, and see how you get two graphs:\nAnnotations One of the nice things about InfluxDB + Grafana is that it is easy to add events to a graph. These are called annotations. They could be anything - e.g. a link state change, or maybe a production code deployment notification. Here I\u0026rsquo;ve stored my events in InfluxDB, but you could pull them from somewhere else - e.g. Elasticsearch. Ideal if you have your syslogs going into an ELK stack.\nFor this example I want to add annotations when I start \u0026amp; stop watching a TV show on Netflix. This should show up in my traffic stats.\nGo to Dashboard settings -\u0026gt; Annotations. Click \u0026ldquo;+New\u0026rdquo; and call it \u0026ldquo;Netflix.\u0026rdquo; Make sure the Datasource is set to \u0026ldquo;events.\u0026rdquo; The query should be: SELECT * FROM \u0026quot;alert\u0026quot; WHERE $timeFilter and for the Column mappings, set Title to \u0026ldquo;show\u0026rdquo;, and Text to \u0026ldquo;text.\u0026rdquo; Close the Annotations box.\nGo to the CLI, and manually stuff in some events:\n1 2 3 4 5 6 7 8 9 10 11 12 13 lhill@grafana:~$ curl -i -XPOST \u0026#39;http://localhost:8086/write?db=events\u0026#39; --data-binary \u0026#39;alert,host=srx,show=Spartacus text=\u0026#34;Started watching Netflix\u0026#34; 1445475780000000000\u0026#39; HTTP/1.1 204 No Content Request-Id: 9d7642cc-7ba3-11e5-81d9-000000000000 X-Influxdb-Version: 0.9.5-nightly-9633410 Date: Mon, 26 Oct 2015 05:37:15 GMT lhill@grafana:~$ curl -i -XPOST \u0026#39;http://localhost:8086/write?db=events\u0026#39; --data-binary \u0026#39;alert,host=srx,show=Spartacus text=\u0026#34;Finished watching Netflix\u0026#34; 1445477318374301617\u0026#39; HTTP/1.1 204 No Content Request-Id: b6419d5f-7ba3-11e5-81de-000000000000 X-Influxdb-Version: 0.9.5-nightly-9633410 Date: Mon, 26 Oct 2015 05:37:57 GMT lhill@grafana:~$ Now we get annotations on our graph. Hover over them, and the tool-tip displays some more info:\nOne small niggle is that you can\u0026rsquo;t disable annotations on a per-graph basis, only on a per-dashboard basis. Still, it\u0026rsquo;s very handy.\nFuture improvements Obviously there\u0026rsquo;s a lot that could be improved upon here:\nSort out the SNMP data capture - either package up influxsnmp properly, or (preferred answer): write a plugin for Telegraf. Write Ansible + Vagrant config to package up the above Even better: Do it with Docker, based upon Brent\u0026rsquo;s work. Add more network data sources - e.g. system-level stats, or NOS data collected via API. The point is that it\u0026rsquo;s a flexible framework, and it doesn\u0026rsquo;t need to just be network stats. It gets much more interesting once you start adding in other data sources.\n","permalink":"https://lkhill.com/using-influxdb-grafana-to-display-network-statistics/","summary":"\u003cp\u003eI loathe MRTG graphs. They were cool in 2000, but now they\u0026rsquo;re showing their age. We have much better visualisation tools available, and we don\u0026rsquo;t need to be so aggressive with aggregating old data. I\u0026rsquo;ve been working with InfluxDB + Grafana recently. Much cooler, much more flexible. Here\u0026rsquo;s a walk-through on setting up InfluxDB + Grafana, collecting network throughput data, and displaying it.\u003c/p\u003e","title":"Using InfluxDB + Grafana to Display Network Statistics"},{"content":"I work from home these days. Therefore it\u0026rsquo;s important that I have a decent desk setup. My previous setup was pretty crappy, but I only worked from home part-time. I\u0026rsquo;ve been using a standing desk at home, and wanted to move to a sit/stand model for full-time use. Here\u0026rsquo;s what I did.\nDesk \u0026amp; Monitor Arrangement I bought the Cubit Highrise desk, with a 1200mm x 700mm surface. This is a New Zealand-made manual height-adjustable desk. The adjustable legs allow for the height to be set anywhere between 660 and 1060mm. I paid $660NZD including shipping, from Total Office. That was the best deal at the time.\nI added a Fleximounts L02 monitor stand. This is a desk-mounted monitor stand, with two gas spring arms. One arm has a tray for my MBPr laptop, the other has an LG IPS236 23\u0026quot; monitor. It cost me $134USD including shipping. It\u0026rsquo;s in USD because I picked it up on one of my recent trips to San Jose.\nI also use a wireless Apple keyboard and an Apple Magic Trackpad.\nHow\u0026rsquo;s it working out? I\u0026rsquo;ve been very happy. My previous setup was a crappy desk with a platform added to get it to standing height. That was OK, but it meant I couldn\u0026rsquo;t sit down. That\u0026rsquo;s fine in the morning, but by the afternoon I really needed to spend some time sitting down. It was getting a bit hard on my feet. I may have been able to get used to it, especially if I added an anti-fatigue mat, and wore shoes more regularly (I don\u0026rsquo;t usually bother with them at home).\nI\u0026rsquo;m switching from sitting to standing around every 90-120 minutes. That seems to work well for me. Sometimes I\u0026rsquo;ll switch more frequently. The manual setup takes about 100 turns to switch position, so it\u0026rsquo;s easy to turn, but it is a point of friction when it comes to \u0026ldquo;should I change now?\u0026rdquo;\nMy previous setup didn\u0026rsquo;t allow me to use both monitor \u0026amp; laptop. This setup gives me more screen real estate. Lifting the monitor \u0026amp; laptop off the desk also gives me more physical real estate to spread out notes and coffee cups. I can also get the monitor to the height I need. I used to use a couple of standard monitor height adjusting devices (i.e. phone books \u0026amp; paper reams) but it wasn\u0026rsquo;t quite the right height. Now it is.\nAny issues? Not much. The only issue I\u0026rsquo;ve noticed is that if I\u0026rsquo;m resting my palms on the desk when typing I get a bit of wobble coming through the monitor. I think I might be able to reduce this a little by fiddling with the adjustor screws underneath the desk. Part of the problem is that the carpet is just a little soft, allowing for some movement. That gets amplified at the end of the monitor arm.\nI also need to sort out my chair. I have a basic office chair, but could do with something a little better. I\u0026rsquo;ll probably get a Spectrum 3. I\u0026rsquo;ve seen refurbished ones for around $100NZD.\nWhat would I do differently? If I was setting up again, I would spend the extra $100NZD and buy the electric version of the desk. I believe I would change positions more often. It also comes in 600mm-deep version, which would suit my small office space better.\nI might also go for a cheaper monitor stand that did not have gas springs - e.g. something like this. I\u0026rsquo;m the only one using this setup, and I don\u0026rsquo;t need to change the heights when I change the desk, so the gas arms are overkill. Plus when I remove my laptop the arm lifts up (as it\u0026rsquo;s in balance with the laptop weight). This usually means a bit of adjustment is needed when I put the laptop back, as it gets bumped around when I lift out the laptop.\nOverall I\u0026rsquo;m pleased with how it\u0026rsquo;s worked out.\n","permalink":"https://lkhill.com/sit-stand-desk-setup/","summary":"\u003cp\u003eI work from home these days. Therefore it\u0026rsquo;s important that I have a decent desk setup. My previous setup was pretty crappy, but I only worked from home part-time. I\u0026rsquo;ve been using a standing desk at home, and wanted to move to a sit/stand model for full-time use. Here\u0026rsquo;s what I did.\u003c/p\u003e","title":"Sit Stand Desk Setup"},{"content":"Brocade Network Advisor (BNA) has a REST API for accessing Fibre Channel-related data. The documentation includes a sample Python script showing how to connect to the API to retrieve Fabric info. The script given only works with Python 3.x. It\u0026rsquo;s also a pain to copy out of the documentation as you end up with a few extra characters in there. Here\u0026rsquo;s a version that will work with Python 2.7. I\u0026rsquo;ve also made a few other modifications - in this one, you can set the BNA IP, Username \u0026amp; Password at the top of the script. I\u0026rsquo;ve also made it PEP8-compliant.\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 #!/usr/bin/env python import httplib import json import sys BNAServer = \u0026#34;10.200.5.181\u0026#34; BNAUsername = \u0026#34;Administrator\u0026#34; BNAPassword = \u0026#34;password\u0026#34; # Create HTTPConnection object and connect to the server. connection = httplib.HTTPConnection(BNAServer) ########################### # Log in to Network Advisor ########################### # Send login request connection.request( \u0026#39;POST\u0026#39;, \u0026#39;/rest/login\u0026#39;, headers={ \u0026#34;WSUsername\u0026#34;: BNAUsername, \u0026#34;WSPassword\u0026#34;: BNAPassword, \u0026#34;Accept\u0026#34;: \u0026#34;application/vnd.brocade.networkadvisor+json;version=v1\u0026#34;} ) print() print(\u0026#34;Sending login request to Network Advisor...\u0026#34;) # Get the response response = connection.getresponse() # Display the response status print() print (\u0026#34;Status= \u0026#34;, response.status) # If successful (status = 200), display the returned session token if response.status == 200: WStoken = response.getheader(\u0026#39;WStoken\u0026#39;) print() print(\u0026#34;Login successful!\u0026#34;) print(\u0026#34;WStoken: \u0026#34;, WStoken) else: print() print (response.status, response.reason) connection.close() ########################### # Retrieve fabrics ########################### # Send GET request connection.connect() connection.request( \u0026#39;GET\u0026#39;, \u0026#39;/rest/resourcegroups/All/fcfabrics\u0026#39;, headers={ \u0026#34;WStoken\u0026#34;: WStoken, \u0026#34;Accept\u0026#34;: \u0026#34;application/vnd.brocade.networkadvisor+json;version=v1\u0026#34;} ) print() print(\u0026#34;--------------------------------------------------------------------\u0026#34;) print(\u0026#34;Getting list of all fabrics...\u0026#34;) # Get the response response = connection.getresponse() # Display the response status print() print (\u0026#34;Status= \u0026#34;, response.status) # If successful (status = 200), display the returned list in JSON format if response.status == 200: print() print(\u0026#34;List of fabrics:\u0026#34;) json_response_bytes = response.read() json_response_string = json_response_bytes.decode(\u0026#39;utf-8\u0026#39;) list_of_fabrics_dict = json.loads(json_response_string) print(json.dumps(list_of_fabrics_dict, indent=4)) print(\u0026#34;Number of FC fabrics: \u0026#34;, len(list_of_fabrics_dict[\u0026#34;fcFabrics\u0026#34;])) else: print() print (response.status, response.reason) sys.exit() connection.close() ############################## # Retrieve details of a fabric ############################## # Get the key of the first fabric in the list fabric_key = list_of_fabrics_dict[\u0026#34;fcFabrics\u0026#34;][0][\u0026#34;key\u0026#34;] # Send GET requrest connection.connect() connection.request( \u0026#39;GET\u0026#39;, \u0026#39;/rest/resourcegroups/All/fcfabrics/\u0026#39;+fabric_key, headers={ \u0026#34;WStoken\u0026#34;: WStoken, \u0026#34;Accept\u0026#34;: \u0026#34;application/vnd.brocade.networkadvisor+json;version=v1\u0026#34;} ) print() print(\u0026#34;--------------------------------------------------------------------\u0026#34;) print(\u0026#34;Get fabric \u0026#34;+fabric_key+\u0026#34; details...\u0026#34;) # Get the response response = connection.getresponse() # Display the response status print() print (\u0026#34;Status= \u0026#34;, response.status) # If successful (status = 200), display the returned list in JSON format if response.status == 200: print() print(\u0026#34;Fabric details:\u0026#34;) json_response_bytes = response.read() json_response_string = json_response_bytes.decode(\u0026#39;utf-8\u0026#39;) fabric_details_dict = json.loads(json_response_string) print(json.dumps(fabric_details_dict, indent=4)) else: print() print (response.status, response.reason) sys.exit() connection.close() ###################################################### # Retrieve list of switches in the context of a fabric ###################################################### # Send GET requrest connection.connect() connection.request( \u0026#39;GET\u0026#39;, \u0026#39;/rest/resourcegroups/All/fcfabrics/\u0026#39;+fabric_key+\u0026#39;/fcswitches\u0026#39;, headers={ \u0026#34;WStoken\u0026#34;: WStoken, \u0026#34;Accept\u0026#34;: \u0026#34;application/vnd.brocade.networkadvisor+json;version=v1\u0026#34;} ) print() print(\u0026#34;--------------------------------------------------------------------\u0026#34;) print(\u0026#34;Get the list of switches under fabric \u0026#34;+fabric_key+\u0026#34; ...\u0026#34;) # Get the response response = connection.getresponse() # Display the response status print() print (\u0026#34;Status= \u0026#34;, response.status) # If successful (status = 200), display the returned list in JSON format if response.status == 200: print() print(\u0026#34;List of switches:\u0026#34;) json_response_bytes = response.read() json_response_string = json_response_bytes.decode(\u0026#39;utf-8\u0026#39;) list_of_fabric_switches_dict = json.loads(json_response_string) print(json.dumps(list_of_fabric_switches_dict, indent=4)) else: print() print (response.status, response.reason) sys.exit() connection.close() Save that, edit the server IP \u0026amp; username/password, then run it. You should get output that looks something like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 bna-api lhill$ ./na_client.py () Sending login request to Network Advisor... (\u0026#39;Status= \u0026#39;, 200) () Login successful! (\u0026#39;WStoken: \u0026#39;, \u0026#39;3CSkxp2i4HPtAiQFOLY/ha6mF7w=\u0026#39;) () -------------------------------------------------------------------- Getting list of all fabrics... () (\u0026#39;Status= \u0026#39;, 200) () List of fabrics: { \u0026#34;fcFabrics\u0026#34;: [ { \u0026#34;fabricName\u0026#34;: \u0026#34;\u0026#34;, \u0026#34;name\u0026#34;: \u0026#34;Fabric B\u0026#34;, \u0026#34;seedSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;description\u0026#34;: null, \u0026#34;principalSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;virtualFabricId\u0026#34;: 128, \u0026#34;contact\u0026#34;: null, \u0026#34;location\u0026#34;: null, \u0026#34;key\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;seedSwitchIpAddress\u0026#34;: \u0026#34;10.200.10.100\u0026#34;, \u0026#34;adEnvironment\u0026#34;: false, \u0026#34;secure\u0026#34;: false }, { \u0026#34;fabricName\u0026#34;: \u0026#34;\u0026#34;, \u0026#34;name\u0026#34;: \u0026#34;Fabric A\u0026#34;, \u0026#34;seedSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:1E:92:D8:00\u0026#34;, \u0026#34;description\u0026#34;: null, \u0026#34;principalSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:33:8A:7C:6A\u0026#34;, \u0026#34;virtualFabricId\u0026#34;: -1, \u0026#34;contact\u0026#34;: null, \u0026#34;location\u0026#34;: null, \u0026#34;key\u0026#34;: \u0026#34;10:00:00:05:33:8A:7C:6A\u0026#34;, \u0026#34;seedSwitchIpAddress\u0026#34;: \u0026#34;10.200.7.110\u0026#34;, \u0026#34;adEnvironment\u0026#34;: false, \u0026#34;secure\u0026#34;: false } ], \u0026#34;totalResults\u0026#34;: null, \u0026#34;startIndex\u0026#34;: null, \u0026#34;itemsPerPage\u0026#34;: null } (\u0026#39;Number of FC fabrics: \u0026#39;, 2) () -------------------------------------------------------------------- Get fabric 10:00:00:05:33:A3:DF:90 details... () (\u0026#39;Status= \u0026#39;, 200) () Fabric details: { \u0026#34;fcFabrics\u0026#34;: [ { \u0026#34;fabricName\u0026#34;: \u0026#34;\u0026#34;, \u0026#34;name\u0026#34;: \u0026#34;Fabric B\u0026#34;, \u0026#34;seedSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;description\u0026#34;: null, \u0026#34;principalSwitchWwn\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;virtualFabricId\u0026#34;: 128, \u0026#34;contact\u0026#34;: null, \u0026#34;location\u0026#34;: null, \u0026#34;key\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;seedSwitchIpAddress\u0026#34;: \u0026#34;10.200.10.100\u0026#34;, \u0026#34;adEnvironment\u0026#34;: false, \u0026#34;secure\u0026#34;: false } ], \u0026#34;totalResults\u0026#34;: null, \u0026#34;startIndex\u0026#34;: null, \u0026#34;itemsPerPage\u0026#34;: null } () -------------------------------------------------------------------- Get the list of switches under fabric 10:00:00:05:33:A3:DF:90 ... () (\u0026#39;Status= \u0026#39;, 200) () List of switches: { \u0026#34;totalResults\u0026#34;: null, \u0026#34;startIndex\u0026#34;: null, \u0026#34;fcSwitches\u0026#34;: [ { \u0026#34;baseSwitch\u0026#34;: false, \u0026#34;domainId\u0026#34;: 160, \u0026#34;adCapable\u0026#34;: false, \u0026#34;name\u0026#34;: \u0026#34;fcr_fd_160\u0026#34;, \u0026#34;portBasedRoutingPresent\u0026#34;: false, \u0026#34;defaultLogicalSwitch\u0026#34;: false, \u0026#34;inOrderDeliveryCapable\u0026#34;: false, \u0026#34;dynamicLoadSharingCapable\u0026#34;: false, \u0026#34;state\u0026#34;: \u0026#34;UNKNOWN\u0026#34;, \u0026#34;statusReason\u0026#34;: null, \u0026#34;autoSnmpEnabled\u0026#34;: true, \u0026#34;virtualFabricId\u0026#34;: -1, \u0026#34;operationalStatus\u0026#34;: \u0026#34;HEALTHY\u0026#34;, \u0026#34;role\u0026#34;: \u0026#34;SUBORDINATE\u0026#34;, \u0026#34;fmsMode\u0026#34;: false, \u0026#34;key\u0026#34;: \u0026#34;50:00:51:E9:2D:80:0E:0A\u0026#34;, \u0026#34;fcsRole\u0026#34;: \u0026#34;None\u0026#34;, \u0026#34;lfEnabled\u0026#34;: false, \u0026#34;wwn\u0026#34;: \u0026#34;50:00:51:E9:2D:80:0E:0A\u0026#34;, \u0026#34;type\u0026#34;: 40, \u0026#34;persistentDidEnabled\u0026#34;: false }, { \u0026#34;baseSwitch\u0026#34;: false, \u0026#34;domainId\u0026#34;: 2, \u0026#34;adCapable\u0026#34;: true, \u0026#34;name\u0026#34;: \u0026#34;SW6510-B\u0026#34;, \u0026#34;portBasedRoutingPresent\u0026#34;: false, \u0026#34;defaultLogicalSwitch\u0026#34;: true, \u0026#34;inOrderDeliveryCapable\u0026#34;: false, \u0026#34;dynamicLoadSharingCapable\u0026#34;: true, \u0026#34;state\u0026#34;: \u0026#34;ONLINE\u0026#34;, \u0026#34;statusReason\u0026#34;: \u0026#34;Switch Status is HEALTHY. Contributors:\u0026#34;, \u0026#34;autoSnmpEnabled\u0026#34;: true, \u0026#34;virtualFabricId\u0026#34;: 128, \u0026#34;operationalStatus\u0026#34;: \u0026#34;HEALTHY\u0026#34;, \u0026#34;role\u0026#34;: \u0026#34;PRINCIPAL\u0026#34;, \u0026#34;fmsMode\u0026#34;: false, \u0026#34;key\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;fcsRole\u0026#34;: \u0026#34;None\u0026#34;, \u0026#34;lfEnabled\u0026#34;: false, \u0026#34;wwn\u0026#34;: \u0026#34;10:00:00:05:33:A3:DF:90\u0026#34;, \u0026#34;type\u0026#34;: 109, \u0026#34;persistentDidEnabled\u0026#34;: false }, { \u0026#34;baseSwitch\u0026#34;: false, \u0026#34;domainId\u0026#34;: 1, \u0026#34;adCapable\u0026#34;: true, \u0026#34;name\u0026#34;: \u0026#34;DCX2\u0026#34;, \u0026#34;portBasedRoutingPresent\u0026#34;: false, \u0026#34;defaultLogicalSwitch\u0026#34;: true, \u0026#34;inOrderDeliveryCapable\u0026#34;: false, \u0026#34;dynamicLoadSharingCapable\u0026#34;: true, \u0026#34;state\u0026#34;: \u0026#34;ONLINE\u0026#34;, \u0026#34;statusReason\u0026#34;: \u0026#34;Switch Status is HEALTHY. Contributors:\u0026#34;, \u0026#34;autoSnmpEnabled\u0026#34;: true, \u0026#34;virtualFabricId\u0026#34;: -1, \u0026#34;operationalStatus\u0026#34;: \u0026#34;HEALTHY\u0026#34;, \u0026#34;role\u0026#34;: \u0026#34;SUBORDINATE\u0026#34;, \u0026#34;fmsMode\u0026#34;: false, \u0026#34;key\u0026#34;: \u0026#34;10:00:00:05:1E:75:4A:00\u0026#34;, \u0026#34;fcsRole\u0026#34;: \u0026#34;None\u0026#34;, \u0026#34;lfEnabled\u0026#34;: false, \u0026#34;wwn\u0026#34;: \u0026#34;10:00:00:05:1E:75:4A:00\u0026#34;, \u0026#34;type\u0026#34;: 77, \u0026#34;persistentDidEnabled\u0026#34;: false } ], \u0026#34;itemsPerPage\u0026#34;: null } Hope this helps someone trying to get started with the API.\n","permalink":"https://lkhill.com/brocade-bna-api/","summary":"\u003cp\u003e\u003ca href=\"http://www.brocade.com/en/products-services/network-management/brocade-network-advisor.html\"\u003eBrocade Network Advisor\u003c/a\u003e (BNA) has a \u003ca href=\"http://www1.brocade.com/downloads/documents/html_product_manuals/NA_1240_RESTAPI/wwhelp/wwhimpl/js/html/wwhelp.htm\"\u003eREST API\u003c/a\u003e for accessing Fibre Channel-related data. The documentation includes a sample Python script showing how to connect to the API to retrieve Fabric info. The script given only works with Python 3.x. It\u0026rsquo;s also a pain to copy out of the documentation as you end up with a few extra characters in there. Here\u0026rsquo;s a version that will work with Python 2.7. I\u0026rsquo;ve also made a few other modifications - in this one, you can set the BNA IP, Username \u0026amp; Password at the top of the script.  I\u0026rsquo;ve also made it PEP8-compliant.\u003c/p\u003e","title":"Brocade BNA API"},{"content":" This article is Part 10 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - This Article Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) We put a lot of energy into new projects. We argue about the design, we plan the cutover, we execute it\u0026hellip;and then we move on. But decommissioning the old system is critical part of any project. It\u0026rsquo;s not over until you\u0026rsquo;ve switched off the old system.\nYears ago I was involved in the buildout of a new network. The new network was a thing of beauty. A clear design, the best equipment, redundant everything. It was replacing a legacy network, one that had grown organically.\nThe new network was built out. Late one night the key services were cut over, and things were looking good. Everyone was happy, and we had a big party to celebrate. The project group disbanded, and everyone moved on to other things. Since the project was closed out, funding \u0026amp; resources stopped. Success, right?\nExcept…the old equipment was still running. A handful of applications were left on the old network. Some annoying services used undocumented links between the networks. Even worse, disused WAN links were still in place, and still being billed for.\nThe problem was that the project was officially ‘over.’ Who’s responsible for finishing off that last bit of cleanup?\nI’ve seen similar things in different organisations. The worst case was where they had the \u0026rsquo;new\u0026rsquo; environment, the previous one, and buried in a corner, the first one they ever built. The old ones were still trucking along, with a handful of customers left on each.\nThis is another form of technical debt. In this case it also has clear financial implications. The original financial model for the project would have included cost savings from reduced support costs, etc. It would definitely have assumed that we wouldn\u0026rsquo;t be running two networks at once. But if we’re still running all the old gear too, will there actually be any cost savings?\nYet this often gets forgotten about. No-one goes back a year later and checks “Did that project actually deliver the savings we thought it would?” The old stuff keeps trucking along, and no-one cleans it up.\nIn this case I found the time to rip out all the old gear. It was about 12 months after the “official” project close-out when I finally finished. I wanted to send out a “Project is complete!” email, but the boss told me it might not be a good idea politically. Seems that people don’t like to be reminded that they hadn’t actually finished the job.\nThe project isn’t over when the new system goes live. It’s over when you’ve finally unplugged the old gear.\nNote: Side note: Don’t forget about following up with the paperwork. If you don’t ask your Service Provider to RQ that unused WAN link, they’ll keep billing for it. Same with hardware support - your vendor’s quite happy to keep charging you support fees for gear you no longer use. Follow up on it. ","permalink":"https://lkhill.com/closing-out-projects/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 10\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Closing out Projects"},{"content":"Apple’s 2015 WWDC event included a great session on IPv6 \u0026amp; TCP changes coming with iOS 9. There is a related post to the IETF v6ops mailing list here. The new IPv6 hotspot is very interesting to me. These are my notes on how hotspot functionality can work with IPv6, and no NAT.\nNote: Disclaimer: These are my own notes, written to help my understanding. There will be mistakes. Corrections welcome. IPv4 Hotspot - (aka the simplicity of NAT?) The current IPv4 hotspots use simple NAT, similar to most home network setups. The mobile network assigns a public IPv4 /32 address to the handset, H. The handset picks a local RFC1918 address space for its connectivity to local clients, and hands that out via DHCP. Hide NAT is used to provide outbound internet connectivity for those clients.\nWhat about IPv6? Isn’t NAT verboten? NAT is evil, right? We can’t use NAT to hide the local clients behind the handset. So how do we provide IPv6 hotspot functionality? One way would be to use DHCPv6 PD. When the hotspot is enabled, the mobile device could request a prefix via DHCPv6 PD. That could then be used for local devices.\nUnfortunately the mobile networks don’t do DHCPv6 PD yet. It’s not clear if they will do any time soon either. We need an interim measure.\nThere’s a couple of options, and they both exploit the fact that handsets are allocated a /64 prefix, rather than a /128 (i.e. the equivalent of an IPv4 /32). Apple has announced support for a variant of one of these options in iOS 9.\nBackground: IPv4 Proxy ARP A quick refresher on Proxy ARP:\nProxy ARP is the technique in which one host, usually a router, answers ARP requests intended for another machine. By “faking” its identity, the router accepts responsibility for routing packets to the “real” destination.\nCisco Tech Note\nIn the network below, A \u0026amp; B have the wrong subnet masks. Normally they should not be able to communicate. But if router P is running proxy ARP, it will ‘fake’ ARP responses from each router. A \u0026amp; B will think they’re communicating directly across the same broadcast domain, even though it’s P relaying the traffic.\nNote that this is different behaviour to a simple bridge, which just forwards frames without changing them.\nRFC 7278: Extending an IPv6 /64 Prefix from a 3GPP Mobile Interface to a LAN Link A normal connection looks like this:\nNote that a /64 is assigned to handset. It chooses an address from that /64, and the mobile network routes traffic to that /64 to the handset.\nTo work as a hotspot, the /64 is moves from the ‘upstream’ network to the \u0026lsquo;downstream\u0026rsquo; network. The handset can keep the same address. It sends out RAs, and devices using the hotspot will automatically address themselves in that same /64. The GGSN/PGW still routes all traffic addressed to that /64 to the handset. The handset will process any locally-destined traffic, and forward traffic to other addresses in the /64.\nThis method is quite elegant. It exploits two things:\nThe GGSN/PGW connection to the handset acts like a P2P interface. No Neighbor Discovery is performed - it just forwards all traffic routed to the /64 directly to the handset.\nThe GGSN/PGW does not use any address on the allocated /64. So there’s no concern about a local device attempting to use the same address as the PGW.\nIf the PGW had assigned a /128, this wouldn’t work. But because it’s a /64, we can easily assign other addresses from the same prefix. The PGW doesn’t seem to care that it sees more than one IPv6 address. As long as they’re all in the same /64, it works. No need to proxy any RA or ND messages.\nIt does have limitations - it only works when the upstream connection is effectively a point-to-point network, and won’t work if there are loops or multiple routers.\nRFC 4389: Neighbor Discovery Proxies This technique is closer to the proxy ARP model. It is a more complicated technique, but one that works in a wider variety of networks.\nAgain, the mobile network has assigned a /64 to the handset. But rather than ‘moving’ that /64 to the downstream network, in this model the handset squats in the middle of the network.\nIn this network there could be hosts in that same /64 on both the ‘upstream’ and ‘downstream’ side of the handset. To glue this together, the device in the middle proxies IPv6 Neighbor Discovery packets. These are the approximate equivalent of ARP in an IPv4 network.\nWhen the upstream router sends out a Route Advertisement packet, the handset uses that to configure its own addressing \u0026amp; routing. It then forwards the RA out the downstream interface, so any connected devices can auto-configure their own addresses \u0026amp; routing.\nThe handset in the middle puts its interfaces into “all-multicast” mode. It maintains a neighbor cache for both interfaces. It checks received IPv6 packets to see if they need to be handled locally, forwarded unchanged (apart from new link-layer addresses) or proxied. It proxies anything that negotiates link-layer addresses - I.e. NS, NA, RA, \u0026amp; ICMPv6 redirects.\nThose packets contain link-layer addresses both in the link-layer header \u0026amp; in the payload. Both of these need to be modified. It works in a very similar way to proxy ARP, tricking systems into forwarding frames via a different system. If you modify the NS/NA/RA packets, you’ll end up with all unicast traffic being forwarded to your link-layer address.\nThe example in the RFC is pretty good:\nConsider the following topology, where A and B are nodes on separate segments which are connected by a proxy P:\nA\u0026mdash;|\u0026mdash;P\u0026mdash;|\u0026mdash;B a p1 p2 b\nA and B have link-layer addresses a and b, respectively. P has link-layer addresses p1 and p2 on the two segments. We now walk through the actions that happen when A attempts to send an initial IPv6 packet to B.\nA first does a route lookup on the destination address B. This matches the on-link subnet prefix, and a destination cache entry is created as well as a neighbor cache entry in the INCOMPLETE state. Before the packet can be sent, A needs to resolve B’s link-layer address and sends a Neighbor Solicitation (NS) to the solicited-node multicast address for B. The Source Link-Layer Address (SLLA) option in the solicitation contains A’s link-layer address.\nP receives the solicitation (since it is receiving all link-layer multicast packets) and processes it as it would any multicast packet by forwarding it out to other segments on the link. However, before actually sending the packet, it determines if the packet being sent is one that requires proxying. Since it is an NS, it creates a neighbor entry for A on interface 1 and records its link-layer address. It also creates a neighbor entry for B (on an arbitrary proxy interface) in the INCOMPLETE state. Since the packet is multicast, P then needs to proxy the NS out all other proxy interfaces on the subnet. Before sending the packet out interface 2, it replaces the link-layer address in the SLLA option with its own link-layer address, p2.\nB receives this NS, processing it as usual. Hence it creates a neighbor entry for A mapping it to the link-layer address p2. It responds with a Neighbor Advertisement (NA) sent to A containing B’s link-layer address b. The NA is sent using A’s neighbor entry, i.e., to the link-layer address p2.\nAll reasonably straightforward. Yes?\nApple’s Version Apple has implemented something similar to this in iOS 9. The source code is here. They have ‘scoped’ and ‘non-scoped’ interfaces. ‘Non-scoped’ are the regular ‘global’ interfaces we’re used to. They’re the ‘upstream’ interfaces in the diagrams above. When an interface is marked for proxying, non-scoped on-link prefixes are shared with other ‘scoped’ interfaces.\nFrom my reading, it all looks very similar to RFC 4389. It looks like it inspects the ND packets a little more closely, and only proxies them if they’re for a global prefix obtained from an RA. But note this comment in the source code:\nNote that this is not a strict implementation of RFC 4389, but rather a derivative based on similar concept. In particular, we only proxy NS and NA packets; RA packets are never proxied.\nI haven’t yet figured out what they’re doing here for Route Advertisements. My assumption is that they must be generating their own RAs locally. Anyone else know what they’re doing here?\nOne of the other comments in the source code is this:\nOur current implementation assumes that the proxied prefix is shared to no more than one downstream interfaces (typically a bridge interface).\nPresumably this means that the hotspot won’t work if you’re providing simultaneous Bluetooth \u0026amp; Wi-Fi hotspot connectivity?\n","permalink":"https://lkhill.com/ipv6-based-wi-fi-hotspots/","summary":"\u003cp\u003eApple’s 2015 WWDC event included a \u003ca href=\"https://developer.apple.com/videos/wwdc/2015/?id=719\"\u003egreat session\u003c/a\u003e on IPv6 \u0026amp; TCP changes coming with iOS 9. There is a related post to the IETF v6ops mailing list \u003ca href=\"https://www.ietf.org/mail-archive/web/v6ops/current/msg22275.html\"\u003ehere\u003c/a\u003e. The new IPv6 hotspot is very interesting to me. These are my notes on how hotspot functionality can work with IPv6, and no NAT.\u003c/p\u003e","title":"IPv6-based Wi-Fi Hotspots"},{"content":"The Docker/shipping container metaphor is overdone. I don\u0026rsquo;t think people have fully thought through what it might mean if containers do the same thing to computing as they did to shipping. Are we prepared for hipsters taking over derelict data centers?\nThere is an unpublished rule that all Docker articles must be accompanied by a picture of shipping containers. Forbes is a particularly egregious offender. I don\u0026rsquo;t know if it\u0026rsquo;s the work of a serial offender sub-editor, or if it\u0026rsquo;s a company-wide policy. I suspect the latter.\nThen there\u0026rsquo;s the DC2 Desktop Container Computer Kickstarter campaign:\n(I must admit I do like this one)\nBut what happened when shipping converted to using containers? Consolidation of ports, dramatic reduction in required labour force, leading to waterfront dereliction. Years later cities re-discovered their waterfront spaces, leading to redevelopment \u0026amp; gentrification.\nWharfs went from this:\n(Image from State Library of South Australia, CC license)\nTo this:\n(Image by David Dixon, CC license)\nTo be re-born as this:\n(Image from Wikimedia Commons, CC license)\nSo does that mean that our data centers will go from this:\n(Image from Intel Free Press, CC license)\nTo this:\n(Image from Wolfgang Stief, CC license)\nTo finally be converted into the sort of bar that these guys play at?\n(Image by Slava, CC license)\nIs that what we really want people? Our data centers taken over by hipsters, turning our racks into artisanal furniture, riding single-speeds down the hot aisle, serving cold-pressed coffee using re-purposed sections of cable duct? We better be careful what we wish for.\n","permalink":"https://lkhill.com/stretching-the-container-metaphor/","summary":"\u003cp\u003eThe Docker/shipping container metaphor is overdone. I don\u0026rsquo;t think people have fully thought through what it might mean if containers do the same thing to computing as they did to shipping. Are we prepared for hipsters taking over derelict data centers?\u003c/p\u003e","title":"Stretching the Container Metaphor"},{"content":" This article is Part 9 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - This Article Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Our irregular War Stories returns, with a story about a network I worked on with strict change control, but high technical debt. What should have been a simple fix became far more pain than it should have been. Lesson learned: next time just leave things alone. I\u0026rsquo;m sure the ITIL true believers loved their process, but did they realise it stopped people fixing problems?\nA classic problem: Duplex mismatch I spotted a duplex mismatch with one of the services I was responsible for. Throughput was low, and the NIC was showing late collisions. Classic mismatch. Should be an easy enough fix, right? Whoa there son. This is an ITIL shop. No changes without an approved change request!\nLogging Changes: An Exercise in Frustration Change policy at this company was for a lead time for one week for most systems, or two weeks for some \u0026lsquo;important\u0026rsquo; systems. Changes had to be submitted and approved before the deadline. There was no reason for the delay. Nothing happened during those two weeks, there was no extra review, you just had to wait, because that was the process.\nThis company had a Change Management system built on top of a main-frame application. Seriously? Yes, seriously. But it was web-enabled! \u0026hellip;sort of. You could go to a web page, and launch a Java applet, that loaded\u0026hellip;a green-screen terminal.\nThe change management application itself was the worst I have ever seen, worse even than the Access Database I used at another site. On login, you were given 5 options. None of those applied. You had to know the secret 4 character sequence, which put you into the change management piece. No clues were given.\nThe change form included a series of screens, some with free-text fields. When filling in the text fields, it was like using a type-writer. No automatic text wrapping. You had to manually move the cursor to the start of the following line. God help you if you needed to go back \u0026amp; edit text. Dates and special codes were entered in at least 8 different places.\nOnce you\u0026rsquo;d finally figured out how to navigate the system, you had to get a colleague to approve it.\nEventually I got there: An approved change.\nThe quick part: the actual change Two weeks later, I go to make the change. Login to the server, find the network adapter configuration, change it to 100/full. Easy, right? Not quite. This ancient Windows version said \u0026ldquo;Wait right there! I\u0026rsquo;m going to reboot to apply that change! Bye!\u0026rdquo;\nCrap. I didn\u0026rsquo;t plan on rebooting the server, but it\u0026rsquo;s doing it now. Even Windows 2000 didn\u0026rsquo;t want a reboot. Oh well. It should come back up in a few minutes. Let\u0026rsquo;s set up a continuous ping and wait a while.\nWaiting\u0026hellip;\nWaiting\u0026hellip;\nNo response\u0026hellip; No response yet. Let\u0026rsquo;s give it a bit longer. You kids won\u0026rsquo;t remember this, but physical servers take a long time to boot.\n5 more minutes, and still no response. OK, time to start worrying. I need to look at the server console. What about connecting to the iLO? Nope, don\u0026rsquo;t have one. OK, the DC is just down the hallway. Can I go down \u0026amp; look? Of course not. I have root access to any number of critical systems, but I don\u0026rsquo;t have physical access.\nGetting access to the DC needs a special swipe card. How do I get that? Oh, you need a special change request. Shit. My change request doesn\u0026rsquo;t mention physical access.\nEmergency Access time Crap. Call the boss. He\u0026rsquo;s not far away, and he comes into the office. We start working through what we need to do. Call the NOC, explain that we\u0026rsquo;ve had a problem during a change, and need to get physical access. \u0026ldquo;But you don\u0026rsquo;t have a change logged for tonight. It\u0026rsquo;s tomorrow\u0026rdquo;\nWhat? I\u0026rsquo;m sure I\u0026rsquo;ve filled in the damned form!\nNot quite. The change form had many, many fields, and I\u0026rsquo;d put the right date in some places, and the wrong date in one of them. No reviewer had noticed that the dates didn\u0026rsquo;t all line up. So now we need to get emergency changes to a change we\u0026rsquo;re not actually supposed to be doing right now.\nEscalate again In any other organisation, we would have at least just been able to go \u0026amp; look at the server. Not here. We call in the boss\u0026rsquo; boss. Good thing I\u0026rsquo;ve got good relationships with these two. We go through what\u0026rsquo;s required, and somehow Joe figures out the right mechanics to get an emergency change logged, and approved.\nOff down to the security guard. Hand in my mobile phone \u0026amp; swipe card. Receive special DC-access swipe card. Back up to the DC.\nAt last: Into the DC OK, finally we\u0026rsquo;re into the DC. Find the rack, flip the KVM over to the right server\u0026hellip;\u0026ldquo;Power supply disconnected: Press F1 to continue.\u0026rdquo; Eh? What\u0026rsquo;s going on?\nGet around the back of the machine, trace it out\u0026hellip;WTF? There\u0026rsquo;s no cable plugged into the second PSU. Investigate a bit more, realise it\u0026rsquo;s because there\u0026rsquo;s no spare sockets in that cabinet. My guess is that in the past someone needed to plug something else in, so \u0026lsquo;borrowed\u0026rsquo; the second cable from this server.\nThe boss \u0026amp; I look at each other, wondering what to do. Obviously we can just press F1, the server will boot, and all will be OK. We can figure out the second power cable tomorrow. Except\u0026hellip;that would be another change to press F1. We don\u0026rsquo;t have permission to press F1. Our emergency change was just to go and look at the server. We\u0026rsquo;ll need to go and log a change.\nOr: \u0026ldquo;Whoops I think I just leaned my elbow on the keyboard and accidentally pressed F1. Whatever will we tell the Change Prevention team?\u0026rdquo;\nHow about: \u0026ldquo;Yeah, so there\u0026rsquo;s a 30-minute timer on that error message, and if nothing\u0026rsquo;s happened it just continues to boot automatically. The server was working by the time we got into the DC.\u0026rdquo; They brought it, service was restored, and we could go home.\nHours of time spent pissing around, due to one administrative mistake on my part, all because someone didn\u0026rsquo;t bother plugging the server in properly. But hey, I\u0026rsquo;m sure they filled in the change forms properly, right?\nProcess vs Practice To summarise: The ITIL processes ticked every box. The zealots were happy, and probably thought they were doing a Good Job, making the system better. But had that led to better practice? No, not at all. Look at all the technical failures:\nNo remote access to the server console. Servers running on single power supplies - and no-one detected it. No active monitoring for NIC errors. Outdated server \u0026amp; application software. The really crushing aspect of the ITIL processes was that they had made it too hard to make changes. No-one was prepared to put the effort into fixing broken things. It was just all too hard. Easier to focus on the new projects, and let the old technical debt keep incurring interest. Only deal with it in an emergency. Such a shame. They\u0026rsquo;d invested heavily into processes, but hadn\u0026rsquo;t made sure that it matched their practices.\nWhat would be a better use of resources? Tighter change management? Or better technical practices? Which one would lead to better customer outcomes?\nClearly at some point in the past technical management was weak. But if you layer up on process, and make it too hard to fix problems, you won\u0026rsquo;t get quality service.\n","permalink":"https://lkhill.com/war-stories-itil-process-vs-practice/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 9\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: ITIL Process vs Practice"},{"content":"PyNOS v1.1 has been published. This is a python library that simplifies automating Brocade VDX systems. It is built on top of ncclient, and uses NETCONF to communicate with the VDX systems. Using the libraries is much simpler than writing your own NETCONF calls.\nWhat can I do with it? Use Python to script configuration or management tasks against VDX devices, e.g.:\nConfigure interfaces \u0026amp; VLANs Find LLDP neighbors Find out which port a MAC is connected to Configure BGP Configure SNMP You can also use Python as an interactive shell to run commands against multiple systems.\nExamples: Connect to device and check firmware version \u0026amp; uptime: 1 2 3 4 5 6 7 8 9 10 11 \u0026gt;\u0026gt;\u0026gt; import pynos.device \u0026gt;\u0026gt;\u0026gt; conn = (\u0026#39;172.22.90.100\u0026#39;, \u0026#39;22\u0026#39;) \u0026gt;\u0026gt;\u0026gt; auth = (\u0026#39;admin\u0026#39;, \u0026#39;password\u0026#39;) \u0026gt;\u0026gt;\u0026gt; dev=pynos.device.Device(conn=conn, auth=auth) \u0026gt;\u0026gt;\u0026gt; dev.connection True \u0026gt;\u0026gt;\u0026gt; dev.firmware_version \u0026#39;6.0.1\u0026#39; \u0026gt;\u0026gt;\u0026gt; dev.system.uptime {\u0026#39;seconds\u0026#39;: \u0026#39;1\u0026#39;, \u0026#39;hours\u0026#39;: \u0026#39;13\u0026#39;, \u0026#39;minutes\u0026#39;: \u0026#39;0\u0026#39;, \u0026#39;days\u0026#39;: \u0026#39;1\u0026#39;} \u0026gt;\u0026gt;\u0026gt; Change switchport description: 1 2 3 4 \u0026gt;\u0026gt;\u0026gt; with pynos.device.Device(conn=conn, auth=auth) as dev: ... dev.interface.description( ... int_type=\u0026#39;tengigabitethernet\u0026#39;, name=\u0026#39;225/0/38\u0026#39;, ... desc=’RTR1 Ethernet1’) Who should use it? Any Brocade VDX customers that want to automate network configuration - e.g. to integrate with their provisioning systems.\nIt\u0026rsquo;s helpful to have some Python experience. This is a toolbox for making some things easier - it is not a complete application in itself.\nWhere Can I Get It? To install it, run pip install pynos\nThe code is also available on GitHub: https://github.com/brocade/pynos\nThe documentation is here: http://pythonhosted.org/pynos/\n","permalink":"https://lkhill.com/brocade-pynos-python-libraries/","summary":"\u003cp\u003ePyNOS v1.1 has been published. This is a python library that simplifies automating Brocade VDX systems. It is built on top of ncclient, and uses NETCONF to communicate with the VDX systems. Using the libraries is much simpler than writing your own NETCONF calls.\u003c/p\u003e","title":"Brocade PyNOS Python Libraries"},{"content":"Fluke Networks recently released TruView Live, a subscription-based service for monitoring internal \u0026amp; external applications. Tests can run from Fluke-managed cloud locations, your own systems, or from dedicated hardware appliances. I\u0026rsquo;ve been testing it out, and I like it so far.\nNote: Disclaimer: I have no relationship with Fluke Networks, other than lusting after their measuring equipment as a young EE student. I could never afford it though. They’ve briefed me on this new solution, and been available to answer my questions, but I’m not paid in any way. Provisioning Overall setup is pretty straightforward. Choose what you want to monitor, and how you want to monitor it - from AWS locations, from your own server, or from a dedicated hardware device.\nGlobal Pulse Global Pulses run on Fluke-managed AWS instances. You just pick the Global Locations you want to run from, and assign tests as needed.\nGo to Administration -\u0026gt; Pulses -\u0026gt; Deploy Global Pulse. Select the locations you want, and click Deploy.\nVirtual Pulse A Virtual Pulse is an application running on Windows (7/8/2008/2012) or Linux systems (RHEL 7.0, Ubuntu 14.04). This does not need to be a dedicated device - e.g. You might need to run tests from a remote worker’s laptop. They give you an option to email install instructions - handy if you’ve got non-technical staff who need to install the agent.\nSetup is pretty straightforward. I used DigitalOcean to host it. Go to your DigitalOcean dashboard, and create a droplet. Pick the smallest size ($5/month), and leave it at Ubuntu 14.04 x64.\nWhile that’s being created, go to your TruView Dashboard, and go Administration -\u0026gt; Pulses. Click “Download Virtual Pulse” and look for the Linux install instructions. They’ll look something like this:\n1 2 3 curl -L https://app.truviewlive.com/install -o setup.sh chmod +x setup.sh ./setup.sh beefcccc-e040–44ba-a692-db25aa88ddee (Obviously your key will be different).\nOnce your Droplet is up \u0026amp; running, ssh to it. Run apt-get install unzip first, and then run the above instructions (if you don’t install unzip, the setup will fail). It will automatically pick up the tests that are set to run on All Pulses. If you have some tests set to only run on specific Pulses, you’ll need to assign those to the new Pulse.\nYou should see the Pulse show up in the Dashboard, and test results will start coming through shortly.\nPulse updates are done through the Dashboard. You can deploy new software versions from the Dashboard, without needing to login to your servers.\nTruView Pulse I didn’t use any of the physical Pulses in my testing. If you are using them, you plug it in, and it shows up in your Dashboard. You can then name it, and assign tests.\nMonitored Services Currently you can only configure HTTP(S) tests, but VoIP and IP SLA-type tests are coming soon.\nTo set up a new test, go to Administration -\u0026gt; Monitored Services -\u0026gt; Create New.\nGive it a name, and choose if you want to run it on all pulses, or a subset. The default test frequency is 5 minutes. You can set this to anything between 1 min \u0026amp; 60 minutes.\nYou can do a GET or a POST, and you can set your own HTTP headers. You can also look for specific response codes, and/or specific text.\nYou may need to change the default thresholds. You can set global response time thresholds, or change them for specific tests. The defaults are 3.0s for Degraded \u0026amp; 6.0s for Excessive. This was a bit sensitive for testing my site from Sydney. Change this at Administration -\u0026gt; Thresholds.\nViewing Results OK, finally the good stuff: Looking at the results.\nThere are three Dashboards:\nEnterprise: This shows a matrix of locations \u0026amp; tests Services: Service-focused view, showing overall status for each monitored service. Location: Location-focused view, showing results of tests on a per-location basis. All views let you set the time range. From the top right, click the button, and you can select the time range:\nWhat I like about this is that if you change it to say “Last 24 hours”, it will show the worst status for each service/location during that period. Usually Dashboards only show you the current status. To find out if there were problems overnight you need to look at the Event Log. But this approach lets you get a quick feel for any problems that happened recently, so you can drill down to find out more.\nEnterprise Dashboard From the matrix you can drill down to any test + location combo. That will show a log of results.\nServices Dashboard From the Services View, pick a service, and then click the Performance tab. That gives you a breakdown of the various delay components - DNS, Server, Network, etc. This can throw up some interesting anomalies - e.g. My site has an App delay of ~1.4s when measured from London, but 2.5s when measured from Sydney. This is because I’m using CloudFlare. The use of proxies can confuse some measurements.\nLocations Dashboard This gives you a view of all services measured from a specific location. Note you can see how it’s changed over time. That time window is adjustable.\nQuis custodiet ipsos custodes? I appreciate that TruView are being very open with their status reporting. status.truviewlive.com shows their current status, response times, and incident log. It’s not easy airing your dirty laundry, but I like it when I see a few incidents published. I’d rather know what was going on than not know.\nAll up this is a pretty nice service. I’d like to see how they might integrate this data with that from the NetScout \u0026amp; Arbor parts of the business. That merger is fairly recent though, so those details are still being worked through.\n","permalink":"https://lkhill.com/truview-live-application-monitoring/","summary":"\u003cp\u003eFluke Networks recently released \u003ca href=\"http://enterprise.netscout.com/apps/truview\"\u003eTruView Live\u003c/a\u003e, a subscription-based service for monitoring internal \u0026amp; external applications. Tests can run from Fluke-managed cloud locations, your own systems, or from dedicated hardware appliances. I\u0026rsquo;ve been testing it out, and I like it so far.\u003c/p\u003e","title":"TruView Live Application Monitoring"},{"content":"Here\u0026rsquo;s a couple of quick hacks for working with Brocade Network Advisor. It\u0026rsquo;s unsupported, but you can run BNA on Ubuntu. You can also suppress the client-side JRE version mismatch warning.\nWarning: These are both completely unsupported by Brocade. Do not be surprised if it does not work as expected, and do not log a TAC case about it. These are provided for informational purposes only. If it breaks, you keep the pieces. Ubuntu Install If you try to install BNA on Ubuntu, it fails during the DB initialization \u0026amp; setup phase. There are two reasons for this:\ngawk is not where the installer thinks it should be Some scripts run as /bin/sh, but use bashisms. Before running the installation, make these two changes:\nRun sudo ln -s /usr/bin/gawk /bin/gawk Run sudo dpkg-reconfigure dash and select \u0026ldquo;No\u0026rdquo; After that the DB setup will complete. Leaving the gawk symlink in place won\u0026rsquo;t hurt anything else. You can probably change the system shell back to dash, but you may run into problems if you run any of the BNA utility scripts.\nClient-side JRE check When you launch the BNA Desktop client, it checks your local JRE version against a list of supported versions. It\u0026rsquo;s reasonably up to date, but Java is a fast-moving target. So you might be running a new JRE, and you get this popup:\nTo stop this message, edit the downloaded dcmclient.jnlp file. Search for \u0026ldquo;versions\u0026rdquo;\n1 2 3 \u0026lt;property name=\u0026#34;jnlp.dcm.java.util.Arrays.useLegacyMergeSort\u0026#34; value=\u0026#34;true\u0026#34;/\u0026gt; \u0026lt;property name=\u0026#34;jnlp.dcm.supported.java.versions\u0026#34; value=\u0026#34;1.7.0_79,1.7.0_80,1.8.0_45\u0026#34;/\u0026gt; \u0026lt;property name=\u0026#34;jnlp.dcm.dcm.jmsuser.name\u0026#34; value=\u0026#34;jmsuser\u0026#34;/\u0026gt; Add your current JRE version:\n1 \u0026lt;property name=\u0026#34;jnlp.dcm.supported.java.versions\u0026#34; value=\u0026#34;1.7.0_79,1.7.0_80,1.8.0_45,1.8.0_51\u0026#34;/\u0026gt; This will stop that popup. Note that this gets over-written if you download a new dcmclient.jnlp file, and/or upgrade BNA.\n","permalink":"https://lkhill.com/unsupported-bna-hacks/","summary":"\u003cp\u003eHere\u0026rsquo;s a couple of quick hacks for working with \u003ca href=\"http://www.brocade.com/en/products-services/network-management/brocade-network-advisor.html\"\u003eBrocade Network Advisor\u003c/a\u003e. It\u0026rsquo;s unsupported, but you can run BNA on Ubuntu. You can also suppress the client-side JRE version mismatch warning.\u003c/p\u003e","title":"Unsupported BNA Hacks"},{"content":"I made a conscious decision to move away from full-time information security work. I retain an interest, and try to keep up with developments, but I don\u0026rsquo;t want to be \u0026ldquo;the security guy.\u0026rdquo; There are several reasons for it, but a large part is due to the hype, the bullshit, and general inability for the security industry to act like grown-ups.\nThe most frustrating part was the inability to properly classify risk. Robert Graham put this eloquently here:\nInfosec isn\u0026rsquo;t a real profession. Among the things missing is proper \u0026ldquo;risk analysis\u0026rdquo;. Instead of quantifying risk, we treat it as an absolute. Risk is binary, either there is risk or there isn\u0026rsquo;t. We respond to risk emotionally rather than rationally, claiming all risk needs to be removed. This is why nobody listens to us. Business leaders quantify and prioritize risk, but we don\u0026rsquo;t, so our useless advice is ignored.\nSecurity folk often forget that they are just another risk. Yes, it\u0026rsquo;s a risk shipping the product with that bug. But not shipping at all might be a larger risk to the business. Even complete data breach may or may not be catastrophic to the business - RSA is still around.\nThe behaviour of the \u0026lsquo;researchers\u0026rsquo; mentioned in the post hardly helps advance the image of the industry either. That\u0026rsquo;s before we get into the \u0026lsquo;conferences\u0026rsquo; with lock-picking competitions \u0026amp; martial arts comparisons.\nDo I believe security matters? Yes, definitely. Would I work in security again? Maybe. But not right now.\n","permalink":"https://lkhill.com/security-just-another-risk/","summary":"\u003cp\u003eI made a conscious decision to move away from full-time information security work. I retain an interest, and try to keep up with developments, but I don\u0026rsquo;t want to be \u0026ldquo;the security guy.\u0026rdquo; There are several reasons for it, but a large part is due to the hype, the bullshit, and general inability for the security industry to act like grown-ups.\u003c/p\u003e","title":"Security - Just Another Risk"},{"content":"I have been investigating a problem where an application would install on RHEL/CentOS, but not on Ubuntu. I tracked it down to a problem with shell scripts that assumed that /bin/sh was bash. Ubuntu uses dash by default, so some \u0026lsquo;bashisms\u0026rsquo; don\u0026rsquo;t work. This will be old news to Ubuntu types that migrated to dash a while back, but I normally use CentOS/RHEL systems, and/or well-behaved cross-platform scripts. Luckily \u0026lsquo;checkbashisms\u0026rsquo; can help with figuring out what changes are needed.\nI don\u0026rsquo;t want to go into the history of Unix shells, but there are probably more shell variants than there are *nix variants. Some are very different, and completely incompatible. But others are only different in subtle ways, and most things works without modification. If your script explicitly calls the required shell with #!/bin/zsh or #!/bin/csh, all will be fine. The problem comes when your script starts with #!/bin/sh. That will call the system shell, which can vary across different systems. If you\u0026rsquo;re using that, your script should be portable, and only implement a subset of possible functionality. People get in the habit of using /bin/sh, but using shell-specific features. That\u0026rsquo;s when things get ugly when you run your script on a different system.\nThe application I was investigating packaged its own PostgreSQL installation \u0026amp; JRE. It also included a number of scripts in its bin directory. Those scripts used /bin/sh, and I knew at least some of them failed when using dash instead of bash. Those scripts had various names that did not end with *.sh. I needed to identify which files where scripts, and then check those to see if they contained bash-specific commands. Here\u0026rsquo;s what I did:\nIdentify the shell scripts:\n1 2 3 4 5 6 root@ubuntu: bin# file *|grep shell setup.sh: POSIX shell script, ASCII text executable, with very long lines initialize: POSIX shell script, ASCII text executable, with very long lines migrate: POSIX shell script, ASCII text executable createlinks: POSIX shell script, ASCII text executable createuser: POSIX shell script, ASCII text executable Get the filename:\n1 2 3 4 5 6 root@ubuntu: bin# file *|grep shell|awk \u0026#39;{print $1}\u0026#39; setup.sh: initialize: migrate: createlinks: createuser: Hmmm, need to get rid of that \u0026ldquo;:\u0026rdquo;\n1 2 3 4 5 6 root@ubuntu: bin# file *|grep shell|awk \u0026#39;{print $1}\u0026#39;|tr -d \u0026#39;:\u0026#39; setup.sh initialize migrate createlinks createuser Looking better. Now let\u0026rsquo;s run checkbashisms against each of those files:\n1 2 3 4 5 6 7 8 root@ubuntu: bin# file *|grep shell|awk \u0026#39;{print $1}\u0026#39;|tr -d \u0026#39;:\u0026#39;|xargs -i checkbashisms {} possible bashism in migrate line 113 (brace expansion, {a..b[..c]}should be $(seq a [c] b)): for i in {1..12} possible bashism in createlinks line 76 (should be \u0026gt;word 2\u0026gt;\u0026amp;1): find $APP_HOME -name \u0026#39;*.so*\u0026#39; -exec chcon -t textrel_shlib_t {} \\; \u0026gt;\u0026amp; /dev/null possible bashism in createuser line 41 (alternative test command ([[ foo ]] should be [ foo ])): if [[ (\u0026#34;$VERSION\u0026#34; = \u0026#34;PE\u0026#34;) \u0026amp;\u0026amp; (\u0026#34;$ARCH\u0026#34; = \u0026#34;i686\u0026#34;) ]] root@ubuntu: bin# And now I can see exactly which scripts have problems, and where.\nFor my specific problem here, I\u0026rsquo;ve decided to change the default shell on this Ubuntu box to bash. Use dpkg-reconfigure dash to do this. Be careful before doing this. It shouldn\u0026rsquo;t break anything, but it should only be used as a temporary workaround. Better to get the scripts fixed to be truly portable. Not always an option with third-party software though.\n","permalink":"https://lkhill.com/binsh-checking-for-bash-vs-dash-incompatibilities/","summary":"\u003cp\u003eI have been investigating a problem where an application would install on RHEL/CentOS, but not on Ubuntu. I tracked it down to a problem with shell scripts that assumed that \u003ccode\u003e/bin/sh\u003c/code\u003e was \u003ccode\u003ebash\u003c/code\u003e. Ubuntu uses \u003ca href=\"https://wiki.ubuntu.com/DashAsBinSh\"\u003edash by default\u003c/a\u003e, so some \u0026lsquo;\u003ca href=\"http://mywiki.wooledge.org/Bashism\"\u003ebashisms\u003c/a\u003e\u0026rsquo; don\u0026rsquo;t work. This will be old news to Ubuntu types that migrated to dash a while back, but I normally use CentOS/RHEL systems, and/or well-behaved cross-platform scripts. Luckily \u0026lsquo;\u003ca href=\"http://sourceforge.net/projects/checkbaskisms/\"\u003echeckbashisms\u003c/a\u003e\u0026rsquo; can help with figuring out what changes are needed.\u003c/p\u003e","title":"/bin/sh - checking for bash vs dash incompatibilities"},{"content":"HP IMC 7.1 E0303P13 does not support configuration backups for Brocade MLX \u0026amp; VDX devices. But they do have an extensible model, so it\u0026rsquo;s easy to add support. Here\u0026rsquo;s how to do it, and how to fix the Brocade ICX support.\nHere\u0026rsquo;s the steps to add support for MLX \u0026amp; VDX devices to HP IMC:\nDownload the current set of adapters from GitHub. Unpack the zip file, and copy the adapters into place. Add Device Series \u0026amp; Device Model definitions. Restart IMC, re-synchronise, and check file transfer modes. Going into a bit more detail:\nNote: NB: Yes, I do work for Brocade. That doesn\u0026rsquo;t mean that these adapters are fully supported by Brocade. I\u0026rsquo;ll help out however I can, but can\u0026rsquo;t promise anything. NetOps Custom Adapters This GitHub repository maintains a set of 3rd-party developed adapters for HP IMC. You can download individual files, create a local copy of the repo using Git, or just download a zip file containing all current scripts from here.\nOn the IMC server, adapters are stored at (IMC)/server/conf/adapters/ICC. You\u0026rsquo;ll see directories for all supported vendors there:\n1 2 3 4 5 [root@imc ~]# cd /opt/iMC/server/conf/adapters/ICC [root@imc ICC]# ls 3Com Alcatel-Lucent Aruba Networks Avocent Cabletron Dell Enterasys F5 Fortigate H3C Hillstone IBM Lantronix Motorola Nortel networks PaloAlto Tasman Adtran Allied Telesis Avaya Brocade Cisco Digi Extreme networks Force10 Foundry Hewlett Packard Huawei Juniper networks Marconi MP Packeteer Ruijie ZTE [root@imc ICC]# Under each vendor directory is an adapter-index.xml file containing mappings to specific adapters, and a directory for each specific adapter. So we can see here that Cisco has a number of different adapters for different Cisco devices:\n1 2 3 4 [root@imc ICC]# ls Cisco adapter-index.xml CiscoAS54xx CiscoC2980G CiscoESR CiscoIOS7K CiscoIOSGenericNoLog CiscoIOSL3Switch CiscoIOSUndiscovered CiscoNX7K CiscoSNMP CiscoAC CiscoASA CiscoCatNative CiscoIOS12K CiscoIOSGeneric CiscoIOSGenericSwitch CiscoIOSSwitchRoutingModule CiscoIOS_XR CiscoNXOSSNMP [root@imc ICC]# From either your local copy of the repo, or the downloaded zip file, find the adapters/ICC/Brocade directory. Copy adapter-index.xml, Vyatta, BrocadeMLX and BrocadeNOS to (IMC)/server/conf/adapters/ICC/Brocade on your IMC server.\nDevice Definitions If you discover a Brocade VDX system with HP IMC, it will be monitored via SNMP. But it shows up as \u0026ldquo;Brocade Generic.\u0026rdquo; Similarly, an MLX will show up as \u0026ldquo;Foundry Generic.\u0026rdquo; This is mostly just a cosmetic annoyance (but make sure the displayed vendor name matches the adapter directory). Here\u0026rsquo;s how to fix that:\nOpen the IMC web interface. Go to System -\u0026gt; Resource Management -\u0026gt; Device Series\nClick \u0026ldquo;Add\u0026rdquo; - add new series name \u0026ldquo;Brocade MLX.\u0026rdquo; Set the vendor to Brocade, and Description to \u0026ldquo;Brocade NetIron MLX.\u0026rdquo;\nRepeat the above for \u0026ldquo;Brocade VDX\u0026rdquo;\nGo to Device Model. Add new sysOID -\u0026gt; Device Model mappings. Make sure you pick the right vendor \u0026amp; series.\nIf you\u0026rsquo;ve already discovered devices in IMC, you can select one to copy the sysOID from. Here\u0026rsquo;s some MLX \u0026amp; VDX sysObjectIDs:\nMLX:\nMLX16Rt - 1.3.6.1.4.1.1991.1.3.44.1.2 MLX8Rt - 1.3.6.1.4.1.1991.1.3.44.2.2 MLX4Rt - 1.3.6.1.4.1.1991.1.3.44.3.2 MLX-32Rt - 1.3.6.1.4.1.1991.1.3.44.4.2 MLXe-16Rt - 1.3.6.1.4.1.1991.1.3.55.1.2 MLXe-8Rt - 1.3.6.1.4.1.1991.1.3.55.2.2 MLXe-4Rt - 1.3.6.1.4.1.1991.1.3.55.3.2 MLXe-32Rt - 1.3.6.1.4.1.1991.1.3.55.4.2 VDX:\nVDX6740 - 1.3.6.1.4.1.1588.3.3.1.131 VDX6747 - 1.3.6.1.4.1.1588.2.2.1.1.1.112 VDX6740T - 1.3.6.1.4.1.1588.3.3.1.137 VDX2740 - 1.3.6.1.4.1.1588.3.3.1.138 VDX6740T1G - 1.3.6.1.4.1.1588.3.3.1.151 VDX7770P36 - 1.3.6.1.4.1.1588.3.3.1.153 VDX7770P72 - 1.3.6.1.4.1.1588.3.3.1.154 VDX8770S4 - 1.3.6.1.4.1.1588.3.3.1.1000 VDX8770S8 - 1.3.6.1.4.1.1588.3.3.1.1001 VDX8770S16 - 1.3.6.1.4.1.1588.3.3.1.1002 Restart \u0026amp; Resynchronise You\u0026rsquo;ll need to restart IMC so it picks up the changes to device adapter definitions. It will also need to resynchronise the devices to pick up the changes. This will happen automatically within a few hours, or you can force it.\nThe MLX adapter supports SCP. I strongly recommend setting the file transfer mode to SCP. This is better than using the CLI adapters.\nNow you should be able to back up those devices.\nICX Adapter Updates HP IMC ships with adapters for the Brocade/Foundry ICX FastIron systems. This adapter does not support SCP, and there are issues with the CLI fall-back adapter. If you want to apply these changes, copy the adapters/ICC/Foundry/FoundryNetIron directory from the GitHub repo to (IMC)/server/conf/adapters/ICC/Foundry and restart IMC.\nNow you can use SCP for those devices too.\nThese adapters have had limited testing. Device backup works, and Configuration deployment should work. Firmware deployment has not been tested. If you have any problems, either get in touch with me, or submit a Pull Request.\n","permalink":"https://lkhill.com/add-brocade-mlx-vdx-support-to-hp-imc/","summary":"\u003cp\u003eHP IMC 7.1 E0303P13 does not support configuration backups for Brocade MLX \u0026amp; VDX devices. But they do have an extensible model, so it\u0026rsquo;s easy to add support. Here\u0026rsquo;s how to do it, and how to fix the Brocade ICX support.\u003c/p\u003e","title":"Add Brocade MLX \u0026 VDX Support to HP IMC"},{"content":"ipv6-test.com is a useful site for testing IPv4 \u0026amp; IPv6 connectivity. It checks that v4 \u0026amp; v6 are working as expected, and reports your browser v4/v6 preferences. It does have one oddity with ICMPv6 tests. Here\u0026rsquo;s what I did to work around it with my SRX setup.\nThe site runs a suite of tests and gives you a score out of 20. Most dual-stack home users will probably get 17/20. They deduct 1 point for no reverse DNS entry for v6, and 2 points for \u0026ldquo;ICMP Filtered\u0026rdquo;\nHow can you improve your score ?\nReconfigure your firewall Your router or firewall is filtering ICMPv6 messages sent to your computer. An IPv6 host that cannot receive ICMP messages may encounter problems like some web pages loading partially or not at all.\nGet a reverse DNS record\nThe first one is fine, but the second issue is a worry. ICMP is a critical part of IPv6. It\u0026rsquo;s needed for things like Neighbor Discovery, and Packet Too Big messages.\nMost home user firewall setups will be fairly simple. Basically \u0026lsquo;Allow everything out, and allow related traffic back in. Drop everything else.\u0026rsquo; Surely the default policy on the SRX should be allowing related ICMPv6 messages back in? Let\u0026rsquo;s check some tcpdump output on our client:\n1 2 3 4 5 ~ lhill$ sudo tcpdump -ni en0 icmp6 and not net fe80::/10 Password: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes 11:38:04.398471 IP6 2001:41d0::b1c \u0026gt; 2406:e007:aaaa:1111:cccc:dddd:eeee:e0ce: ICMP6, destination unreachable, unreachable address 2001:41d0:8:e8ad::fa11:bac, length 92 We can see the destination unreachable message returned. So why does the test fail?\nIt\u0026rsquo;s because that page is just doing a simple echo-request. It assumes that if it can ping you, then all ICMPv6 must be allowed. This is wrong, but it was probably the simplest test to code.\nIf you want that test to pass, you\u0026rsquo;ll need to make some changes to your local firewall. Here\u0026rsquo;s what I added to my SRX:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 lhill@srx01# set security policies from-zone untrust to-zone trust policy icmpv6 match source-address any-ipv6 destination-address any-ipv6 application junos-icmp6-echo-request [edit] lhill@srx01# set security policies from-zone untrust to-zone trust policy icmpv6 then permit lhill@srx01# show security policies from-zone untrust to-zone trust policy icmpv6 { match { source-address any-ipv6; destination-address any-ipv6; application junos-icmp6-echo-request; } then { permit; } } [edit] lhill@srx01# My trusted zone is the internal network, and untrusted is outside the WAN interface. I didn\u0026rsquo;t have any policy in place for that direction. You can see I\u0026rsquo;ve added a new policy that matches the ICMPv6 echo-request. Now reload the IPv6-test page:\nAnd now check the tcpdump output:\n1 2 3 4 5 6 ~ lhill$ sudo tcpdump -ni en0 icmp6 and not net fe80::/10 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes 11:38:03.872779 IP6 2001:41d0:8:e8ad::1 \u0026gt; 2406:e007:aaaa:1111:cccc:dddd:eeee:e0ce: ICMP6, echo request, seq 0, length 64 11:38:03.872865 IP6 2406:e007:aaaa:1111:cccc:dddd:eeee:e0ce \u0026gt; 2001:41d0:8:e8ad::1: ICMP6, echo reply, seq 0, length 64 11:38:04.398471 IP6 2001:41d0::b1c \u0026gt; 2406:e007:aaaa:1111:cccc:dddd:eeee:e0ce: ICMP6, destination unreachable, unreachable address 2001:41d0:8:e8ad::fa11:bac, length 92 Now we can see the echo request/reply traffic.\nNo real difference to usability, but hey, now that test passes.\n","permalink":"https://lkhill.com/ipv6-test-com-and-srx-firewall-policies/","summary":"\u003cp\u003e\u003ca href=\"http://ipv6-test.com/\"\u003eipv6-test.com\u003c/a\u003e is a useful site for testing IPv4 \u0026amp; IPv6 connectivity. It checks that v4 \u0026amp; v6 are working as expected, and reports your browser v4/v6 preferences. It does have one oddity with ICMPv6 tests. Here\u0026rsquo;s what I did to work around it with my SRX setup.\u003c/p\u003e","title":"IPv6-test.com and SRX firewall policies"},{"content":"It\u0026rsquo;s 2015. ARIN is finally out of IPv4 addresses, more than 20% of Google users in the US are using IPv6\u0026hellip;and vendors are still doing a half-assed job with IPv6 support. I purchased a new TP-Link Wi-Fi router/modem recently, and it doesn\u0026rsquo;t fully support IPv6. It\u0026rsquo;s not good enough, and I will be returning it.\nI purchased the Archer D5 \u0026ldquo;AC1200 Wireless Dual Band Gigabit ADSL2+ Modem Router.\u0026rdquo; The website blurb includes this:\nIPv6 Supported. The next generation of Internet protocol, helping you to future-proof your network.\nAnd the specifications page says: \u0026ldquo;IPv6 and IPv4 dual stack.\u0026rdquo;\nI checked the documentation for how to configure IPv6. This FAQ walks through configuring IPv6 on several TP-Link devices. Note that it includes this line \u0026ldquo;\u0026hellip;choose Connection type (Here we just set up PPPoE as an example, if you are not sure, please contact your IPv6 provider)\u0026rdquo;\nIn New Zealand, most ADSL services are delivered as PPPoA. The specifications page says this device supports PPPoA. My ISP provides native IPv6 via DHCPv6 PD. So everything should be good to go, right?\nNot so much. The Archer D5 does indeed support PPPoA. It also supports IPv6 with DHCPv6 PD. But it doesn\u0026rsquo;t support IPv6 with PPPoA. It only supports IPv6 with PPPoE.\nI have confirmed this with TP-Link support. They suggested that a future firmware update may resolve this, but they do not have any dates for this. They suggested I could try an IPv6 tunnel broker, but why would I want to use a tunnel when my ISP supports native IPv6?\nThis is disappointing. I will return the TP-Link device this week. I\u0026rsquo;ll tell them why at PBTech, but it probably won\u0026rsquo;t get back to the vendor. Anyone got any suggestions for a suitable replacement? I\u0026rsquo;m looking for these features:\nADSL2+ modem. Dual-radio wireless, preferably with 802.11ac, but 802.11n may be acceptable. Full IPv6 support for DHCPv6 PD via PPPoA Shouldn\u0026rsquo;t be too hard? Maybe I should just stick with the SRX-110, and upgrade the Airport Express to a newer dual-radio version?\n","permalink":"https://lkhill.com/its-2015-supports-ipv6-should-mean-full-support/","summary":"\u003cp\u003eIt\u0026rsquo;s 2015. ARIN is \u003ca href=\"https://www.arin.net/resources/request/ipv4_countdown.html\"\u003efinally out of IPv4 addresses\u003c/a\u003e, more than \u003ca href=\"http://6lab.cisco.com/stats/search.php\"\u003e20% of Google users in the US are using IPv6\u003c/a\u003e\u0026hellip;and vendors are still doing a half-assed job with IPv6 support. I purchased a new \u003ca href=\"http://www.tp-link.com.au\"\u003eTP-Link\u003c/a\u003e Wi-Fi router/modem recently, and it doesn\u0026rsquo;t fully support IPv6. It\u0026rsquo;s not good enough, and I will be returning it.\u003c/p\u003e","title":"It's 2015: 'Supports IPv6' should mean full support"},{"content":"Can we broadly separate Networking into Pioneers, Settlers, and Town Planners? I\u0026rsquo;ve been thinking about how to apply Simon Wardley\u0026rsquo;s PST model to networking. This leads to thinking about how we can encourage networking evolution. The model needs a lot of fleshing out, but I\u0026rsquo;m interested in what others think.\nPioneers, Settlers and Town Planners (PST) Simon Wardley has written about “Pioneers, Settlers and Town Planners (PST)” in many places - e.g. here and here. It derives from Cringely’s Commandos, Infantry, Police model (see Chapter 12 of Accidental Empires). It provides a organisational structure, grouping areas based upon their current state of evolution. It recognises that no one operational model works for all parts of a business. You can’t say “We’re using Agile, or Lean, or Six Sigma” - you need to use the appropriate model for each area. Even “Bi-Modal IT” is too limiting, as the divide is too great.\n(Image from blog.gardeviance.org, used under Creative Commons License)\nApplying PST to networking The model is a helpful way of thinking about the role of different groups across a business. It also helps us understand why teams need to evolve over time, as their area evolves. But what about networking? Can we apply this model to networking? I’ve been thinking about the different areas of networking are, how to identify them, and how to encourage evolution of ideas.\nWardley’s model is aimed at organisations trying to group their internal teams. The problem with applying this to networking is that most network teams are too small to be able to organise along that model. So maybe we need to look at it across the industry, and categorise both organisations and teams?\nHere’s my first attempt at classifying networking into Pioneers, Settlers \u0026amp; Town Planners:\n(No, it doesn’t directly map to the broader PST model. Suggestions for enhancements welcome.)\nSometimes Stealing is OK ‘Theft’ is a key part of the PST model:\nThe process of theft is essential to mimic outside evolution. All the components are evolving due to supply and demand competition which means new teams need to form and steal the work of earlier teams i.e. the settlers steal from the pioneers and the outside ecosystems and productise the work. This forces the pioneers to move on. Equally the town planners steal from the settlers and industrialise it, forcing the settlers to move on.\nWhat does this mean in the context of networking? What does this ‘theft’ look like? Here’s some examples:\nSettlers stealing from pioneers: Pioneers will think about Machine Learning, and develop some of the pieces for collecting \u0026amp; processing data. Settlers steal those ideas, and put them into a usable package for solving a specific networking problem. Town planners stealing from pioneers: Town Planners see how the Settlers solved a specific problem, and made Machine Learning \u0026lsquo;real.\u0026rsquo; Town Planners take that and expand the scope to cover more general problem sets. Pioneers learning from Town Planners: Pioneers will look at the information gained by applying Machine Learning to network data. They will then go further with that information, using it to drive the development of higher order systems. This sort of ‘theft’ is critical for evolution. Yes, I work for a vendor, but I want to improve networking as a whole. What can we do to enable this theft?\nRecognise the role each group plays. None are better or worse, they are simply different roles. Make sure the other groups know what\u0026rsquo;s going on - so that could mean that the Pioneers hold regular sessions with the Settlers, showing them what they\u0026rsquo;re up to. On an industry-wide basis, we see some of this at conferences - e.g. Google talking about their challenges and requirements at the recent ONS conference. Don\u0026rsquo;t just dump things on the other groups - recognise their challenges. So products coming out of vendors need to provide a way to transition from current networking models. This is where we can all play a part - blue-sky thinkers, network vendors, network operators.\nThe above is an imperfect model. You can poke holes in it and find counter-examples. It needs further fleshing out. But what do you think? Is this is a useful way of thinking about networking and states of evolution? What can we do to stimulate further theft and evolution?\n","permalink":"https://lkhill.com/networking-pioneers-settlers-and-town-planners/","summary":"\u003cp\u003eCan we broadly separate Networking into Pioneers, Settlers, and Town Planners? I\u0026rsquo;ve been thinking about how to apply Simon Wardley\u0026rsquo;s PST model to networking. This leads to thinking about how we can encourage networking evolution. The model needs a lot of fleshing out, but I\u0026rsquo;m interested in what others think.\u003c/p\u003e","title":"Networking Pioneers, Settlers and Town Planners"},{"content":"Let\u0026rsquo;s say you\u0026rsquo;ve been offered a new job. $70k base salary, with up to $20k per year extra for on-call duties. Great! $90k! That\u0026rsquo;s $10k more than my salary now! Sign me up!\nWait a minute. Not so fast.\nYears ago I received some good advice: Treat your on-call payment as a separate item. Don\u0026rsquo;t consider it as part of your base salary. This is because you need to be paid properly both for doing your job, and for the inconvenience of being on-call.\nEvaluate the base salary for what it is: Your salary for doing your day-to-day job. Ignoring the on-call part, did they offer you enough money for the role? Is it a good match for your experience?\nSeparately decide if the on-call payment is enough to justify being on-call. Does it represent a fair payment for the extra work?\nWhy does this matter? A few reasons:\nBeing on-call has a big impact on your life, and you need to be properly paid for it. You still need to get paid properly for the job you do Monday-Friday. On-call payments will vary. Your job role could change. Maybe the team gets bigger, and you go on-call less often. Now you\u0026rsquo;re earning less. If your expenditure is based upon maximum on-call payments, you could be in trouble. Bonus payments are the same. Companies will tempt you with offers of a 20% bonus. Ignore it. Use the base salary for your calculations. A lucky few get \u0026lsquo;guaranteed\u0026rsquo; bonuses. Most of us have some vague rules around when we\u0026rsquo;ll get a bonus, and it usually depends on matters outside our control. You might get it, you might not. You need to base your lifestyle around the money you know you\u0026rsquo;re getting, not on the money you might be getting.\n","permalink":"https://lkhill.com/considering-on-call-pay/","summary":"\u003cp\u003eLet\u0026rsquo;s say you\u0026rsquo;ve been offered a new job. $70k base salary, with up to $20k per year extra for on-call duties. Great! $90k! That\u0026rsquo;s $10k more than my salary now! Sign me up!\u003c/p\u003e","title":"Considering On-Call Pay"},{"content":"If you\u0026rsquo;ve visited the Brocade website recently, you\u0026rsquo;ve probably seen the \u0026ldquo;Free NFV Certification\u0026rdquo; banner. I signed up for this several months ago, but had put off completing the course. I had a little downtime recently prior to starting work at Brocade, so I completed this course \u0026amp; exam. Here\u0026rsquo;s my impressions.\nNote: Disclaimer: I now work for Brocade. Assume what you will about my biases. These are my opinions, not my employer\u0026rsquo;s. What\u0026rsquo;s the Course/Exam About? From the official documentation:\nAs a Brocade Certified vRouter Engineer, you must be able to demonstrate the ability to install, configure and troubleshoot features of Brocade Vyatta Network OS.\ni.e. it\u0026rsquo;s primarily about the basics of Vyatta.\nWhat\u0026rsquo;s Included? Here\u0026rsquo;s what you get when you sign up:\nA download link to the Brocade Vyatta 5400 vRouter image. Access to the \u0026ldquo;Brocade Certified vRouter Engineer Course.\u0026rdquo; Links to certification materials and communities. Promo code for the BCVRE exam. Note that you can run the Vyatta image on a local hypervisor, or if you prefer you can select it from the AWS marketplace. Personally I ran it on VMware Fusion on my laptop. It\u0026rsquo;s light on resource, so you can easily spin up several vRouters.\nThe Course The course is delivered as a series of 10 approximately half-hour modules. These are Flash-based, with slides, audio, and sometimes PDF attachments. It\u0026rsquo;s delivered through the Saba platform. You may have come across it elsewhere.\nThe modules cover installation, basic system configuration, Ethernet + IP setup, DNS, DHCP, simple OSPF, static routing, firewall configuration, NAT, logging, etc. They\u0026rsquo;re all pretty straightforward, and the time chunks are good - you can easily knock off a module when you have a little spare time.\nI recommend running Vyatta at the same time as you watch the modules, so you can configure the features yourself. Better yet, try to break those features. I also frequently paused the videos to make a few notes in flashcards.\nBrocade\u0026rsquo;s website has a full list of the modules, with more detailed descriptions.\nThe Exam Itself The exam (170-010) is proctored through Pearson Vue, at the usual test centres. The exam would normally cost $150USD. Use the promo code Brocade provides, and it magically becomes free.\nThe exam is a mix of multi-choice (single or multiple answers) and drag \u0026amp; drop questions. No simulation questions. I had 51 questions in 75 minutes. This was plenty of time. You\u0026rsquo;ll be asked to interpret diagrams and/or the output of various Vyatta commands. The questions are straightforward - I didn\u0026rsquo;t feel like there was any \u0026rsquo;trick\u0026rsquo; language. None of the triple-negative questions that some vendors have used in the past. Note you can go back and review questions (unlike Cisco exams).\nThe questions followed the published exam objectives. Read through those, and make sure you understand them. Note that several of the areas are generic networking questions, related to Ethernet \u0026amp; TCP/IP. Nothing over the top - you\u0026rsquo;ll be fine with those if you\u0026rsquo;ve been working in networking for any length of time.\nThe course materials cover most of what you need, but you will want to spend a bit of hands-on time with Vyatta to help the concepts sink in. You don\u0026rsquo;t need to spend weeks preparing for this exam though. If you have good networking experience, you\u0026rsquo;ll only need to spend a few days on it. It does give you a good excuse/reason to try out Vyatta though!\n","permalink":"https://lkhill.com/brocade-certified-vrouter-engineer/","summary":"\u003cp\u003eIf you\u0026rsquo;ve visited the \u003ca href=\"http://www.brocade.com/\"\u003eBrocade\u003c/a\u003e website recently, you\u0026rsquo;ve probably seen the \u0026ldquo;\u003ca href=\"http://www.brocade.com/forms/jsp/nfv-certification/index.jsp?src=WS\u0026amp;lsd=BRCD\u0026amp;lst=Banner\u0026amp;cn=SDN-GDG-14Q3-CERT-NFV%20Cert\"\u003eFree NFV Certification\u003c/a\u003e\u0026rdquo; banner. I signed up for this several months ago, but had put off completing the course. I had a little downtime recently prior to starting \u003ca href=\"/the-next-step-brocade/\"\u003ework at Brocade\u003c/a\u003e, so I completed this course \u0026amp; exam. Here\u0026rsquo;s my impressions.\u003c/p\u003e","title":"Brocade Certified vRouter Engineer"},{"content":"I get frustrated by those who take a narrow view of technology, and progress in general. They see things in terms of where they are now, and where they were. But they struggle to see a bit further out. The Internet of Things is a good example of this.\nI made the mistake of reading the comments on a recent El Reg article (I know, I know: Never read the comments). I came across this comment about the IoT:\n\u0026hellip;The innocent child asked \u0026ldquo;but why would the toaster need to talk to the \u0026lsquo;fridge?\u0026rdquo; The marketing gurus had no answer and a few years later the outfit went bankrupt. In all the time since, no one has been able to answer that question.\nFrom there the comments devolved into a rather pointless discussion about milk, bread, spam on toast and Twitter. This is a fairly common theme on El Reg articles (along with \u0026ldquo;cloud has little appeal for 90% of SM server/computing requirements\u0026rdquo;, but that\u0026rsquo;s another issue).\nI find it frustrating when people take a narrow, short-sighted view when looking at technology trends. We all see things from our own perspective, but it\u0026rsquo;s good to lift your head up, and look a bit further out.\nIt\u0026rsquo;s easy to throw out a few disparaging lines about new technologies that aren\u0026rsquo;t fully developed. But why not try thinking positively about change? Think further ahead, about where we\u0026rsquo;re going, not just where we are.\nTo carry on with the IoT example, think what it could mean to have cheap sensors everywhere, collecting masses of data, with the ability to make sense of it all. Thinking beyond our own humdrum challenges of re-stocking the fridge, what else could we do?\nHere\u0026rsquo;s a few random examples:\nLots of soil moisture and chemical composition sensors spread throughout an orchard, rather than just a few. Then irrigation and fertilising could be better targeted, reducing costs and improving crop yields. There are similar applications here for better targeting of frost-prevention measures. High detail pedestrian traffic analysis in busy environments such as airports, stadiums and public transit systems. This could be used to tweak layouts to improve flow and safety. Sadly it would probably be used to figure out where to best place the shops to sell me crap I don\u0026rsquo;t want, but I guess you can\u0026rsquo;t win them all. Water utility companies with thousands of sensors across their network. With enough data \u0026amp; the right analysis, we should be able to quickly identify anomalies. That should lead to faster leak identification, rather than waiting for the puddle to form. Not an Internet-connected fridge in sight.\nI don\u0026rsquo;t know how the IoT will all work out. But I do know that it won\u0026rsquo;t just be about fridges talking to toasters. And I do know that those who benefit will be those who take a positive view of future possibilities, rather than staying stuck in their current mindset. And that doesn\u0026rsquo;t just apply to the IoT.\n","permalink":"https://lkhill.com/think-bigger/","summary":"\u003cp\u003eI get frustrated by those who take a narrow view of technology, and progress in general. They see things in terms of where they are now, and where they were. But they struggle to see a bit further out. The Internet of Things is a good example of this.\u003c/p\u003e","title":"Think Bigger"},{"content":"I am happy to announce that I am now a Product Manager at Brocade. This is a big move for me, and one I am very excited about. I will get to work on the future of networking with a lot of smart people .\nWhy Brocade? It\u0026rsquo;s simple really:\nHe aha te mea nui o te ao? He tangata! He tangata! He tangata!\nWhat is the most important thing in the world? It is people! It is people! It is people!\nBrocade has hired a lot of very clever people. This includes several Tech Field Day delegates, such as @joshobrien77, @Cloudtoad and @DavidJohnGee. I want to learn \u0026amp; grow, and being surrounded by great people is one of the best ways to do that.\nOf course there\u0026rsquo;s more to it than just people. The problem with attending events like Network Field Day is that it\u0026rsquo;s addictive. You spend a week talking with smart people about the future. Big discussions, about what\u0026rsquo;s wrong with the current state, and what the future could be.\nThen you return to a job where you\u0026rsquo;re working with networks that haven\u0026rsquo;t changed operation in over a decade. Adding VLANs to a 3750 and editing Check Point firewall rules just isn\u0026rsquo;t that exciting anymore.\nThe Future Working in Product Management for an SDN vendor will be very different. Less of the past, more of the future. That previous operational experience isn\u0026rsquo;t wasted though. You need to understand the current problems to help shape future solutions.\nI\u0026rsquo;m going to be busy. Very busy. I\u0026rsquo;m going to be learning a lot, and I\u0026rsquo;ll probably be travelling a lot. But I think we\u0026rsquo;ll have a lot of fun along the way.\nI intend to keep this blog going. Obviously I will be hopelessly biased, but then, we all have our biases. At least you\u0026rsquo;ll know mine.\nThanks to all those who\u0026rsquo;ve wished me luck, and a special thank you to @SFoskett and the Tech Field Day crew. The people I met and connections I made at NFD8 \u0026amp; NFD9 helped to make this possible.\n","permalink":"https://lkhill.com/the-next-step-brocade/","summary":"\u003cp\u003eI am happy to announce that I am now a Product Manager at \u003ca href=\"http://www.brocade.com/\"\u003eBrocade.\u003c/a\u003e This is a big move for me, and one I am very excited about. I will get to work on the future of networking with a lot of smart people .\u003c/p\u003e","title":"The Next Step: Brocade"},{"content":"Check Point Identity Awareness is problematic in environments that have multiple customers, overlapping private address space, and NAT. It can be done, if you understand the traffic flows, the connections needed, and how to combine several features. Here\u0026rsquo;s how I did it.\nNote: NB: This post is not a full explanation of Check Point Identity Awareness, nor is it a discussion of the product design decisions, good or bad. It assumes that the reader understands what Identity Awareness is, and focuses on how to implement it when you also need to use NAT. It will be pretty dull reading to everyone else. Background: Typical Check Point Management Flows A quick reminder of the traditional flows used for Check Point firewall management:\nCheck Point Management Clients (e.g. SmartDashboard, SmartLog) connect to the management server to configure policies, view logs, etc.\nPolicies are compiled and pushed from the management server to the firewall(s). Logs are sent from the firewall back to the management server. All good.\nIdentity Awareness: Additional Connections Identity Awareness lets you define rules based upon user identities, rather than IP addresses. So you can say \u0026ldquo;This AD group is allowed to connect directly to the SQL Server.\u0026rdquo; Much nicer than allocating static IPs to users.\nUsing Identity Awareness with AD Queries adds a few extra flows to the above picture:\nThere\u0026rsquo;s three more connections we need to be aware of:\nThe management server connects to the Active Directory Domain Controller (DC) at initial setup, to discover the list of domain controllers. It also makes that connection if you fetch the LDAP SSL fingerprint. The client PC running SmartDashboard makes an LDAP connection to the DC when you add new Access Roles. It needs to do this to get the current list of AD users, groups, etc. These connections are only made when you change access roles - this is not an ongoing connection. Note: The client will only connect to one DC. The firewalls use WMI to connect to the DCs to read the Security Event Logs. They do this to build up a list of user-to-IP mappings. These connections are permanent. By default, all firewalls will connect to all defined DCs. In simple environments, these connections are no big deal.\nProblem: MSPs What happens if we\u0026rsquo;re in a Managed Security Provider environment, where one Provider-1 server is used to manage multiple customers?\nI\u0026rsquo;ve only shown one firewall here, but we could have many customers managed by that same Provider-1 server. The firewalls used by each customer will have a consistent address scheme - either public IPs, or centrally allocated private ranges. NAT can also be used between Provider-1 and the managed firewalls. This is usually easy to manage.\nIdentity Awareness complicates this. Customers will almost certainly be using private IP addressing for their DCs, and there will be overlaps. Within each customer environment, the connections from the local firewall to the local DC are fine. The problem is for those connections needed from the Management Clients and the Management Server to the DCs. How can you route that? Won\u0026rsquo;t the AD WMI connections get broken if you use NAT?\nAnswer: Small doses of NAT This is the outcome we\u0026rsquo;re looking for:\nManagement Clients and the Management Server/CMA should use a NAT IP to connect to the Domain Controllers. Firewalls should only connect to real IPs. When we set up Identity Awareness, if we only use the real IPs, then the firewalls will connect to the DCs. But we won\u0026rsquo;t be able to add new Access Roles, so it will be a bit pointless.\nIf we define routable NAT entries for the DCs, then the management connections will work. But the firewalls will either be unable to connect to those IPs, or they\u0026rsquo;ll run into WMI challenges due to embedded IPs.\nHere\u0026rsquo;s the steps to get it working:\nSet up a NAT IP for ONE of the DCs - e.g. DC1-XLATE. Configure firewall + NAT rules that allow the management clients \u0026amp; server to connect to that IP using LDAP + LDAPS. Make sure your rulebase has objects for all of the DCs you want to use (e.g. DC1, DC2, DC3). Add firewall rules as needed for connectivity between firewalls and DCs. Don\u0026rsquo;t use the Identity Awareness Wizard. Manually add the LDAP Account Unit (AU). When configuring the LDAP AU, add server entries for all of the DCs (e.g. DC1, DC2, DC3) AND for the NAT IP. So your list of servers might have DC1, DC2, DC3, DC1-XLATE. Yes, that\u0026rsquo;s right - DC1 has both the real \u0026amp; the NAT IP. Set the priority for DC1-XLATE to 100, leave the others at default. When you add DC1-XLATE, you should configure encryption, and fetch the fingerprint. Don\u0026rsquo;t bother trying to do it for the other DC objects. On the Objects Management tab, pick DC1-XLATE from the drop-down list. Even though you\u0026rsquo;ve added multiple DCs, SmartDashboard \u0026amp; the management server will only connect to one server. Save the LDAP AU. Edit your firewall object. Configure IA as per normal. Then Other -\u0026gt; User Directory, change \u0026ldquo;Account Units Query / All\u0026rdquo; to \u0026ldquo;Selected Account Units list.\u0026rdquo; Add your new LDAP AU. Uncheck \u0026ldquo;Use default priorities.\u0026rdquo; Set the priority of the DC1-XLATE object to use 1001. (Anything \u0026gt;1000 tells this gateway to ignore that DC). Do the same for any other firewalls you have set up for IA, and install policy Result:\nManagement clients \u0026amp; servers use the NAT IP for querying AD. The firewalls use only the real IPs to read Event Logs. They ignore the NAT IP. Check this with \u0026ldquo;adlog a dc\u0026rdquo; - you\u0026rsquo;ll see that NAT IP listed as \u0026ldquo;ignored.\u0026rdquo; Overall this method seems to work well. It\u0026rsquo;s a bit fiddly to set up, especially if you have many DCs, and many firewalls, but at least it can be done.\n","permalink":"https://lkhill.com/using-check-point-identity-awareness-with-nat/","summary":"\u003cp\u003eCheck Point \u003ca href=\"https://www.checkpoint.com/products/identity-awareness-software-blade/index.html\"\u003eIdentity Awareness\u003c/a\u003e is problematic in environments that have multiple customers, overlapping private address space, and NAT. It can be done, if you understand the traffic flows, the connections needed, and how to combine several features. Here\u0026rsquo;s how I did it.\u003c/p\u003e","title":"Using Check Point Identity Awareness with NAT"},{"content":"This week\u0026rsquo;s lesson: Be consistent with your vendor naming when working with HP IMC Custom Device Adapters. When you create the new adapter directory, use exactly the same vendor name as used within the UI. Otherwise IMC may not recognise your new adapter. Case matters too, even on Windows!\nHP IMC ships with a set of \u0026ldquo;Device Adapters\u0026rdquo; that define functions such as backups, configuration deployment, firmware upgrades, etc. These adapters are sets of XML, TCL and Perl files. They define which devices are supported, for what functions, and how to execute those functions.\nObviously HP can\u0026rsquo;t support every device ever made. But they\u0026rsquo;re quite happy for you to write your own adapters, or extend the ones they have. So if you\u0026rsquo;ve got a few unsupported switches, and they have some sort of sensible interface, you can write your own adapters.\nThese are stored at \u0026lt;IMC\u0026gt;/server/conf/adapters/ICC/. Under there, you have a set of folders for each vendor. Under each vendor folder is an adapter-index.xml file, which maps SNMP sysOIDs to adapters. You must have a mapping in the adapter-index.xml file for your sysOID. (nb you can use wildcards). If those XML files change, you need to restart IMC.\nI had thought that the key part was the mapping in the adapter-index.xml file. But IMC also looks at the vendor name. In the main IMC UI, you can define models/series/vendors, and SNMP sysOIDs to those models. IMC will use this vendor name to decide which adapter folder to look in. It will then use the adapter-index.xml mappings to pick out the specific adapter type.\nSo if you\u0026rsquo;re adding a new adapter to IMC, follow these steps:\nGo to Settings -\u0026gt; Device Vendor. Make sure the vendor is there. Same with Device Series Add a mapping for the specific Device Model - e.g. 1.3.6.1.4.1.2636.1.1.1.2.64 is a Juniper SRX-110 Create the new adapter folder under conf/adapters/ICC/. This folder name must match the vendor as defined in the UI. Create your new adapter files, including the correct mappings in adapter-index.xml Restart IMC. Re-synchronise your device. Check that it displays the right model name in IMC. It should now try and use your new adapter for backups, etc. Sometimes you\u0026rsquo;re having problems figuring out which adapter IMC is using, or if it\u0026rsquo;s even been able to figure out any adapter at all. I\u0026rsquo;ve found these tables in the database are helpful:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 mysql\u0026gt; use config_db; Database changed mysql\u0026gt; select dev_id,dev_ip from tbl_dev where dev_ip = \u0026#39;192.168.1.1\u0026#39;; +--------+-------------+ | dev_id | dev_ip | +--------+-------------+ | 13 | 192.168.1.1 | +--------+-------------+ 1 row in set (0.00 sec) mysql\u0026gt; select * from tbl_dev_adapter where dev_id=13; +----------------+--------+-------------+-----------------------------+-----------------+--------------+------------+ | component_name | dev_id | vendor_name | sysoid | adapter_name | adapter_type | error_code | +----------------+--------+-------------+-----------------------------+-----------------+--------------+------------+ | Custom | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | N/A | 0 | 18 | | Custom | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | N/A | 1 | 18 | | ICC | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | DlinkGeneric | 0 | 0 | | ICC | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | N/A | 1 | 44 | | netresdm | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | N/A | 0 | 18 | | netresdm | 13 | D-Link | 1.3.6.1.4.1.171.10.137.3.1 | N/A | 1 | 18 | +----------------+--------+-------------+-----------------------------+-----------------+--------------+------------+ 6 rows in set (0.00 sec) mysql\u0026gt; There I\u0026rsquo;m looking up the device ID, then checking the tbl_dev_adapter table to see what it\u0026rsquo;s using. The key there is DlinkGeneric. If you don\u0026rsquo;t get any results here, IMC can\u0026rsquo;t figure out the device adapter mapping.\nHopefully this helps someone else who\u0026rsquo;s scratching their head about why IMC doesn\u0026rsquo;t recognise their new adapter.\n","permalink":"https://lkhill.com/hp-imc-adapter-directory-naming/","summary":"\u003cp\u003eThis week\u0026rsquo;s lesson: Be consistent with your vendor naming when working with \u003ca href=\"https://www.hpe.com/networking/imc/\"\u003eHP IMC\u003c/a\u003e Custom Device Adapters. When you create the new adapter directory, use exactly the same vendor name as used within the UI. Otherwise IMC may not recognise your new adapter. Case matters too, even on Windows!\u003c/p\u003e","title":"HP IMC Adapter Directory Naming"},{"content":"I have been having issues using the F5 APM client behind a Juniper SRX-110 using hide NAT. I believe I\u0026rsquo;ve tracked it down to the default timeout settings used for UDP services. Here\u0026rsquo;s what I did to resolve it.\nConstant Connection Timeouts The laptop client was behind the SRX-110, using hide NAT. The initial client connection would work, and things would look good for a while. The the client would stop receiving packets. Traffic graphs would show a little bit of outbound traffic, and nothing inbound. Eventually, the client might decide it needed to reconnect. But usually, it would sit there for a few minutes doing nothing. Then I would force a disconnect, which would take a while, and then reconnect. Exceedingly frustrating.\nConnecting the client to a different network - e.g. using a phone hotspot - worked fine. No dropouts. Using a wired connection behind the SRX had the same issue. So clearly the problem was related to the SRX.\nTLS \u0026amp; DTLS I dug into the traffic flows to better understand what was going on. This SSL VPN solution makes an initial TLS connection using TCP 443. It then switches over to DTLS using UDP 4433 for ongoing encrypted traffic streams.\nThe problem seemed to be related to the default UDP service NAT timeout on the SRX. This is 60s. TCP sessions have a default timeout of 1800s.\nSo if I didn\u0026rsquo;t have any encrypted traffic for 60s, the DTLS NAT session would time out. But the client still had TCP 443 connectivity. It then seemed to get into a confused state, where it didn\u0026rsquo;t fully recognise that the VPN wasn\u0026rsquo;t working properly. That\u0026rsquo;s why it would take so long to time out, and needed a forced disconnect.\nExtended Timeouts I made a couple of small changes to my SRX configuration. I defined a new DTLS application, with a NAT timeout of 600s:\n1 2 3 4 5 6 7 8 9 10 11 lhill@srx01\u0026gt; show configuration applications application dtls { protocol udp; destination-port 4433; inactivity-timeout 600; } lhill@srx01\u0026gt; show configuration applications | display set set applications application dtls protocol udp set applications application dtls destination-port 4433 set applications application dtls inactivity-timeout 600 I have a basic security policy that allows everything outbound. It contained this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 lhill@srx01\u0026gt; show configuration security policies from-zone trust to-zone untrust policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; log { session-close; } count; } } lhill@srx01\u0026gt; show configuration security policies from-zone trust to-zone untrust | display set set security policies from-zone trust to-zone untrust policy trust-to-untrust match source-address any set security policies from-zone trust to-zone untrust policy trust-to-untrust match destination-address any set security policies from-zone trust to-zone untrust policy trust-to-untrust match application any set security policies from-zone trust to-zone untrust policy trust-to-untrust then permit set security policies from-zone trust to-zone untrust policy trust-to-untrust then log session-close set security policies from-zone trust to-zone untrust policy trust-to-untrust then count I added a new clause, above the existing policy, to ensure that my application was matched:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 lhill@srx01\u0026gt; show configuration security policies from-zone trust to-zone untrust policy dtls match { source-address any; destination-address any; application dtls; } then { permit; } lhill@srx01\u0026gt; show configuration security policies from-zone trust to-zone untrust policy dtls | display set set security policies from-zone trust to-zone untrust policy dtls match source-address any set security policies from-zone trust to-zone untrust policy dtls match destination-address any set security policies from-zone trust to-zone untrust policy dtls match application dtls set security policies from-zone trust to-zone untrust policy dtls then permit Now that policy gets hit for DTLS traffic. Checking the flows with show security flow session nat destination-port 4433, I can see the longer timeouts applied.\nBest of all, no more dropouts!\n","permalink":"https://lkhill.com/f5-apm-srx-and-dtls-nat-timeout/","summary":"\u003cp\u003eI have been having issues using the \u003ca href=\"https://f5.com/products/modules/access-policy-manager\"\u003eF5 APM\u003c/a\u003e client behind a Juniper \u003ca href=\"http://www.juniper.net/us/en/products-services/security/srx-series/srx110/\"\u003eSRX-110\u003c/a\u003e using hide NAT. I believe I\u0026rsquo;ve tracked it down to the default timeout settings used for UDP services. Here\u0026rsquo;s what I did to resolve it.\u003c/p\u003e","title":"F5 APM, SRX and DTLS NAT Timeout"},{"content":"Trigger warning for Check Point haters: I\u0026rsquo;m about to say nice things about Check Point.\nContinuing the recent theme of Check Point-related posts, I\u0026rsquo;d like to give Check Point credit for once. SmartLog is what I always wanted from Tracker/Log Viewer, and they\u0026rsquo;re not even charging me extra for it. Shocking, I know.\nTraditional Log Analysis 15-20 years ago, Check Point was well ahead of the competition when it came to viewing firewall logs. \u0026ldquo;Log Viewer\u0026rdquo; or \u0026ldquo;SmartView Tracker,\u0026rdquo;1 let you filter logs by source, destination, service, etc., and quickly see what was happening. The GUI worked well enough, and junior admins could learn it quickly.\nMost other firewalls only had syslog. That meant that your analysis tools were limited to grep and awk. Powerful yes, but a bit of a learning curve. There was also the problem of \u0026lsquo;saving\u0026rsquo; a search - you\u0026rsquo;d end up hunting through your shell history, trying to recreate that 15-stage piped work of art. Splunk wasn\u0026rsquo;t around then.\nTimes Change Tracker has several issues:\nLog files are \u0026lsquo;flat\u0026rsquo; files. It is a proprietary binary format, but it\u0026rsquo;s still flat, with no indexing. The format is very structured, but searches are slow when the files get large. Searches are only against the open file. Maximum file size is (still) 2GB. Small shops will do daily log rotation, while large sites will easily have 5 or more 2GB files per day. Put those two together, and it\u0026rsquo;s very time-consuming to track down what happened, and when. You need to open the right file(s), and it\u0026rsquo;s hard to see longer-term trends. The binary/proprietary nature of the data makes it awkward to integrate with other systems. OPSEC API is still crap, still poorly supported. In the meantime, we\u0026rsquo;ve seen the rise of tools like Splunk, ELK stack and Graylog2. These have changed the way we view log analysis. We can now easily manage huge volumes of syslog. We can run queries against enormous data sets. We can find \u0026amp; visualise trends in a way that just wasn\u0026rsquo;t practical before. It doesn\u0026rsquo;t matter what tools other firewall vendors offer - we can just chuck the data and Splunk and look at it there. Easy integration with other datasets too.\nBut Tracker hadn\u0026rsquo;t changed. Still the 2GB file size limit, and still a pain to search across multiple files. Check Point tried to improve it, but it was really showing its age.\nEnter SmartLog Things have changed. SmartLog was introduced with R75.40. The marketing materials say it:\n\u0026hellip;enables enterprises to centrally track log records and security activity across all Software Blades with split-second Google-like search results that provides instant visibility over billions of log records.\nIt is another set of processes that run on your log servers, indexing all incoming logs. Rather than flat files, the data is stored in a way that allows for fast search \u0026amp; retrieval. The original log files are still there - they are unaffected by SmartLog. But now you can run a new client-side application, and quickly search through log data, viewing it in a way that wasn\u0026rsquo;t possible before.\nEnabling SmartLog You need to be running R75.40 or later on your management server and log server. You should be running R77.20 on those anyway. It\u0026rsquo;s pretty straightforward to enable:\nGo to SmartDashboard, and edit the management server object and/or the log server object Go to Logs Select Enable SmartLog Click OK Go Policy -\u0026gt; Install Database, and install the DB on the mgmt \u0026amp; log servers As soon as the database is installed, SmartLog will start indexing logs. It will index all new logs, and it will index the current contents of $FWDIR/log/fw.log. Depending upon when the log file was last rotated, this could mean the log server CPU spikes for a while. It should settle down later, but you will see higher average CPU usage. It\u0026rsquo;s only on the log server though, so it doesn\u0026rsquo;t matter.\nUsing SmartLog Either cross-launch from another app (Dashboard, Tracker, etc), or directly launch the client-side app SmartLog, and login to your log server or management server.\nFrom there you\u0026rsquo;ve got a new UI to work with, but it doesn\u0026rsquo;t take too long to get the hang of it.\nEnter a search term in the top bar, just the way you think makes sense - e.g 10.1.1.1 drop to show all drops to/from 10.1.1.1. You can easily build up more complex queries using AND and OR. You can also click on the suggested search filters - time, source, etc.\nYou can see in that screenshot the automatically identified Top Sources, Destinations, Services, etc. Right-click on any of the items in the main section, and you can choose to add them to the filter - or exclude them. The right-hand side has all the details for each log entry.\nThe best bit about all this? It\u0026rsquo;s fast. Real fast. Results come back within seconds. It progressively searches further back in time. You\u0026rsquo;ll see current results come back very quickly, and then it takes a few more seconds to go further back, over however far your indexes go. Similar to Splunk, if you\u0026rsquo;ve ever used that.\nIn my tests I was able to search through hundreds of millions of records in around 20s, on average hardware. That is almost impossible with Tracker. Speed fundamentally changes the way you look at your data. You don\u0026rsquo;t just answer your questions more quickly. You ask questions you wouldn\u0026rsquo;t otherwise bother with. Suddenly you find yourself spotting trends, and picking out anomalies in the data.\nCaveats Original logs are still retained, but SmartLog also indexes the data at $SMARTLOGDIR/data. This means that your disk space usage will go up on your log servers. The default policy is to delete index files once there is \u0026lt; 10GB of free space.\nAssuming you\u0026rsquo;re using R77.x, you can edit the log server object, and set either a maximum index size - e.g. 100GB, or a time limit - e.g. 14 days. If you change those settings, you\u0026rsquo;ll need to re-install the database. I also found I needed to run \u0026ldquo;smartlogstop;smartlogstart\u0026rdquo; for it to apply the new policy.\nSmartLog can almost entirely replace Tracker. So I recommend changing your archival/compression policies for traditional logs. Aggressively compress \u0026amp; delete those files, so that you\u0026rsquo;ve got more space for SmartLog indexes. They\u0026rsquo;ll be far more use to you.\nDo It I wouldn\u0026rsquo;t suggest buying Check Point specifically for SmartLog. But if you already own Check Point firewalls, you should enable SmartLog right now. I don\u0026rsquo;t see any downsides, and it will make your life better. You\u0026rsquo;ll also start to get better insight into your traffic patterns, as the speed of use changes the way you look at your logs. Recommended.\nThe product name depended upon who had the upper hand at the time - Marketing or Engineering. It seemed to swing back and forth.\u0026#160;\u0026#x21a9;\u0026#xfe0e;\n","permalink":"https://lkhill.com/check-point-smartlog-recommended/","summary":"\u003cp\u003e\u003cem\u003eTrigger warning for Check Point haters: I\u0026rsquo;m about to say nice things about Check Point.\u003c/em\u003e\u003c/p\u003e","title":"Check Point SmartLog - Recommended"},{"content":"I got caught out by Check Point\u0026rsquo;s \u0026ldquo;Install On\u0026rdquo; column recently. Most people don\u0026rsquo;t need this setting any more, but it\u0026rsquo;s still there for legacy reasons. Time to re-evaluate.\nWhen you create a firewall policy using Check Point, you define the set of possible installation targets. That is, the firewalls that this policy may be installed on. When you compile \u0026amp; install policy, you can choose from this list of targets, and only this list.\nNote: In the 4.1 days, we didn\u0026rsquo;t have this option. At install time, you had to choose from the complete list of firewalls. The default had all firewalls selected. You can imagine the merriment that ensued when someone would install the wrong policy on a firewall. Most organisations will only have one installation target per policy. But sometimes you want to have the same policy on multiple firewalls. This is pretty easy to do, and might make sense if you have many common rules.\nBut then you say \u0026ldquo;What if I had 30 common rules, 50 that only applied to firewall A, and another 50 that only applied to firewall B?\u0026rdquo; That\u0026rsquo;s where people start using the \u0026ldquo;Install On\u0026rdquo; column. This lets you define at a per-rule level, which firewall will enforce that rule. When you compile \u0026amp; install policy, it will only install the rules that apply to that specific firewall.\nSo in certain circumstances, it might make sense. But most organisations have one policy defined per firewall. In that case, you can just leave the \u0026ldquo;Install On\u0026rdquo; column at its default of \u0026ldquo;Policy Targets.\u0026rdquo; There\u0026rsquo;s no need to set it to anything else, since this policy is only ever going to be installed on one firewall.\nBut people see that column and think \u0026ldquo;Ah, I must have to define the enforcement point. I can see all these other old rules that have it defined.\u0026rdquo; Everyone\u0026rsquo;s too scared to change it, and so these things persist for 10+ years. Junior engineers keep needlessly setting it.\nEvery now and then it catches me out, when I copy a rule from one policy to another. The rule looks good - Source, Destination, Service are all set. I install the policy, no problems. No warnings, no errors. Check Point doesn\u0026rsquo;t complain about a rule with \u0026ldquo;Install On\u0026rdquo; set to a firewall that\u0026rsquo;s not even in the list of installation targets.\nBut then the damn firewall doesn\u0026rsquo;t allow the traffic. The logs show drops, and I scratch my head for a while, trying to figure out why.\nEventually I cotton on to it, and reset it to \u0026ldquo;Policy Targets.\u0026rdquo; Re-install policy, and we\u0026rsquo;re away.\nThen I go back to cursing the previous engineer for using the \u0026ldquo;Install On\u0026rdquo; option when there was no need to.\nIf you are still setting that option, ask yourself why. Are you installing the same policy across different firewalls, and you actively choose where each rule should be enforced? Or have you just not updated your practices since the 4.1 days? If you\u0026rsquo;ve only got one installation target, then just leave the \u0026ldquo;Install On\u0026rdquo; column at \u0026ldquo;Policy Targets.\u0026rdquo;\n","permalink":"https://lkhill.com/check-point-dont-use-the-install-on-column/","summary":"\u003cp\u003eI got caught out by Check Point\u0026rsquo;s \u0026ldquo;Install On\u0026rdquo; column recently. Most people don\u0026rsquo;t need this setting any more, but it\u0026rsquo;s still there for legacy reasons. Time to re-evaluate.\u003c/p\u003e","title":"Check Point - Don't Use the 'Install On' Column"},{"content":"Last year I wrote about the IPv4 Address Transfer Process. Recently I was involved in another IPv4 transfer. I was surprised to see that IPv4 prices have fallen in the last year. I have done some rudimentary analysis of the APNIC transfer statistics to try to figure out why.\nAPNIC publishes statistics on transfers at ftp.apnic.net/public/transfers/apnic. These text files list all resource transfers that have taken place - the \u0026ldquo;to\u0026rdquo; \u0026amp; \u0026ldquo;from\u0026rdquo; organisation, the resource type, the date, etc. I am very interested in looking at the trends. How many transactions take place each month, and how many addresses are being transferred?\nI wrote a simple Python script to do this analysis for me. It retrieves the latest statistics, and converts them into a Google chart:\nNote this does not do live updates. It is a point in time snapshot, generated using the current data at the time the script is run. If you would like to update the code to do live updates, fork it from Github here. I\u0026rsquo;d also love to update the script to include stats from other RIRs.\nThe script graphs both the number of transactions per month, and the number of prefixes transferred per month (in /24s). You can see a clear up-tick in 2015. February 2015 was the highest month for prefixes transferred, and March and April set new records for transactions in a month.\nIs this why prices have fallen? Now that we have well-established markets for IPv4 resource transfers, is that drawing more sellers onto the market? My current theory is that there are many businesses that have realised the value of the assets they hold, and are selling unused address space.\nThe tricky bit is trying to figure out where this is going. I believe that it won\u0026rsquo;t take long before all the \u0026rsquo;easy\u0026rsquo; sales have been done. If the space is lightly-used, or unused, it\u0026rsquo;s easy to get rid of it. But those easy pickings will get shaken out, and I think we\u0026rsquo;re going to see prices rising by this time next year. They\u0026rsquo;ll go up for a few more years, then collapse once v6 is the norm.\nThoughts?\nUPDATE 20150705 - RIPE has published a more detailed breakdown of transfer activity within their region. They show a similar trend.\n","permalink":"https://lkhill.com/ipv4-address-transfer-prices-down/","summary":"\u003cp\u003eLast year I wrote about the \u003ca href=\"/ipv4-address-transfer-process/\"\u003eIPv4 Address Transfer Process\u003c/a\u003e. Recently I was involved in another IPv4 transfer. I was surprised to see that IPv4 prices have fallen in the last year. I have done some rudimentary analysis of the APNIC transfer statistics to try to figure out why.\u003c/p\u003e","title":"IPv4 Address Transfer Prices Down?"},{"content":"Recently I’ve been musing on IT Generalists vs Specialists. We used to have more generalist roles, covering all parts of the stack. ITIL then pushed us towards greater specialisation. I believe that we’ve gone back to valuing the Generalist, as the person who can glue components together. Will the pendulum swing again?\nGeneralists: Soup-to-Nuts When I started working in IT, our roles were more generalist in nature. We did everything. To set up a new app, we racked the servers and switches, installed the OS, configured the network, installed the DB \u0026amp; application, and made it all work.\nWe weren’t specialists in any one area, but we knew how everything fitted together. So if something broke, we could probably figure it out. If we had to investigate a problem, we could follow it through all layers of the stack. When we found the problem, we had license to fix it.\nITIL takes over: Specialisation Sometime around the early-mid 2000s the “ITIL Consultants” moved in. Their talk of structure, processes and SLAs seduced senior management. We couldn’t just have people who Got Shit Done. No, everyone needed to be placed in a box, with formal definitions around what they could \u0026amp; couldn’t do.\nSystem scale was growing rapidly at the time, but automation tools \u0026amp; management were lacking. Specialisation seemed to make sense - if you have a narrow list of tasks, you should be able to do them faster and more reliably.\nThe problem was that people became responsible for their individual components, not the service. It was too easy to pass the buck. “No, the network’s fine, it must be the application.” “No the application’s fine, it must be the database…etc.” Teams hid behind process, shuffling tickets between queues. “Service Delivery Managers” reported on queue lengths, SLA breaches and ticket resolution times.\nMeanwhile, things were still broken for end-users…and somehow no one team was responsible.\nGeneralists Strike Back Things have changed over the last few years:\nCOTS components \u0026amp; systems are often ‘Good Enough.’ SaaS is practical for many common applications. Sites like Google + StackExchange give everyone more than enough information to be dangerous. Virtualisation means that admins need a better understanding of how compute, networking and storage work together. Automation and management frameworks have come a long way. Combine this with an appreciation that enforced silos resulted in worse service outcomes. I believe that is why we’ve seen a rise in roles like Site Reliability Engineers, and more recently cultural shifts to models like DevOps.\nI believe that this means there is a greater need for the IT Generalist. Deep knowledge of individual pieces is less important than knowing how the pieces fit together. That arcane knowledge on how to tune Sendmail for better performance doesn’t matter in a world where compute resource is plentiful. But understanding what those network options mean in vCenter, and how you should deploy that vApp to integrate well with the existing systems? That is useful.\nIs there still a place for specialisation? Of course. But fewer organisations need them today.\nWill the pendulum swing back towards specialisation in future? Maybe. We do like to move in cycles. What do you think?\n","permalink":"https://lkhill.com/musing-generalist-to-specialist-and-back-again/","summary":"\u003cp\u003eRecently I’ve been musing on IT Generalists vs Specialists. We used to have more generalist roles, covering all parts of the stack. ITIL then pushed us towards greater specialisation. I believe that we’ve gone back to valuing the Generalist, as the person who can glue components together. Will the pendulum swing again?\u003c/p\u003e","title":"Musing: Generalist to Specialist and Back Again"},{"content":"NetBeez presented at Network Field Day 9, where they showed us their solution for distributed network performance monitoring. They gave the delegates a NetBeez agent to take home and test. I\u0026rsquo;ve run it for the last two months, and I\u0026rsquo;ve been happy with how it has performed.\nPhysical Install The unit was supplied with a US power plug. I was contemplating using an adapter, but I didn\u0026rsquo;t have any spare power points near where I wanted to install it. Hmmm. Then I realised that the power connection is just a USB port anyway. The Ethernet cable needed to go into my SRX-110, so I wonder if\u0026hellip;\nYup! Powers from the USB port on the SRX. Perfect.\nMonitoring Setup The device powered on, and it soon showed up on the NetBeez web dashboard. This is where you can configure your agents, define what tests you want them to run, and see the results.\nI added a few simple monitors:\nHTTP monitoring to this website HTTP monitoring to www.netopscommunity.net PING monitoring to www.netopscommunity.net All very straightforward to add the monitors, and pick which agents to run them from. Running the same tests from multiple agents gives you a distributed status view. This can help you figure out if it\u0026rsquo;s a network, server or user problem. I\u0026rsquo;ve got tests running from my agent, and from @mrtugs\u0026rsquo; agent.\nResults I now have a few months of data, and I\u0026rsquo;ve been happy with what it\u0026rsquo;s giving me. Here\u0026rsquo;s some stats for Saturday evening:\nNote those breaks in the data? That was when I was reconfiguring my SRX. Take a look at the same time window, from a different agent:\nNo breaks, and you can also see that response times seem to be a little lower there. Here\u0026rsquo;s the summary report for the last week for that test:\nThe left-hand green bar is the average response time from John\u0026rsquo;s agent, and the right-hand bar is response time from my house. New Zealand might be a beautiful country, but it\u0026rsquo;s a long way away from anywhere.\nYou can also see the red bars for failures, and orange bars for alerts. Note that not all failures trigger alerts. This is because the default setting is for HTTP failures to only alert if there are 5 consecutive failures. This is of course configurable. You probably don\u0026rsquo;t want alerts for one or two failures from an agent, as you\u0026rsquo;ll get a bit of noise. But if it\u0026rsquo;s been down for 5 times in a row, then someone should probably look at that.\nAll very easy to configure, and it does what it says it will. No ongoing management hassles either. NetBeez have rolled out updates to the dashboard \u0026amp; the agents during the last few weeks, and I haven\u0026rsquo;t had to touch them.\nNote: NetBeez were a sponsor of NFD9. This meant that they indirectly covered my costs to attend. ","permalink":"https://lkhill.com/netbeez-review/","summary":"\u003cp\u003e\u003ca href=\"http://netbeez.net/\"\u003eNetBeez\u003c/a\u003e presented at \u003ca href=\"http://techfieldday.com/event/nfd9/\"\u003eNetwork Field Day 9\u003c/a\u003e, where they showed us their solution for distributed \u003ca href=\"http://datanetworkingtalk.com/what-it-is-and-what-it-beez-like/\"\u003enetwork performance monitoring\u003c/a\u003e. They gave the delegates a NetBeez agent to take home and test. I\u0026rsquo;ve run it for the last two months, and I\u0026rsquo;ve been happy with how it has performed.\u003c/p\u003e","title":"NetBeez Review"},{"content":"I have used the \u0026ldquo;Solarized\u0026rdquo; colour scheme on my Mac for several years. This is:\n\u0026hellip; a sixteen color palette\u0026hellip;designed for use with terminal and gui applications\nIf you spend a lot of time using the Terminal, this makes a huge difference. It gives me the right combination of colours to make sure everything is readable, and reduces eye-strain.\nI\u0026rsquo;ve used it for so long that I\u0026rsquo;ve forgotten about it. It\u0026rsquo;s become \u0026ldquo;normal\u0026rdquo; for me.\nPuTTY Defaults == Unusable Recently I\u0026rsquo;ve been forced to use PuTTY on Windows. I\u0026rsquo;d forgotten how terrible the default colour scheme is, particularly when you\u0026rsquo;re using VIM, or doing an ls on a RHEL system. Check this screenshot:\nThe default LS_COLORS on a RHEL system, using PuTTY defaults, will displays directories in dark blue on a black background. Hopeless. I can\u0026rsquo;t read those directory names.\nSolarized to the rescue I downloaded the \u0026ldquo;Solarized Dark\u0026rdquo; registry file from here. Double-click that to merge the registry settings. You\u0026rsquo;ll then see a new PuTTY Saved session \u0026ldquo;Solarized Dark\u0026rdquo;:\nLoad that session. Save it as the Default Settings if you like. Add any other settings you need - e.g. username, SSH key. Add the hostname/IP, and connect. Now see how that ls command looks:\nMuch better. Now I can actually read it. This also applies to syntax highlighting using VIM, etc.\nHighly recommended. I suggest you also try Solarized, for better keyboarding.\n","permalink":"https://lkhill.com/reminder-solarized-for-better-terminals/","summary":"\u003cp\u003eI have used the \u0026ldquo;\u003ca href=\"http://ethanschoonover.com/solarized\"\u003eSolarized\u003c/a\u003e\u0026rdquo; colour scheme on my Mac for several years. This is:\u003c/p\u003e","title":"Reminder: Solarized for Better Terminals"},{"content":"I’m fundamentally lazy. That’s why automation appeals: less work for me. Get the machine to do it instead. But automating everything isn’t always the right answer. Sometimes you need to ask yourself: Does this task need to be done at all? Or can I get someone else to do it for me?\nAutomating tasks carries some overhead. If you’re really unlucky, you’ll end up spending more time on the automation than doing it manually:\nSo if you can eliminate tasks, you’re in a much better position. Here’s a few contrived examples, based around a fictitious email provider:\nEliminating Tasks: Maximum Email Size for ‘Special’ Users 15-20 years ago we had limited bandwidth, and limited storage. It seemed reasonable to limit the maximum email message size. Otherwise people would send monstrous 2MB attachments. Of course, there were always ’special’ cases that needed to be able to send enormous 5MB AVI files. So we had special groups of users defined that could send large emails.\nUsers could put in a request to the Help Desk to get access to send large emails. That would go via some manager, who would of course approve it. Someone would then need to manually update that list of ‘special’ users. Maybe you had some scripts or AD integration to simplify this.\nBut times have changed. Bandwidth \u0026amp; storage have increased exponentially. Those reasons for limiting email size aren’t really there any more. But no-one’s told the email team to retreat. They’re still implementing the policies that made sense in 1998.\nTime to re-evaluate. Time to just have a standard limit for everyone, set to some reasonably high value. Rather than simplify/automate the task, get rid of it altogether. Better for everyone.\nEliminating more tasks: Profanity Filters Some businesses still apply profanity filters to email. These block emails that contain words considered “profane.” For some reason HR departments didn’t want people to use any swearwords in email.\nBut times move on. We’re used to computers now. It’s not a novelty. People use all sorts of language in various other messenger platforms. No-one cares that much anymore. But no-one\u0026rsquo;s brave enough to say \u0026ldquo;We don\u0026rsquo;t need to apply that filtering anymore.\u0026rdquo; Easy to put in, hard to remove.\nYou also see problems with people with legitimate names such as “John Cocks.” Daft profanity filters will block all email from that person unless whitelisted.\nAgain, time to move on. Get rid of the filter altogether, rather than figuring out how to automate tweaking your whitelists.\nGet other people to do the work: Email whitelists Sometimes you can’t eliminate the task. It still needs to be done. Maybe you need to manually update spam whitelists/blacklists in response to false positives/negatives.\nIf your current procedure is that end-users have to log a call to get this done, then re-think your procedures. Give users the tools to manage these whitelists/blacklists themselves. Give them an interface they can use. You support the platform, and the users do the work. Perfect.\nStill have to do the work You can\u0026rsquo;t eliminate all your tasks. You\u0026rsquo;ll still have to figure out how to automate some things. Some stuff you\u0026rsquo;ll still need to do manually. But it\u0026rsquo;s always worth asking the question: Do I need to do this task at all?\n","permalink":"https://lkhill.com/automate-all-the-things-maybe-not/","summary":"\u003cp\u003eI’m fundamentally lazy. That’s why automation appeals: less work for me. Get the machine to do it instead. But automating everything isn’t always the right answer. Sometimes you need to ask yourself: Does this task need to be done at all? Or can I get someone else to do it for me?\u003c/p\u003e","title":"Automate All The Things? Maybe Not"},{"content":" This article is Part 7 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - CCIE Preparation: Lab Equipment Part 5 - CCIE Preparation: Bootcamps Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - This Article Greg Ferro recently participated in an \u0026ldquo;Ask Me Anything\u0026rdquo; thread on Reddit. In that thread, user \u0026ldquo;1DumbQuestion\u0026rdquo; made this comment:\nLast, never finished my CCIE because of what I perceive will happen with SDN in the next coming years.\nI\u0026rsquo;ve seen similar comments from others over the last couple of years. This concerns me because it seems that people are saying \u0026ldquo;There\u0026rsquo;s too much change going on here, and I don\u0026rsquo;t know how it will all work out. So I\u0026rsquo;ll just do nothing.\u0026rdquo;\nDon\u0026rsquo;t be one of those people.\nYou should take a hard look at your career, and try to understand where the industry is going. If you think that CCIE study is not the best use of your time, that\u0026rsquo;s fine. But you should make a conscious choice about that. Crucially, you must decide where else to invest your time and energy.\nIf you firmly believe that networking will change dramatically over the next few years, then take active steps to prepare yourself. Think about your current skills, and where you have gaps. Maybe you need to learn more about Linux. Maybe it\u0026rsquo;s configuration management, or Python scripting. Put your time into that instead. But don\u0026rsquo;t do nothing. Technology keeps progressing, and you need to be aware of how it\u0026rsquo;s changing.\nIf you\u0026rsquo;re waiting for SDN to become \u0026lsquo;standardised\u0026rsquo; and the \u0026rsquo;new normal\u0026rsquo; for networking, then you risk missing out on the interesting work. By the time it becomes \u0026rsquo;normal,\u0026rsquo; much of the value will have been extracted. You\u0026rsquo;ll be left doing the dull BAU tasks. Better to try to be ahead of the game.\nFinally, don\u0026rsquo;t forget that core protocols still matter. Most of our networks will be using these for many years to come. You\u0026rsquo;ll be better placed to embrace changes in networking if you understand the current options and their limitations. CCIE-level study is still one of the best ways to do this. If you\u0026rsquo;re well on your way with CCIE study, don\u0026rsquo;t give up yet.\n","permalink":"https://lkhill.com/you-cant-put-the-future-on-hold/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 7\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        This Article\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"You can't put the future on hold"},{"content":"Recently @BobMcCouch posted a photo of the contents of his bags. He\u0026rsquo;s got a lot of gear, including a hammer, and a dent-puller. He assures us that it\u0026rsquo;s for lifting tiles, but I\u0026rsquo;m not so sure. Sounds to me like he\u0026rsquo;s worried about a few dings in the supermarket carpark.\nIt all sounded a bit scary. I want to provide a different perspective, that of someone who tries to minimise what they carry. I don\u0026rsquo;t want young engineers to think that they have to build up a huge toolbox, and the physical strength to lug it around. You might choose to do that, but it\u0026rsquo;s not the only path.\nNote: Note: I am not saying that what Bob is doing is wrong. Bob\u0026rsquo;s a smart guy, and if he\u0026rsquo;s carrying all that stuff, you can be sure it\u0026rsquo;s for a reason. What I\u0026rsquo;m trying to say is that there are different paths in network engineering. The Bag Itself My general rules for a laptop bag are that it should be as small as I can get away with, and it should not look too much like a laptop bag. So pretty much anything from Targus is inappropriate.\nToday I use the \u0026ldquo;Yee Ross\u0026rdquo; from Crumpler. The current colour options are somewhat conservative. Mine is a much more garish green/orange combo. Perfect for when I need to operate as an undercover Australian.\nThe bag does what I want. It\u0026rsquo;s held up well to 3-4 years of use, with no visible signs of wear, apart from being a bit grubby. It\u0026rsquo;s comfortable to wear whilst walking, and the size forces me to limit what I carry. It can hold a 13\u0026quot; laptop, but no larger.\nThe Contents Right now I carry this:\nLaptop - 13\u0026quot; MBPr + power supply. It\u0026rsquo;s a little heavy for my liking. Will either go MacBook or MacBook Air next time. Notebook + pen. Specific notebook varies. Depends what I\u0026rsquo;ve picked up. Not fussy. Glasses + case. Hearing aid case + spare batteries. Thunderbolt -\u0026gt; Ethernet adapter, for those vary rare occasions I need to connect to a wired network. Thunderbolt -\u0026gt; VGA adapter. VGA because it\u0026rsquo;s still the most common connection. USB -\u0026gt; Lightning cable. USB flash drive. Not sure why I still carry this. Remember when everyone used to hand out USB drives? No point now. Photo ID for current gig. And that\u0026rsquo;s it. Only additions might be a small umbrella, and my lunch. I carry the least gear I think I can get away with. This is the complete opposite to those who carry a million different cables \u0026ldquo;just in case.\u0026rdquo;\nBut What About\u0026hellip;.? I know, you\u0026rsquo;re thinking \u0026ldquo;But what about\u0026hellip;?\u0026rdquo;\nConsole cables - I don\u0026rsquo;t plug into physical gear gear any more. I mostly use virtual machines, or someone else has set up a console server. I\u0026rsquo;ve done enough of sitting in noisy data centres, and I\u0026rsquo;ll be happy if I never go in another one. According to \u0026ldquo;d katoola\u0026rdquo; I must be incompetent because I don\u0026rsquo;t carry a console cable. Seems that commenter has a narrow view of what makes a good engineer. Hint: It\u0026rsquo;s not about carrying console cables, or about being male. Tools - screwdrivers, crimping tools, etc. I don\u0026rsquo;t do rack \u0026amp; stack, and for good reason: I\u0026rsquo;m no good at it. I\u0026rsquo;m slower, and I don\u0026rsquo;t do as good a job as a professional. I would much rather have my gear installed by professionals, who will do a high-quality, consistent job. Yes, I can crimp cables, and have done so.. But my skills lie in a different domain. If you\u0026rsquo;re paying for my time, you\u0026rsquo;re better having me doing something I am good at. Spare \u0026lt;blah\u0026gt;. Meh. The only spares I carry are hearing aid batteries, and that\u0026rsquo;s because I know I\u0026rsquo;ll need them, and I can\u0026rsquo;t get by without them. You can buy/borrow everything else such as patch leads, adapters, whiteboard markers. Your role might be quite different to mine, and you may find you do need to carry a cage nut extraction tool. But chances are you\u0026rsquo;re carrying a bunch of crap that you don\u0026rsquo;t need any more.\nI do tend to look at these things differently to most people though. Reduced weight \u0026amp; improved mobility are crucial to me. I\u0026rsquo;ve travelled large parts of the world by bicycle. That forces you to constantly re-evaluate every single item you carry. I used to rip pages out of books as I finished chapters. I went without shoes for months. At one point I was happy that I\u0026rsquo;d gone down from two pairs of underpants to just one.\nHmmm. Maybe you shouldn\u0026rsquo;t listen to me :D\n","permalink":"https://lkhill.com/whats-in-my-bag-hint-not-much/","summary":"\u003cp\u003eRecently \u003ca href=\"https://twitter.com/BobMcCouch\"\u003e@BobMcCouch\u003c/a\u003e posted a photo of the \u003ca href=\"https://twitter.com/BobMcCouch/status/584175165883449344/photo/1\"\u003econtents of his bags\u003c/a\u003e. He\u0026rsquo;s got a lot of gear, including a hammer, and a dent-puller. He \u003ca href=\"https://twitter.com/BobMcCouch/status/584191156814249984\"\u003eassures us\u003c/a\u003e that it\u0026rsquo;s for lifting tiles, but I\u0026rsquo;m not so sure. Sounds to me like he\u0026rsquo;s worried about a few dings in the supermarket carpark.\u003c/p\u003e","title":"What's In My Bag (Hint: not much)"},{"content":"Just a quick note about a problem I ran into with adding data groups to an F5 system using tmsh. I wanted to add a string data group containing a list of URIs mapping to other URIs. This was for use in an iRule that will redirect these URIs.\nSo I thought that this tmsh script would do the trick:\n1 2 modify ltm data-group redir_uris records add {\u0026#34;/first-uri\u0026#34; { data \u0026#34;/new-uri\u0026#34;}} modify ltm data-group redir_uris records add {\u0026#34;/second-uri\u0026#34; { data \u0026#34;/new-uri\u0026#34;}} Every time I tried it, I got this result:\n1 Syntax Error: the \u0026#34;create\u0026#34; command does not accept wildcard configuration identifiers Hmm. But I don\u0026rsquo;t have any wildcards. So what\u0026rsquo;s the problem? I couldn\u0026rsquo;t figure it out at the time, and ended up having to resort to manually entering the data group via the web interface. A bit slow, but luckily it was only around 20 entries.\nToday I found out what was going wrong: SOL12999: \u0026ldquo;Data group records beginning with a slash character cannot be added using tmsh.\u0026rdquo;\nDescription: You cannot add data group records that begin with a slash ( / ) character to data groups using tmsh.\nThis issue occurs when all of the following conditions are met:\nYou are creating or modifying a data group from tmsh. The record you are adding to the data group contains a slash as the first character. Workaround is to use the web interface, or bigpipe, e.g:\n1 bigpipe class MyClass \\\u0026#34;/path/index.html\\\u0026#34; add It\u0026rsquo;s fixed in 11.0.0. Just another reason to get off the 10.x branch.\n","permalink":"https://lkhill.com/f5-data-groups-wildcards-and-tmsh/","summary":"\u003cp\u003eJust a quick note about a problem I ran into with adding data groups to an F5 system using tmsh. I wanted to add a string data group containing a list of URIs mapping to other URIs. This was for use in an iRule that will redirect these URIs.\u003c/p\u003e","title":"F5 Data Groups, Wildcards and tmsh"},{"content":"Check Point firewall upgrades have always been painful. The loss of connection state is a big part of this. Existing connections stop working, and many applications need restart. It looks like there is a way of minimising this pain on upgrade.\nStateful firewalls record the current \u0026lsquo;state\u0026rsquo; of traffic passing through, so they can recognise and allow reply or related traffic. If you have a firewall cluster, they need to synchronise state between the cluster members. This is so that if there is a failover, the new Active node will be aware of all connections currently in flight.\nIf you have a failover, and the standby member is NOT aware of current connection state, it will drop all currently open sessions. Any packet that isn\u0026rsquo;t a SYN packet will get dropped, and the applications need to establish new connections. Some applications handle this well - especially those that use many short-lived connections such as HTTP or DNS. But other applications that have long-running connections - e.g. DB connections - may struggle with this. They think the connection is still open, and take a long time to figure out it\u0026rsquo;s broken. They may eventually recover on their own, or they may need manual intervention.\nCheck Point clusters use dedicated interfaces for state synchronisation. When a firewall first starts up, it goes through a full synchronisation process, getting the complete session table. After that, only deltas are synchronised - i.e. new connections, and changes of state for existing connections.\nNote: Aside: These sync processes use different protocols. I have seen situations where firewall policy did not allow FW1 between cluster members. As a result, initial sync didn\u0026rsquo;t work, but delta sync did. You end up with a different number of connections on each member - e.g. 10,000 on the active node, and 5,000 on the standby. Eventually they\u0026rsquo;ll get synchronised, once every application has restarted. This could take weeks or months. The above is all well \u0026amp; good, and it mostly works. I\u0026rsquo;m surprised it still needs so much care \u0026amp; attention in 2015, but hey, this is Check Point we\u0026rsquo;re talking about.\nWhat happens when you do an upgrade? This is where problems start. Check Point has historically not liked doing state synchronisation between different software versions. So if you\u0026rsquo;re running NG FP2, and you upgrade one node to NG FP3, it won\u0026rsquo;t synchronise with the other node. I can sort of understand this, because the data structures may well change between versions. Usually (but not always) you can do state sync with minor upgrades, e.g. for hot fixes.\nWhen you promote the upgraded node to \u0026ldquo;Active\u0026rdquo; it will silently drop all current connections. This makes upgrades quite painful, as you are potentially breaking all applications that traverse this firewall. You\u0026rsquo;ve got enough to worry about with Check Point changing inspection behaviour between versions. Now you need all your application teams to be on standby to test and maybe restart their apps. Major pain. Major hassles getting your change approved. It\u0026rsquo;s probably the biggest thing holding back regular upgrades.\nI know, you\u0026rsquo;re thinking that your hip Web 3.11 application can gracefully handle these sorts of failures. Over here in the Real World, crapplications just can\u0026rsquo;t handle it. Sorry, but that\u0026rsquo;s what we have to deal with. These are the same applications that assume they can open a DB connection, pass no traffic for 2 months, then assume they can re-use that established connection.\nWhat can we do about it? Check Point has been deaf to this for a long time. They seem to just ignore it as an issue. This is a classic example of what happens when you\u0026rsquo;re too far removed from real-world operations.\nCheck Point has recently offered a non-standard patch that will let you synchronise new connections between different versions. So delta sync will work, but that initial sync of all current connections doesn\u0026rsquo;t. Result: all your short-lived connections that you didn\u0026rsquo;t really care about get synced, but the long-running DB connections don\u0026rsquo;t. Completely missing the mark there Check Point.\nMaybe there is an answer The problem is that the firewall will drop those old connections as \u0026ldquo;Out of State.\u0026rdquo; The default setting is to drop Out of State traffic. But we can change that. What if we allowed Out of State traffic, at least for a while?\nI\u0026rsquo;ve always assumed this will work, but wasn\u0026rsquo;t sure. Traffic will still be checked against the security policy, but it won\u0026rsquo;t care about the TCP state. So in theory, all our existing sessions will be allowed through.\nBut we don\u0026rsquo;t want to allow out of state forever. Otherwise we might as well just have a router with ACLs. What happens when we re-enable state enforcement? My concern was that the firewall would not \u0026rsquo;learn\u0026rsquo; those connections that it had seen as out of state.\nI\u0026rsquo;m pleased to report that it does indeed \u0026rsquo;learn\u0026rsquo; about those connections. My colleague has been doing some testing, and it looks like it all works. Existing connections will added to the connection table, and once you re-renable state enforcement, those sessions continue to work.\nNow your upgrade process can look like this:\nUpgrade the passive node Install policy that allows Out of State traffic on that cluster. Install to upgraded member Promote the passive node to active All sessions will now go via the upgraded node. It will allow existing sessions, and learn about new sessions. Leave it running like this for a while - say 24h. Re-enable state enforcement. Any connections that have done ANY traffic in the last 24 hours will have been learnt, and will be allowed. Anything that didn\u0026rsquo;t send any traffic for 24 hours deserves to get dropped. You should still do your own testing for this. But it looks like we\u0026rsquo;ve finally validated an upgrade path that will reduce your pain.\n","permalink":"https://lkhill.com/check-point-upgrade-without-dropping-connections/","summary":"\u003cp\u003eCheck Point firewall upgrades have always been painful. The loss of connection state is a big part of this. Existing connections stop working, and many applications need restart. It looks like there is a way of minimising this pain on upgrade.\u003c/p\u003e","title":"Check Point - Upgrade Without Dropping Connections"},{"content":"HP IMC installation is normally a manual process, with plenty of clickey clickey clickey. This is OK for production systems, as most sites will only have one or maybe two IMC servers. But for my lab, I wanted to automate the install, so I can quickly spin up a new lab system. I have now found an undocumented, unsupported way of doing this.\nThere\u0026rsquo;s two parts to this - preparing the underlying OS \u0026amp; DB, and installing IMC. I am writing Ansible playbooks to handle the OS + DB setup. That\u0026rsquo;s working, but it needs a bit of cleanup. Once that\u0026rsquo;s done, I\u0026rsquo;ll integrate it with Vagrant. Then I should be able to completely automate the install of a lab IMC system. I will write another post on that once it\u0026rsquo;s complete.\nTo install IMC silently, create an install.cfg file to define your settings. Then tweak the installation script to call the silent installer, not the interactive install.\nNote: I am using CentOS 6.x plus MySQL 5.6. With a few tweaks, this will probably work with Windows and/or other DBs. Also remember that this does not seem to be publicly documented anywhere. I\u0026rsquo;ve figured out how to do it through a bit of trial \u0026amp; error, but I wouldn\u0026rsquo;t go asking HP for support. install.cfg The key file is install.cfg. Create this file in the same directory as the IMC install.sh script. Here\u0026rsquo;s what my install.cfg looks like:\n1 2 3 4 5 6 7 8 9 10 install.dir=/opt/iMC data.dir=/var/lib/mysql db.type=MySQL db.adminusername=root db.adminpwd=iMC123 db.port=3306 install.locale=en_NZ deploy.components=iMC-PLAT,iMC-EUPLAT,iMC-GAM,iMC-ACLM,iMC-DM,iMC-SEPLAT,iMC-REPORT,iMC-ICC,iMC-SCC,iMC-VNM,iMC-SYSLOG,iMC-NME-FAULT,iMC-NETASSET,iMC-VLAN,iMC-NME-PERF http.port=80 https.port=443 Most of that should be pretty self-explanatory. Here\u0026rsquo;s a breakdown of what they do, as far as I can figure out:\ninstall.dir - the location where IMC is installed. data.dir - location for the DB. This is more important for SQL Server installation. db.type - choices are SQLServer, Oracle, MySQL, PostgreSQL. If you use Oracle, you also need to define \u0026ldquo;db.addinfo\u0026rdquo; (i.e. additional DB info). I don\u0026rsquo;t know the exact syntax required for that, but I suspect it is the network service name. db.adminusername - A user with SA-level privileges. This user needs to be able to do pretty much everything - create new databases, users, etc. Typically this will be root, or sa. db.adminpwd - the password for the above user. Note that if you\u0026rsquo;re using MySQL on the localhost, with user root, you must set a password for root. IMC won\u0026rsquo;t let you have a blank password. db.port - port the DB listens on. install.locale - the locale in use. Unsurprisingly, I\u0026rsquo;m using English - New Zealand. deploy.components - the IMC components to deploy. This is a comma or semi-colon separated list. This is the full list of components installed with IMC Standard. If you\u0026rsquo;re installing Enterprise, there\u0026rsquo;s a couple more you can add. If you find out what those other component codenames are, let me know. http.port - port for IMC to listen on. Default is 8080, but I don\u0026rsquo;t like that. https.port - port for IMC to listen on for HTTPS. Default is 8443. All pretty self-explanatory, right?\nNote: There\u0026rsquo;s one small issue: you can\u0026rsquo;t define the database server. From my analysis of the InstallSilence Java class, it will always use 127.0.0.1 for the DB IP. That\u0026rsquo;s OK for a lab system, but in production you\u0026rsquo;d probably rather have an external DB. It\u0026rsquo;s a pity you can\u0026rsquo;t define it, because it wouldn\u0026rsquo;t take much to extend the silent installer to handle it. install.sh The default install script is install.sh. This needs a few changes for a silent install. This will tell the installer to call a different Java class, and to send its output to Xvfb. This way you don\u0026rsquo;t need an X11 server running. I\u0026rsquo;ve created a new script installsilence.sh that contains these differences:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [root@imc ~]# diff install.sh installsilence.sh 6c6 \u0026lt; MAIN_CLASS=com.h3c.imc.deploy.InstallLauncher --- \u0026gt; MAIN_CLASS=com.h3c.imc.deploy.InstallSilence 32c32 \u0026lt; echo Loading install wizard ... --- \u0026gt; #echo Loading install wizard ... 35c35,39 \u0026lt; \u0026#34;$JAVA_HOME/bin/java\u0026#34; -Xmx256m -Dinstaller.dir=\u0026#34;$CURRENT_DIR\u0026#34; -DsupportedLocales=\u0026#34;$INSTALL_LANG\u0026#34; -Dedition=STANDARD -Dcompany.flag=HP -D3CProductNumber=JG747AAE -DskipVmCheck=true -cp \u0026#34;$JAVA_CLASSPATH\u0026#34; \u0026#34;$MAIN_CLASS\u0026#34; --- \u0026gt; # Set up Xvfb so that progress scrollbars get sent to \u0026#34;virtual\u0026#34; X11 server \u0026gt; /usr/bin/Xvfb \u0026gt;/dev/null 2\u0026gt;\u0026amp;1 \u0026amp; \u0026gt; export DISPLAY=:0 \u0026gt; \u0026gt; \u0026#34;$JAVA_HOME/bin/java\u0026#34; -Xmx256m -Dinstaller.dir=\u0026#34;$CURRENT_DIR\u0026#34; -DsupportedLocales=\u0026#34;$INSTALL_LANG\u0026#34; -Dedition=STANDARD -Dcompany.flag=HP -D3CProductNumber=JG747AAE -DskipVmCheck=true -cp \u0026#34;$JAVA_CLASSPATH\u0026#34; \u0026#34;$MAIN_CLASS\u0026#34; -y [root@imc ~]# The first change is to call the InstallSilence class, rather than InstallLauncher. This tells IMC to look for install.cfg, and read its settings from there.\nNext I comment out an unnecessary echo statement. Then I run Xvfb, so that you don\u0026rsquo;t need an X11 server set. This will send the progress bar off to the equivalent of /dev/null, and it won\u0026rsquo;t block. You\u0026rsquo;ll probably need to install xorg-x11-server-Xvfb first - I\u0026rsquo;m doing this in my Ansible playbook.\nThe last change is to add -y to the install command. If you don\u0026rsquo;t do this, the installer will read the settings, tell you what it\u0026rsquo;s about to do, then wait for you to enter y before continuing. With that setting, it won\u0026rsquo;t prompt, but will just start the installation.\nSo far, this is all working well for me. I now have a completely repeatable process for installing IMC, and it should work with new versions too. Output during installation looks like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [root@imc ~]# ./installsilence.sh Loading install wizard ... Install started at Sat Mar 28 10:18:30 NZDT 2015 Installation information: Install source dir: /root Install destination dir: /opt/iMC Locale: English (New Zealand) Components: [iMC-PLAT, iMC-EUPLAT, iMC-GAM, iMC-ACLM, iMC-DM, iMC-SEPLAT, iMC-REPORT, iMC-ICC, iMC-SCC, iMC-VNM, iMC-SYSLOG, iMC-NME-FAULT, iMC-NETASSET, iMC-VLAN, iMC-NME-PERF] Usable space: 9286 MB -------------------------------------------------- Installing common components... Installing component \u0026#39;iMC-EUPLAT\u0026#39;... Installing component \u0026#39;iMC-GAM\u0026#39;... Installing component \u0026#39;iMC-ACLM\u0026#39;... Installing component \u0026#39;iMC-DM\u0026#39;... Installing component \u0026#39;iMC-SEPLAT\u0026#39;... Installing component \u0026#39;iMC-REPORT\u0026#39;... Installing component \u0026#39;iMC-ICC\u0026#39;... Installing component \u0026#39;iMC-PLAT\u0026#39;... Installing component \u0026#39;iMC-SCC\u0026#39;... Installing component \u0026#39;iMC-VNM\u0026#39;... Installing component \u0026#39;iMC-SYSLOG\u0026#39;... Installing component \u0026#39;iMC-NME-FAULT\u0026#39;... Installing component \u0026#39;iMC-NETASSET\u0026#39;... Installing component \u0026#39;iMC-VLAN\u0026#39;... Installing component \u0026#39;iMC-NME-PERF\u0026#39;... All components installed Deploying component \u0026#39;iMC-PLAT\u0026#39;... Preparing for master... (lots of output snipped here) Save new component deployed info. Generate Trial License. All works were done. All components deployed successfully. Press \u0026#39;Enter\u0026#39; to launch DMA. [root@imc ~]# [UPDATE 20150331] You can see at the end that it says \u0026ldquo;Press \u0026lsquo;Enter\u0026rsquo; to launch DMA.\u0026rdquo; Normally it will block here. I created this Expect script to automatically handle this. Now it can be launched remotely, and run with no interaction at all:\n1 2 3 4 5 6 7 8 9 10 11 #!/usr/bin/expect set timeout 900 spawn /root/installsilence.sh expect { timeout { send_user \u0026#34;\\nInstall script failed to complete before timeout\\n\u0026#34;; exit 1 } \u0026#34;*launch DMA.\u0026#34; { send \u0026#34;\\04\u0026#34; } } Then all you need to do us run installer.tcl. Because I send \u0026ldquo;Ctrl+D\u0026rdquo;, it doesn\u0026rsquo;t even launch DMA. That means that everything is installed, but only the Deployment Monitoring Service is running. It would be nice to figure out how to tell IMC to start all processes via the CLI. I don\u0026rsquo;t know any way to do that yet, although I\u0026rsquo;m sure it\u0026rsquo;s possible.\n","permalink":"https://lkhill.com/hp-imc-silent-installation/","summary":"\u003cp\u003e\u003ca href=\"https://www.hpe.com/networking/imc\"\u003eHP IMC\u003c/a\u003e installation is normally a manual process, with plenty of clickey clickey clickey. This is OK for production systems, as most sites will only have one or maybe two IMC servers. But for my lab, I wanted to automate the install, so I can quickly spin up a new lab system. I have now found an undocumented, unsupported way of doing this.\u003c/p\u003e","title":"HP IMC Silent Installation"},{"content":"The New Zealand ISP market is dominated by Spark, Vodafone \u0026amp; CallPus/Orcon. A side effect of this is that if one player does the Right Thing™, it really moves the needle. Recently, Spark has done the Right Thing with DNSSEC.\nDNSSEC takeup has been low with New Zealand ISPs. The APNIC stats indicated that around 5% of users were using DNS resolvers that had DNSSEC validation capabilities. But in December 2014, that number jumped to ~15%:\nIt turns out this is because Spark has enabled DNSSEC validation on some of their resolvers. NZRS have done some analysis, and found that Spark turned on 4 new resolvers that do DNSSEC validation:\nThey\u0026rsquo;re still running their old resolvers, so right now it\u0026rsquo;s hit \u0026amp; miss for their customers. But it\u0026rsquo;s a great start, and presumably they\u0026rsquo;ll upgrade the remaining systems soon.\nSo Vodafone, CallPlus, Snap, Trustpower\u0026hellip;when are you going to take customer security seriously too? And Spark\u0026hellip;how long until DNSSEC is enabled for all your resolvers?\nAnd please, no arguments about \u0026ldquo;we\u0026rsquo;re not sure if it will work.\u0026rdquo; Google has been doing it since March 2013\u0026hellip;who do you think processes more DNS requests per day? Google, or your ISP?\n","permalink":"https://lkhill.com/dnssec-moving-the-needle/","summary":"\u003cp\u003eThe New Zealand ISP market is dominated by Spark, Vodafone \u0026amp; CallPus/Orcon. A side effect of this is that if one player does the Right Thing™, it really moves the needle. Recently, \u003ca href=\"http://www.spark.co.nz/\"\u003eSpark\u003c/a\u003e has done the Right Thing with \u003ca href=\"https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions\"\u003eDNSSEC\u003c/a\u003e.\u003c/p\u003e","title":"DNSSEC - Moving the Needle"},{"content":"IPv6 adoption has been slow. But I think it’s reaching a tipping point. I’m very close to calling 2015 “The year of IPv6.” There’s plenty of people who won’t believe me, but the statistics are very interesting. You need to keep a close on eye on what the data is saying.\nRecently I asked the question “What percentage of Internet traffic needs to be IPv6 for you to consider IPv6 to be mainstream/arrived/the year of IPv6?”\n@bobbobob had the best answer for when IPv6 can be considered ‘mainstream’:\n@northlandboy When I see criminal minds, or law and order using a poorly faked IPV6 address when they\u0026#39;re \u0026#39;hacking\u0026#39;, I\u0026#39;ll say it\u0026#39;s arrived.\n\u0026mdash; Rabbit Sultan (@bobbobob) February 21, 2015 But @icemarkom was probably technically correct with this answer:\n@northlandboy More than 50%.\n\u0026mdash; Marko Milivojevic (@icemarkom) February 20, 2015 So how far away is that? It’s tough trying to measure IPv6 adoption. Traffic patterns are region- \u0026amp; user-specific. The services that Chinese users access are different to those that a New Zealand business users. Traffic is often concentrated with a few ISPs and/or a few big services (Google, Facebook, Twitter, etc).\nI like to use the Google IPv6 statistics as a proxy for measuring IPv6 deployment. These stats show the percentage of Google traffic served up via IPv6 since September 2008. They also show current per-country IPv6 usage statistics. If we assume that most users (apart from China \u0026amp; Russia) use Google services, then I think that these stats serve as a good indicator for how widely available IPv6 is to end-users.\nI recommend that you spend some time playing around with these statistics. You might be surprised. Those that still mutter about IPv6 traffic being negligible are wrong. The key is in the growth rate. Overall usage in March 2013 was peaking around 1.2%. By the start of March 2014, it was ~3.15%. As at March 2015 it is peaking at over 6%.\nThe other very interesting bit is the per-country data. My own country is pretty pathetic at \u0026lt; 1%. But the US is at around 14%, and Belgium is over 30%.\nI haven’t done any detailed statistical analysis of this info. But just drawing a rough line, we could assume a doubling of IPv6 traffic levels each year. How long does that take for IPv6 to become the majority of Google traffic? In Belgium, that could be later this year. In the US, it’s maybe two years away.\nIf people are still telling you that IPv6 isn’t happening, point them to the data. They might be surprised. If they’re waiting until 10% of their users have IPv6, they might be surprised to find that they’re already at that level. I expect that Google global IPv6 traffic will go over 10% this year, but it’s already well above that in some geographies.\nOf course, these stats don’t tell us what percentage of services are available. But since Google, Facebook and Netflix are all available via IPv6, it’s easy for an ISP to see a huge chunk of their traffic using IPv6. We should also see more websites available via v6, as people switch to services like CloudFlare.\nAside: More proof that Enterprise tech is lagging Take a close look at the Google IPv6 adoption traffic stats. At first glance they show a spiky nature, moving up and down around a line. But zoom in closer, and look at the stats:\nLook how the traffic shows a clear increase at the weekends. Current typical weekday numbers are ~4.7%, while weekend traffic is ~5.7%. The conclusion I draw from this is that people are more likely to be using IPv6 at home than at the office. Yet again, Enterprise technology is lagging behind consumer tech. Who do we thank for that? ITIL or the GFC?\n","permalink":"https://lkhill.com/the-year-of-ipv6/","summary":"\u003cp\u003eIPv6 adoption has been slow. But I think it’s reaching a tipping point. I’m very close to calling 2015 “The year of IPv6.” There’s plenty of people who won’t believe me, but the statistics are very interesting. You need to keep a close on eye on what the data is saying.\u003c/p\u003e","title":"The Year of IPv6?"},{"content":"Monitoring needs to move on from traditional fault and performance polling. It should include identifying common misconfigurations and known faults. We\u0026rsquo;re all using the same technologies, so we\u0026rsquo;ve all got the same problems. I like the look of Indeni, a new approach to this problem. It uses a form of crowd-sourcing to act as a smart advisor.\nPrecious Snowflakes? We all think we’re precious snowflakes. But we’re not. We use the same technologies, glued together in the same ways. That means we all have the same problems, and make the same misconfigurations.\nVendors frequently publish new bug fixes, KB articles, EOS notices, etc. Some of these apply to products/versions/features we’re using. We struggle to keep up with the volume, and we miss these - so maybe our network is running with a known issue. Striking an unknown bug is bad. Getting caught out by a published issue is worse. Having an outage because we didn’t make sure the routing tables were in sync on our firewall cluster is unforgivable.\nVendors Need Help Too Information flow is a two-way problem. The vendors can’t always see how customers deploy their products in the real world. They think they know. They write manuals, they write white papers. But they don\u0026rsquo;t know for sure what we do, and how their systems perform. They lack the hard data.\nThey can’t see problems such as slow memory leaks, because their tests don’t have the right traffic mix, or don\u0026rsquo;t run long enough.\nWe need to be able to A) feed anonymous data back to the vendors, and B) get recommendations on how to make our network run better.\nMonitoring to the rescue? In theory, current monitoring tools should be able to help us. They’re collecting state information from our network, and now they’re also collecting configuration information. But they have focused on fault detection, not configuration issues, or software faults.\nCompanies such as Solarwinds have been taking steps to improve this. NPM 11.5 goes to greater lengths to identify duplex mismatches in your network. NCM helps with device EOL management, and can compare configurations against PCI-DSS recommendations.\nBut it’s still not enough. So we end up building up our own repositories of scripts, tips \u0026amp; tricks. In the early 2000s I wrote scripts to check firewall clusters, to make sure the routing \u0026amp; connection tables were in sync. Because I couldn’t take those scripts with me between contracts, I ended up re-writing them several times. They were useful scripts, because they always found problems. But where was the real value in me having to re-write those?\nI would periodically check the vendor KBs for new articles, and skim over them to see if they applied to me. I read release notes, and checked end of life notices. But that all relied on me. What happened when I left? Most of that stopped happening. What about new admins that haven’t yet figured out what they need to do?\nTraditional monitoring tools aren’t helping us with those problems. And they’re not helping the vendors either, because the info only goes one way. There is some hope with the cloud-managed platforms, such as Meraki. They’ve got a complete view of how customers use Meraki products, and how they’re performing. But most vendors don’t.\nIndeni - a Trusted Advisor? That’s why I like Indeni’s approach. Indeni is a sort of trusted advisor for Check Point, F5 \u0026amp; Cisco systems. It connects to your systems, grabs the configuration and state, and compares this against a list of known issues. It’s a form of monitoring tool, although it does not replace a traditional NMS.\nThe most interesting part of what it does is that the list is not static. It is constantly updated, in response to vendor advisories, customer-reported issues, etc. They can also feed information back to the vendors - e.g. if there is a jump in memory usage on HFA 20 systems, maybe there\u0026rsquo;s a problem. It’s a form of crowd-sourcing.\nIf you’ve ever worked with Check Point products, you’ll understand why Indeni makes sense. Check Point separates firewalling from the underlying OS. This means many management ‘points’ - firewall policy, global settings, *.def files, OS configurations, etc. There’s a huge number of different knobs to turn, and they’re not always easy to find. It’s not like an ASA, where you can define your whole configuration in one text file, with an associated binary blob of firmware.\nCheck Point can have driver issues, NTP misconfiguration, kernel parameter changes, routing issues, etc. That\u0026rsquo;s all before you’ve even touched the actual firewall policy. Some things you’ll only find out the hard way. Check Point has had many 10Gb NIC driver issues, but you won’t find out until you log a support case, and they issue you a special hotfix.\nAnyone supporting a large Check Point network will have their own scripts, tweaks, policies, etc. But it’s still quite reactive, and it doesn’t scale down to smaller networks. It’s also difficult to support when personnel change. Check Point appears to have little interest in fixing the underlying issues, so we need to use something like Indeni.\nYou could apply this sort of model to other products that are widely deployed - e.g. Ubuntu, Apache, Palo Alto Firewalls, etc. There are still trust issues to work through though. You want to know what information gets shared, and with whom. The vendors also need to know that their product \u0026amp; customer information is not shared with other vendors.\nWhat do you think? Do you see value in having a tool that checks your system configurations, and makes recommendations? What about the crowd-sourcing aspects of it? Does that excite you or scare you?\n","permalink":"https://lkhill.com/indeni-smart-advisors-and-crowd-sourcing/","summary":"\u003cp\u003eMonitoring needs to move on from traditional fault and performance polling. It should include identifying common misconfigurations and known faults. We\u0026rsquo;re all using the same technologies, so we\u0026rsquo;ve all got the same problems. I like the look of Indeni, a new approach to this problem. It uses a form of crowd-sourcing to act as a smart advisor.\u003c/p\u003e","title":"Indeni, Smart Advisors and Crowd-Sourcing"},{"content":"VeloCloud was the first presenter at Network Field Day 9. They are one of the new breed of SD-WAN vendors. I\u0026rsquo;m impressed by what they\u0026rsquo;re doing, and and the potential it offers for re-thinking the way we do WAN connectivity. But I think the most interesting part is the increased visibility into how networks are performing.\nI won\u0026rsquo;t go into the details of how it all works - Brandon covers some of it here, and you can look through VeloCloud\u0026rsquo;s site to understand it more. I want to focus on a few details around data analysis, and information brokerage.\nInternet Quality Monitoring In this video, Kangwarn Chinthammit talks about how VeloCloud is using their devices to monitor Internet quality. Because they\u0026rsquo;re installed in a wide range of locations, with many different WAN connection types, they\u0026rsquo;re building up some interesting data.\nThey\u0026rsquo;ve been able to do some deeper analysis of the data, and break down quality measurements by location, circuit type, hour, and day. Some of the interesting results include:\nA good ISP in one location may not be any good in another. So you can\u0026rsquo;t just pick one ISP.\nQuality varies during the day, and across the year. It might be getting worse, then be good for several months, before it gets worse again.\nHigher bandwidth links may not deliver better quality.\nThe upshot of all that is that you need multiple links, and you need to be able to move traffic between them, as conditions change. Of course, VeloCloud also thinks they\u0026rsquo;ve got the solution to do just that :)\nTwo So-So Links == One Good One? VeloCloud has measurements that indicate that Internet links are unsuitable for real-time application delivery up to 25% of the time. If all we do is dynamically redirect traffic between two links, does that mean that we can get down to 6.25% poor performance?\nVeloCloud says that if you combine the dynamic redirection with their on-demand Forward Error Correction, you get that down to \u0026lt; 1%. Watch the demonstration video to see the impact:\nThe use of the cloud gateway is what allows them to apply some more smarts to traffic redirection, FEC, and packet reordering. It\u0026rsquo;s a pretty slick demo, although I have to admit to getting distracted by the action sports they were showing\u0026hellip;\nInformation Brokerage It\u0026rsquo;s the data collection aspects that interest me the most. Firstly, if I can collect detailed application performance data, I can use that in my other monitoring systems. This helps with understanding what\u0026rsquo;s happening, and alerting on fault conditions.\nAs an end-user, I could also use this data to analyse which of my ISPs were working well, and which were having problems. I could use it as stick to beat the ISPs with. If I\u0026rsquo;m paying consumer-grade pricing, there\u0026rsquo;s not much I can do. But if I\u0026rsquo;ve got business-grade circuits, or private WAN connectivity, I\u0026rsquo;ve got some good data to go to my ISP with. I\u0026rsquo;m particularly interested in seeing if the measured performance of those \u0026lsquo;business\u0026rsquo; circuits really is any different. Or am I just paying extra for the privilege of being able to speak to someone on the phone when I ring the ISP?\nVeloCloud is in a more interesting position though. They\u0026rsquo;re collecting wide-scale data on ISP performance across time \u0026amp; geographical location. This information has real value to ISPs. They can use it to help figure out where to invest, and it could be used in competitive analysis.\nThat second part is a bit tricky - VeloCloud has to be very careful about who they share data with, and in what form. They might be able to sell detailed performance data to an ISP, if it\u0026rsquo;s for that ISP\u0026rsquo;s own circuits. But if they become known for selling that same data to competitor ISPs, they\u0026rsquo;ll breach that trust, and lose that revenue stream. They can publish aggregate/anonymised data, but it gets tricky with detailed data.\nIt also has implications for who they might take investment capital from. What if Verizon wanted to invest in VeloCloud? Would they then lose their value to other ISPs?\nYou can see this play out in other fields too - e.g. Tail-F worked with many networking vendors, and were seen as independent. But then Cisco acquired them. This acquisition makes Tail-F worth less, because their customers will need to re-think their approach, and probably stop using them. But it\u0026rsquo;s a great strategic move by Cisco, because it makes their competitors divert resources. Cisco has recently made some parts of Tail-F freely available, but that\u0026rsquo;s just further distraction for their competitors. Well played.\nI like what VeloCloud is doing in the SD-WAN space. Cheaper \u0026amp; better connectivity with greater visibility - what\u0026rsquo;s not to like? I look forward to seeing how all the players in this space execute over the next few years. I also look forward to seeing just what we can do with this wider view of how networks are performing.\nNote: Disclaimer: VeloCloud was a paid presenter at NFD9. This means that they indirectly covered my costs to attend. I am not paid or obligated to write anything, and my opinions remain my own. ","permalink":"https://lkhill.com/velocloud-information-brokerage/","summary":"\u003cp\u003e\u003ca href=\"http://www.velocloud.com/\"\u003eVeloCloud\u003c/a\u003e was the first presenter at \u003ca href=\"http://techfieldday.com/event/nfd9\"\u003eNetwork Field Day 9\u003c/a\u003e. They are one of the new breed of SD-WAN vendors. I\u0026rsquo;m impressed by what they\u0026rsquo;re doing, and and the potential it offers for re-thinking the way we do WAN connectivity. But I think the most interesting part is the increased visibility into how networks are performing.\u003c/p\u003e","title":"VeloCloud \u0026 Information Brokerage"},{"content":"Cumulus Networks gave a great presentation at Network Field Day 9. They presented their vision of how they’re working to improve networking. But they were also clear about what they don’t do, and where they will instead enable others.\nLinux on a switch? Seems natural to me Many network engineers started out running cables, and doing low-level networking. They build up to designing \u0026amp; running more complex networks. I came at it from a different direction. I first ran Linux systems in 1999. My first professional job was working with HP-UX in 2000, and I later moved into running Check Point firewalls on Nokia IPSO. I was well-used to working with Unix-like systems, and it was completely natural to me to run tcpdump on a network device.\nTo become an effective network security engineer, I had to learn more about routing \u0026amp; switching. But because I had that *nix background, I was always frustrated by the limited capabilities offered by IOS. | include is a poor substitute for grep. Yes, you can do some stuff with TCL, but would you want to? Packet capture was a poor joke until recently.\nSo when I first heard about Cumulus, it made a lot of sense to me. Run Linux on a switch? Install custom packages to do whatever I wanted? Sign me up!\nNetwork Disaggregation The more important implication of what Cumulus is doing is that it separates the hardware from the software. Pick your hardware, and then run your choice of software on it. Exactly like we\u0026rsquo;ve been doing with servers since we started moved away from Big Iron Unix to Linux/Microsoft.\nThis has significant implications, because the cost of software development can\u0026rsquo;t be \u0026lsquo;hidden.\u0026rsquo; The hardware and software components are clear. This has the potential to dramatically shift the price discussions - even if you don\u0026rsquo;t use Cumulus.\nThey\u0026rsquo;re already shaking up the market - look at what\u0026rsquo;s happening with Dell, Juniper and now HP. Vendors are changing their models, and we can all benefit from that.\nA Turtle-Powered Rocket? Wait, maybe I misinterpreted that :D The Cumulus Mascot is the “Rocket Turtle” - a Turtle with a Rocket strapped to its back.\ncf RFC1925:\n“With sufficient thrust, pigs fly just fine.”\nCumulus have assured me there is no particular symbolism to their mascot:\n@northlandboy @wyrdgirl no particular symbolism, it was just meant to look nice :)\n\u0026mdash; CumulusNetworks (@CumulusNetworks) February 16, 2015 I still see it as a metaphor for what Cumulus is doing. Sometimes it feels like the network is slow-moving, but there’s a good reason for that: Everyone blames the network. The result is that we become cautious. Vendors take time to roll out new features, and new protocol adoption is slow. We want to be sure that everything works together, and doesn’t break existing services.\nBut what if we want to make a change to our network? What if we want to do something that systems aren’t designed for today? We put in our feature request, and maybe if we’re big enough, the vendor thinks about adding it.\nWhat if I could change the code for the BGP daemon myself? Or write a Bash or Python script to make my device do something different?\nThat’s where Cumulus is trying to strap a rocket to a turtle. They’re giving you the tools to change the network faster.\nA Different Operational Model The flexibility offered comes at a price though. With traditional network devices, all configuration is in one place, through one consistent interface. Cumulus doesn’t work like that at all. It’s like a Linux-based server, where configurations are spread around different files. It is possible to make changes to the running state of some services, without it appearing in any configuration file.\nIf you’re used to running Unix-like systems, this is all pretty straightforward. But if you’re used to working with Cisco devices, it’s a big change. Simple things like backups are more complicated - there’s not just one file, there’s a collection.\nThis is manageable. You shouldn’t be configuring all your devices manually anyway. But our operational models will have to change. Luckily is no shortage of good resources on managing Linux systems. Most of that will apply to Cumulus Networks. But it still won’t be the right model for everyone.\nI highly recommend watching the videos, to better understand what Cumulus is up to. In particular, I recommend this video where Dinesh Dutt talks about network configuration simplification:\nNote: Aside: The attitude of the Cumulus Networks staff impressed me. They sought out opinions on what they’re doing, and where they should go. Some companies are too sure of themselves, and believe they’ve discovered the One True Way. If only. The grumpy Unix beardy-type in me loves what Cumulus is up to. I don’t know how it’s going to work out, but I do think that their approach and attitude can change our industry. I recommend trying out their demo workbench, to see if it works for you.\nWarning: Disclaimer: As a paying presenter, Cumulus Networks indirectly covered my costs to attend NFD9. But I am under no obligation to write anything. My opinions are my own. ","permalink":"https://lkhill.com/nfd9-cumulus-networks/","summary":"\u003cp\u003eCumulus Networks gave a great presentation at \u003ca href=\"http://techfieldday.com/event/nfd9\"\u003eNetwork Field Day 9\u003c/a\u003e. They presented their vision of how they’re working to improve networking. But they were also clear about what they don’t do, and where they will instead enable others.\u003c/p\u003e","title":"NFD9: Cumulus Networks"},{"content":"We all know that \u0026ldquo;Change is Hard.\u0026rdquo; But often we, as engineers, focus on the technical aspects of that change. How do I minimise customer impact while upgrading those routers? How can I migrate customer data safely to the new system? But we can forget about the wider implications of what we\u0026rsquo;re doing. If we do, we may struggle to get our changes implemented, or see poor take-up of new systems.\nWhy Can’t I Make That Change? I was talking to an engineer who had planned a huge configuration management implementation. Everything had been manually configured in the past, but this was hitting scale issues. So he had worked for months on a fully automated process. It was going to be amazing. It would configure everything, across all systems and applications. Standards enforced, apps deployments done in a repeatable way, etc. It was going to be a thing of beauty. No-one would ever need to login to a server again. Total automation.\nIt was all tested, and was just waiting for approval to put it into production. But for some reason, no-one was willing to give the go-ahead to roll it out. Weeks were dragging by, and things were going nowhere. Inefficient manual processes continued.\nWhy? On the face of it, the system was going to deliver massive benefit. It would reduce re-work, speed time to deployment, and reduce outages. Why wouldn’t they give agreement to go ahead?\nIt was because the engineer hadn’t thought through the wider implications. He\u0026rsquo;d focused on the end-state, and not on what it would take to get there. This is a common mistake.\nHere’s some of the life learnings I’ve picked up on implementing change:\nBuild up Trust Trust is important. You need to build up trust that your change is going to do the right thing. In the configuration management example, don’t try and do everything in the one hit. Build up trust, by rolling out configuration management in stages. Focus on simple things, like enforcing standard OS settings. Build up towards orchestrated application deployment.\nOn the flip side, if you’ve got a good record, people will let you do more at once. They trust that you’ll do the right thing. Don’t abuse it.\nCapacity for change Willpower is a finite resource. You can only exercise it so much, then you give in and have that 3rd beer at lunchtime.\nAbsorbing change is the same. You can only take on a certain amount at once. So be aware of the timing of other major projects. You might be ready to make your change, but your users might not be ready to take it on.\nStep-change, or gradual transition? It depends When I was a boy, I often had grazed knees and stubbed toes. That meant sticking plasters, which also meant they had to come off. Do you pull it off slowly, or do you just suck it up, and ask your Dad to rip it off fast, and get it over?\nChange can be the same. Sometimes it’s better to slowly introduce change. But that can mean drawing it out. It can mean an ugly transition period, when no-one knows what’s going on. But sometimes doing it all in one hit can hurt. A lot.\nBe careful when soliciting opinions Bikeshedding is real. Be careful about asking EVERYONE to give you requirements for a new system. If it’s something that people touch on a daily basis, everyone has an opinion. You have to figure out who to listen to, and what your scope is.\nDay-to-day stuff matters. A lot. You’re planning a new architecture. You’re doing it for improved performance, better scaling and the right cost curve.\nGreat, but what if that tunnelling technique means that traceroute doesn\u0026rsquo;t work anymore? Will that break standard Operations procedures? If you’re going to change something that people do every day, you have to get them on side. Help them understand why your making these changes, and how their workflows will change.\nI’m still working on getting this stuff right. I tend to forget that just because something’s obvious to me, it might not be obvious to everyone else. But as I go on in my career, I become more aware that it’s not really about the technology. It’s about the people.\n","permalink":"https://lkhill.com/rolling-out-change/","summary":"\u003cp\u003eWe all know that \u0026ldquo;Change is Hard.\u0026rdquo; But often we, as engineers, focus on the technical aspects of that change. How do I minimise customer impact while upgrading those routers? How can I migrate customer data safely to the new system? But we can forget about the wider implications of what we\u0026rsquo;re doing. If we do, we may struggle to get our changes implemented, or see poor take-up of new systems.\u003c/p\u003e","title":"Rolling out Change"},{"content":"You know I\u0026rsquo;m not the biggest fan of vendor clubs (or influencer marketing programs, call them what you like). But if you\u0026rsquo;re going to do it, you might as well do it right. Don\u0026rsquo;t let it just become a \u0026lsquo;free T-shirt club\u0026rsquo;:\nIf you\u0026#39;re building the community program - ensure it scales so it doesn\u0026#39;t end up being a free tshirt club.Connecting and Knowledge xfer=must\n\u0026mdash; Anthony Burke (@pandom_) February 5, 2015 @pandom is spot-on. The ideal community program should not just be a method to blast out press releases, or give out a few free shirts in the hope of currying favour. The program manager has taken care to select people who are positive about the company, share with the community and have opinions about where the vendor is going.\nThat is a valuable resource that should not be wasted. A good program should seek to engage in a two-way dialogue. Not just pushing out info, but seeking feedback on what\u0026rsquo;s working, and what\u0026rsquo;s not. Don\u0026rsquo;t just push out a few early release notices - have honest discussions about roadmaps, plans, etc. Help your members connect with each other - who knows what benefit that might lead to in future?\nFWIW, I\u0026rsquo;m hearing that the Cisco \u0026amp; Juniper programmes are doing this well. Good on them.\nUpdate: Michael Stump has an interesting take on becoming a vExpert, and later leaving the program\n","permalink":"https://lkhill.com/doing-community-programs-right/","summary":"\u003cp\u003eYou know I\u0026rsquo;m not the biggest fan of \u003ca href=\"/vendor-clubs-watch-your-independence/\"\u003evendor clubs\u003c/a\u003e (or \u003ca href=\"http://geek-whisperers.com/about-influencer-marketing/\"\u003einfluencer marketing\u003c/a\u003e programs, call them what you like). But if you\u0026rsquo;re going to do it, you might as well do it right. Don\u0026rsquo;t let it just become a \u0026lsquo;free T-shirt club\u0026rsquo;:\u003c/p\u003e","title":"Doing Community Programs Right"},{"content":"The problem with obtaining certifications is that you need to renew them. CCIE is no different - I first passed the lab in September 2012, and I was overdue for renewing it. I\u0026rsquo;m pleased to report that I have now done that, and it is now current until September 2016. Here\u0026rsquo;s some of my impressions of the 400-101 exam.\nI had planned on using the CCDE written exam to renew my R\u0026amp;S CCIE, and then decide if I would go on to attempt the CCDE practical exam. But it seems that the CCDE exam writers and I just don\u0026rsquo;t share the same mindset. I tried, but it wasn\u0026rsquo;t working for me, and I wasn\u0026rsquo;t making progress. So I went back to R\u0026amp;S for my re-cert.\nNew Blueprint I originally passed version 4, exam number 350-101. This has been updated to version 5. The written exam is now 400-101. Of course, this doesn\u0026rsquo;t mean that everything changes. Core L2 \u0026amp; L3 protocols don\u0026rsquo;t change that much. BGP, OSPF and EIGRP and still BGP, OSPF and EIGRP.\nThere are some key changes though, such as:\nFrame relay gone, DMVPN in IS-IS back in - theory only New EIGRP features, such as named mode More MPLS - e.g. VPLS Basic IPSec More IPv6 coverage Sadly my pet peeve of IPv6 tunnelling techniques is still there. I\u0026rsquo;m sorry Cisco, but I just don\u0026rsquo;t care about tunnelling IPv6. Native all the way! Still too many references to classful networks too. Textbook writers love it, but no-one\u0026rsquo;s used that in production for 20 years.\nPreparation Because there\u0026rsquo;s a lot of overlap with the earlier version, and what I\u0026rsquo;ve studied before, I could target my study. My primary preparation tool was the Cisco Press books \u0026ldquo;CCIE Routing \u0026amp; Switching v5.0 Official Cert Guide.\u0026rdquo; Cisco keeps expanding the CCIE blueprint, so what was one very heavy book has been split into Volume 1 and Volume 2. Thankfully I was using Safari Books on my iPad, so I didn\u0026rsquo;t have to lug them around.\nThere\u0026rsquo;s also been a change of author - Wendell Odom has passed the baton over to the one \u0026amp; only Narbik Kocharians.\nMy preparation was to read through the books, and update my CCIE flashcards as I went. I still have my set from previous study, and just needed to update them to include new topics. Those were the ones I focused on more. I didn\u0026rsquo;t spend a lot of time labbing up topics - I\u0026rsquo;ve done enough of that in the past. I only labbed things I didn\u0026rsquo;t properly understand, or where I was pretty sure the textbooks were wrong. (Aside: I always feel like I\u0026rsquo;m making progress with a topic once I start seeing errors in books/documentation).\nPeople that are new to CCIE-level study think that they can just read the Official Cert Guide, and that will give them enough information. That works at CCNA \u0026amp; CCNP level, but CCIE candidates know better. This time around was no different. There is so much to cover in the textbooks that they just can\u0026rsquo;t do it all. Whenever you come across a topic that you\u0026rsquo;re not comfortable with, you need to find other sources of information. My primary data source for this is the Cisco documentation, and occasionally clarification from other blogs for very specific points.\nExam Impressions The exam was about what you would expect - some easy stuff, some tricky stuff, and some stuff that I just had no idea about.\nSome questions were great - they tested your understanding of concepts. Others were subtle - they approached a topic from a different direction, testing whether you actually knew what was going on.\nA classic technique used in CCIE-level exams is to test whether you know all the ways to solve a problem, not just the \u0026lsquo;best\u0026rsquo; way. My general approach with multi-choice is to ignore the answers at first, and try to solve the problem. Then I see which answer matches mine. This helps avoid getting distracted by other answers that seem plausible. But Cisco can be tricky. So I\u0026rsquo;ll \u0026lsquo;solve\u0026rsquo; the problem, but find that my answer is not listed as an option. Often this means that I\u0026rsquo;ve mis-read the question somehow. But you might dig deeper, and realise that they\u0026rsquo;re deliberately doing it, to see if you know the other ways of solving the problem. Sneaky.\nAs noted above, the blueprint has changed. I\u0026rsquo;m not giving away any state secrets by telling you that if it\u0026rsquo;s on the blueprint, it is fair game to be tested. Make sure you use the blueprint for your studies.\nThat said, there were a few questions where I really didn\u0026rsquo;t know the topic they were referring to. Looking at the blueprint later, those topics seemed a bit of a stretch from the blueprint. But maybe that\u0026rsquo;s why Cisco says this:\nThe following topics are general guidelines for the content likely to be included on the exam. However, other related topics may also appear on any specific delivery of the exam.\nCould also be that those were some of the \u0026rsquo;testing\u0026rsquo; questions, where they don\u0026rsquo;t count towards your final marks. But overall I felt it was a \u0026lsquo;fair\u0026rsquo; exam.\nWhere to from here? My CCIE is now current until September 2016. Because of the way the expiry dates work, I could sit this same exam in another 6 months, to push that date out until September 2018. But I\u0026rsquo;ll probably leave it at least 18 months, because, well, life.\nIn the short term I need to update my VCP-DV, and then consider my next moves. I don\u0026rsquo;t think that will involve any more certifications. It will be more about studying new technologies, trying out products like Brocade Vyatta Controller, and writing about them. Plus I\u0026rsquo;ve got this little event called NFD9 coming up next week that will overload my brain\u0026hellip;\n","permalink":"https://lkhill.com/ccie-renewed-exam-400-101/","summary":"\u003cp\u003eThe problem with obtaining certifications is that you need to renew them. CCIE is no different - I first \u003ca href=\"/ccie-success/\"\u003epassed the lab\u003c/a\u003e in September 2012, and I was overdue for renewing it. I\u0026rsquo;m pleased to report that I have now done that, and it is now current until September 2016. Here\u0026rsquo;s some of my impressions of the 400-101 exam.\u003c/p\u003e","title":"CCIE Renewed - Exam 400-101"},{"content":"IPv6 has been around a fair while, and we\u0026rsquo;re constantly encouraged to learn it and use it. I agree with the sentiment, but it\u0026rsquo;s been hard for most users when few ISPs offer IPv6 for residential users. Hurricane Electric offers a great free IPv6 tunnel broker service, but that\u0026rsquo;s impractical for most people. What they need is for their ISP to offer native IPv6, by default.\nThe ISPs in New Zealand with the largest market share don\u0026rsquo;t offer IPv6, but some of the smaller ones do. The design of the ISP market here means that users can easily switch between a large range of suppliers, and choose the mix of price/service they want. When I last changed ISP a couple of years ago, I specifically chose an ISP that offers IPv6.\nLast year that ISP disabled IPv6 for a few weeks due to some technical issues, and I was disappointed with the support they offered. I wanted to evaluate my other options, but couldn\u0026rsquo;t find any good source of data that showed which ISPs were offering IPv6. There\u0026rsquo;s plenty of talk out there about trials, and the like, but most of that hasn\u0026rsquo;t been updated in years.\nSo I pulled together the info myself, and put into a Google Spreadsheet. The source file is here, and it\u0026rsquo;s displayed below:\nI know that there are some other ISPs conducting trials, but if those trials are not open to the public, then they should be classed as \u0026ldquo;No support.\u0026rdquo; Otherwise those \u0026rsquo;trials\u0026rsquo; drag on for years.\nComments and updates are welcome. I\u0026rsquo;d love to be able to update every ISP on this list, to say \u0026ldquo;Full support for all services.\u0026rdquo; Hopefully soon we\u0026rsquo;ll see one of Vodafone or Orcon/Slingshot go live with full IPv6 support - that will make a huge difference in terms of IPv6 availability to a large share of the market.\nThis chart from APNIC also makes for interesting reading - look at real-world IPv6 usage across New Zealand ISPs.\n","permalink":"https://lkhill.com/ipv6-availability-in-new-zealand/","summary":"\u003cp\u003eIPv6 has been around a fair while, and we\u0026rsquo;re constantly encouraged to learn it and use it. I agree with the sentiment, but it\u0026rsquo;s been hard for most users when few ISPs offer IPv6 for residential users. \u003ca href=\"http://www.he.net/\"\u003eHurricane Electric\u003c/a\u003e offers a great free \u003ca href=\"https://tunnelbroker.net\"\u003eIPv6 tunnel broker service\u003c/a\u003e, but that\u0026rsquo;s impractical for most people. What they need is for their ISP to offer native IPv6, by default.\u003c/p\u003e","title":"IPv6 availability in New Zealand"},{"content":"Software Defined WAN, or SD-WAN, looks to be a theme of Network Field Day 9, with presenters such as CloudGenix and VeloCloud showing us their offerings. At first glance, SD-WAN sounds pretty compelling. Who wouldn\u0026rsquo;t want to slash their WAN OpEx? How do these solutions work, and do they have legs? I\u0026rsquo;m hoping to find out.\nNote: NB: I\u0026rsquo;ve lumped CloudGenix \u0026amp; VeloCloud together under the heading of SD-WAN. I\u0026rsquo;m not saying that they are the same though - I don\u0026rsquo;t yet have enough information about them to fully understand the similarities and differences. I\u0026rsquo;m sure I\u0026rsquo;ll know more in a couple of weeks! What\u0026rsquo;s SD-WAN all about? Note: UPDATE 20150127: Greg Ferro had written a piece on SD-WAN in his newsletter. This is also now available as a blog post - I recommend reading it. SD-WAN is about applying concepts of SDN to WAN networks. The goals are to increase flexibility and reduce WAN costs. This can be achieved through transport independence, dynamic path management, and better config management.\nHistorically we used private WAN circuits - leased lines, MPLS, etc. These had great SLAs, but the monthly costs were huge. The bandwidth was low, but guaranteed. Now that many places have access to high-speed Internet tails, it\u0026rsquo;s a lot harder to justify that cost. It\u0026rsquo;s very tempting to run IPSec VPNs across Internet links instead.\nThose consumer circuits don\u0026rsquo;t have SLAs, and make no guarantees about bandwidth. But still, if I could get a 100Mb/50Mb fibre link for ~$100/month, with LTE backup, surely that\u0026rsquo;s going to be enough? If I only get 1/5th of the potential bandwidth, it\u0026rsquo;s better than my 10Mb circuit at $2,000/month.\nTraffic patterns have also shifted. Branch offices don\u0026rsquo;t just do a few things to HQ - you now have users connecting to SaaS apps on the Internet, watching funny cat videos, and connecting to your company VPC at AWS.\nSD-WAN solutions aim to simplify this, by making it simple to use whatever WAN connectivity is available at each site. Traffic flows should be able to adapt to changing conditions. They form overlay networks that are transport-agnostic, and aim to hugely improve network management.\nVeloCloud has quite a bit of info on its website, while Jordan Martin noted that there\u0026rsquo;s not much info out there about CloudGenix yet. I\u0026rsquo;m sure that will change.\nBut Couldn\u0026rsquo;t I Just\u0026hellip;? If you start talking to a network engineer about doing this sort of thing, they\u0026rsquo;ll often say \u0026ldquo;What\u0026rsquo;s so great about IPSec VPNs and failover paths? That\u0026rsquo;s easy, I could do that right now with a few cheap routers.\u0026rdquo;\nTo a point, they can. But that model can be difficult to scale, and it\u0026rsquo;s not usually very dynamic. Simple configuration management can be painful. Routers might go to HQ first to get a base config applied, then shipped out. \u0026ldquo;Smart hands\u0026rdquo; might be needed to get it up and running at each site. Changing configurations to get branch offices to send some traffic direct to the cloud-based SaaS application is slow and manual. Simply dealing with the variety of possible connection types is a hassle.\nAll About the Analytics? As noted, CloudGenix doesn\u0026rsquo;t have a lot of public info yet. But you can get hints about what a company is up to by looking at their job ads. An ad for a \u0026ldquo;Network Data Mining \u0026amp; Analytics Engineer\u0026rdquo; caught my eye. Key points include (emphasis mine):\nBe the driving force behind \u0026ldquo;mine the network” approach instead of classical network stats and analytics\u0026hellip;. 10+ years of relevant experience with a BS or MS degree related to data mining\u0026hellip; NoSQL and/or time-series optimized databases\u0026hellip; Exposure to \u0026lsquo;R\u0026rsquo; or other similar languages for data mining algorithms. I think that this is where the real value will come from. I can configure a network using IPSec VPNs today. But it\u0026rsquo;s a static network, and my visibility is limited. SNMP only provides a subset of the information I need. NetFlow is typically only deployed at the main sites, and it is problematic to scale.\nWhat I need is for the network to give me better application-level analytics, and be able to take action in response to changing conditions. It\u0026rsquo;s easy enough to have a traditional network that can switch paths if a link fails. But it\u0026rsquo;s hard to get a network to detect changing conditions, and redirect specific applications as needed.\nIf SD-WAN solutions can give me those sorts of capabilities, in a scalable, manageable way, I can see a huge number of use-cases.\nOf course, I\u0026rsquo;m then left wondering: If I can do that on my WAN, can I also do it across my Campus \u0026amp; DC networks?\nWhat I\u0026rsquo;m Looking For These are some of the questions I\u0026rsquo;ve got so far:\nIntegration/deployment - most companies have some form of existing WAN. How would I go about deploying an SD-WAN solution? Do I have to rip \u0026amp; replace everything, or can it integrate with existing networks? How do the pricing models work? Am I paying per device, per month? In that case, what happens if I stop paying? If I decide I don\u0026rsquo;t like Vendor \u0026lt;X\u0026gt;, am I stuck? (This isn\u0026rsquo;t specific to SD-WAN. Migrating your current WAN solution is non-trivial.) What are the hardware requirements \u0026amp; price-points? VM options? Most SD-WAN models have some form of controller - can I run this in my own DC, or is it always managed by the vendor? What happens when the controller is unreachable? How can I extract data - e.g. application performance data? Do they simplify connections to major cloud providers - e.g. AWS VPC VPN connections? I\u0026rsquo;m sure I\u0026rsquo;ll think of more before Network Field Day 9!\nNote: Network Field Day presenters indirectly cover my costs to attend NFD9, but I\u0026rsquo;m under no obligation to write anything. You can make your own assumptions about how biased that makes me. ","permalink":"https://lkhill.com/nfd9-prep-sd-wan/","summary":"\u003cp\u003eSoftware Defined WAN, or SD-WAN, looks to be a theme of \u003ca href=\"http://techfieldday.com/events/nfd9\"\u003eNetwork Field Day 9\u003c/a\u003e, with presenters such as \u003ca href=\"http://www.cloudgenix.com/\"\u003eCloudGenix\u003c/a\u003e and \u003ca href=\"http://www.velocloud.com/\"\u003eVeloCloud\u003c/a\u003e showing us their offerings. At first glance, SD-WAN sounds pretty compelling. Who wouldn\u0026rsquo;t want to slash their WAN OpEx? How do these solutions work, and do they have legs? I\u0026rsquo;m hoping to find out.\u003c/p\u003e","title":"NFD9 Prep: SD-WAN"},{"content":"Just a quick note to say that Big Switch have updated their demo lab system. This is an entirely virtual lab environment that simulates a Big Switch network. You can try out both Big Cloud Fabric and Big Tap Monitoring Fabric.\nThe lab gives you full CLI \u0026amp; GUI access to a sandboxed environment, with controllers, leaf/spine switches, and endpoints. Big Switch have written a sample lab you can work through, to show off the features, but you\u0026rsquo;re not limited there. You\u0026rsquo;re free to try out whatever features you like.\nIf you\u0026rsquo;re interested in what they\u0026rsquo;re doing, I recommend signing up.\nNote: NB: Big Switch was a sponsor of NFD8. Usual disclaimer applies ","permalink":"https://lkhill.com/updated-big-switch-labs/","summary":"\u003cp\u003eJust a quick note to say that Big Switch have updated their demo lab system. This is an entirely virtual lab environment that simulates a Big Switch network. You can try out both Big Cloud Fabric and Big Tap Monitoring Fabric.\u003c/p\u003e","title":"Updated Big Switch Labs"},{"content":"The \u0026ldquo;consumerisation of IT\u0026rdquo; has an interesting side-effect. Historically people mainly used computers for work. But now that many people have smartphones, tablets and laptops at home, their perception and understanding of technology has shifted. Old assumptions about training required when upgrading applications or client operating systems may no longer apply.\nThis comment at The Register aligns with what I\u0026rsquo;m seeing:\n\u0026hellip;We\u0026rsquo;re at the point now where users are using Windows 8 at home and wondering why the work computer is so dated. It\u0026rsquo;s the perception of IT people that users can\u0026rsquo;t handle change holding up that change, not the ability of the users. At home that same set of users has managed quite well with updated versions of Office, updated Windows, iPads, Android tablets, Facebook, video messaging and various other completely new things. Somehow they coped without extensive training and therapy. From what I\u0026rsquo;ve seen, it\u0026rsquo;s actually IT staff who don\u0026rsquo;t like Windows 8 and are trying to keep users away from it\u0026hellip;\nI can recall being involved in Office upgrades just a few years ago, and being nervous about how that would be perceived. We were concerned that there would be major push-back, because the exact locations of the buttons had shifted. We\u0026rsquo;d joke that people only knew how to click a certain place on the screen - that they didn\u0026rsquo;t understand what the actual action, they just knew a sequence of steps. We were worried about how much training would be required.\nBut this is shifting. Recently I\u0026rsquo;ve been talking through the use of Windows 7 vs Windows 8.1 with some clients. The IT department is inclined to defer a wholesale upgrade, to focus on other projects this year. But we\u0026rsquo;re finding that users are requesting it, because that\u0026rsquo;s what they\u0026rsquo;re using at home, and they prefer it.\nThis pleases me - it makes upgrades much easier - but it\u0026rsquo;s also another case where we need to keep an open mind, and periodically re-evaluate our opinions. Don\u0026rsquo;t underestimate your users.\n","permalink":"https://lkhill.com/dont-underestimate-your-users/","summary":"\u003cp\u003eThe \u0026ldquo;consumerisation of IT\u0026rdquo; has an interesting side-effect. Historically people mainly used computers for work. But now that many people have smartphones, tablets and laptops at home, their perception and understanding of technology has shifted. Old assumptions about training required when upgrading applications or client operating systems may no longer apply.\u003c/p\u003e","title":"Don't Underestimate Your Users"},{"content":"I\u0026rsquo;m reviewing the presenters for Network Field Day 9, in particular looking at those I\u0026rsquo;m not familiar with. NetBeez is one of those making their first Tech Field Day appearance.\nNetBeez We all know that our users and the applications they access are incredibly distributed. We don\u0026rsquo;t control all the network elements, but the network team still gets the blame if things go wrong. You need greater visibility to prove it\u0026rsquo;s not the network, but getting that visibility is tough. Current options for probes aren\u0026rsquo;t always cost-effective to deploy across many sites. Many sites don\u0026rsquo;t have any local server infrastructure.\nThat\u0026rsquo;s where NetBeez comes in. They have developed Raspberry Pi-based agents that can easily be deployed to many locations. Plug in power, plug in a network cable, and it phones home. Go to the NetBeez dashboard, and from there you can configure the tests you want the agent to run.\nSince the devices are so small, they can easily be deployed to a range of small sites, and can simulate a range of user traffic. Tests include Ping, HTTP, Traceroute, DNS. A particularly nice feature is the ability to run an ad-hoc iPerf test with custom parameters.\nThe dashboard shows you how the tests are performing, across the different locations they\u0026rsquo;re running from. Now you can see if the problem is just affecting retail stores on DSL circuits, or if it\u0026rsquo;s all users.\nWhile you could build your own agents to do all this testing, that\u0026rsquo;s a hassle that most of us don\u0026rsquo;t want to deal with. NetBeez handles all the agent management - software updates, configuration, etc.\nI\u0026rsquo;m also pleased to see that they are not based in Silicon Valley.\n\u0026hellip;we are located in Pittsburgh, and Pittsburgh rocks, simple as that.\nNetBeez Careers\nNot that I\u0026rsquo;ve got anything against Silicon Valley - I think I might like to work there. It\u0026rsquo;s just that it\u0026rsquo;s great to hear about interesting firms based in other parts of the world.\nTroubleshooting Challenge NetBeez is running a Troubleshooting Challenge, starting January 20th at 12:00 EST.\nParticipants will receive access to our Dashboard and instructions once the contest begins. Once logged in, users must troubleshoot a network or application problem that is affecting the end user.\nThis sounds like a great way to raise company awareness. Nothing shows off a product better than getting your hands onto it and solving a \u0026lsquo;real\u0026rsquo; problem.\nMaybe I shouldn\u0026rsquo;t be telling my readers about it though, to try to improve my chances??\nWhat I\u0026rsquo;m Looking For These are some of the topics I\u0026rsquo;m interested in:\nDeployment models for the server-side - cloud-based vs on-premises. Other agents - e.g. virtual agents, or installable packages Pricing models - how does the pricing scale? Data extraction + integration with other monitoring systems, etc. Options for running other application tests I\u0026rsquo;m looking forward to seeing what they have to say.\n","permalink":"https://lkhill.com/nfd9-prep-netbeez/","summary":"\u003cp\u003eI\u0026rsquo;m reviewing the presenters for \u003ca href=\"http://techfieldday.com/events/nfd9\"\u003eNetwork Field Day 9\u003c/a\u003e, in particular looking at those I\u0026rsquo;m not familiar with. \u003ca href=\"http://netbeez.net/\"\u003eNetBeez\u003c/a\u003e is one of those making their first Tech Field Day appearance.\u003c/p\u003e","title":"NFD9 Prep: NetBeez"},{"content":"As some of my readers know, I’ve done a fair bit of bike touring. Two of the challenges of bike touring are riding uphill, and riding into headwinds.\nRiding uphill is tough. 2,300m passes in snow, or 3,200m passes in sunshine, it’s tough going. But you put your head down, and keep turning the pedals, because you know that eventually you will reach the top, and there will be a downhill reward.\nRiding into headwinds is a different story. You can battle into headwinds for days, and never get any reward. It saps your energy, and you don’t know if or when it will ever end. The wind could just keep coming from that direction. I’ve gone to different countries just to avoid the wind in the past.\nThey’re both hard. But one of them has an end, and a reward. The other one can just keep on sucking away your will to live.\nApplying it to Life This applies to the rest of your life. The tricky bit is that sometimes you don’t know if you’re going uphill, or into the wind. Both of them feel hard, and you can’t always see the end in sight.\nA few years ago I was studying for CCIE. This was hard for me, and it was time-consuming. But there was a clear goal, even if it sometimes seemed a long way off. Eventually I made it to the top of the hill, and I could move on to other goals.\nOther times I’ve struggled without reward for a long time - e.g. trying to get a business to change their hardware supplier, because the old one just wasn’t delivering anymore. It took me too long to realise that certain decision-makers were never going to change, and I was wasting my energy.\nThis year I aim to be better at spotting the situations where I’m going into the wind. I have to be more aware of what I can and can’t change.\n","permalink":"https://lkhill.com/headwinds-or-uphill/","summary":"\u003cp\u003eAs some of my readers know, I’ve done a fair bit of \u003ca href=\"http://northlandboyandhisgirl.com/trips/\"\u003ebike touring\u003c/a\u003e. Two of the challenges of bike touring are riding uphill, and riding into headwinds.\u003c/p\u003e","title":"Headwinds, or Uphill?"},{"content":"I had a fantastic time at Network Field Day 8, and now I\u0026rsquo;ve been lucky enough to be invited back to NFD9 this February.\nAs usual, the Tech Field Day crew have put together a great mix of vendors. I particularly like the look of the SDN WAN-focused vendors, such as VeloCloud and cloudgenix. Much of the early SDN focus has been on the DC use-case, but that has limited applicability in my local market. SDN WAN solutions definitely apply to the New Zealand market though. I can think of several organisations where I\u0026rsquo;d love to have better WAN options today.\nI\u0026rsquo;m also very happy to see Cumulus Networks making a first appearance. I\u0026rsquo;ve done a lot of Linux work during my career, and there\u0026rsquo;s many times I would have loved to have all the capabilities of a GNU/Linux environment on a switch. I think they will have a huge influence on how Network OSes are delivered in future.\nNetwork Management has always been a large part of my career too, so I\u0026rsquo;m looking forward to hearing updates from SolarWinds, and to find out more about NetBeez.\nThere\u0026rsquo;s some old faces and new attending. I\u0026rsquo;m looking forward to meeting people who I\u0026rsquo;ve only interacted with online, and catching up with people I\u0026rsquo;ve met before.\nI\u0026rsquo;ll be in the Silicon Valley area for a couple of days before and after the event. I\u0026rsquo;d love to meet up with other people to talk nerdy while I\u0026rsquo;m there - get in touch!\nNote: Disclaimer: Tech Field Day is covering my travel and miscellaneous costs for this event. They in turn are paid by their sponsors. I am under no obligation to write anything about any of the presentations, favourable or otherwise. ","permalink":"https://lkhill.com/network-field-day-9/","summary":"\u003cp\u003eI had a fantastic time at \u003ca href=\"/network-field-day-8-im-going/\"\u003eNetwork Field Day 8\u003c/a\u003e, and now I\u0026rsquo;ve been lucky enough to be invited back to \u003ca href=\"http://techfieldday.com/event/nfd9/\"\u003eNFD9\u003c/a\u003e this February.\u003c/p\u003e","title":"Network Field Day 9"},{"content":"HP is making more resources available to help with learning Comware. They\u0026rsquo;ve added free labs and courses to the already published simulators and virtual routers. This is a good resource for those looking to get started with Comware.\nHP Network Simulator (HNS, aka Simware) HP\u0026rsquo;s Network Simulator (HNS) is a modelling tool for simulating HP Comware networks. It includes Layer-2 functionality, and lets you test things like LACP \u0026amp; IRF. I found it too slow when I first tried it, but this has improved significantly with current versions. It is free to download.\nHP has now started publishing simple labs you can work through with HNS:\nLab 1 - Basic management Lab 2 - Port and link management Lab 3 - Port-based and protocol-based VLANs These are short labs that cover HNS setup, and device configuration. Quick and easy, they show how to use the tool, and give you a taste of Comware configuration. They\u0026rsquo;ve also released a free 1-hour online course that goes through how to use HNS.\nNote: Interestingly, the course is narrated by Natalie Timms, formerly of the CCIE Security Program. She\u0026rsquo;s popped up a couple of times on Packet Pushers too. VSR1000 I\u0026rsquo;ve covered the HP VSR1000 previously. This is a virtual router that runs on VMware ESXi, KVM, etc. It\u0026rsquo;s similar to Cisco\u0026rsquo;s CSR1000v, or Brocade\u0026rsquo;s Vyatta. You can license it to unlock higher performance, but it\u0026rsquo;s not a problem in a lab.\nBecause it\u0026rsquo;s just a VM to spin up, I find this quicker \u0026amp; easier to work with than using HNS. It\u0026rsquo;s Layer-3 only, but that\u0026rsquo;s usually fine for whatever I\u0026rsquo;m trying to do.\nHP has released a hands-on lab guide for the VSR1000. Go to here for links to downloads, manuals etc. From there, you can click on HP VSR1000 series hands-on lab. This lab guide walks through setting up a simple 3-router topology using VMware Workstation. It covers all the required commands for these areas:\nBasic management - e.g. login, SSH, DNS, NTP, SNMP, interfaces, etc. OSPF GRE BGP ACLs IPSec It does not cover the theory behind those topics - you\u0026rsquo;ll need to learn that somewhere else. But this is ideal if you have experience with other platforms, and need to figure out some of the HP syntax.\nIt\u0026rsquo;s not perfect, and there\u0026rsquo;s a couple of typos, but nothing major. If you don\u0026rsquo;t have much experience with VMware, it might take you a bit of effort to get your networks sorted out. That\u0026rsquo;s something you really need to learn anyway, so it\u0026rsquo;s not wasted effort.\nI\u0026rsquo;m pleased to see HP freely publishing these manuals, labs and courses. This is exactly the sort of thing you need to do when you\u0026rsquo;re trying to appeal to all those network engineers with Cisco experience. Well done to whoever made it happen.\n","permalink":"https://lkhill.com/resources-for-learning-hp-comware/","summary":"\u003cp\u003eHP is making more resources available to help with learning Comware. They\u0026rsquo;ve added free labs and courses to the already published simulators and virtual routers. This is a good resource for those looking to get started with Comware.\u003c/p\u003e","title":"Resources for learning HP Comware"},{"content":"Review schemes are useful for identifying good consumer products and applications. But that doesn\u0026rsquo;t mean that everything needs to prompt me to leave a review. Cisco has started prompting for reviews for IOS versions, but I\u0026rsquo;m not convinced it makes sense for network operating systems. Perhaps it will do one day when disaggregated hardware/software is the norm for network devices.\nReviews for Consumer Apps - no problem I love the 1Password password manager. It\u0026rsquo;s a well-polished app, and has been great value. Part of making my life better means not annoying me with frequent prompts for review:\n1Password never prompts you for a review. We value your workflow too much to interrupt it. If you feel generous and have a couple of minutes, please leave a review. It means the world to us.\nI like the Pocket app too. It prompts me to leave a review every single time it gets updated, which annoys the hell out of me. But hey, it\u0026rsquo;s free, so maybe I shouldn\u0026rsquo;t complain too much.\nPocket and 1Password are examples of consumer applications in a competitive market. The barrier to switching is relatively low, and they live and die on reviews. In a crowded market, customers rely on reviews, and the App Store review schemes work well. But that doesn\u0026rsquo;t mean that every piece of Enterprise software needs a review system.\nConsumer Reviews for IOS? I recently download a Cisco IOS image for a colleague to test out the Flow-Based SPAN feature (aside: the docs say it will work on a 2960-S, but it doesn\u0026rsquo;t). A week or so later I received an email from Cisco, asking me to rate that IOS version:\nPlease tell us about your experience with the software. Your opinion matters to us and other customers. Take a minute to submit a review.\nFollowing the link, I\u0026rsquo;m prompted to leave a 1-5 star rating, along with Pros and Cons. There\u0026rsquo;s only one review there currently - a 1-star review:\nWhen using Port-Channel function for uplink, the port will disconnect frequently.\nHmm, not encouraging. It doesn\u0026rsquo;t replace a support function either - the response from Cisco is basically \u0026ldquo;What\u0026rsquo;s the SR number?\u0026rdquo; But maybe it saves Cisco from doing some testing, by highlighting problematic releases.\nWhere\u0026rsquo;s the value? There\u0026rsquo;s two problems here. One is that Cisco will never get a sufficiently balanced range of reviews to provide any meaningful information to admins trying to decide which IOS to run. They will get a handful of 1-star reviews from people who\u0026rsquo;ve struck bugs, and maybe a couple of 5-star reviews. Most people will never bother leaving a review, because they don\u0026rsquo;t feel strongly enough about it. If you have millions of users, you might get hundreds of reviews, and you can form opinions from that. But IOS images just don\u0026rsquo;t have that many users. Perhaps they need to make it compulsory for all members of the Cisco Champions to leave a review, to get some more data points?\nThe second problem is that I don\u0026rsquo;t have any meaningful software choice. If there are a lot of bad reviews for a password manager, then I can look at alternatives. What do I do if all the reviews for IOS are bad? I can\u0026rsquo;t run anything else on Cisco hardware. I have a limited amount of choice amongst versions, but it usually comes down to 1 or 2 versions.\nMaybe it will make more sense in future, when we have a disaggregated model, where hardware is separated from software. We\u0026rsquo;re moving towards that. Right now I can buy network switches that can run a choice of Big Cloud Fabric, Cumulus, Dell Network OS, Pica8, etc. Soon Junos will be available as a choice. Will IOS join the list of options? What would that look like, if we had a full range of choices, and extensive reviews \u0026amp; ratings available for each?\nI can dream I guess.\n","permalink":"https://lkhill.com/rate-my-ios/","summary":"\u003cp\u003eReview schemes are useful for identifying good consumer products and applications. But that doesn\u0026rsquo;t mean that everything needs to prompt me to leave a review. Cisco has started prompting for reviews for IOS versions, but I\u0026rsquo;m not convinced it makes sense for network operating systems. Perhaps it will do one day when disaggregated hardware/software is the norm for network devices.\u003c/p\u003e","title":"Rate my IOS?"},{"content":"Whenever you build a complex system, you need to test that it works as expected, including properly handling failures. It\u0026rsquo;s easy enough to do simple component failure testing, but harder to do rapid automated failure tests. Big Switch is showing that it can be done though. Hopefully we can keep improving our testing to pick up some more of the software failures.\nTesting is hard Over the course of my career I’ve built many clustered systems - HP-UX Serviceguard, firewalls, routers, load balancers, RedHat Clusters, etc. Good clusters have redundant everything - servers, power supplies, disks, NICs, etc.\nThe commissioning process always included testing. We’d go through each of the components, trying to simulate failures. Unplug each of the power cables, the network cables, unseat a hard drive, remove a hot-swappable fan, etc. That would test out the redundant components within each server, and then of course you’d simulate a complete system failure, forcing full failover.\nThis is all important stuff, but it doesn’t pick up all the failures - e.g. What happens if you’ve got a faulty patch lead, and the link starts flapping? Sometimes a simple failure gets messy when it happens repeatedly over a short period. The other problem with this testing is that it’s pretty manual, and easy to forget something unless you’re following a good checklist.\nChaos Monkey in the Network I’m pleased to see that Big Switch is taking their testing to the next level, by bringing Chaos Monkey into their testing strategies. Big Switch and Mirantis ran a Chaos Monkey-style test with 16 racks of gear:\nDespite adding 42,000 simulated VMs to the network and then forcing failures to the Big Cloud Fabric SDN controllers every 30 seconds, forcing failures to random switches every 8 seconds and random links in the fabric every 4 seconds, there was no change in the application performance.\nMore info here (Warning: PDF).\nThis is a great result. We don\u0026rsquo;t always hear much about this sort of testing. I know that other vendors do carry out their own testing programs, but we don\u0026rsquo;t see this sort of information. We have to assume it\u0026rsquo;s happened.\n‘Clean’ failures are easy. ‘Grey’ failures are hard. ‘Clean’ failures are reasonably straightforward to deal with. Software or hardware can quickly and clearly identify the failure, and switch over to backup systems. Dealing with weird software failures is much harder. Consider a situation where a rogue process maxes out the CPU on a primary server. It might just have enough capacity left to send out clustering packets, but it can’t perform its normal functions. The secondary system doesn’t know it should take over, and so the application fails. Can you test those sorts of scenarios, and how do you go about doing it?\nUnfortunately those are the ones that tend to bite you hard in production. We can’t always work around them either. We can add more test cases to try to test what happens during that event, and try adding more monitoring and compensating controls. Hopefully we don’t get bitten twice by the same thing.\nNote: Big Switch Networks was a sponsor of Network Field Day 8. This meant that they indirectly covered some of my costs to attend. However, I am under no obligation to write anything about any of the presenters - I just found this topic interesting. ","permalink":"https://lkhill.com/big-switch-chaos-monkey-network-testing/","summary":"\u003cp\u003eWhenever you build a complex system, you need to test that it works as expected, including properly handling failures. It\u0026rsquo;s easy enough to do simple component failure testing, but harder to do rapid automated failure tests. \u003ca href=\"http://www.bigswitch.com/\"\u003eBig Switch\u003c/a\u003e is showing that it can be done though. Hopefully we can keep improving our testing to pick up some more of the software failures.\u003c/p\u003e","title":"Big Switch Chaos Monkey Network Testing"},{"content":"HP has finally announced a migration path for Operations Manager to OMi. It\u0026rsquo;s about time too. This looks like a good path. If you want to stick with HP Software for managing your services, you should be investigating it.\nThe writing\u0026rsquo;s been on the wall for a while. HP has stopped investment in Operations Manager. I asked last year if HP had abandoned Operations Manager. This year I noted that it was kicking, but only just. My advice was:\nTo customers using HP OM…start planning your migration away from it, if you haven’t already. To customers considering purchasing it: Don’t, unless you’re buying it as part of an overall BSM/OMi implementation, and the salesfolk have guaranteed you can change your licensing over at no cost in future.\nWell, HP has finally announced the OM2OMi Evolution program. Key points:\nLicense entitlement - OM servers can get equivalent licenses for OpsBridge Premium Operations Agent 11 works with both OM and OMi, so you don\u0026rsquo;t have to do the Agent migration at the same time Migration tools to assist with switching over They do include this quote:\nWell no one at HP is going to try to force you into replacing a product you love. Rest assured Operations Manager will be around for many years to come.\nBut you\u0026rsquo;re crazy if you believe that. Then again, if you love OM, you might be just a bit crazy. If you\u0026rsquo;re still running HP Operations Manager, you must start evaluating your options. This migration path might just be enough to tip the decision towards going with HP OMi.\n[UPDATE 2015/05/21] More commentary here from HP about migrating from OM to OMi:\nBut now with the introduction of OMi 10, HP has released the first version intended to replace HPOM for Windows, HP-UX, Solaris or Linux.\nAlthough there is no need to immediately move to OMi, it can be considered the successor of HPOM and I think the benefits of its additional features make a compelling case to make the move.\n","permalink":"https://lkhill.com/operations-manager-to-omi-migration-path/","summary":"\u003cp\u003eHP has finally announced a migration path for Operations Manager to OMi. It\u0026rsquo;s about time too. This looks like a good path. If you want to stick with HP Software for managing your services, you should be investigating it.\u003c/p\u003e","title":"Operations Manager to OMi Migration Path"},{"content":"We\u0026rsquo;re approaching Christmas, and for many of us, that means we\u0026rsquo;re about to enter an extended change freeze. This means an extended period when we shouldn\u0026rsquo;t change anything, hoping to improve stability. ITIL Change Management tells us this is good. I\u0026rsquo;m not convinced.\nThe Christmas Change Freeze Many businesses impose some form of change freeze across all production systems during the Christmas/New Years period. In theory, all network/compute/storage changes are deferred until January. In practice, high priority changes will still be made if you jump up and down enough. The rate of change should still be lower during this period though.\nSome change freezes may only run from just before Christmas until early January. Other businesses will go into a change freeze for as long as five weeks. My experience is that Southern Hemisphere businesses have a longer change freeze than Northern Hemisphere ones. I assume this is because many staff take extended leave over the Austral summer.\nNote: Aside: In New Zealand, the term ‘Brown out’ is often used when referring to the Christmas Change Freeze. I have no idea why this term is used, as a ‘brownout’ normally refers to something quite different. Why Have One? There are differing opinions about the usefulness of a change freeze. @Etherealmind thinks it’s a good excuse to put your feet up.\nDean Pemberton takes a quite different view, seeing it as critical for network stability:\n\u0026hellip; and most of you are about to enter brownout periods.\nIf you\u0026rsquo;re not you should be, but that\u0026rsquo;s another story, just let me know so I can change ISPs.\nNZNOG Mailing list, November 2014\nLet’s drill into a few reasons for and against:\nThe Case For The thinking behind change freezes goes something like this:\nIncreased risk: Change is bad. If nothing changes, most stuff works without breaking. Changes might introduce buggy code, or someone will screw up the implementation. If we can stop change, we’ll lower our risk profile. Increased time to resolution: Many engineers are on holiday during this time, so skilled staff may not be available to resolve issues Increased impact: The network is particularly busy during this period, so any outages have a wide impact (this mainly applies to Telcos) Conclusion: we should limit all change during this time window. (And if the ITIL zealots really get their way, all change would be banned forever). The Case Against If you’re an ITIL believer, like most current Enterprise middle management, then the reasoning above is seductive. But is it correct, and is an extended change freeze the right response?\nIn the fifteen years I’ve been doing this, I’ve learnt this:\nChange freezes are often in name only. Scratch the right backs, jump and down enough, and your changes get approved anyway. All you’ve done is added delay and extra hoops for engineers to jump through. No extra scrutiny of changes is done. By imposing arbitrary dates, every project is under huge pressure to get their changes in before the freeze, to avoid a month-long project delay. This creates a period of massive stress on the implementation engineers in late November/early December, as they try to push through a high level of change. Tired people make poor decisions, and this leads to mistakes. Side effect: Change Management now becomes convinced that changes are the source of all problems, and next year wants to start the change freeze even earlier. The same pile-up of changes occurs in the first couple of weeks post-change freeze, again leading to rushed implementations, and more mistakes. By imposing change freezes, we only treat a symptom of the perceived problem. Rather than assuming change itself is bad, we need to look at our overall design, the product choices we’ve made, and how we’re deploying changes. If we are that scared of making change, shouldn’t that need re-thinking? And if we’re that worried about a few key people being away, doesn’t that represent a massive business risk?\nSurely we should look at addressing the real problem here, not just covering up a few symptoms?\nSummary I don’t believe that long change freezes make sense, for either customers or the business. It doesn’t improve stability, and it doesn’t reduce stress. Projects should be scheduled as normal, taking into account staff availability - so you\u0026rsquo;re probably not going to be making changes on Christmas Day. Take real, useful action about why your changes are risky, and manage your key staff risks better.\nBut if your company does have a long change freeze, learn how to take advantage of it. Use it as a lever to get agreement for time off for a proper holiday. Or watch the clever older engineers, who know that it’s a good excuse for doing nothing for a few weeks, and getting paid for it. Then you can use your annual leave some other time, when everyone else is doing real work. It also means you can go to a few more of those vendor booze-ups.\n","permalink":"https://lkhill.com/christmas-change-freeze-good-or-bad/","summary":"\u003cp\u003eWe\u0026rsquo;re approaching Christmas, and for many of us, that means we\u0026rsquo;re about to enter an extended change freeze. This means an extended period when we shouldn\u0026rsquo;t change anything, hoping to improve stability. ITIL Change Management tells us this is good. I\u0026rsquo;m not convinced.\u003c/p\u003e","title":"Christmas Change Freeze - Good or Bad?"},{"content":" This article is Part 8 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - This Article Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) A different kind of war story this time: Unix security blunders. Old-school Unix-types will mutter about how much more secure Unix systems are than Windows, but that glosses over a lot. In a former life I worked as an HP-UX sysadmin, and I saw some shocking default configurations. I liked HP-UX - so much better laid out than Solaris - but it was very insecure by default. Here’s a few things I’ve come across:\nGaining Root We’d lost the root password for a test HP-UX server. We had user access, but not root. The server was located in a different DC, and we didn’t really feel like going and plugging in a console cable to reset the root password. So we started looking around at how we might get access. After a while I found these two things:\nroot’s home directory was / - this was the default on HP-UX The Remote Login service was running And now for the kicker:\n1 2 hpux lhill$ ls -ld / drwxrwxrwx 30 root wheel 1020 1 Nov 13:57 / Put those together, and you can see it’s easy to gain root. All we needed to do was create /.rhosts, and add whatever we wanted. We set it up to allow root login from another server, and bingo - remote access as root. Saved a trip out to the DC.\nWorld-writable directories in $PATH Another classic mistake was the permissions for /usr/local/bin:\n1 2 hpux lhill$ ls -ld /usr/local/bin drwxrwxrwx 30 root wheel 1020 1 Nov 13:57 /usr/local/bin Can you see the problem here? Yup - any user can add executable they like to /usr/local/bin, and then you just need to trick someone into running it. A classic typo is to run mroe instead of more - so what would happen if we put a script called mroe into /usr/local/bin? We could put whatever commands we wanted in there.\n1 2 3 4 5 6 7 8 #!/bin/sh if [ $(whoami) -eq \u0026#34;root\u0026#34; ] then # Do_bad_stuff fi echo echo \u0026#34;-sh: $0: command not found\u0026#34; \u0026gt;\u0026amp;2 exit 127 The malicious commands might involve creating a new user, with UID 0. Now all we have to do is wait for an admin to make a typo, and we’ve got root access.\nChargen vs Echo HP-UX shipped with both chargen and echo enabled by default. One service that responds to connections with a random character, the other one echoes back whatever it receives. So think about what happens if you fake a packet with a source of chargen and a destination of echo? Fun times. Lucky that one’s easy to see with an IPS. Sure, things aren’t perfect with other Operating Systems. But next time someone starts going on about how great Unix security is, just remember that it wasn’t always true.\n","permalink":"https://lkhill.com/war-stories-unix-security/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 8\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Unix Security"},{"content":"Outsourcing is complex, and there are lots of ways it can go wrong, or simply fail to deliver. I\u0026rsquo;ve put together a list of things that I see going wrong with outsourcing arrangements. Of course it\u0026rsquo;s not exclusive!\nThere’s a few different types of outsourcing. It might mean procuring a commodity service - e.g. IaaS, or it might mean handing over your existing environment and staff to a third party. There\u0026rsquo;s also a whole range of levels in between, but the usual deal is: Some part of your environment gets managed or delivered by someone else, according to the terms of a fixed agreement.\nHere’s a few things I’ve learnt to watch out for (nb not all these items apply to all types of agreements):\nNot keeping up to date If your outsourcer is managing your software, the contract usually covers applying security patches and bug fixes. But what gets missed is larger upgrades - e.g. ESXi 4.1 to 5.x. Everything goes OK for a while…and then your version goes End of Support.\nIt then becomes a major drama to get the upgrades sorted out. For financial purposes, you may not be able to do major upgrades as part of your regular outsourcing agreement (you might need/want to capitalise it). But your provider should be pushing to ensure these upgrades get done. Don’t get stuck with old versions.\nBeing Overly Prescriptive Be careful with how you structure agreements. Focus on desired service outcomes, not how to achieve those outcomes. For example, you could say “Must use Cisco Nexus 7009 switches” - or you could describe your bandwidth, latency and feature requirements. Or better yet, describe the application response times you need. Let the supplier choose the most appropriate way of meeting those requirements.\nNote: On a side note, I always wonder about Cloud Providers that make a big deal out of using Cisco + EMC hardware. Why should I care? It tells me that they\u0026rsquo;re probably going to be expensive, and using EMC is no guarantee of data safety. Fixed Pricing that Doesn’t Reflect Changing Costs \u0026amp; Technologies Let’s say you negotiate with your provider for 100MB mailboxes for staff. 3 years later, the costs to provide that storage have more than halved. But your provider is still working to the terms of their contract, ignoring changes in underlying costs and user expectations.\nThis can also apply to technology. Your provider might charge you $2000 for a Frame Relay circuit, when they know you a $200 Ethernet circuit would work.\nThe big cloud providers regularly cut prices and update technology. With smaller providers, you need to make sure this is happening.\nNo automated interfaces Standard requests should have standardised interfaces, allowing automated deployment. You shouldn’t have to wait for a ‘standard 3-day change turnaround’ to make basic changes. Force your provider to give you the tools to get standard changes automatically implemented. Then you can get changes done on your schedule, not theirs.\nOutsourcing rapidly changing/poorly understood environments If your environment is rapidly changing or poorly understood, no contract will cover all your requirements. Result: Endless change requests, and lots of extra costs. Each “standard turnaround time” for changes adds up to huge delays. This is the biggest challenge for “Your mess for less” providers - it’s still a mess, and it doesn’t cost you less.\nSo I should do it all myself? No, absolutely not. It doesn\u0026rsquo;t make sense to try to do everything yourself. But think carefully about what you\u0026rsquo;re doing, and why you\u0026rsquo;re doing it. Don\u0026rsquo;t blindly walk into something that restricts your business and doesn\u0026rsquo;t deliver the promised benefits.\n","permalink":"https://lkhill.com/outsourcing-mistakes/","summary":"\u003cp\u003eOutsourcing is complex, and there are lots of ways it can go wrong, or simply fail to deliver. I\u0026rsquo;ve put together a list of things that I see going wrong with outsourcing arrangements. Of course it\u0026rsquo;s not exclusive!\u003c/p\u003e","title":"Outsourcing Mistakes"},{"content":"Somehow I missed this when it was announced, but the Juniper SRX-110H-VA is End of Life, and is no longer supported for new software releases.\nEnd of Life announcement is here, with extra detail in this PDF. Announcement was Dec 10 2013, with \u0026ldquo;Last software engineering support\u0026rdquo; date Dec 20 2013.\nThis is now starting to take effect, with 12.1X47 not supported on this platform:\nNote: Upgrading to Junos OS Release 12.1X47-D10 or later is not supported on the J Series devices or on the low-memory versions of the SRX100 and SRX200 lines. If you attempt to upgrade one of these devices to Junos OS 12.1X47-D10, installation will be aborted with the following error message: \u0026ldquo;ERROR: Unsupported platform \u0026lt;platform-name\u0026gt; for 12.1X47 and higher.\u0026rdquo;\nThe replacement hardware is the SRX-110H2-VA, which has 2GB of RAM instead of 1GB. Otherwise it\u0026rsquo;s exactly the same, which seems a missed opportunity to at least update to local 1Gb switching.\nMichael Dale has a little more info here, along with tips for tricking a 240H into installing 12.1X47.\nSo I decided to see if I could work around this and trick JunOS into installing on my 240H, I was successful :D\nI wouldn\u0026rsquo;t recommend ever using this in production, but I am sure it will work fine for the lab. The only difference between the 240H and the 240H2 is that the H2 has 2GB flash and 2GB ram, CPU is the same.\nI was never fully happy with my SRX, with the DHCPv6 support being very poor, and still unstable. I\u0026rsquo;ll probably sell the SRX early in the new year. Might replace it with a TP-Link 7980, or similar. All I really need is ADSL2+, and decent IPv6 support. Doesn\u0026rsquo;t even matter about UFB support any more. They ran the ducts outside my house earlier this year, but now the map says that service won\u0026rsquo;t be available until \u0026ldquo;between Jul 2018 and Jun 2019.\u0026rdquo; A block away they already have VDSL, and will have 200Mb UFB by April 2015. Damn.\n","permalink":"https://lkhill.com/juniper-srx-110h-eol/","summary":"\u003cp\u003eSomehow I missed this when it was announced, but the Juniper SRX-110H-VA is End of Life, and is no longer supported for new software releases.\u003c/p\u003e","title":"Juniper SRX-110H EoL"},{"content":"It is a stereotype, but engineers really do like whiteboards. Problem is, you can\u0026rsquo;t carry one around with you. Plus there\u0026rsquo;s still a few unenlightened employers who don\u0026rsquo;t provide whiteboards. Enter the Wipebook, a spiral-bound notebook made of whiteboard-like pages:\nI normally carry a notebook for scratching out notes while talking to customers, sketching diagrams, working through problems, etc. I don\u0026rsquo;t archive these notes - most are just short-term things, and I shred them. Important stuff gets turned into OmniFocus tasks/emails/etc.\nSo the Wipebook looks perfect for me. My wife bought one for me recently, and I\u0026rsquo;ve started using it at work. So far, it\u0026rsquo;s working as expected. I can quickly scribble notes, sketch a diagram, make corrections, etc. When I\u0026rsquo;m done with it, I wipe the page down.\nIt\u0026rsquo;s not perfect - the pages don\u0026rsquo;t always wipe down perfectly, and obviously it gets bumped around in my bag. So it won\u0026rsquo;t last forever. But it\u0026rsquo;s a nice touch that I can open \u0026amp; close the bindings, so I can easily get rid of any pages that are too beaten up.\nThe pens have a small eraser on the end, but it\u0026rsquo;s only suitable for very minor corrections. I have a slightly larger (but still portable) eraser that works well. You\u0026rsquo;ll probably want to get something to clean it down properly once a week or so.\nI have the lined version. They also have grid/blank/music/mixed versions. I\u0026rsquo;d probably get the mixed version next time. I\u0026rsquo;m also very tempted by the Mini, just to be a little more portable.\nNote: A note for those ordering from outside Canada or the USA - postage is very expensive. Shipping to New Zealand is around $51 - i.e. 25% more than the price of the book plus a pack of pens. YouShop, a re-mailer service, brought the shipping cost down to ~$15. I also recommend buying the pens at the same time, as they\u0026rsquo;re difficult to obtain in New Zealand. It will be interesting to look back in a year or so, to see if it\u0026rsquo;s changed my habits.\nSo far I\u0026rsquo;ve only had one real problem: I want to change the cover to this:\nUnfortunately the Brocade cover is a fraction shorter. I might just do it anyway.\n","permalink":"https://lkhill.com/wipebook-a-portable-whiteboard/","summary":"\u003cp\u003eIt is a stereotype, but engineers really do like whiteboards. Problem is, you can\u0026rsquo;t carry one around with you. Plus there\u0026rsquo;s still a few unenlightened employers who don\u0026rsquo;t provide whiteboards. Enter the \u003ca href=\"http://www.wipebook.com\"\u003eWipebook\u003c/a\u003e, a spiral-bound notebook made of whiteboard-like pages:\u003c/p\u003e","title":"Wipebook - A Portable Whiteboard"},{"content":"It\u0026rsquo;s pretty common practice to \u0026lsquo;comment out\u0026rsquo; lines in scripts. The code stays in place, but doesn\u0026rsquo;t get executed. Perfect for testing, when you might need more debug output, or you want to run a slightly different set of actions. But you have to be careful when commenting out lines - it might catch you out, and the F5 iRules editor won\u0026rsquo;t save you.\nNormally it\u0026rsquo;s pretty simple to comment out a line. Here\u0026rsquo;s a quick Bash example:\n1 2 3 4 5 6 7 8 9 10 #!/bin/bash FILECOUNT=`ls /tmp|wc -l` if [ $FILECOUNT -lt 7 ] then echo \u0026#34;There are fewer than 7 files in /tmp\u0026#34; run_command fi ... When I\u0026rsquo;m testing the script, I might not want to actually run that command. So I\u0026rsquo;ll quickly comment it out like this:\n1 2 3 4 5 6 7 8 9 10 #!/bin/bash FILECOUNT=`ls /tmp|wc -l` if [ $FILECOUNT -lt 7 ] then echo \u0026#34;There are fewer than 7 files in /tmp\u0026#34; #run_command fi ... The # tells the shell to ignore anything else on that line. All pretty straightforward.\nToday I was debugging an F5 synchronisation issue, where I got this message on synchronisation:\n1 2 BIGpipe parsing error (/config/bigip.conf Line 333): 012e0054:3: The braced list of attributes is not closed for \u0026#39;rule\u0026#39;. The offending section looked like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] { \u0026#34;lkhill.com\u0026#34; { switch -glob [string tolower [HTTP::uri]] { \u0026#34;/special/uri/path/*\u0026#34; { pool pool-special-application #log local0. \u0026#34;Re-mapped special URI\u0026#34; } default { pool pool-lkhill-default #log local0. \u0026#34;Default pool used\u0026#34; } } } } } Editing this iRule through the GUI didn\u0026rsquo;t have any errors, so what was broken?\nLooking at the \u0026rsquo;log\u0026rsquo; lines a bit more closely, I saw the problem:\n1 2 3 4 5 6 \u0026#34;/special/uri/path/*\u0026#34; { pool pool-special-application #log local0. \u0026#34;Re-mapped special URI\u0026#34; } default { pool pool-lkhill-default #log local0. \u0026#34;Default pool used\u0026#34; } By commenting out the log line, it included commenting out the closing \u0026lsquo;}\u0026rsquo;. Whoops. Fixed now. How come it didn\u0026rsquo;t get picked up in the iRule Editor? Looks like it\u0026rsquo;s this bug: SOL15363 \u0026ldquo;An iRule may erroneously pass syntax validation\u0026rdquo;\nOh and of course I know someone out there is saying \u0026ldquo;Why the hell did he use that stupid formatting for his code? My preferred style would be to have the closing brace vertically aligned with the opening statement, like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] { \u0026#34;lkhill.com\u0026#34; { switch -glob [string tolower [HTTP::uri]] { \u0026#34;/special/uri/path/*\u0026#34; { pool pool-special-application #log local0. \u0026#34;Re-mapped special URI\u0026#34; } default { pool pool-lkhill-default #log local0. \u0026#34;Default pool used\u0026#34; } } } } } But it wasn\u0026rsquo;t my code - I was fixing someone else\u0026rsquo;s code.\n","permalink":"https://lkhill.com/irulestcl-watch-the-comments/","summary":"\u003cp\u003eIt\u0026rsquo;s pretty common practice to \u0026lsquo;comment out\u0026rsquo; lines in scripts. The code stays in place, but doesn\u0026rsquo;t get executed. Perfect for testing, when you might need more debug output, or you want to run a slightly different set of actions. But you have to be careful when commenting out lines - it might catch you out, and the F5 iRules editor won\u0026rsquo;t save you.\u003c/p\u003e","title":"iRules/Tcl - Watch the Comments"},{"content":"Many of the ‘security’ measures in our networks add complexity. That may be an acceptable tradeoff, if we make a meaningful difference to security. But often it feels like we just add complexity for no real benefit.\nHere’s some examples of what I’m talking about:\nMultiple Firewall Layers: Many networks use multiple layers of firewalls. If you have a strong policy that says all traffic must go via a server within a DMZ, this makes sense. But often we end up with the same connections going through multiple firewalls. We end up configuring the same rules in multiple places. No security benefit, but increased chance of making mistakes, and added troubleshooting complexity. Chained proxies: It’s pretty common to use a proxy server, to enforce HR and security controls on what users browse. But some organisations have chained proxies, where an internal proxy server connects to an upstream proxy server to get Internet access. The upstream proxy doesn’t add anything from a policy or control perspective. It’s just another point to configure and troubleshoot. NAT/Routing: First let me be clear: NAT is not complete security in itself, but it can form a valid part of your overall network security policy. That said, we often over-complicate things. I’ve seen designs that involved multiple levels of source + destination NAT, to get traffic to route via a specific set of firewalls. Were there any additional controls or inspections applied to that traffic? No, of course not. It was just that it was the ‘correct’ firewall for that type of traffic. Anti-Spoofing: In general this is a good idea - a basic sanity check for source addresses. At its simplest, it should match your routing table - that’s what features like Unicast RPF do. But some systems separate anti-spoofing from routing. Result: People forget to update anti-spoofing config when they change routing, which leads to re-work. Added security: None. Pointless ‘Security’ Agents: I’ve seen security agents on client PCs that attempt to detect and log/drop Denial of Service attacks. Think about that for a moment: What’s the point in wasting cycles detecting and dropping volumetric DoS attacks on a client PC? What are you going to do about it? It’s a client machine, it’s too late to drop the traffic at that point. Is this a realistic threat that you A) should worry about and B) can mitigate? No, of course not. And the only time I’ve seen that agent fire? It thought that inbound UDP/4500 traffic from the VPN concentrator was an attack. Yes, security systems fighting with each other. Sometimes we really do need extra complexity. Sometimes it really does add a layer of security. But often it’s just a pain in the ass for no real benefit. Constantly re-evaluate your security measures, and ask if they’re helping or hindering.\n","permalink":"https://lkhill.com/complexity-vs-security/","summary":"\u003cp\u003eMany of the ‘security’ measures in our networks add complexity. That may be an acceptable tradeoff, if we make a meaningful difference to security. But often it feels like we just add complexity for no real benefit.\u003c/p\u003e","title":"Complexity vs Security"},{"content":" This article is Part 7 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - This Article Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) I’ve written before about switch ports being permanently disabled. This time it’s something new to me: VLANs that refuse to forward frames.\nA Simple Network The network was pretty straightforward. A pair of firewalls connecting through a pair of switches to a pair of routers:\nSub-interfaces were used on the routers and firewalls, with trunks to the switches. VLAN 100 was used for 100.100.100.0/24, and VLAN 200 was used for 200.200.200.0/24. The switches were configured to pass VLANs 100 \u0026amp; 200.\nAll was working as expected. All devices could see each other on all VLANs.\nUntil it stopped We received reports that we’d lost reachability to Router A’s VLAN 200 sub-interface. After doing some investigation, we could see that Firewall-A could no longer see Router A’s MAC address on G0.200. But everything else was fine - the VLAN 100 interface worked perfectly. So we knew it couldn’t be a physical interface issue.\nHmmm. What’s going on? First instinct: check the switch port configuration. Has anything changed? Nope. VLAN 200 still there, configured as expected. The router \u0026amp; firewall were still tagging frames with VLAN 200. But they couldn’t see each other, and the switch wasn’t learning any MAC addresses on that VLAN.\nSpanning-tree? Nope, all ports in forwarding state. VLAN still there in the VLAN database? Yep, looks OK. What about Firewall-B and Router-B? They can see each other, but they can’t see Firewall-A or Router-A. Switch-2 shows MAC addresses for Firewall-B and Router-B, but nothing on the link to Switch-1.\nWhy didn’t it work?\nWorkaround: Move to a new VLAN We re-configured the Firewall \u0026amp; Router sub-interfaces to use VLAN 300 instead. We added that VLAN to the associated trunk ports, and everything started working. Full connectivity restored. But VLAN 200? It seems to be cursed.\nI still haven’t figured out what happened here. Anyone ever seen anything like this?\n","permalink":"https://lkhill.com/war-stories-cursed-vlans/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 7\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Cursed VLANs"},{"content":"There\u0026rsquo;s a constant tension between delivering new services, and running the existing services well. How do you figure out how to prioritise work between Operations tasks and Project work? Skewing too far either way leads to problems. Maybe the answer is in how we structure Operations tasks?\nDefinitions Operations work: Dealing with outages, trouble tickets, support requests, etc. System monitoring - reviewing data for capacity planning, and identifying new areas to monitor. Automated repetitive tasks. Patches, upgrades, minor changes to existing services. Accountants would call this work OpEx. Project work: Design, test and deployment of new services. Major upgrades or enhancements to existing services. This is usually classified as CapEx. For some businesses, this work is customer-billable. What happens when you’re imbalanced? Too much Project work: If you’re flat out deploying new systems (and dealing with the fallout), it’s easy to let Operations work slip. Maybe you don’t get around to automating that log rotation script, or paying attention to the slope of that consumption graph. It’s OK for a while too…things seem to be trucking along. But then you start having outages due to simple things like logs filling directories, or you hit a capacity limit, and there’s a 6-week lead time on new hardware. Once it gets really out of hand, you’re running around like mad fixing broken systems. You’re too busy with firefighting to do either Project work or real Operations work. Not a good place to be in. Too much Operations work: Sometimes Sysadmins think that everything would be fine if they could just be left alone to run the current systems. No more constant churn of upgrades and new applications. But businesses don’t stand still. You would quickly stagnate. Make it too hard to introduce new systems, and you’ll end up with people going around you - e.g. Shadow IT, skunkworks projects, and outsourcing. You don’t want to end up like “Mordac, the Preventer of Information Services.” One Approach: Projects first (Aha, but what defines a project?)\nSo how do you balance Operations vs Project work? The Practice of Cloud System Administration has this to say:\nTo assure that all sources and categories of work receive attention, we recommend this simple organizing principle: people should always be working on projects, with exceptions made to assure that emergency issues receive immediate attention and non-project customer requests are triaged and worked in a timely manner.\n(Section 7.3)\nThey go on to recommend a rotating shift where one person is on-call for emergency issues, one is handling regular tickets, and everyone else works on projects.\nThe key though is that their definition of projects includes a focus on tasks that “automate or optimise aspects of the team’s responsibilities.” These are things that a good Operations team does, but by structuring them as a project, they can be prioritised, tracked, and have resources allocated.\nThis is a big step up on how most Operations team work, where they don’t structure their work like that, and it gets no focus. It gets lost under the higher-prioritised projects.\nHow do you prioritise an ‘Operations’ project? It’s not enough to just structure your Operational improvement work as projects. All projects (capital and operational) need to be prioritised. Many businesses will focus on those projects that they think deliver an immediate return - and that’s usually the capital projects. You still need to figure out how to make sure that you get the people and money allocated to Operational improvement works.\nLimoncelli et al recommend monitoring how much time is being spent on ‘toil’, or manual tasks:\nIf more than half of a team’s collective time is spent on operational “toil,” that fact should raise a proverbial red flag. The team should review how the members are spending their time. Usually there are a few deeper “root cause” problems that could be fixed to eliminate large chunks of manual work. Establish projects that will strike at the root of those problems. Put all other projects on hold until the 50/50 balance is achieved again.\nThe Practice of Cloud System Administration, section 12.4.2\nYou might play around with the exact split there, but I like the idea of monitoring toil, and if it gets too much, make sure something gets done about it. But it also means that you will have some level of \u0026rsquo;toil\u0026rsquo;, and can\u0026rsquo;t totally avoid new service delivery. This method still needs management support, as sometimes you’ll have to say “Sorry, we can’t deploy that new service right now: We have to improve some existing systems first.”\nI’m not sure that there is any one right answer here. Clearly organisational type and structure plays a part in it. How do you divide up your work, and ensure both streams get the attention they need?\n","permalink":"https://lkhill.com/ops-work-vs-project-work/","summary":"\u003cp\u003eThere\u0026rsquo;s a constant tension between delivering new services, and running the existing services well. How do you figure out how to prioritise work between Operations tasks and Project work? Skewing too far either way leads to problems. Maybe the answer is in how we structure Operations tasks?\u003c/p\u003e","title":"Ops Work vs Project Work"},{"content":"Years ago a wise engineer gave me these rules for meetings:\nNever go into a meeting unless you know what the outcome will be. Plan to leave the meeting with less work than when you went in. Stick to those rules, and you\u0026rsquo;ll do well.\nOK, so maybe the second rule\u0026rsquo;s not so serious, but the first one has a grain of truth. You don\u0026rsquo;t need to know exactly what the decision should be, but you should be clear about what you want to get decided. If it\u0026rsquo;s particularly important, you should have already discussed it with the key attendees, and you should know what they\u0026rsquo;re thinking. You don\u0026rsquo;t want any surprises.\nToo many meetings have no clear purpose, or they can only agree that \u0026lsquo;a decision needs to be made\u0026hellip;pending further research.\u0026rsquo; Avoid those sorts of meetings. Otherwise it ends up like\u0026hellip;well\u0026hellip;.Every Meeting Ever:\n","permalink":"https://lkhill.com/meeting-rules/","summary":"\u003cp\u003eYears ago a wise engineer gave me these rules for meetings:\u003c/p\u003e","title":"Meeting Rules"},{"content":"Recently I\u0026rsquo;ve been idly speculating about how campus networking could be shaken up, with different cost and management models. A few recent podcasts have inspired some thoughts on how Cumulus Networks might fit into this.\nIn response to a PacketPushers podcast on HP Network Management, featuring yours truly, Kanat asks:\nFor me the benchmark of network management so far is Meraki Dashboard - stupid simple and feature rich\u0026hellip; Yes - it’s a niche product that only focuses on Campus scenarios, Yes - it only supports proprietary HW. But it offers pretty much everything network operator needs - detailed visibility, traffic policy engine with L7 capability, MDM and you can hit it and go full speed right away. How long will it take HP to achieve that level of simplicity/usability?\nHe’s right about the Meraki dashboard. It’s fantastic. Fast to get set up, easy to use, it’s what others should aspire to. But there’s a catch: It only works with Meraki hardware. Keep paying your monthly bills, and all is well. But what if you’ve got non-Meraki hardware? Or what if you decide you don’t want to pay Meraki any more? What if Meraki goes out of business (unlikely, but still something to consider). Will you be left with a pile of un-manageable hardware?\nBuild on top of Cumulus? If you wanted to create a platform with similar power, but the ability to use open hardware, how would you do it? The key is the software on the switches. You need to control this tightly. The best way is either to write your own complete Network Operating System (NOS), or write plugins that work with other NOSes.\nThis is where Cumulus could enter the picture. On “Software Gone Wild”, Matt Stone talks about how Cumulus is maybe not ready for direct use by Enterprise, but that there could be a market for someone to create a management system that uses Cumulus switches.\nCumulus provides an open platform that could easily be extended. You can write plugins that bridge between your management platform and the underlying OS. It would be far easier than trying to write your own NOS from the ground up. Using Cumulus would give you far deeper access to the underlying switch workings than you\u0026rsquo;ll get from Cisco or HP.\nCustomer Options It gives the customers flexibility too. If they decide they’ve had enough, they’re not stuck with un-manageable hardware. They could keep using Cumulus, or they could change the NOS to something like Pica8, or Big Cloud Fabric.\nOr just maybe, they could use JunOS, EOS or even IOS, as @mrtugs was speculating about? This is of course the broader dream of network disaggregation.\nDo the costs add up? Maybe not. Cumulus in the campus doesn\u0026rsquo;t currently stack up. That\u0026rsquo;s not surprising - their initial target market has been the data centre. The cheapest switches on the Cumulus HCL are the likes of the Quanta T1048-LB9, which is $2,449.00. A Cumulus 1G license adds another $499/year.\nThat price isn’t hugely different from what I might pay for a reasonable Cisco or HP campus switch. So I’d be taking a risk on a relatively new platform, without saving much up front. The key would be in the additional capabilities the platform offers me.\nWhat if Cumulus was supported on a cheaper platform? Something equivalent to a Cisco Small Business Switch, or a D-Link DGS–1510–52.\nWhat would that do to the campus market? My problem with the low-end switches has primarily been the poor software (see what John found with his cheap switch). But if we had more powerful software available for cheap switches, what would that open up? Even without someone developing a Meraki-like management platform, it would massively shake things up.\n","permalink":"https://lkhill.com/cumulus-in-the-campus/","summary":"\u003cp\u003eRecently I\u0026rsquo;ve been idly speculating about how campus networking could be shaken up, with different cost and management models. A few recent podcasts have inspired some thoughts on how \u003ca href=\"http://www.cumulusnetworks.com/\"\u003eCumulus Networks\u003c/a\u003e might fit into this.\u003c/p\u003e","title":"Cumulus in the Campus?"},{"content":"Recently I’ve been thinking about Root Cause Analysis (RCA), and how it’s not perfect, but there may be hope for the future.\nThe challenge is that Automated RCA needs an accurate, complete picture of how everything connects together to work well. You need to know all the dependencies between networks, storage, servers, applications, etc. If you have a full dependency mapping, you can start to figure out what the underlying cause of a fault is, or you can start doing ‘What If?’ scenario planning.\nBut once your network gets past a moderate size, it’s hard to maintain this sort of dependency mapping. Manual methods break down, and we look for automated means instead - but they have gaps and limitations.\nAutomated Mapping - Approaches \u0026amp; Limitations Tools such as HP’s CMS suite attempt to discover all objects and dependencies using a combination of network scanning and agents. They’ll use things like ping, SNMP, WMI, nmap to identify systems and running services. Agents can then report more data about installed applications, configurations, etc.\nNetwork sniffing can also be used to identify traffic flows. Most tools will also connect to common orchestration points, such as vCenter, or the AWS console, to discover underlying components.\nBut you can’t trust the results. Discovery tools can’t get everything - e.g. misconfigured firewalls or SNMP means devices get missed. Automated network analysis will struggle to identify that flow that only happens once a year. You need to put a lot of effort into review the results of automated analysis, and you need to keep tweaking it.\nThe problem is people, and the tools we use to maintain systems. Automated tools don’t know that you went and installed a router, but screwed up the SNMPv3 user. They might find out that you installed Apache on that server, but they might not understand that new application you\u0026rsquo;ve just started using. They don\u0026rsquo;t have one source of truth, and so they have to take a best guess.\nBecause you can go and do things to applications and systems individually, automated discovery breaks down.\nWhat about the (Nearly) All Virtual Future? But what if all change was done through a few orchestration systems? What if I could connect to one controller, and identify all the deployed routers, firewalls, servers, storage devices? What if I could connect to one configuration management system, and see what configuration is deployed to my systems? What if I could trust that configuration management system, and know that it was the source of truth? If someone changes an underlying device, that change should get over-written.\nThat’s the direction we’re going in. And so that’s why I’m hopeful that automated dependency mapping may be reliable in future. Sure, there will still be gaps. But they should be a lot smaller.\n","permalink":"https://lkhill.com/accurate-dependency-mapping-one-day/","summary":"\u003cp\u003eRecently I’ve been thinking about Root Cause Analysis (RCA), and how \u003ca href=\"/root-cause-analysis-its-not-perfect/\"\u003eit’s not perfect\u003c/a\u003e, but there may be hope for the future.\u003c/p\u003e","title":"Accurate Dependency Mapping - One Day?"},{"content":"Recently I posted about Rewarding Effort vs Results, how different contract structures can have different outcomes. This post covers Time \u0026amp; Materials vs Fixed-Price a little more, looking at pros \u0026amp; cons, and where each one is better suited.\nDefinitions: Time \u0026amp; Materials: Client \u0026amp; supplier agree on the requirements, and an hourly rate. The client is billed based upon the number of hours spent completing the job. Any costs for materials are also passed on. If the job takes 8 hours, the client pays for 8 hours. If it takes 800 hours, the client pays for 800 hours. To prevent bill shock, there will usually be review points to measure progress \u0026amp; time spent. Risk lies with the client.\nFixed-Price: Client \u0026amp; Supplier agree beforehand on what outcomes the client needs. It is crucial that this is well-documented, so there are no misunderstandings. The supplier will estimate how long the job will take, allow some extra margin, and quote a figure. The client pays the same amount, regardless of how long the job takes. Risk lies with the supplier.\nComparison: Time \u0026amp; Materials Fixed-Price Pros: Little time/energy wasted on quoting - engineers can get to work faster. Customer saves money if job takes less time than expected. Easy to modify requirements during delivery. Engineers encouraged to do a good job, not just get it signed off so they can move on. Client knows up front what they\u0026rsquo;re getting, and exactly how much it will cost. Supplier is encouraged to get job done as quickly as possible. Cons: Costs can blow out - customer is assuming risk. Unscrupulous suppliers may use more time than is strictly necessary. Cons: May take a lot of time and energy to define requirements. This is not directly chargeable, but those costs need to be recovered somewhere. Supplier is assuming risk, and so needs to factor in contingency (typically 10-20%). Engineers are under pressure to get project signed off - that doesn\u0026rsquo;t always mean things are properly \u0026lsquo;done.\u0026rsquo; Best suited for: Complex jobs, where the requirements may not be fully understood, or challenges may emerge during implementation. Works well where there is a high degree of trust between customer and supplier. Can also work well for small jobs, where preference is to get under way quickly. Best suited for: **Well-defined, repeatable pieces of work - e.g. oil and filter change for typical car. No one model is \u0026lsquo;best\u0026rsquo; - either one can work, depending on the nature of the job, and the relationship between client \u0026amp; supplier.\n","permalink":"https://lkhill.com/fixed-price-or-tm/","summary":"\u003cp\u003eRecently I posted about \u003ca href=\"/rewarding-effort-vs-results/\"\u003eRewarding Effort vs Results\u003c/a\u003e, how different contract structures can have different outcomes. This post covers Time \u0026amp; Materials vs Fixed-Price a little more, looking at pros \u0026amp; cons, and where each one is better suited.\u003c/p\u003e","title":"Fixed-Price, or T\u0026M?"},{"content":"Andrisoft Wansight and Wanguard are tools for network traffic monitoring, visibility, anomaly detection and response. I’ve used them, and think that they do a good job, for a reasonable price.\nWanguard Overview There are two flavours to what Andrisoft does: Wansight for network traffic monitoring, and Wanguard for monitoring and response. They both use the same underlying components, the main difference is that Wanguard can actively respond to anomalies (DDoS, etc).\nAndrisoft monitors traffic in several ways - it can do flow monitoring using NetFlow/sFlow/IPFIX, or it can work in inline mode, and do full packet inspection. Once everything is setup, all configuration and reporting is done from a console. This can be on the same server as you’re using for flow collection, or you can use a distributed setup.\nThe software is released as packages that can run on pretty much any mainstream Linux distro. It can run on a VM or on physical hardware. If you’re processing a lot of data, you will need plenty of RAM and good disk. VMs are fine for this, provided you have the right underlying resources. Don’t listen to those who still cling to their physical boxes. They lost.\nAnomaly Detection You define what constitutes an anomaly - e.g. traffic above a certain fixed rate, or statistically abnormal, unusual traffic types, etc. You configure what response you want to take, and for how long. The response can be to run a script, inject routes into BGP for RTBH, or block specific traffic if you’re using it inline. If you’re using BGP RTBH, Wanguard runs Quagga locally, and peers with your routers. Either when the anomaly is over, or after some fixed window, the response action is withdrawn. This is all fairly straightforward to set up, but you will want to play around with timers and traffic rates, until you get something that works well for your environment. You need a balance between reacting too soon and too late to DDoS traffic.\nReporting Andrisoft provides a web console that consolidates data from all the sensors. You can configure your own dashboards with whatever combination of data you want - e.g. You might have a list of the current top talkers, graphs showing traffic per region over the last 24 hours, and a list of the top ASNs.\nFrom the dashboard you can run reports on say a specific IP, or a specific protocol, looking at volumes, rates, graphs, etc.\nYou can also see what anomalies were detected, and what actions were taken. If you have RTBH set up, you can manually inject a prefix from the dashboard, and set a time for when you want it to expire. Very handy for when you need to block a specific IP for some reason.\nWhat about DIY? I could create a similar system to Wanguard using a combination of NfSen, NFDump, some custom scripting and a bit of other ‘magic glue’. But my time isn’t free, and given that Wanguard is $595/year per sensor, it’s not a hard choice.\nThere are plenty of alternatives out there with fancier GUIs and setup that is more ‘turnkey.’ But none of them are cheap. If you don’t have any good network visibility right now, and you’ve been put off by high prices, I recommend trialling Wanguard. It might just do what you need, at a price you can digest.\nNote: Disclaimer: I have no relationship with Andrisoft, beyond being a satisfied Wanguard customer. ","permalink":"https://lkhill.com/andrisoft-wanguard-cost-effective-network-visibility/","summary":"\u003cp\u003e\u003ca href=\"http://www.andrisoft.com/\"\u003eAndrisoft\u003c/a\u003e \u003ca href=\"http://www.andrisoft.com/software/wansight\"\u003eWansight\u003c/a\u003e and \u003ca href=\"http://www.andrisoft.com/software/wanguard\"\u003eWanguard\u003c/a\u003e are tools for network traffic monitoring, visibility, anomaly detection and response. I’ve used them, and think that they do a good job, for a reasonable price.\u003c/p\u003e","title":"Andrisoft Wanguard: Cost-Effective Network Visibility"},{"content":"I\u0026rsquo;m currently reading and enjoying \u0026ldquo;The Practice of Cloud System Administration.\u0026rdquo; It doesn\u0026rsquo;t go into great depth in any one area, but it covers a range of design patterns and implementation considerations for large-scale systems. It works for two audiences: A primer for junior engineers who need a broad overview, or as a reference for more experienced engineers. It doesn\u0026rsquo;t cover all the implementation specifics, nor should it: it would date very quickly if it tried.\nI\u0026rsquo;ve long disliked the term \u0026ldquo;non-functional requirements,\u0026rdquo; so I enjoyed this passage:\nRather than the term “operational requirements,” some organizations use the term “non-functional requirements.” We consider this term misleading. While these features are not directly responsible for the function of the application or service, the term “non-functional” implies that these features do not have a function. A service cannot exist without the support of these features; they are essential.\nIt is all the fashion today to separate requirements into \u0026lsquo;functional\u0026rsquo; and \u0026rsquo;non-functional,\u0026rsquo; but the authors are right to point out that this can be misleading. Perhaps it\u0026rsquo;s the old Operations Engineer in me, but if a product doesn\u0026rsquo;t have things like Backup \u0026amp; Restore, or Configuration Management, then it\u0026rsquo;s a non-functioning product to me.\nMaybe I should read the term \u0026ldquo;non-functional requirements\u0026rdquo; as \u0026ldquo;The product has to meet these requirements, otherwise it\u0026rsquo;s non-functioning.\u0026rdquo;\n","permalink":"https://lkhill.com/non-functional-requirements/","summary":"\u003cp\u003eI\u0026rsquo;m currently reading and enjoying \u0026ldquo;\u003ca href=\"http://the-cloud-book.com/\"\u003eThe Practice of Cloud System Administration\u003c/a\u003e.\u0026rdquo; It doesn\u0026rsquo;t go into great depth in any one area, but it covers a range of design patterns and implementation considerations for large-scale systems. It works for two audiences: A primer for junior engineers who need a broad overview, or as a reference for more experienced engineers. It doesn\u0026rsquo;t cover all the implementation specifics, nor should it: it would date very quickly if it tried.\u003c/p\u003e","title":"Non-Functional Requirements"},{"content":"We all know that IT changes rapidly, but we still don’t always accept what that means. Companies and technologies change over time, and good engineers recognise this. Poor engineers cling to past beliefs, refusing to accept change. Try to keep an open mind, and periodically re-evaluate your opinions.\nConsider the Linux vs Microsoft debate. I’ve been an Open Source fan for a long time, and have plenty of experience running Linux on servers and desktops. Today I use OS X as my primary desktop. I’ve cursed at Microsoft many times over the years, usually when dealing with some crash, security issue, or odd design choice.\nBut it annoys the hell out of me when I hear engineers spouting tired old lines about Microsoft products crashing, or having poor security. This is usually accompanied by some smug look “Hur hur hur…Microsoft crash…Blue Screen of Death…hur hur hur”\nI get frustrated because these people aren’t paying attention to what Microsoft has been doing. They have come a very long way since the 2002 Bill Gates email setting security as the top priority. It’s a big ship to turn, and it took time. Their overall security model and practices are far better than they were, and stability is no longer an issue. Their business strategy is very different now too.\nBut poor engineers continue to view Microsoft through the lens of their 1990s experience. They refuse to countenance a Microsoft solution, even when it is the most appropriate one for the problem at hand. They’re doing themselves and their customers a disservice.\nI’m not saying that you should use all Microsoft solutions. Far from it. But I am saying that you should keep an open mind, and constantly re-evaluate what you think you know. Dig into some of your opinions, and see if they’re still accurate. This works both ways - e.g. that company that gave great support in 2004 might have gutted their support teams. Or maybe that great software development team has long since moved on.\nKeep an open mind. Don\u0026rsquo;t close yourself off to better solutions.\n","permalink":"https://lkhill.com/keep-an-open-mind/","summary":"\u003cp\u003eWe all know that IT changes rapidly, but we still don’t always accept what that means. Companies and technologies change over time, and good engineers recognise this. Poor engineers cling to past beliefs, refusing to accept change. Try to keep an open mind, and periodically re-evaluate your opinions.\u003c/p\u003e","title":"Keep an Open Mind"},{"content":"Sometimes we confuse effort with outcome. We think that hours spent are more important than outcomes achieved. Or we unintentionally create a system where effort is rewarded, rather than outcomes.\nConsider a situation where you work for a consulting firm, doing capped Time \u0026amp; Materials jobs. The client gets charged for the amount of time actually worked. Any amount of time up to the cap will be accepted. If more time is needed to complete a task, you\u0026rsquo;ll need to go back to the client to negotiate for more time/money. Occasionally you\u0026rsquo;ll need to do that, but usually the job will be completed under the cap.\nAs a consultant, you\u0026rsquo;re normally measured on your utilisation, and the amount you bill. So what\u0026rsquo;s the optimum amount of work to do for each job? Funnily enough, it is very close to the amount estimated - no matter what the estimate was. Maximise revenue \u0026amp; utilisation, while still doing the work under budget. There\u0026rsquo;s no incentive to do the job quicker.\nLook at it from the perspective of two different consultants, Alice \u0026amp; Bob:\nAlice is a diligent worker, who gets through her work as quickly as possible. Repeatable tasks are scripted. She doesn\u0026rsquo;t muck around. Bob is a bit more relaxed. He still gets the job done, but is in no rush. Faced with a list of boring tasks, he doesn\u0026rsquo;t mind plodding through them, manually entering details. So what\u0026rsquo;s the outcome for Alice \u0026amp; Bob?\nAlice ends up being under-utilised, and bills less. So she gets assigned more work. Now she\u0026rsquo;s working flat out all week, getting through a lot of work, but only just billing the same as everyone else. Increased stress levels, for no personal benefit. Bob has good utilisation and billing numbers, but he\u0026rsquo;s not under any real pressure. He\u0026rsquo;s relaxed, and happy with his job. Which consultant would you rather be?\nOf course, you might say that Alice will get noticed as an effective worker, and if business conditions change, she\u0026rsquo;ll keep her job when others lose theirs. Or she\u0026rsquo;ll find that she\u0026rsquo;s well-positioned for other opportunities. But life doesn\u0026rsquo;t always work that way.\nAll this said, I am not at all against T\u0026amp;M jobs. I do not believe all jobs should be done as fixed-price. Sometimes the complexity/unique nature of the job makes it impossible to estimate. Other times there is so much wasted effort that goes into estimating, and making allowances for over-runs, that it can push the fixed price well beyond what T\u0026amp;M would cost.\nBut you need to pay careful attention to the behaviours that you encourage.\n","permalink":"https://lkhill.com/rewarding-effort-vs-results/","summary":"\u003cp\u003eSometimes we confuse effort with outcome. We think that hours spent are more important than outcomes achieved. Or we unintentionally create a system where effort is rewarded, rather than outcomes.\u003c/p\u003e","title":"Rewarding Effort vs Results"},{"content":"Yes, we know: Your product has an API. Yawn. Sorry for not getting excited. That\u0026rsquo;s just table stakes now. What I\u0026rsquo;m interested in is the pre-written integrations and code you have that does useful things with that API.\nBecause sure, an API lets me integrate my various systems however I want. Theoretically. Just the same way that Bunnings probably sells me all the pieces I need to build a complete house.\nNote: Random aside: If your \u0026lsquo;open API\u0026rsquo; requires signing an NDA to view details, then maybe it\u0026rsquo;s not so open after all? If I\u0026rsquo;m running a small company staffed by developers, then just giving me an API is acceptable. But in a larger company, or one without developer resources, an API alone isn\u0026rsquo;t enough. I want to see standard, obvious integrations already available, and supported by the vendor.\nIn this spirit, I\u0026rsquo;m very pleased to see that ThousandEyes now has a standard integration with PagerDuty:\nThousandEyes appears as a partner integration from which you can receive notifications; and, within ThousandEyes we now have a link to easily add alerts to your PagerDuty account.\nYou can read more at the ThousandEyes blog.\nThis is exactly the sort of obvious integration I like to see offered by vendors. When there are clear links between your product and another popular product, then make it easy to connect them together! I still want the API hooks so I can do my own weird custom integration, but there should be minimal friction for the obvious integrations.\nNote: Disclosure: ThousandEyes was a sponsor of Network Field Day 8. This meant that they in part paid for my costs to attend that event. This post isn\u0026rsquo;t really about them specifically, but hey, I like to be open about my possible influences. ","permalink":"https://lkhill.com/apis-alone-arent-enough/","summary":"\u003cp\u003eYes, we know: Your product has an API. Yawn. Sorry for not getting excited. That\u0026rsquo;s just table stakes now. What I\u0026rsquo;m interested in is the pre-written integrations and code you have that does useful things with that API.\u003c/p\u003e","title":"APIs Alone Aren't Enough"},{"content":"In Episode 167 of The Cloudcast - \u0026ldquo;Bringing Advanced Analytics to DevOps\u0026rdquo;, Dave Hayes brings up an interesting point about Mean Time to Resolution (MTTR). At about 8:30 in, he states:\nIn a counter-intuitive sense, you actually want this to be going up…If you’re removing false alerts, and you’re getting better about the quantity of alerts, you’re going to be solving far fewer, more difficult problems, so you should see a slight trend upwards in Mean Time to Resolution\nThis is a really interesting way of looking at things. Obviously you don’t want to set your goal as “Increase our MTTR,” but this could be a positive side-effect of improved processes.\nI recommend listening to the whole episode. PagerDuty is a very cool product in itself, but this is a broader discussion about operations, analytics, and best practices.\nSubscribe to the podcast while you’re there too. Lots of interesting technology discussed there.\n","permalink":"https://lkhill.com/increased-mttr-is-good/","summary":"\u003cp\u003eIn \u003ca href=\"http://www.thecloudcast.net/2014/10/the-cloudcast-167-bringing-advanced.html\"\u003eEpisode 167 of The Cloudcast\u003c/a\u003e - \u0026ldquo;Bringing Advanced Analytics to DevOps\u0026rdquo;, \u003ca href=\"https://twitter.com/eurica\"\u003eDave Hayes\u003c/a\u003e brings up an interesting point about Mean Time to Resolution (MTTR). At about 8:30 in, he states:\u003c/p\u003e","title":"Increased MTTR is Good?"},{"content":"Almost every SDN vendor today talks about policy, how they make it easy to express and enforce network policies. Cisco ACI, VMware NSX, Nuage Networks, OpenStack Congress, etc. This sounds fantastic. Who wouldn\u0026rsquo;t want a better, simpler way to get the network to apply the policies we want? But maybe it\u0026rsquo;s worth taking a look at how we manage policy today with firewalls, and why it doesn\u0026rsquo;t work.\nIn traditional networks, we’ve used firewalls as network policy enforcement points. These were the only practical point where we could do so. But…it’s been a disaster. The typical modern enterprise firewall has hundreds (or thousands) of rules, has overlapping, inconsistent rules, refers to decommissioned systems, and probably allows far more access than it should. New rules are almost always just added to the bottom, rather than working within the existing framework - it\u0026rsquo;s just too hard to figure out otherwise.\nWhy have they been a disaster? Here\u0026rsquo;s a few thoughts:\nTraditional firewalls use IP addresses. But there\u0026rsquo;s no automated connection between server configuration/IP allocation and firewall policies. So as servers move around or get decommissioned, firewall policies don\u0026rsquo;t get automatically updated. You end up with many irrelevant objects and rules. Object grouping looks great\u0026hellip;but it needs an iron first to enforce it. Most systems end up with many groups that look very similar, but are just a little bit different. Or they are inconsistently used - sometimes it\u0026rsquo;s groups, sometimes a rule has 20+ individual objects listed. Exceptions. So, so many exceptions. Is this because the high-level policy wasn\u0026rsquo;t realistic, or because people don\u0026rsquo;t understand it? \u0026ldquo;No plan of operations extends with certainty beyond the first encounter with the enemy\u0026rsquo;s main strength\u0026rdquo; (or \u0026ldquo;no plan survives contact with the enemy\u0026rdquo;)\nHelmuth von Moltke the Elder\nCarelessly adding objects to groups - I\u0026rsquo;ve seen large networks get added to groups, without any thought to what the wider implications might be. Suddenly the policy is far more open than ever intended. Network engineers are disconnected from application engineers, leading to inconsistent change requests. e.g. a typical policy might say:\n\u0026ldquo;Web servers -\u0026gt; App servers -\u0026gt; TCP/8000 - ACCEPT\u0026rdquo;\nNo problems, except then a change request comes through for:\n\u0026ldquo;Subset(web servers) -\u0026gt; Subset(app servers) -\u0026gt; TCP/8001\u0026rdquo;\nSo what do you do? Add a new rule? Or update the previous rule to also allow 8001? If you add a new rule, chances are you\u0026rsquo;ll probably get another request come through next week, asking to add TCP/8001 access to more of the app servers. An experienced engineer will know what needs to be done. But a junior engineer will just keep adding to the sprawl. Network engineers don\u0026rsquo;t understand applications, and don\u0026rsquo;t challenge incorrect requests - e.g. I have seen so many firewalls where a rule will say something like \u0026ldquo;NMS Server -\u0026gt; Network Devices -\u0026gt; SNMP, SNMP-TRAP - ACCEPT.\u0026rdquo; It only takes a basic understanding of SNMP to know that the SNMP and SNMP-TRAP rules will never be in the same direction. Careless use of bi-directional rules. A request might say \u0026ldquo;Server A must be able to SSH to 10.0.0.0/8. All networks should be able to SSH to 10.0.0.0/8.\u0026rdquo; So the engineer adds this rule: \u0026ldquo;Server A, 10.0.0.0/8 -\u0026gt; Server A, 10.0.0.0/8 -\u0026gt; SSH - ACCEPT\u0026rdquo;. Can you see the problem? Now you\u0026rsquo;ve allowed 10.0.0.0/8 -\u0026gt; 10.0.0.0/8 SSH, which probably wasn\u0026rsquo;t what you wanted. Will things be better with future platforms for expressing policy? Maybe. I\u0026rsquo;m cautiously optimistic. They should provide better abstractions, and more flexible models. We should avoid the IP address problem, and clearer policy language might help avoid some implementation mistakes. But they still risk turning into a big pile of spaghetti.\n","permalink":"https://lkhill.com/using-firewalls-for-policy-has-been-a-disaster/","summary":"\u003cp\u003eAlmost every SDN vendor today talks about policy, how they make it easy to express and enforce network policies. \u003ca href=\"http://www.cisco.com/c/en/us/solutions/data-center-virtualization/application-centric-infrastructure/index.html\"\u003eCisco ACI\u003c/a\u003e, \u003ca href=\"http://www.vmware.com/products/nsx/features\"\u003eVMware NSX\u003c/a\u003e, \u003ca href=\"http://www.nuagenetworks.net/products/\"\u003eNuage Networks\u003c/a\u003e, \u003ca href=\"https://wiki.openstack.org/wiki/Congress\"\u003eOpenStack Congress\u003c/a\u003e, etc. This sounds fantastic. Who wouldn\u0026rsquo;t want a better, simpler way to get the network to apply the policies we want? But maybe it\u0026rsquo;s worth taking a look at how we manage policy today with firewalls, and why it doesn\u0026rsquo;t work.\u003c/p\u003e","title":"Using Firewalls for Policy Has Been a Disaster"},{"content":"Automated Root Cause Analysis promises a lot. High-end network monitoring systems promise that they can automatically isolate network problems, and only tell you about the thing that needs fixing. This sounds very enticing. Who wants a flood of alarms, when we could get just one alarm, telling us what we need to fix? But it\u0026rsquo;s not perfect, and you do need to pay attention to it.\nConsider this contrived network:\nWhat happens if the upstream link from the router fails?\nFrom the perspective of the NMS, all systems at that site are unreachable. A simple NMS that is unaware of topology will create 4 alarms - one for each of the router, the switches and the server. A smarter NMS will recognise that it only needs one alarm, for the router WAN link being unreachable (and therefore the whole site is offline). It will know that the switches and server are unreachable, but those alarms will be suppressed by the key incident.\nThis all sounds like a good idea. Why wouldn\u0026rsquo;t you want that?\nBut what if the NMS view of the network is incomplete? What might happen then?\nConsider the same network as above, but this time a new WAN router has been added, and the old one decommissioned. Now the network looks like this:\nThis might be because we\u0026rsquo;ve upgraded the old router, and moved to a new WAN link. The old router has now been shut down. What happens if the NMS doesn\u0026rsquo;t discover that new router for some reason - e.g. because it doesn\u0026rsquo;t have SNMP configured properly? Everything seems to tick along, and seems to be working. Traffic will be flowing, and users will think everything is fine. But what if Switch 1 now fails?\nNo alarms. NMS shows no new incidents. If we drill into the switch, it might show a status change, but it has not raised any new alarms. Why not?\nFrom the perspective of the NMS, it still thinks the path is via the old router. It knows that it can poll the switches and server, but it is still suppressing alerts for those devices, because it thinks the old router is still down. If we were watching a visual map, we would see the colour change for devices, but it won\u0026rsquo;t raise any new incidents.\nHow do we fix it? The key is to pay attention to all incidents in your NMS, and make sure that old incidents are properly resolved. The NMS would still have an older incident, which might have been closed manually. You need to properly investigate incidents, and wherever possible, they should be closed automatically, by the NMS detecting that the issue is now resolved.\nYou also need to pay close attention to your topologies, and make sure they are correct, and show redundant paths. Finally make sure that new devices do show up in your NMS. Auto-discovery is good, but it\u0026rsquo;s not infallible. Pay attention to these smaller details, and you won\u0026rsquo;t get caught out by a site going offline, and not raising alarms.\n","permalink":"https://lkhill.com/root-cause-analysis-its-not-perfect/","summary":"\u003cp\u003eAutomated Root Cause Analysis promises a lot. High-end network monitoring systems promise that they can automatically isolate network problems, and only tell you about the thing that needs fixing. This sounds very enticing. Who wants a flood of alarms, when we could get just one alarm, telling us what we need to fix? But it\u0026rsquo;s not perfect, and you do need to pay attention to it.\u003c/p\u003e","title":"Root Cause Analysis - It's Not Perfect"},{"content":"BYOD policies sound alluring. No more forced use of a crappy old corporate laptop - \u0026ldquo;hey look, we\u0026rsquo;ll let you choose whatever you want!\u0026rdquo; But I think it is a way to shift the cost burden over to employees. It will be done slowly, over several years, and we\u0026rsquo;ll welcome it. But it will lead to employees carrying more costs. I guess we should be careful with what we wish for.\nIn my teens I spent many years working in the produce \u0026amp; butchery departments at a local supermarket. When I started out, the contracts still had the last vestiges of union-dominated times. So we got paid allowances for laundry, extra allowances if we\u0026rsquo;d passed some school exams, higher rates for overtime, meal allowances, etc. During the years I was there, these were eroded. Each year they gave us pay rises that were nominally higher than inflation, and yet another allowance was \u0026lsquo;incorporated\u0026rsquo; into my wages. Sometimes allowances would remain for older employees. When I left, I was being paid significantly more than new employees, in part because I still had several extra allowances.\nI think we\u0026rsquo;ll see the same thing with BYOD programs. I think it will go like this:\nAnnounce BYOD program, employees to be paid non-taxable monthly allowance New policy: Wage rise to cover BYOD, now incorporated into your wages BYOD line item disappears for new employees BYOD line item disappears for existing employees After a few years, employees will be expected to provide their own devices. Just the same as the way you pay for your own clothes, and your own transport to work.\nThis is in part due to changing expectations. Most people now have their own smartphone, and don\u0026rsquo;t want to carry multiple devices. If they\u0026rsquo;ve got the cash, they buy a much better laptop than the typical aging corporate laptop, bogged down with 7 different \u0026lsquo;security agents.\u0026rsquo; It also ties into the broader trend, where consumer-grade products are better than \u0026rsquo;enterprise\u0026rsquo; products..\nBut you should know why businesses are doing it. It\u0026rsquo;s about money. You can ignore all the other guff about \u0026ldquo;better workplaces, attracting talent, personalisation, blah blah blah.\u0026rdquo; Yes, there are additional savings due to lower rates of \u0026rsquo;lost\u0026rsquo; devices, and I don\u0026rsquo;t begrudge anyone that. But if they can get you to pay for your own laptop, why wouldn\u0026rsquo;t they? If your company expects you to provide your own devices, make sure they\u0026rsquo;re paying you for it.\nTo be clear though - I\u0026rsquo;m not against BYOD, and I\u0026rsquo;d prefer to operate in that sort of environment. For the last few years, I\u0026rsquo;ve worked for places where I can manage my devices as my own. This was originally with devices paid for by my employer, but that\u0026rsquo;s now changing. This model suits me well, as I can choose the devices that suit my work style - my needs are different to those who stay in one place all the time.\n","permalink":"https://lkhill.com/byod-just-another-money-grab/","summary":"\u003cp\u003e\u003ca href=\"http://en.wikipedia.org/wiki/Bring_your_own_device\"\u003eBYOD\u003c/a\u003e policies sound alluring. No more forced use of a crappy old corporate laptop - \u0026ldquo;hey look, we\u0026rsquo;ll let you choose whatever you want!\u0026rdquo; But I think it is a way to shift the cost burden over to employees. It will be done slowly, over several years, and we\u0026rsquo;ll welcome it. But it will lead to employees carrying more costs. I guess we should be careful with what we wish for.\u003c/p\u003e","title":"BYOD: Just another money-grab?"},{"content":"If you\u0026rsquo;re just starting out working with \u0026lsquo;Enterprise\u0026rsquo; products, you may not have come across Support Lifecycles. It\u0026rsquo;s important to know what these are, and how it affects you. They can have both a positive \u0026amp; a negative impact on when and why you choose to upgrade systems.\nWhat Are Support Lifecycles? Developers would like to only support the latest version. But customers can\u0026rsquo;t/won\u0026rsquo;t always run the latest version. They need to know that they can expect a certain level of support for the version they\u0026rsquo;re running. As a compromise, software vendors will publish a support lifecycle policy. This will outline the levels of support a product gets, from new product introduction, through to being superceded, and finally moved to end of support. Typical phases include:\nGeneral Support: Product is in General Availability phase, and is fully supported. You can log support cases, search KB articles, and expect both functionality enhancement and bugfix patches. The current product version will always be in this phase, and typically 1-2 major versions behind will also be included. Limited Support: You can log a support case, and we\u0026rsquo;ll try to help, but we\u0026rsquo;re not planning any new patches, and you\u0026rsquo;ll probably get a suggestion to upgrade. You might get lucky and get critical security patches, but don\u0026rsquo;t count on it. Older software versions get moved here as they are superceded. End of Support: You can still search through the KB yourself, but don\u0026rsquo;t ask us for help: We\u0026rsquo;ll tell you to upgrade. Vendors do vary slightly in their approaches, and it\u0026rsquo;s worth knowing the differences. You need to know how long you can expect a new product to be supported for, and what happens as it moves out of General Support. Here\u0026rsquo;s some examples for Cisco, VMware, Microsoft, Check Point.\nYou will be able to look up the current status of various product versions - e.g. VMware publishes this matrix. Note that sometimes the End of Support date for a product is not yet known. This might be because they don\u0026rsquo;t have firm plans for the next version yet. In those cases they\u0026rsquo;ll probably give you a minimum length of time the product will be supported for - it can always be extended.\nAny good software vendor should be publishing this information freely to all customers. You should not need a support contract to find this information. As such, there is no excuse for getting caught out when products you use go end of support.\nIs it an excuse to force me to upgrade? Yes and no. Vendors need to choose how to focus their efforts, and can\u0026rsquo;t be expected to support old software forever. They don\u0026rsquo;t want to maintain huge numbers of code branches - at some point customers have to upgrade, or lose support. It\u0026rsquo;s not unreasonable to expect to upgrade when the vendor has since released several new versions. Of course, you don\u0026rsquo;t have to upgrade: You can continue using your existing featureset.\nIt is a problem if you need to upgrade too frequently. That\u0026rsquo;s why \u0026lsquo;Enterprise\u0026rsquo; software companies usually commit to a minimum support period, often 3-5 years. Consumer software companies will have a much shorter support lifecycle.\nBut you can also use these policies to your advantage - either to get the vendor to properly support your version, or to help you get internal buy-in for a planned upgrade.\nLet\u0026rsquo;s say you\u0026rsquo;re having a problem with version 5.x, and the latest version is 6.x. The default response from Support is often \u0026ldquo;Upgrade to 6.x.\u0026rdquo; But if you can point to the official support policy which says that 5.x is still fully supported, you can force the vendor to properly support your version.\nOr imagine you\u0026rsquo;re running ESX 4.1. You\u0026rsquo;ve been wanting to upgrade to ESXi 5.5 for a long time, because you want to be able to use the web client from your Mac. But you haven\u0026rsquo;t been able to get the internal buy-in you need. \u0026ldquo;Why should we upgrade? 4.1 does everything we need!\u0026rdquo; Well, earlier this year 4.1 went End of General Support. Now you can add this to your upgrade business case \u0026ldquo;We need to stay on a fully supported platform.\u0026rdquo;\nLine in the Sand There\u0026rsquo;s one other situation where support lifecycles are useful - when you\u0026rsquo;re indirectly affected by them. Imagine you\u0026rsquo;re running a popular website, and you\u0026rsquo;re trying to do your best to maintain cross-browser compatibility. It\u0026rsquo;s getting harder and harder to support browsers that are more than 10 years old. There\u0026rsquo;s a lot of amazing new features you want to use, but it\u0026rsquo;s hard to gracefully degrade with old browsers that don\u0026rsquo;t support them. This isn\u0026rsquo;t just functionality either - it might be security-related, such as wanting to drop SSLv3 support.\nIf you had a core of clients that still use Windows XP with Internet Explorer, you couldn\u0026rsquo;t completely ignore them. Clients could say \u0026ldquo;Look, it\u0026rsquo;s still a Microsoft-supported platform.\u0026rdquo; But now that Microsoft\u0026rsquo;s ended XP support, users can\u0026rsquo;t keep using that line. They can keep using XP, and they can complain that your site doesn\u0026rsquo;t properly support them, but you\u0026rsquo;ve got the backing to say \u0026ldquo;That platform is no longer supported. You need to upgrade to something written within the last 5 years.\u0026rdquo;\nCutting off old versions means lets us do things like code websites to modern standards and enforce higher minimum security settings. This improves the overall health \u0026amp; stability of the Internet. Support Lifecycles can act as a line in the sand - it might mean you drag out support longer than you\u0026rsquo;d like, but once that line is crossed, you can move on. Never-ending backwards compatibility comes at a huge cost in time and effort. At some point you need to cut those old systems adrift. Could CloudFlare have disabled SSLv3 globally if Windows XP was still supported?\nKnow what the support policies are for your key software. Understand why they exist, and figure out how to use them to your advantage.\n","permalink":"https://lkhill.com/in-praise-of-support-lifecycles/","summary":"\u003cp\u003eIf you\u0026rsquo;re just starting out working with \u0026lsquo;Enterprise\u0026rsquo; products, you may not have come across Support Lifecycles. It\u0026rsquo;s important to know what these are, and how it affects you. They can have both a positive \u0026amp; a negative impact on when and why you choose to upgrade systems.\u003c/p\u003e","title":"In Praise of Support Lifecycles"},{"content":"Shellshock was released a little over a month ago, to wide predictions of doom \u0026amp; gloom. But somehow the Internet survived, and we lurch on towards the next crisis. I recently gave a talk about Shellshock, the fallout, and some thoughts on wider implications and the future. The talk wasn\u0026rsquo;t recorded, so here\u0026rsquo;s a summary of what was discussed.\nBackground: NZ ISIG: Keeping it Local The New Zealand Information Security Interest Group (ISIG) runs monthly meetings in Auckland and Wellington. They\u0026rsquo;re open to all, and are fairly informal affairs. There\u0026rsquo;s usually a presentation, with a wide-ranging discussion about security topics of the day. No, we don\u0026rsquo;t normally discuss \u0026lsquo;picking padlocks, debating whose beard or ponytail is better or which martial art/fitness program is cooler.\u0026rsquo;\nAttend enough meetings, and sooner or later you\u0026rsquo;ll be called upon to present. I was \u0026lsquo;volunteered\u0026rsquo; to speak on Shellshock, about a month after the exploit was made public. I didn\u0026rsquo;t talk about the technical aspects of the exploit itself - instead I explored some of the wider implications, and industry trends. I felt the talk went well, mainly because it wasn\u0026rsquo;t just me talking: everyone got involved and contributed to the discussion. It would be a bit meaningless to just give you the slides. Instead I\u0026rsquo;ve written up the talk into a blog post format, and tried to incorporate some of the points that came up during the talk.\nShellshock: Bigger than Heartbleed? Was it all over-blown? A new class of attack? Loss of Diversity vs Centralised Control What\u0026rsquo;s Next? Have big OSS users been getting a free ride? It will happen again: What can we do? Closing thoughts Shellshock: Bigger than Heartbleed? As is the current style, Shellshock was released to great fanfare, with a catchy name, and Doomsday-style headlines. A representative sample:\nEl Reg:\nPatch Bash NOW: \u0026lsquo;Shellshock\u0026rsquo; bug blasts OS X, Linux systems wide open\nBBC:\nShellshock: \u0026lsquo;Deadly serious\u0026rsquo; new vulnerability found\nNew Zealand Herald:\nShellshock: Bash bug \u0026lsquo;bigger than Heartbleed\u0026rsquo;\nEven this from CNN Money:\n\u0026lsquo;Shellshock\u0026rsquo; can hack lights in your house\nYes, really.\nWe had all the ingredients for a right doozy of a bug: widespread deployment of vulnerable software, easy to exploit, high visibility. We saw statistics coming out of Akamai, CloudFlare, Incapsula, etc showing a quick ramp-up in attack traffic, from many sources.\nWe then started seeing reports of compromised systems:\nYahoo hacked using Shellshock flaw\nIt looked like it was going to be carnage. Wide-spread attacks, worms, major meltdowns, the ingredients were there\u0026hellip;and yet it didn\u0026rsquo;t quite pan out that way. We\u0026rsquo;re still here, the Internet still works, and it turns out that the Yahoo compromise was just another bug:\nYahoo says attackers looking for Shellshock found a different bug\nWas it all over-blown? So was all the hype over-done? Yes, it probably was. It was certainly a nasty bug, but it had several factors that limited its impact:\nIt was relatively easy to filter via IPS/ADC It was reasonably simple to patch, without requiring any service restarts Bash isn\u0026rsquo;t actually all that widely used on custom appliances - they tend to use more limited shells Applying a simple code patch is a lot easier than fixing application logic flaws But perhaps the hype also helped. If bugs are only known as something forgettable like CVE-2002-0649, it doesn\u0026rsquo;t get any attention. Give it a memorable name and a logo, and suddenly the public starts talking about it. Maybe it\u0026rsquo;s like Hurricanes/Cyclones? They all have names, and people take them seriously. We can connect to \u0026ldquo;Hurricane Lucy\u0026rdquo; far better than we could to \u0026ldquo;Tropical Storm 2014-10-482.\u0026rdquo; Perhaps we need to have a policy of naming major exploits, with the first of each year starting with A, the second with B, etc?\nThis hype helped spread the message, and encouraged people to take action to defend themselves. It\u0026rsquo;s hard getting approval to patch an obscure bug, but if your management is reading about it in the paper, they want to know you\u0026rsquo;re doing something about it.\nA new class of attack? There was some talk of this being a \u0026rsquo;new class of attack.\u0026rsquo; But it\u0026rsquo;s not really - I see it as just another Injection Attack. The OWASP Project defines this as:\nInjection flaws occur when an application sends untrusted data to an interpreter\nYep, sounds like what we\u0026rsquo;ve got here. The same old story: Don\u0026rsquo;t blindly trust what users tell you. Sanitise it first.\nThe good news here is that it\u0026rsquo;s pretty easy to patch a code flaw like this. Fixing SQLi logic flaws across many applications is a lot tougher.\nThe bad news is that Bash is probably going to be rich source of further exploits, now that some light has been thrown upon 25-year old code.\nLoss of Diversity vs Centralised Control The main commercially available banana today is the Cavendish. Plants are not just the same type - they are genetic clones. This gives consistent quality, and we can finely tune our growing processes. But this comes at a risk: A single disease could wipe out the entire industry. That\u0026rsquo;s pretty much what happened with the earlier Gros Michel.\nI\u0026rsquo;m grappling with this in the context of software. Historically we had a wide variety of custom software, but now we prefer to use pre-written components and libraries. There\u0026rsquo;s no point in everyone trying to write their own TCP/IP stack - it\u0026rsquo;s better to focus on areas of differentiation. Look at how network gear is changing: We\u0026rsquo;re moving from custom code, to blended systems, and on to almost completely open switch operating systems.\nBut what does this mean? We end up with a lot of shared code, and hopefully that\u0026rsquo;s better quality code. Fewer crappy pieces of code, where developers have tried to create their encryption systems. But when that shared code has issues, it affects almost everything. An exploit in an underlying library or utility could leave almost all our systems vulnerable.\nWe\u0026rsquo;re also seeing a concentration of services on a few large cloud providers. If they have issues (security or otherwise), it has a wide impact.\nConsider CloudFlare as an example. A non-trivial amount of Internet traffic is routed via CloudFlare systems. If we find an exploit that affects their systems, it could lead to large-scale compromise. But the flip-side of that is that they can ensure that attacks are mitigated where possible, and secure configurations are the default. Look at their recent response to POODLE: they disabled SSLv3 by default. It takes a lot of time \u0026amp; effort to make those changes across many different systems - but because they act as a central choke point, they could quickly make the change.\nWhat\u0026rsquo;s better: Diversity or Control? No easy answer here, and maybe it depends on your scale.\nWhat\u0026rsquo;s Next? I had been going to say that SSL would be the next one to get hit\u0026hellip;and then POODLE came along.\nPeople used to attack Windows, because it was easy. But when that got tightened up, the attacks moved to the applications. They then moved to the plugins (Flash, Java, etc). People have been banging on obvious daemons like OpenSSH and Apache for years. Most of the issues have been worked out there. Now the attacks are moving to the libraries and other utilities called by those systems.\nIt needs to be something in widespread use, and something that probably hasn\u0026rsquo;t had enough eyes looking at it. That means probably something Open Source again. Sorry.\nMy pick: Compression or image handling libraries. Who\u0026rsquo;s up for a sweepstake?\nHave big OSS users been getting a free ride? We know the line about \u0026ldquo;Many eyes make all bugs shallow,\u0026rdquo; but we also know that a lot of code simply doesn\u0026rsquo;t have many eyes looking at it. Open Source is wonderful, but it\u0026rsquo;s impractical for most businesses to do a line-by-line review of all the code they depend upon: there\u0026rsquo;s just too much of it.\nWhat about the big players in the market, that have built enormous businesses on top of Open Source Software? Shouldn\u0026rsquo;t they be returning something to the community, by putting in resources where others can\u0026rsquo;t?\nTurns out that some of them are. Heartbleed was discovered by Neel Mehta, doing a line-by-line review of OpenSSL. Google\u0026rsquo;s Project Zero has given some of the smartest hackers free rein to find \u0026amp; fix bugs wherever they can, even if it\u0026rsquo;s not software Google has developed or is even using. No doubt they will come up with some more major bugs that will cause panic, but they should improve the overall health of the ecosystem.\nFacebook also gives back at code.facebook.com. It\u0026rsquo;s not security-specific, but they are clearly contributing back to the Open Source communities they are built on.\nBut Amazon? So far as I can tell, Amazon doesn\u0026rsquo;t feel it\u0026rsquo;s necessary to contribute back. I guess the freedom of Open Source Software also includes the freedom to not contribute.\nIt will happen again: What can we do? We can\u0026rsquo;t completely stop these things happening again. We can hope to A) reduce the chances of it affecting us, B) limit the potential damage, and C) responding to events.\nThere\u0026rsquo;s a variety of techniques for trying to minimise risk (configuration, limit attack surface, etc) and limiting damage (containerisation, control inter-system communications, etc).\nBut the area I want to look at is response. I\u0026rsquo;ve seen several articles talking about how we need to ensure our responders aren\u0026rsquo;t burnt out from dealing with POODLE, Heartbleed, Shellshock, etc. The problem is that there\u0026rsquo;s so much manual effort being expended. I\u0026rsquo;m still seeing people doing this:\n1 2 3 4 5 6 7 8 lhill$ scp bash-4.1.2-15.el6_5.2.x86_64.rpm lhill@server: bash-4.1.2-15.el6_5.2.x86_64.rpm 100% 905KB 85.0KB/s 00:00 lhill$ ssh server Last login: Wed Oct 15 14:31:50 2014 from 192.168.225.1 [lhill@server ~]$ sudo rpm -Fvh bash-4.1.2-15.el6_5.2.x86_64.rpm Preparing... ############################ [100%] 1:bash ############################ [100%] [lhill@server ~]$ logout This has to stop. We have to stop Feeding the Machine with Human Blood. If you\u0026rsquo;re still manually rolling out patches, you have to look at your systems for managing change. You have to figure out how you can quickly and automatically test \u0026amp; deploy changes. This has massive extra benefits: It\u0026rsquo;s not just security.\nClosing thoughts Shellshock wasn\u0026rsquo;t as bad as it could have been, for a variety of reasons - some technical, some marketing. It was just another widespread vulnerability, but it looks like the Internet is still standing.\nThese things will happen again, and probably sooner rather than later. It is pleasing to see that Good™ people are actually looking at these things though. It\u0026rsquo;s not just the bad guys. But that means that we will see more public exploit disclosures, and we will need to reconfigure hundreds/thousands of systems quickly. Look at your systems for managing the rapid rollout of change - this has much wider benefits than just security.\n","permalink":"https://lkhill.com/shellshock-one-month-on/","summary":"\u003cp\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29\"\u003eShellshock\u003c/a\u003e was released a little over a month ago, to wide predictions of doom \u0026amp; gloom. But somehow the Internet survived, and we lurch on towards the next crisis. I recently gave a talk about Shellshock, the fallout, and some thoughts on wider implications and the future. The talk wasn\u0026rsquo;t recorded, so here\u0026rsquo;s a summary of what was discussed.\u003c/p\u003e","title":"Shellshock: One Month On"},{"content":"I have recently started working with Check Point products again, after a 5-year break. This has given me a different perspective on how they are progressing. It has been disappointing to see that they\u0026rsquo;re still suffering from some of the same old bugs. Some of the core functionality is now showing its age, and is no longer appropriate for modern networks.\nWhen you’re using a product or technology on a regular basis, it can be hard to accurately gauge progress. Maybe it feels like there are only incremental changes, with nothing major happening. But then you come across a 5-year old system, and you realise just how far we’ve come. If you don’t think iOS is changing much, find some videos of the first iPhones.\nThe opposite is when it feels like there are many regular enhancements…but when you step back you see that core product issues are not dealt with. It can be hard to see this when you’re working at the coal-face. You need to step away, work with other products and systems, then return.\nThat’s what I’ve done with Check Point recently. Through much of the 2000s, I did a huge amount of work with Check Point firewalls. But for the last 4–5 years, I didn’t log into SmartDashboard once. I changed jobs recently, and now I’m up to my elbows in firewall policy changes again.\nStepping away from Check Point for a few years has given me a different perspective, and I’m disappointed by what I’ve seen. I was expecting to see more progress, but it doesn’t seem to have happened.\nFunctionality Challenges The biggest issue I have right now is that the management interfaces seem to actively resist automation. There are some methods for scripting bulk changes, but it is still too limited, and unsuitable for use by regular admins. Too many change requests are still of the form “Go to about rule 500. Add a new rule with this source and destination. Install policy.”\nThis is the way it always was, and I thought that was OK in 2002. But in the years since I’ve learnt the value of automation, and repeatability.\nThe default SmartView Tracker (aka Log Viewer) is far better than the options available with most other firewalls, but it really struggles under load. Files still roll over at 2GB. That seemed like a large file in 2001, but we moved on. SmartLog should be the default for all systems now - I don’t know why Check Point still has the traditional logging systems.\nOPSEC is still poorly documented, and still a major pain to try to integrate with other non-Check Point products.\nSame Old Bugs There are still too many core product bugs that haven’t been properly resolved. Yes, there are many extra features that have been added, but I expect that core functionality should be nailed by now. Problems I’ve seen include:\nManagement clients crash once or twice per week. Still. ClusterXL is still flaky, with clusters going into split brain. This is not a new feature - it has been around for well over 10 years. Firewalls stop logging remotely, and need a cprestart to fix. I have logged several cases about this over the years, but Check Point seems unable/unwilling to fix it. CPD \u0026amp; FWD memory leaks. Still. It seems that every single patch includes fixes for memory leaks in CPD. But it still leaks. File corruption on gateways. How does that happen? NIC drivers - still far too many driver issues causing poor throughput/high CPU. IPS - this is still untrustworthy. Updating signatures is still very scary, with good reason - there’s still a high risk of blocking legitimate traffic. All these are core features, and should be well under control. It is disappointing to see the same bugs you first saw more than 10 years ago.\nIt’s Not All Bad Some things have improved - e.g. Check Point manuals are now available in HTML as well as PDF format for new releases. KB articles are restricted, but they always were.\nGaia is showing promise too. In the early days it seemed like a good idea being able to choose your underlying OS to run Check Point on. But now we want to remove variability, so consolidating on Gaia is a good thing.\nIdentity Awareness (allowing rules to be defined using Users, not IP Addresses) seems to work pretty well. This gives Check Point a chance of competing against Palo Alto.\nI hear that R80 (the next major release) will include major overhauls of the underlying management systems. This should help with automation and stability. But the first few releases will be full of pain.\nWill it get better? Yes, Check Point will get better in future. But will it develop at the pace I want to see, and will they resolve core issues? Or will they just add more pointless “blades” to try to extract more licensing revenue? I’m not confident.\n","permalink":"https://lkhill.com/disappointed-with-check-point/","summary":"\u003cp\u003eI have recently started working with Check Point products again, after a 5-year break. This has given me a different perspective on how they are progressing. It has been disappointing to see that they\u0026rsquo;re still suffering from some of the same old bugs. Some of the core functionality is now showing its age, and is no longer appropriate for modern networks.\u003c/p\u003e","title":"Disappointed With Check Point"},{"content":"Some people are corporate survivors, sticking with one company for decades. Some people move around when it suits, while others would like to move, but are fearful of change. Here’s a few things I’ve learnt about adapting to new work environments. It’s not that scary.\nCorporate Survivors We’ve all seen the people who seem to survive in a corporate environment. They seem to know everyone, and almost everything about the business. Return to a company after 10 years, and they’re still there. Somehow they survive, through mergers, acquisitions, and round after round of re-organisation. But often they seem to be doing more or less the same job for years, with little change.\nWhy Do People Stay? There’s four possible reasons for staying at a job for a long time:\nYou’re really happy with what you do, and you’re well looked after. You just don’t care. You come to work to eat your lunch and talk to your friends. You don’t care how you’re treated, or what work you do, as long as you get paid. This is the only possible job you can get, due to location/skills/whatever. You’re comfortable where you are, and you’re scared of moving, scared of what a new job might bring. The first reason is good, and you should make the most of it. If it’s the second reason, I hope I don’t have to work with you. I can’t help with the third. But you should never feel stuck because of the last reason. Change is not that hard.\nStarting a New Job I’m not a corporate survivor. I’ve moved jobs for professional and personal reasons - e.g. moving countries. I’ve also been a contractor and a consultant, so I have a reasonable amount of experience with working in ‘new’ environments. Here’s a few of the things I’ve learnt along the way:\nYou’re not expected to know everything People don’t expect you to know everything straight away. You’re new, and everyone knows it. If you’ve got questions, ask. People will help. Don’t ask the same question twice though (That one applies to your whole life).\nYou’ve been hired for a certain set of skills and attitudes, but it is well understood that you won’t know everything about every system in use.\nThat said, you should be able to figure out similar systems - e.g. If you’ve worked with one proxy server, then it shouldn’t take long to figure out how another one works. The concepts are the same, you just need to figure out the implementation specifics. That’s what manuals are for.\nBreathe through your nose For the first few days \u0026amp; weeks, focus on listening to what’s going on, and read any manuals or docs or procedures you can find. Pretty soon you’ll figure out how things work. By listening more than talking, you’ll also prolong the image that you know what you’re doing :D\nThe tech will vary (but not that much) All businesses like to tout how unique they are, but the practical reality is that you keep coming across the same sets of technologies. It might not all be the same, but it mostly will be, and it won’t take long to pick up the differences. Don’t be afraid of it.\nEtherealmind’s written more about this: Rant: You Are Not A Precious Snowflake\nConclusion You don’t need to stay in a job that makes you unhappy. Yes, there are prizes for corporate longevity, but they are pretty crappy. Who really needs a gold Casio anyway? If the time is right, move on. Trust me, it’s not that scary.\n","permalink":"https://lkhill.com/dont-be-afraid-of-changing-jobs/","summary":"\u003cp\u003eSome people are corporate survivors, sticking with one company for decades. Some people move around when it suits, while others would like to move, but are fearful of change. Here’s a few things I’ve learnt about adapting to new work environments. It’s not that scary.\u003c/p\u003e","title":"Don't Be Afraid of Changing Jobs"},{"content":"HP\u0026rsquo;s SDN App Store has finally seen the light of day. This is intended to be a common platform for users and developers, to find and distributed real-world, practical SDN applications. Some of the launch apps include:\nNetwork Optimizer, for automated QoS for Lync Network Protector, for security \u0026amp; posture assessment LoadMaster - Load balancing It\u0026rsquo;s interesting to look at the price points for applications. They are certainly not $0.99 apps, but they are still cheaper than typical \u0026lsquo;Enterprise\u0026rsquo; software. I think it will take us a while to figure out what the right level of \u0026lsquo;value\u0026rsquo; is.\nHP has done well to put together a platform that developers can use to distribute SDN applications. It\u0026rsquo;s not an easy task to put together all of the back-end work required for something like this. It\u0026rsquo;s not simply hosting a website, it\u0026rsquo;s figuring out all the legal \u0026amp; financial implications, the support mechanisms, etc. There\u0026rsquo;s a lot of non-technical effort that goes into this.\nThe only challenge is that currently it is for SDN apps that use the HP VAN SDN Controller, which will limit the size of the market. I\u0026rsquo;m hoping that in future it will work with OpenDaylight. That will expand the addressable market, and will calm those worried about SDN just becoming another form of vendor lock-in.\nWhen the App Store first launched, it was not set up for non-US customers. Instead I got a message telling me to contact a local HP partner. Meh. Just more people to slow things down and clip the ticket. But this situation was quickly resolved - it now gets through to the \u0026ldquo;Enter your Credit Card\u0026rdquo; stage for me. I don\u0026rsquo;t get paid enough to be able to actually buy any of the apps, but it looks like it should go through. I\u0026rsquo;m pleased that was sorted out quickly.\nI will be keeping a close eye on the App Store, to see how it grows and develops. If we see good sales, to attract \u0026amp; maintain developers, and OpenDaylight integration: It Might Just Work.\n","permalink":"https://lkhill.com/hp-sdn-app-store-launches/","summary":"\u003cp\u003eHP\u0026rsquo;s \u003ca href=\"https://hpn.hpwsportal.com/catalog.html#/Home/Show\"\u003eSDN App Store\u003c/a\u003e has finally seen the \u003ca href=\"http://www8.hp.com/us/en/hp-news/press-release.html?id=1798074#.VDo0NymSyWE\"\u003elight of day.\u003c/a\u003e This is intended to be a common platform for users and developers, to find and distributed real-world, practical SDN applications. Some of the launch apps include:\u003c/p\u003e","title":"HP SDN App Store Launches"},{"content":"Utility, or Consumption-Based pricing models offer an interesting way of matching costs to revenues. But if they’re not managed well, customer costs could blow out just trying to keep the lights on. We\u0026rsquo;ve come to expect rapidly declining hardware prices. Have vendors realised their utility prices need to decline at a similar rate?\nI’ve been doing more architecture work over the last twelve months, and this has changed some of my thinking about technology. Previously I was only really interested in speeds \u0026amp; feeds, and technical capabilities. Scaling was only about how to add capacity - not what it would cost. When I looked at costs, it was just to shake my head at the ridiculous prices charged for things like a second power supply.\nBut now I find myself interested in things like cost curves, and trying to figure out how my costs will change as demand changes. The ideal is for their to be a clear relationship between costs \u0026amp; revenue, hopefully with costs growing at a slower rate than demand (and revenue).\nPreviously we had high upfront costs to buy hardware and software, and we aimed to amortise it over the life of the service. Our costs would grow in steps, slightly ahead of demand. When we needed more capacity, we’d buy more (or bigger) systems. That is now starting to change. In part due to the rise of virtual appliances, vendors are starting to offer consumption-based billing. This might come in the form of hourly/daily/monthly charges based upon usage, or licenses to unlock throughput - e.g. See Cisco’s ISR 4000 series. Matching costs to demand sounds good, seductive even. But these billing models trouble me.\nHardware gets cheaper…but we use more of it Historically we would buy systems, and run them at whatever capacity they were rated at. The price of the gear didn’t change depending on what utilisation we ran it at. The best we could hope for was a discount on standby gear. We paid an up-front capex cost, and on-going support costs. But the price didn’t vary based on how we used it.\nHardware capacity grew rapidly, following Moore’s Law. We knew we could upgrade our hardware in a few years, and the new boxes would be much more powerful. The problem was that our requirements tended to grow in line with capacity. Storage is a good example - hard drive capacity keeps getting cheaper, but we keep storing more stuff. So our total spend stayed about the same, just to keep the lights on.\nCustomers know this too. They expect continuing increases in capacity, for the same total spend - e.g. In the New Zealand ISP market, standard prices stay about the same, but bandwidth caps keep going up.\nIncremental Growth vs Step Changes Consider a log management system where you pay based upon volume of data stored. There’s two ways that this log volume goes up: Step changes, and Incremental growth. Step changes occur when you add new data sources. This should be associated with either increased revenue, or increased value from the log management system. But you also have incremental growth, just keeping the lights on. You can easily double your log volumes in 12 months…did your revenues double? Probably not. So it makes it hard to ask the boss for double the budget, right?\nEven small, regular price cuts aren’t enough AWS provides another example - they’re well-known for offering utility-based pricing. They’ve also been very vocal about regular price cuts. That should mean that the total spend required to meet organic growth should remain fairly flat. But it turns out they weren’t dropping prices as fast as they might have done. Google’s move earlier this year highlighted this, and re-adjusted the cost curve. Strong competition has forced all players into line here. What would have happened if that competition wasn’t there?\nWatch your pricing models Consumption-based billing definitely has a place. It can be a great way to try to get your costs to track well against your revenues. But remember that what your baseline load will constantly increase at a greater rate than your revenues. Make sure your that you’re telling your vendors that you expect to see continuing regular declines in per-unit costs. If they can’t give you that, look for alternative vendors or pricing models.\n","permalink":"https://lkhill.com/utility-based-pricing-troubles-me/","summary":"\u003cp\u003eUtility, or Consumption-Based pricing models offer an interesting way of matching costs to revenues. But if they’re not managed well, customer costs could blow out just trying to keep the lights on. We\u0026rsquo;ve come to expect rapidly declining hardware prices. Have vendors realised their utility prices need to decline at a similar rate?\u003c/p\u003e","title":"Utility-Based Pricing Troubles Me"},{"content":"We all know that you\u0026rsquo;re supposed to \u0026ldquo;Know Your Audience.\u0026rdquo; Doing so improves engagement, and avoids faux pas like \u0026ldquo;Suggested Tweets.\u0026rdquo; But recently I realised that this doesn\u0026rsquo;t have to be subtle. Drop hints early on in your presentation that you\u0026rsquo;ve taken the time to understand the audience - it can really lift the mood.\nSuggested Tweets - Just Say No Companies that obsess about the wrong kind of metrics think that all they need is to get their message repeated many times. So they give employees \u0026amp; partners a list of \u0026ldquo;suggested tweets.\u0026rdquo; These are pre-written Tweets that people can send out from their own Twitter accounts, to \u0026ldquo;generate buzz.\u0026rdquo; I have seen many companies do this, and it is overwhelmingly lame. It devalues the message, and devalues those who send out these \u0026ldquo;suggested tweets.\u0026rdquo;\nIn the lead-up to the recent Cisco UCS event, many members of the Cisco Champions program sent out the same set of tweets. When I see the same tweet from several people in my stream, it\u0026rsquo;s obvious what\u0026rsquo;s going on. If you\u0026rsquo;re running a marketing Twitter account, then yeah, I expect marketing messages. But if you\u0026rsquo;re a real person, and I\u0026rsquo;ve interacted with you before, then it is jarring to see that sort of message. It turns me away from that company/product. Check what Tyler Britten has said about companies sucking at social media:\nNow picture a group of people walking in the cafeteria and walking to their tables and all repeating the same few sentences over and over again. You and your group would quickly ignore them or even actively block them from sitting down.\nVMTyler: Why Your Company Sucks at Social Media\nI have no problems with people spreading a message about something cool \u0026amp; relevant that their company is doing. But it should be a personal, hand-crafted message, not the equivalent of standing on the street handing out flyers. That\u0026rsquo;s not what I\u0026rsquo;m looking for with the people I follow on Twitter.\nNFD8 - #SuggestedTweet - Huh? If you\u0026rsquo;re familiar with Tech Field Day events, you know that they\u0026rsquo;re tech-heavy events, with little marketing. The delegates do their best to keep the presenters honest, and don\u0026rsquo;t fall for the usual slogans. So if you were following the #NFD8 hashtag during Network Field Day 8, you might be forgiven for assuming someone had stolen our Twitter passwords:\nThe \u0026lt;redacted\u0026gt; that @BRCDcomm is doing with \u0026lt;redacted\u0026gt; will be the greatest thing since \u0026lt;redacted\u0026gt;! #SuggestedTweet #NFD8\n\u0026mdash; Tom Hollingsworth (@networkingnerd) September 11, 2014 What happened? Surely the NFD crew didn\u0026rsquo;t sell out?\nNah\u0026hellip;turns out that team at Brocade are pretty sharp, and had taken the time to understand their audience. At the start of the presentation, they handed out an agenda. Included on that was a list of \u0026ldquo;Suggested Tweets\u0026rdquo;\u0026hellip;.with a twist. Note the hashtag used there? It made it a bit of an in-joke, and not-so-subtle dig at those companies that use suggested tweets. By adding the hashtag, we could all have a laugh about it.\nThey even gave us \u0026ldquo;Not Suggested Tweets\u0026rdquo; just in case we weren\u0026rsquo;t buying their message:\nWhat’s @BRCDcomm smoking? They’re crazy if they think I’d do that with my network. #NotASuggestedTweet #NFD8\n\u0026mdash; Lindsay Hill (@northlandboy) September 11, 2014 I am very much over the Bacon + Unicorns BS, but Brocade did one other thing that showed connection to the audience. They gave us these notebooks, which are just perfect for \u0026rsquo;that\u0026rsquo; customer meeting:\nI was always going to be interested in what Brocade had to say, but these things gave me a clear sign that they weren\u0026rsquo;t just going to give another marketing presentation. (Aside: If you watch Dave Meyer\u0026rsquo;s presentation, I think we can all agree there was no marketing there).\nDetails Matter There are other ways of showing connection to your audience too - e.g. Iben at Spirent made a couple of comments that showed that he had been paying attention to the earlier NFD8 presentations. This immediately drew the audience in. It\u0026rsquo;s a bit like conferences that develop a running joke or theme - it shows that the presenter is in the here and now, not just delivering another canned presentation.\nIt\u0026rsquo;s well-known that understanding your audience helps you craft your message for greatest effect. You can focus on what they need, and skip the other stuff. But what I find interesting is that if you give out some obvious \u0026lsquo;clues\u0026rsquo; to show you\u0026rsquo;ve done your homework, it makes attendees sit up and pay attention. It lifts the engagement, and makes it feel much more like a real live conversation, not just a recorded presentation.\nWell done to all those presenters who work hard at these sorts of details. We notice.\nNote: Disclaimer: Spirent \u0026amp; Brocade were presenters at Network Field Day 8, and indirectly covered my costs to attend. They place no obligations upon me to write anything, and I do my best to remain neutral. I must admit that I am swayed by the unicorn notebook though. You\u0026rsquo;ll have to take that into account with anything I say about Brocade in future. ","permalink":"https://lkhill.com/knowing-your-audience-and-showing-it/","summary":"\u003cp\u003eWe all know that you\u0026rsquo;re supposed to \u0026ldquo;Know Your Audience.\u0026rdquo; Doing so improves engagement, and avoids faux pas like \u0026ldquo;Suggested Tweets.\u0026rdquo; But recently I realised that this doesn\u0026rsquo;t have to be subtle. Drop hints early on in your presentation that you\u0026rsquo;ve taken the time to understand the audience - it can really lift the mood.\u003c/p\u003e","title":"Knowing Your Audience...and Showing It"},{"content":"The Chassis Switch is Dead. For most networks, chassis-based switches are no longer appropriate due to cost, inflexibility and risk. I see this as similar to servers, in that server blade chassis are no longer appropriate for most organisations. The alternatives are already better for cost \u0026amp; flexibility. The real question is what our management model will look like for those alternatives.\nDead Collector: \u0026lsquo;Ere, he says he\u0026rsquo;s not dead. Leaf-Spine: Yes he is. Chassis: I\u0026rsquo;m not. Dead Collector: He isn\u0026rsquo;t. Leaf-Spine: Well, he will be soon, he\u0026rsquo;s very ill. Chassis: I\u0026rsquo;m getting better. Leaf-Spine: No you\u0026rsquo;re not, you\u0026rsquo;ll be stone dead in a moment.\n(With apologies to Monty Python)\nBlade Servers… In the late 1990s, and early 2000s, server buying patterns changed significantly. Previously we had a few “Big Iron” Unix systems, but cheaper Intel-based systems changed the economics dramatically. This lead to a rapid sprawl in the number of physical servers.\nIn the second half of the 2000s, server blades appeared as a seductive answer. They promised simpler management of pools of systems, greater density, better efficiencies, and operational cost savings. Vendors promised long term “investment protection”, assuring us that we could keep the chassis, and upgrade blades and I/O modules over the years. They told us that it didn’t matter if we didn’t know what our growth patterns would look like, blades would provide easy scaling.\nSounds good, right?\nIt didn’t work out that way. Server virtualisation dramatically changed the way we use servers. We needed high-density servers, and fewer of them. The blade server form factor didn’t work well for that.\nSo now many businesses have half-filled chassis, and they will never fill them. They’ll periodically put higher-capacity blades in (partly because hypervisor licensing pushed us that way). The cost of deploying high-memory blades has been relatively higher than in 1U or 2U servers…and customers can only buy blades from one vendor. Just how did the negotiation go with the vendor when you wanted to buy the second round of blades? You end up needing to provide a lot of space, power and cooling, for something that turned out to be expensive to operate and upgrade.\nSome customers found that the investment protection wasn’t all it was supposed to be, as newer high-power blades required new chassis.\nUnless you’re buying many racks of servers at a time, blade chassis are not the right answer. 1U or 2U servers are a much better choice for providing scale and flexibility.\nWhat about Switch Chassis Then? I believe the same applies to switches. For many years, we used large chassis-based architectures in part due to network design constraints. See some of @etherealmind’s writing here and here.\nBut as Greg points out, we now have other options. What’s wrong with the chassis-based switches though? I see the issues as risk, flexibility and cost:\nRisk: If you have a small number of chassis at the heart of your network, any upgrade has a huge impact, and carries massive risk. You have a large failure domain. You probably also can’t afford a realistic test lab. Flexibility: Because of the high initial price, there’s an assumption that you will need to maintain this platform in your network for at least 5–7 years. What happens over the next few years as bandwidth goes up and new hardware gets released? You can’t easily change to a cheaper/faster/better alternative, because you need to keep paying off your investment. You can only use the new line cards and supervisors that your vendor releases. The chassis manufacturers do some amazing things to keep old platforms going, but at some point you need to declare the parrot dead. Commercial tension: If you have a half-populated chassis, what are you going to fill it with? You’ve only got one choice, and the vendor knows it. Vendors will talk about investment protection, but whose investment gets protected? Yours, or theirs? They’re not all bad This is not to say that they are never appropriate. If you have very high port densities, and are purchasing 10+ mostly populated chassis up front, they can be a good option. But most small-medium customers will never need that many ports, and are more likely to only ever buy 2 or 4 chassis.\nBut what about all our coming growth?\nWhere’s your growth coming from? More physical ports, or higher bandwidth per port? If you’re going to need a lot more physical ports in the next 12 months, then a chassis may be appropriate. But for most Enterprises, it’s about fewer ports, running at higher bandwidth levels. Traffic patterns have shifted, and will continue to shift as we figure out better ways of running networks. Isn’t it better to have a design that lets you adapt, rather than staying stuck with a rigid design?\nWhat’s The Alternative Then? Leaf-spine architectures seem to be the best alternative. Depending upon your application requirements, you might run either L2 ECMP or L3 ECMP. Controller-based networks \u0026amp; network overlays are re-shaping the picture here too.\nAdvantages of this approach:\nLower risk/impact during outages \u0026amp; upgrades. Flexibility - can change vendors/models as better alternatives come along. Can replace equipment on 2–3 year lifecycle - similar to servers. Buying a lab network is affordable There is one wrinkle: chassis-based switches have fewer management points than using many smaller switches. What’s the best way to operate a leaf-spine network?\nTraditional protocols and manage as individual devices - hopefully with some automation! Controller-based fabrics using something like Big Cloud Fabric or OpenDaylight A distributed control system, such as something like Pluribus is doing? The first option is a viable, proven approach that will give you flexibility, but it does have some limitations. There was a lot of discussion amongst Network Field Day 8 delegates about which of the alternative approaches provides a better long-term path. Like most people, I’m still trying to figure it out. I plan on writing more in future about some of the alternatives, their advantages, and their disadvantages.\n","permalink":"https://lkhill.com/the-chassis-switch-is-dead/","summary":"\u003cp\u003eThe Chassis Switch is Dead. For most networks, chassis-based switches are no longer appropriate due to cost, inflexibility and risk. I see this as similar to servers, in that server blade chassis are no longer appropriate for most organisations. The alternatives are already better for cost \u0026amp; flexibility. The real question is what our management model will look like for those alternatives.\u003c/p\u003e","title":"The Chassis Switch is Dead"},{"content":"The term “Single Pane of Glass” became something of a running joke during Network Field Day 8. The term has become over-used \u0026amp; abused, and it’s time we stopped using it. Time to find better terminology.\nAccording to TechTarget:\nA single pane of glass is a phrase used by information technology (IT) marketers to describe a management console that integrates information from multiple components into a unified display.\nAll my information in one place? Sounds good, right? I like Single Panes of Glass. I like them a lot. In fact, I like them so much, I have several. Vendors like them too, so they’ve all got one.\nAnd there’s the rub. The term is over-loaded, with every vendor using the term to describe their management console that can be used for managing all of their systems. The problem is that most vendors only see things from the perspective of their products. They don’t see things from the wider perspective of an organisation that is trying to use many different products to achieve business outcomes.\nSo the network vendor has a Single Pane of Glass (SPoG) that manages all the network, the MDM vendor has their SPoG for managing mobile devices, the OS maker has their SPoG for managing server systems…but very few actually deliver on their promise. They consolidate parts of the overall organisation, but they don’t bring everything together.\nVendors need to stop pretending that their system is a magic cure-all. Sure, it’s a great management console for your systems. But it isn’t a Single Pane of Glass. Time for us to find some better terms\n","permalink":"https://lkhill.com/no-more-single-panes-of-glass/","summary":"\u003cp\u003eThe term “Single Pane of Glass” became something of a running joke during \u003ca href=\"http://www.techfieldday.com/events/nfd8\"\u003eNetwork Field Day 8\u003c/a\u003e. The term has become over-used \u0026amp; abused, and it’s time we stopped using it. Time to find better terminology.\u003c/p\u003e","title":"No More Single Panes of Glass"},{"content":"ThousandEyes is a network monitoring company that provides application performance visibility across the Internet. They don\u0026rsquo;t just show how an application is performing, but can identify where across the Internet issues are occurring. Ethan Banks has written up some of the use cases. Recently I realised I could start thinking of them as a \u0026ldquo;NOC for the Internet.\u0026rdquo;\nI was fortunate enough to attend Network Field Day 8, where ThousandEyes was one of the presenters. During their presentation Mohit Lad gave a demonstration of using ThousandEyes to investigate performance issues:\nThe problem with troubleshooting issues across the Internet is that it’s hard to get the complete visibility you need to track down where issues are happening. ThousandEyes helps, by giving you more viewpoints, but there’s still limits. Most of us can’t afford to run tests from hundreds of different public \u0026amp; private locations.\nInterpreting data is also a challenge. ThousandEyes has done their best to make the data usable, but you might not have the networking resources to be able to fully understand what’s going on. You need both wider visibility, and the experience to fully interpret it.\nThat’s why I was very pleased to hear the exchange starting around 7:20 in the video. If you’re a customer, trying to understand the source of performance issues, you can contact the ThousandEyes support team, and ask for their help. I thought the support was primarily about how to use the product, and interpret the data, but it goes further than that. They can use their broader view and knowledge to help figure out what’s going on.\nIf there’s a large-scale event happening, it’s probably affecting many ThousandEyes customers. So there’s a fair chance that they’ll already know what’s going on. This puts them in a central position, between customers, ISPs and SaaS providers. They can’t fix it themselves, but they should know who needs to fix it. They become like a NOC for the Internet. Do they take it to the next level of actively contacting the provider with a fault?\nCould they then become a neutral clearing-house for Internet faults? I had originally thought that Enterprises and SaaS providers were the target market for ThousandEyes, but perhaps ISPs are also their customers?\nI was hugely impressed when I first saw them at Network Field Day 6, and I remain so. I think they are solving real problems affecting almost all organisations, and their price-point makes it an easy decision. I’m pleased to see they are continuing to grow and develop.\nNote: Disclaimer: ThousandEyes was a sponsor of Network Field Day 8. This meant that they indirectly covered some of my costs to attend. However, I am under no obligation to write anything about any of the presenters. ","permalink":"https://lkhill.com/thousandeyes-noc-for-the-internet/","summary":"\u003cp\u003e\u003ca href=\"http://www.thousandeyes.com/\"\u003eThousandEyes\u003c/a\u003e is a network monitoring company that provides application performance visibility across the Internet. They don\u0026rsquo;t just show how an application is performing, but can identify where across the Internet issues are occurring. Ethan Banks has written up some of the \u003ca href=\"http://ethancbanks.com/2014/09/18/thousandeyes-network-monitoring-use-cases/\"\u003euse cases\u003c/a\u003e. Recently I realised I could start thinking of them as a \u0026ldquo;\u003ca href=\"https://en.wikipedia.org/wiki/Network_operations_center\"\u003eNOC\u003c/a\u003e for the Internet.\u0026rdquo;\u003c/p\u003e","title":"ThousandEyes - NOC for the Internet?"},{"content":"Why is it that people will pay a lot of money for a consultant\u0026rsquo;s time and expertise, but then hobble them by limiting the tools they can use?\nChris Wahl has written about learning to cope with the default tools and settings:\nIt’s almost a given that anything I own – personally or via my employer – will not be allowed to touch any piece of software or hardware in the average client environment. It causes too many headaches with compliance rule sets like Sarbanes-Oxley (SOX)\u0026hellip;\nThis means that I’ve come to rely on whatever tools are universally available. Let’s take PowerShell for example. I have an entire library of scripts that I’ve written over the past several years. More often than not I end up using the vSphere Client or ESXi Shell instead because I can’t get to my scripts. If it’s a highly repetitious task I may just re-create a script by hand, but more often than not, it’s not worth the effort.\nI\u0026rsquo;ve posted similar things to IEOC about the use of aliases on network gear:\nI\u0026rsquo;m a consultant, so I work on a variety of different systems, and can\u0026rsquo;t rely on having a large list of aliases in place. So I just get used to the built-in commands, and try and learn the fastest ways of entering them.\nQuite rightly, we evaluate consultants before employing them. Once past that evaluation, we then trust their judgment, and give them full access to the systems they are working on\u0026hellip;but we won\u0026rsquo;t let them use their preferred tools. It\u0026rsquo;s seen as more of a risk to let a consultant use a script they\u0026rsquo;ve used in the past, than to have them manually enter 100 commands. Does that really make sense? Which one is more likely to make mistakes? The repeatable process, or the human one?\nWe will force people to use a specific Operating System and applications, even if that system is inappropriate to the task at hand. Craftsmen develop their own toolsets, and in other industries they\u0026rsquo;re free to use them. Why not IT?\nSurely all that should matter is the result? Obviously any reports, documentation, diagrams etc that are produced should be in an interchangeable format, but why do we worry so much about the method?\nIf you\u0026rsquo;re going to trust someone\u0026rsquo;s judgement enough to give them access to your systems, maybe you should also trust their judgement in tool selection? It will probably save you time and money.\n(Post featured image from here, licensed under Creative Commons License).\n","permalink":"https://lkhill.com/let-people-choose-their-own-tools/","summary":"\u003cp\u003eWhy is it that people will pay a lot of money for a consultant\u0026rsquo;s time and expertise, but then hobble them by limiting the tools they can use?\u003c/p\u003e","title":"Let People Choose Their Own Tools"},{"content":"TFTP was first defined in 1980. That is a very long time ago in IT, and while it’s had a good run, it’s time for network engineers to stop using TFTP. It’s slow, insecure, and there are better options available.\nTFTP is an unauthenticated, plain-text file transfer protocol. It is commonly used by network engineers to transfer switch configs, or IOS images. No passwords required, just a straight “Get this file ” or “Put this file ”. It uses UDP to transfer data. It is designed to be very simple, and light-weight. This is a large part of why it was popular - TFTP servers or clients could be implemented in low-powered devices, such as switches, VoIP phones, etc. Some systems also use it as part of an initial boot, where TFTP is used to retrieve the initial boot environment.\nThe main complaints I hear from engineers are “How do I get a TFTP server set up?”, and “Why is this taking so long to transfer?” Server configuration is just a Google exercise, but let’s look at file transfer speed.\nSpeedy? Not so much For this test, I have a CentOS 6.x VM running on my laptop. I’m downloading a 20MB file from the VM to my laptop.\n1 2 3 4 5 6 7 8 9 10 11 lhill$ time scp centos6:/var/lib/tftpboot/testfile . testfile 100% 20MB 20.0MB/s 00:01 real 0m0.827s user 0m0.237s sys 0m0.132s lhill$ tftp 192.168.225.133 tftp\u0026gt; get testfile Received 21135236 bytes in 9.1 seconds tftp\u0026gt; quit lhill$ That’s a pretty significant difference. If you’re transferring a large file across a network, this will mean the difference between waiting a few seconds, and wandering off to get a cup of coffee.\nBut why is TFTP so slow? I’ve taken a couple of packet captures here. This one shows a regular TFTP transfer. Click on the image to go to the Cloudshark-hosted version.\nTFTP Transfer - click for Cloudshark version\nNote how it’s only using a 512 byte block size. Each packet has to be acknowledged, making this a very slow method of transferring a large file. On a low-latency link, it makes a huge difference.\nLook at this SCP session - again, click the image to go to the Cloudshark-hosted capture.\nSCP Transfer - click for Cloudshark version\nNote how TCP is doing its thing, and figuring out the optimum transfer window, and does not require acknowledgement of each packet before sending the next.\nWhat About Using Larger Block Sizes? Some (most?) TFTP clients have an option to use larger block sizes. Most modern TFTP servers should support this. Use the -e option with the OS X TFTP client to set the block size to 65,536. Now look at the transfer times:\n1 2 3 4 5 lhill$ tftp -e 192.168.225.133 tftp\u0026gt; get testfile Received 20971520 bytes in 0.7 seconds tftp\u0026gt; quit lhill$ That’s a lot better. Look at the packet capture, and you can see more of what’s going on - the TFTP server sends many fragmented packets, which get re-assembled by the client.\nTFTP transfer using larger block size - click for Cloudshark version\nStill Not Good Enough So we can improve the transfer rate somewhat. But ask yourself what would have happened if we’d lost some packets in the above trace? It would be handled poorly, since the client/server can’t dynamically adjust to changing conditions.\nIf you’re transferring a large IOS image (or worse, a full IOS-XR image), these small differences can make difference of tens of minutes, or even hours in transfer time.\nWhat about text files though? If we’re only transferring a text configuration of a couple of kB, the speed doesn’t really matter much. But do you really think it’s a good idea for your network configurations to be flying around the network in plaintext? How do you know they weren’t intercepted or manipulated?\nAnd the TFTP server itself has no security. How do you know that the config was uploaded from your device? What’s stopping someone else retrieving all your configs? Or uploading malicious configuration?\nChange your methods What’s stopping us using better methods (SCP/SFTP, or at a pinch, FTP) ? Mainly inertia, and old habits. There are definitely systems that will only use TFTP, but there’s many that no longer require it - e.g. VoIP phones might need to get their initial configuration via TFTP, but they can probably download their firmware via HTTP these days. I’m sure you’ve got a special use-case, but make sure you’ve actually checked the docs first.\nDo yourself a favour: Next time you think you need to use TFTP to transfer a file, ask yourself: What other mechanisms exist to do this? Is TFTP my only possible option? Save yourself the time and hassle, and maybe make your network a little more secure.\n","permalink":"https://lkhill.com/rant-just-stop-it-with-the-tftp/","summary":"\u003cp\u003e\u003ca href=\"http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol\"\u003eTFTP\u003c/a\u003e was first defined in 1980. That is a very long time ago in IT, and while it’s had a good run, it’s time for network engineers to stop using TFTP. It’s slow, insecure, and there are better options available.\u003c/p\u003e","title":"Rant: Just stop it with the TFTP"},{"content":"Consolidation is happening in the New Zealand wholesale ISP market, with Vocus acquiring FX. Consolidation can lead to less competition, or it can strengthen it, by making players stronger and more viable. This acquisition should strengthen the market, and hopefully open up new service offerings.\nIn July Vocus Communications announced its intention to acquire FX Networks. From the press release:\nFX owns a unique and high quality fibre optic network consisting of 4,132 kms of modern ducted fibre cable covering both the North and South Islands of New Zealand. The company has 365 customers including 43 of the Top 100 companies in New Zealand.\nVocus will acquire FX for an enterprise value of NZ$115.8m (~A$107.7m). The FX business is expected to deliver NZ$13.5-$14.5m of EBITDA in the first 12 months post acquisition (excluding transaction and integration expenses).\nThe combination of Vocus and FX strengthens both businesses. Vocus will emerge as the third largest network operator in NZ and the clear leader in trans-Tasman telecommunications and data centres.\nVocus has their own fibre network around Australia, and has a significant international network, with high-level peering. In 2012 they purchased Maxnet, a New Zealand ISP and Data Center provider. They deliver international transit services to many New Zealand ISPs (including FX).\nFX has focused on building out local fibre connectivity, and while they do re-sell international transit to New Zealand ISPs, they do so at a lower level than providers like Global Gateway or Vodafone/TelstraClear. Instead they focus on providing domestic backhaul - particularly useful to ISPs looking for UFB backhaul services.\nComplementary Services This makes FX a complementary acquisition for Vocus. They have experience running metro and regional fibre networks, they have good international connectivity options, and they have some experience operating in the New Zealand market. They should understand what it takes to finance and operate this type of network.\nFX needs capital to continue rolling out their Infinera equipment. They have much of the fibre they need in place, but they need to continue upgrading the gear that connects to that fibre. That takes cash, and commitment from investors to wait several years for payback.\nVocus should be able to provide the financial backing that FX needs. They are a listed company, and can raise more capital if they need to. They are not loading up FX with debt as part of the acquisition, so this should be a long-term play, without immediate financial return pressure.\nThis move also ensures the viability of FX/Vocus against Spark (Telecom) and TelstraClear (Vodafone), the two major players in the NZ wholesale market. They will know they can’t divide the market between them in a cosy duopoly. Strong alternatives can offer new products, and create strong price pressure.\nNot Without Risk All acquisitions come with risk. Some risks I can see here are:\nFX could lose its culture. FX has been a nimble operator, and flexible and open when working with customers. They may lose this when they become part of a larger organisation. Customers will notice if they do. This is a real possibility. Pressure to deliver: FX has been in a ‘build and grow’ phase, but they may shift to more of a ‘operate and sweat the assets’ phase, as the new owners look for a return on investment. This dramatically changes the pressures placed on the business. I don’t think this will happen in the short term. People: Inevitably, some people will lose their job, and others will decided they don’t like the uncertainty or change. FX has significant physical assets, but a company is defined by its people. Lose the wrong people, and things fall apart quickly. The Future: New Services New Zealand ISPs pay separately for Domestic and International transit. International transit is around 4–5x the cost of Domestic. This was driven by the cost of transit to the US, where most content was previously located.\nBut now we’re seeing more content coming from Australia, as Google, AWS, Rackspace etc have opened data centres. L2 transit costs to Australia are around half the cost of transit to the US. But L3 transit has always been a single international rate. Maybe now Vocus/FX will be in a position to offer three tiers of pricing to ISPs - Domestic, International, and Trans-Tasman.\nWe should also see better pricing and options for Trans-Tasman businesses that need connectivity between sites all around Australia and New Zealand.\nA Good Move Overall I think this is a good acquisition for Vocus, and a good result for the FX shareholders. If they do it right, it should also be good for customers. Give us more services and better pricing, and we’ll be happy. Just don’t lose what made FX good in the first place.\n","permalink":"https://lkhill.com/vocus-acquisition-of-fx-good-for-customers/","summary":"\u003cp\u003eConsolidation is happening in the New Zealand wholesale ISP market, with Vocus acquiring FX. Consolidation can lead to less competition, or it can strengthen it, by making players stronger and more viable. This acquisition should strengthen the market, and hopefully open up new service offerings.\u003c/p\u003e","title":"Vocus Acquisition of FX: Good for Customers?"},{"content":"CPUG, a Check Point user forum, is near death. The owner has been forced to get rid of it, but rather doing a graceful handover, it has been shut down pending a possible sale. This is a great shame, and it highlights the risks of contributing to a forum controlled by a single person.\nCPUG.org started out as an independent Check Point forum in around 2005. It was seeded with Phoneboy’s original FW–1 FAQs, and quickly became the premier independent source of Check Point information. If you had a Check Point problem, chances were you could get a quick answer there.\nI used to do a lot of Check Point work, and so I knew a fair bit about it. I had the time, knowledge, and the desire to help the community, so I got involved with CPUG, and became a top contributor. I put a huge amount of effort into it over the years, and hopefully I helped solve a few people’s problems. I have moved away from contributing recently, for various reasons.\nAt its best, the forum was a fantastic resource, where many of the smartest people were working to help solve the trickiest issues. It became a huge repository of threads, solving challenges faced by real engineers in the field.\nCheck Point is a difficult company to work with, and the products don’t always work as advertised. This could spill over into animosity on the forums, with sniping, name-calling and ugly negativity.\nGood or bad, it was a trove of Check Point knowledge, and something that should not be lost to the community. That’s why it makes me sad to see this:\nCPUG founder and administrator Barry J. Stiefel is moving on to other opportunities in the Internet security field and will be no longer be running CPUG or the CPUG discussion board. This site is temporarily shut down while we consider several offers to take over the operation of the board.\nThe site was always maintained by Barry Stiefel, who is now working for Palo Alto. They don’t want him to run a Check Point forum, and have demanded he get rid of it. That is understandable, but it has been handled poorly. I know of several people who would have happily stepped forward to continue running the site. Instead it has been shut down, pending a possible sale. It appears that Barry is trying to sell the hard work that thousands of people freely gave over the last 10 years.\nIf you thought you still owned your content on the site, you’re wrong: you gave it away, and now other people are trying to benefit from it.\nAside: CPshared - not a viable alternative CPshared.com was set up in 2011 as an alternative to CPUG. The intention was to get away from the negativity, and to have a better relationship with Check Point, whilst still being independent. The forum drew many experienced Check Point engineers, but it never saw high volumes of traffic. The site has been suffering because the owner is not fully involved. It needs an enthusiastic group to take it over, but the owner won’t hand over control. So that forum will die too - again, so much effort wasted.\nCui bono We all know the dictum of “If you’re not paying for it, you’re the product.” Contributing to a forum is a significant investment in time. Before diving in, think carefully about why you’re doing it, who benefits, and what happens if the forum owner decides to close up shop, or wants to sell your work. I’m not saying you should never contribute to any forum, but you need to know what you’re getting into. Be particularly careful with forums that a single person controls.\nThis is the main reason that most of my time and energy goes into writing for my own site these days. I can write whatever I like, there’s no-one to disagree with, and no-one else is trying to make money off my time and effort. I may contribute to other forums in future, but I won’t be contributing to forums where one person controls everything.\nI hope that a small group can take over CPUG, with no-one having full control. Too much effort went into it to just throw it all away now.\n","permalink":"https://lkhill.com/cpug-and-the-risk-of-single-admin-communities/","summary":"\u003cp\u003eCPUG, a Check Point user forum, is near death. The owner has been forced to get rid of it, but rather doing a graceful handover, it has been shut down pending a possible sale. This is a great shame, and it highlights the risks of contributing to a forum controlled by a single person.\u003c/p\u003e","title":"CPUG, and The Risk of Single-Admin Communities"},{"content":"A year ago I asked \u0026ldquo;Has HP Abandoned Operations Manager?\u0026rdquo; There had been no significant development for a long time, and the signs were that HP was moving away from OM to OMi.\nLast week HP made a move that confirms my original thinking: It\u0026rsquo;s dead (it just doesn\u0026rsquo;t know it yet). HP released a Customer Letter announcing an extension to the \u0026ldquo;End of Committed Support\u0026rdquo; date, from December 31, 2016 to June 30, 2018:\nHP is committed to providing the highest level of customer care to you while you determine your future strategy for your HP Operations Manager for Windows 9.0x \u0026amp; HP Operations Manager for Windows Basic Suite 9.1x products.\n(emphasis mine)\nThat\u0026rsquo;s right, no new version announcement, just extending support for the current version. Implication: no new versions coming any time soon.\nApplying a few volts to OMW 9.0 HP has released patches OMW_00185 and OMW_00187 for OMW 9.0. These include the usual bugfixes, and these enhancements:\nWeb console enhancements resulting in feature parity with the MMC console while offering significant performance advantages Management Server platform support extension to Windows Server 2012 and Windows Server 2012 R2 MMC Console support extension to Windows Server 2012, Windows Server 2012 R2, Windows 8.0 and Windows 8.1 Browser support extension to Internet Explorer 10, Internet Explorer 11, and Firefox 24 ESR So they\u0026rsquo;re doing just enough to keep the platform going, but not really making any great changes.\nNote: Side note: Why bother making the MMC compatible with Windows 8/2012 if the web console now has feature parity? The Future is OMi The support alert I received via email included this quote:\nTo bring your monitoring solution to the next level, we also encourage you to take a closer look at our next generation operations management solution, HP Operations Manager i (www.hp.com/go/omi), with its differentiating capabilities in automating monitoring, determination of root cause and getting immediate insight into the business service impact. HP Operations Manager i can be deployed as manager of manager on top of your monitoring solution or as the evolution path of your today\u0026rsquo;s HP Operations Manager implementation, ensuring that your investment is protected.\nSo like I said last year, if you\u0026rsquo;re using HP OM and want to stick with HP, go to OMi. My advice remains:\nTo customers using HP OM\u0026hellip;start planning your migration away from it, if you haven’t already. To customers considering purchasing it: Don’t, unless you’re buying it as part of an overall BSM/OMi implementation, and the salesfolk have guaranteed you can change your licensing over at no cost in future.\n","permalink":"https://lkhill.com/hp-omw-still-kicking-but-only-just/","summary":"\u003cp\u003eA year ago I asked \u0026ldquo;\u003ca href=\"/abandoned-operations-manager/\"\u003eHas HP Abandoned Operations Manager?\u003c/a\u003e\u0026rdquo; There had been no significant development for a long time, and the signs were that HP was moving away from OM to OMi.\u003c/p\u003e","title":"HP OMW: Still Kicking, But Only Just"},{"content":"HP NNMi version 10.0 has been released. This is a good release, with many usability enhancements. I’m pleased to see continued development, as the future nirvana of all-powerful software defined networks hasn’t quite arrived yet. For now, we still have to manage our networks the old-fashioned way: SNMP is still alive \u0026amp; kicking.\nNNMi - Background HP NNMi is a spiritual descendant of HP OpenView, one of the first network monitoring tools. Between versions 6 and 7, HP completely re-wrote the NNM code, and now we have NNMi. The core product performs network discovery and fault monitoring. Add-on components (iSPIs) offer performance monitoring, NetFlow analysis, IP SLA monitoring, etc. A sister-product (HP Network Automation) is used for network configuration management. The add-on components were all separately licensed, but HP now bundles products together.\nHistorically NNMi has focused on underlying network monitoring capabilities, and less on the user interface. This meant that almost anything was technically possible, but the visual experience was underwhelming. The integration between core product and add-on components was limited.\nThe last major release was 9.20, in June 2012. There have been minor enhancements and fixes since, but the last patch was in September 2013. We’ve been due for an update.\nKey Features There’s three broad strokes - improvements to usability, cleanup of old code, and better component integration. Here’s a quick list of the most interesting changes:\nDashboards - key status and performance indicators at a glance Scheduled Outages Improved chassis/stack management Support for VDCs and server LAGs IPv6 on by default, on all platforms iSPI Performance can be distributed across multiple systems Platform changes - dropping Solaris, HP-UX \u0026amp; RHEL 5.x support Removal of legacy integrations Updated browser support Map annotations - add text to maps Drilling into a few of those:\nDashboards The most obvious change is adding dashboards. Dashboards pull together many different status and performance indicators for a node or group of nodes. From one page you can now get a good sense of the health of the network - top interfaces, systems with faults, highest CPU, etc. All that information was available separately before, but you couldn’t pull it together in one place.\nHere’s some example screenshots:\nNetwork Overview Dashboard\nComponent Performance Dashboard\nI haven’t been able to show all the widgets on each dashboard - they scroll down beyond one screen here.\nThis version has limited dashboard customisation capabilities, but I expect that will change.\nScheduled Outages In earlier versions, you can mark a node as “Not Managed” or “Out of Service.” This would stop any alarms for that node - helpful if you’ve got planned work, or a known outage. The problem is that it was easy to mark a node as out of service…and then forget to re-enable monitoring in future. You might never know there’s anything wrong…until something breaks, and people start asking why they didn’t get any alarms.\nNow you can configure a scheduled outage, either for planned work, or when there’s a known outage that you expect to be restored shortly. You can also configure retrospective outages, so the downtime won\u0026rsquo;t count against your SLAs.\nScheduled Outage Configuration\nIt doesn’t look like you can scheduled recurring outages, but they can be configured via CLI, so you could script it.\nPlatform Changes NNMi 9.20 was supported on Solaris, HP-UX, RHEL 5.x \u0026amp; 6.x, SUSE Linux and Windows 2008 R2. Historically the customers that used OpenView/NNM were the customers that ran Solaris/HP-UX Big Iron systems. But those systems have been mostly supplanted by Linux. These days there is little reason not to run on a Linux VM. There are standard migration paths to move from Solaris/HP-UX -\u0026gt; Linux.\nRemoving these legacy platforms makes little difference to customers, but it will make a huge difference to development, test and support. Consolidating platforms will cut costs, and should speed up future development.\nVerdict This is a significant release for NNMi. They’ve taken significant steps to improve product usability. They\u0026rsquo;re also starting to deliver on the promise of “fully integrated network management.” They’re not quite there yet, but they’re getting closer. I’m also pleased with the changes that remove legacy platforms and integrations. Removing old code makes future test \u0026amp; development cycles simpler and faster.\nIt’s a major release, so I would hold off upgrading existing installations until patch 1. But I do recommend running it in new deployments, and in your test environment. Note that you will need to re-license NNMi if you are upgrading (no charge if you have a support contract).\n","permalink":"https://lkhill.com/hp-nnmi-10-00-released/","summary":"\u003cp\u003eHP NNMi version 10.0 has been released. This is a good release, with many usability enhancements. I’m pleased to see continued development, as the future nirvana of all-powerful software defined networks hasn’t quite arrived yet. For now, we still have to manage our networks the old-fashioned way: SNMP is still alive \u0026amp; kicking.\u003c/p\u003e","title":"HP NNMi 10.00 Released"},{"content":"I\u0026rsquo;ve written before about \u0026ldquo;Why Screen Scraping Sucks.\u0026rdquo; Well, I can report that nothing has changed. It still sucks. This time I got caught out by the changed behaviour of the \u0026ldquo;logging host\u0026rdquo; command.\nCompliance Checks At a customer site I use HP IMC to perform compliance checks across HP and Cisco networking gear. This has a set of rules that get run against the latest device backups. I have various rules that look for specific patterns - making sure they do, or don\u0026rsquo;t exist, as required.\nMy systems should all have two log servers defined. The configs should look something like this:\n1 2 3 Rack1SW1#sh run | inc ^logg logging 1.1.1.1 logging 2.2.2.2 So I defined an IMC compliance rule that looked for the existence of logging 1\\.1\\.1\\.1 and logging 2\\.2\\.2\\.2. I\u0026rsquo;m using the Advanced mode, which uses regex matching, so I need to escape the ..\nThis worked well. It alerted on systems that had the incorrect (or no) destinations defined.\nWait a minute\u0026hellip;I thought you said \u0026ldquo;logging host\u0026rdquo;? Turns out that logging X.X.X.X was the original form of this command. At 12.3(14)T, Cisco changed the command to logging host X.X.X.X. If you read the documentation (and I do), it only refers to the logging host form. If you look at the context-sensitive help, it shows two forms:\n1 2 3 4 5 6 7 8 Rack1SW1(config)#logging ? Hostname or A.B.C.D IP address of the logging host buffered Set buffered logging parameters ...snip... history Configure syslog history table host Set syslog server IP address and parameters message-counter Configure log message to include certain counter value ... The interesting thing about IOS is that it often allows multiple command formats, but it will only store one style. Let\u0026rsquo;s look at this for a 15.0 system:\n1 2 3 4 5 Rack1SW1(config)#logging host 1.1.1.1 Rack1SW1(config)#logging 2.2.2.2 Rack1SW1(config)#do sh run | inc ^logging logging 1.1.1.1 logging 2.2.2.2 Changes in Default Behaviour I haven\u0026rsquo;t yet found where this is documented, but somewhere between 15.0 and 15.2, this behaviour changed. Both command formats are still accepted, but now it\u0026rsquo;s stored in the new format:\n1 2 3 4 5 Router(config)#logging host 1.1.1.1 Router(config)#logging 2.2.2.2 Router(config)#do sh run | inc ^logging logging host 1.1.1.1 logging host 2.2.2.2 Since we were deploying some 15.2 systems, this broke my IMC Compliance checks. It said those routers were not in compliance.\nThe fix was to edit my compliance checks to look for logging.* 1\\.1\\.1\\.1\u0026quot;. By adding the extra .* in there, it will match both forms of the command. I could create more specific expressions to match only on logging X.X.X.X or logging host X.X.X.X but this is good enough here.\nAPIs - part of the answer? It would be much nicer if I could query and API to ask \u0026ldquo;What log servers do you have set?\u0026rdquo; and get back a standard format answer.\nBut of course APIs change too - I just need to make sure I can handle those changes well on my side.\n","permalink":"https://lkhill.com/screen-scraping-still-sucks/","summary":"\u003cp\u003eI\u0026rsquo;ve written before about \u0026ldquo;\u003ca href=\"/why-screen-scraping-sucks/\"\u003eWhy Screen Scraping Sucks\u003c/a\u003e.\u0026rdquo; Well, I can report that nothing has changed. It still sucks. This time I got caught out by the changed behaviour of the \u0026ldquo;\u003ca href=\"http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/esm/command/esm-cr-book/esm-cr-a1.html#wp1503829690\"\u003elogging host\u003c/a\u003e\u0026rdquo; command.\u003c/p\u003e","title":"Screen Scraping: Still Sucks"},{"content":" This article is Part 6 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - This Article Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Continuing our theme of ARP-related war stories, here\u0026rsquo;s another ARP/switching behaviour I\u0026rsquo;ve come across. This particular problem didn\u0026rsquo;t result in any outages, but the network wasn\u0026rsquo;t working as well as it should have, and started flooding frames unexpectedly. Here\u0026rsquo;s what was going on:\nThe Network Breaking the network down to its simplest level, it looked like this:\nThe two routers were a VRRP pair. Router-A was 100.100.100 .11, Router-B was 100.100.100.12, and the virtual IP was 100.100.100.1. These acted as a default gateway for the client LAN. PCs connected to the client LAN got their network configuration from DHCP, and set their default gateway to 100.100.100.1. Using this, they were able to get access to resources behind the routers, such as Server-1 at 200.200.200.200. All worked well.\nObviously there was a lot more to the network than what I\u0026rsquo;ve shown here, but it\u0026rsquo;s not important.\nThe Issue I said it was working well - so what was wrong? One day I was using Wireshark to diagnose a network issue between PC-A and Server-1. I ran Wireshark on PC-A, with a capture filter of \u0026ldquo;host 200.200.200.200\u0026rdquo;. The packet flow looked something like this:\n1 2 3 4 5 6 100.100.100.50 -\u0026gt; 200.200.200.200 SYN 200.200.200.200 -\u0026gt; 100.100.100.50 SYN, ACK 100.100.100.50 -\u0026gt; 200.200.200.200 ACK 100.100.100.60 -\u0026gt; 200.200.200.200 SYN, ACK 100.100.100.50 -\u0026gt; 200.200.200.200 PSH, ACK 100.100.100.60 -\u0026gt; 200.200.200.200 ACK What\u0026rsquo;s going on there at lines 4 \u0026amp; 6? Occasionally I would see this:\n1 2 3 4 5 6 7 aaaa.aaaa.aaaa -\u0026gt; ffff.ffff.ffff ARP Request: Who has 100.100.100.1? Tell 100.100.100.50 0000.5e00.0101 -\u0026gt; aaaa.aaaa.aaaa ARP Reply: 100.100.100.1 is at 0000.5e00.0101 100.100.100.50 -\u0026gt; 200.200.200.200 SYN 200.200.200.200 -\u0026gt; 100.100.100.50 SYN, ACK 100.100.100.50 -\u0026gt; 200.200.200.200 ACK 100.100.100.50 -\u0026gt; 200.200.200.200 PSH, ACK 200.200.200.200 -\u0026gt; 100.100.100.50 ACK So sometimes I would see PC-B traffic, and sometimes not. What\u0026rsquo;s going on? I haven\u0026rsquo;t shown it here, but the destination MAC for PC-B -\u0026gt; Server-1 traffic was 0000.5e00.0101 - i.e. the MAC associated with the VRRP IP address. Why is my expensive switch acting like a hub and flooding frames? Surely it should have worked out which port the VRRP MAC is connected to? There\u0026rsquo;s traffic going through that system all the time, so surely the CAM tables won\u0026rsquo;t have aged out?\nThe Cause \u0026amp; The Solution The problem here was that the routers don\u0026rsquo;t normally source traffic with the VRRP MAC. If Router-A is forwarding a packet from Server-1 to PC-B, it will set the source MAC to be its real MAC. When it sends out regular VRRP multicast packets, it will use the real MAC. So how can the switch learn where the VRRP MAC is currently connected to? It only learns it when a client sends an ARP request for 100.100.100.1, and the primary router responds. It learns that for a while, but the CAM table will age out quickly (typically 5 minutes), while client ARP caches might take 1 hour to timeout. When the CAM table doesn\u0026rsquo;t have an entry for a unicast address, the switch has no choice - it has to flood the frames out all ports. Ugly.\nThe fix in this case was to upgrade to new code Huawei had released, that included periodic gratuitous ARPs. Once every 60s, the primary router would send a gratuitous ARP reply, sourced from the VRRP MAC. These are also sent on VRRP failover, to update CAM tables. By sending out these gratuitous ARPs within the switch CAM table timeout window, it ensured the CAM table always had an entry for the VRRP MAC. No more flooding of unknown unicast frames.\nThis is one of the problems I like - you need to know the fundamentals of things like ARP, and CAM table behaviour. If you skipped that class, you\u0026rsquo;ll spend ages chasing down dead-ends. I don\u0026rsquo;t yet consider myself a Grumpy Old Man, but this is something all network engineers should understand. It\u0026rsquo;s not cutting edge or exciting, but then again it seems that so many of the latest SDN technologies seem to be built around dealing with L2-related issues.\nRelated Problems I\u0026rsquo;ve seen this sort of thing come up in a couple of other places. One was with some Check Point firewalls, where our default firewall policy allowed the firewalls to send VRRP traffic, but crucially, it only let the real IPs send traffic. Nokia systems also send regular packets from the virtual IP + MAC, to update CAM tables. This got dropped by the outbound policy, so the switch never saw it, and never updated its CAM table. It only got updated when a client sent an ARP request. With a low number of clients on the network, it meant that there were regular periods where the switch was unnecessarily flooding frames.\nMore recently, it was in a network that looked like this:\nThe Netflow collector has two interfaces - one for receiving NetFlow packets, and one for management. NetFlow traffic is all one-way UDP. The router sends NetFlow packets, and the collector never acknowledges it. Initial ARP requests update the CAM table, but again the CAM table expires long before the router ARP cache. Since the collector never sources any other frames out that interface, the switch doesn\u0026rsquo;t know where that MAC is, and starts flooding frames out all ports on that VLAN. Not an ideal situation if you\u0026rsquo;ve got high volumes of NetFlow traffic.\nPay Attention to Details This is just another one of those situations where you should be paying attention to details. When you see something that doesn\u0026rsquo;t look quite right in a packet capture, investigate it, even if it\u0026rsquo;s not the main issue you\u0026rsquo;re dealing with right then. You never know what you\u0026rsquo;ll find.\n","permalink":"https://lkhill.com/war-stories-gratuitous-arp-and-vrrp/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 6\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Gratuitous ARP and VRRP"},{"content":"Packetpushers show 198 was a great episode about Network Automation. At one point, Greg asks:\nWhat happens when you\u0026rsquo;ve got 20 apps polling one device?\nWell, you might hit the same problem I did:\nSECURITY-SSHD-6-INFO_GENERAL : Incoming SSH session rate limit exceeded\nI have some Python scripts that poll performance and configuration data from a couple of ASR9Ks, and I was getting some gaps in my data. The scripts run on different polling cycles (some hourly, some every 15 minutes, etc). It wasn\u0026rsquo;t consistent, but now and then my script would fail to collect any data.\nI dug into it, and found that I was hitting the default SSH rate limit of 60 per minute, calculated as 1 per second. Because I couldn\u0026rsquo;t control the exact scheduling of when my polls ran, I inserted a short random wait timer into some of them. That helped, and I had fewer failures, but it still wasn\u0026rsquo;t quite right.\nSo I used the command ssh server rate-limit 120 to allow 2 SSH connections per second. That has helped, and now I\u0026rsquo;m not getting any failures.\nBut it won\u0026rsquo;t be pretty if I do have 20 different apps all trying to poll at once.\n(Yes, I know, I should tweak my scripts to better handle the exception, and I should try to figure out why my random wait timers weren\u0026rsquo;t working as expected. But this does what I need for now, and I\u0026rsquo;m not planning on adding any more polling scripts).\n","permalink":"https://lkhill.com/what-happens-when-20-programs-poll-the-network/","summary":"\u003cp\u003ePacketpushers \u003ca href=\"http://packetpushers.net/show-198-kirk-byers-network-automation-python-ansible/\"\u003eshow 198\u003c/a\u003e was a great episode about Network Automation. At one point, Greg asks:\u003c/p\u003e","title":"What Happens When 20 Programs Poll The Network?"},{"content":"ScienceLogic 7.5 includes many enhancements and new features. One I\u0026rsquo;m interested in is \u0026ldquo;Global Manager\u0026rdquo; which can be used to massively scale out the ScienceLogic architecture. Here\u0026rsquo;s some more detail on why ScienceLogic introduced this feature, and what it does.\nProblem: A Single Database I\u0026rsquo;ve talked before about the ScienceLogic architecture, and noted that the Database can be a bottleneck:\nYou’ll notice that all the variations only ever have one “active” database at any one time. All the processing is done on this system, with the results replicated to the other databases. You can scale out your Collectors or User Interface by adding more servers – but you can’t scale out the core database. Right now you have to scale up the database – ie. allocate more RAM/CPU/IOPS. This gets around the performance bottlenecks, but comes at a cost.\nIn this diagram, we can see the database is at the heart of everything. We can have HA \u0026amp; DR options for it, but there is only ever one active DB:\nDistributed Architecture\nWe can have multiple web interfaces, but they all query the same database.\nSolution: More Databases! The new Global Manager option from ScienceLogic use a new \u0026ldquo;Global Manager\u0026rdquo; instance to query multiple databases:\nGlobal Manager\nWhen users login to the Global Manager, it uses the ScienceLogic API to query multiple database servers to retrieve data. Dashboard widgets can combine and display data from multiple sources, in a transparent way.\nThe individual databases are responsible for monitoring their own set of devices, via one or more collectors. The Global Manager can even communicate with \u0026ldquo;All-In-One\u0026rdquo; instances. So now both collection and processing can be distributed.\nCurrently this is \u0026ldquo;View Only\u0026rdquo; - the Global Manager system retrieves data, but it can\u0026rsquo;t push out configuration changes such as new monitoring policies.\nBenefits of This Approach System scale is massively increased. Single-sign-on. Administration can now be localised. ScienceLogic offers multi-tenancy, but there are some limitations to breaking up administration. Databases can be fully separated for those security policies that need separate databases, not just access control for data separation. Verdict This looks like a good approach for scaling out ScienceLogic systems. There are still some limitations, but I expect to see further improvement. I\u0026rsquo;m also particularly happy that ScienceLogic is using standard APIs for this communications. This enforces API consistency and completeness, which helps our own customisations and integrations.\n","permalink":"https://lkhill.com/sciencelogic-global-network-manager/","summary":"\u003cp\u003eScienceLogic 7.5 includes many enhancements and new features. One I\u0026rsquo;m interested in is \u0026ldquo;Global Manager\u0026rdquo; which can be used to massively scale out the ScienceLogic architecture. Here\u0026rsquo;s some more detail on why ScienceLogic introduced this feature, and what it does.\u003c/p\u003e","title":"ScienceLogic Global Network Manager"},{"content":"I have an HP 2910al switch in my lab. I was running firmware version W.15.12.0012, but needed to upgrade, to fix a bug where \u0026ldquo;~\u0026rdquo; gets added to the snmp community configuration. I tried upgrading to W.15.14.0007, and it initially looked good, but shortly afterwards got alarms from my NMS about high memory usage.\nDigging in, here\u0026rsquo;s a graph showing the memory usage - you can see how it has been very stable, but then spiked up just after I upgraded:\nSwitch memory utilisation\nThe pictures don\u0026rsquo;t lie. The switch was noticeably sluggish via CLI, and you can see that the ping response time spiked up:\nSwitch response time\nI rolled back to W.15.13.0008, which resolved my bug, and since then memory \u0026amp; response times have looked stable.\nJust another case where it\u0026rsquo;s so handy having performance data both before and after a change.\n","permalink":"https://lkhill.com/hp2910al-memory-leak-with-w-15-14-0007/","summary":"\u003cp\u003eI have an \u003ca href=\"http://h17007.www1.hp.com/us/en/networking/products/switches/HP_2910_al_Switch_Series/index.aspx#.U9dK_4CSyWE\"\u003eHP 2910al\u003c/a\u003e switch in my lab. I was running firmware version W.15.12.0012, but needed to upgrade, to fix a bug where \u0026ldquo;~\u0026rdquo; gets added to the snmp community configuration. I tried upgrading to W.15.14.0007, and it initially looked good, but shortly afterwards got alarms from my NMS about high memory usage.\u003c/p\u003e","title":"HP2910al - Memory Leak with W.15.14.0007?"},{"content":"HP has released an updated Network Simulator. This uses VirtualBox to provide a hypervisor, as opposed to QEMU in earlier versions. When I tried it previously, it was unusably slow. This was in part due to my using nested virtualisation.\nThe new version runs much better with nested virtualisation, although it\u0026rsquo;s still not fantastic - I\u0026rsquo;d rather just spin up a VSR1000 system if I wanted to do something that didn\u0026rsquo;t need testing switching code. That said, the Network Simulator does make it a lot simpler when you want to spin up several instances, and interconnect them in interesting ways.\nThere is one wrinkle though - the documentation states that it requires \u0026ldquo;Oracle VM VirtualBox Release 4.2.18 or later.\u0026rdquo; At the time of writing, the current VirtualBox version is 4.3.14. The problem is that if you install 4.3.14, and then try to install the Network Simulator, you\u0026rsquo;ll get this pop-up:\nThat\u0026rsquo;s right - the docs say 4.2.18 or later, but it seems that it won\u0026rsquo;t install unless you install EXACTLY 4.2.18. I couldn\u0026rsquo;t even get it working with later versions of 4.2.\nInstall 4.2.18, and then it allow you to install the HP Network Simulator. I\u0026rsquo;m sure there\u0026rsquo;s no real reason for requiring 4.2.18, it\u0026rsquo;s probably just an oversight, where the installer code is looking for a specific version, not a minimum version.\nI have also tried installing VirtualBox 4.2.18, installing HP Network Simulator, then later upgrading VirtualBox. If you do that, you get this error:\nI was able to go back to 4.2.18, then upgrade to 4.2.26 (the latest 4.2.x version currently available). That seems to launch and run OK. I\u0026rsquo;m not a big VirtualBox user, so I\u0026rsquo;m not worried about missing any 4.3 features. If you do figure out how to get 4.3 working with HP Network Simulator, let me know.\n","permalink":"https://lkhill.com/hp-network-simulator-virtualbox-version-issue/","summary":"\u003cp\u003eHP has released an updated \u003ca href=\"http://h20566.www2.hp.com/portal/site/hpsc/public/psi/home?sp4ts.oid=7107837\u0026amp;ac.admitted=1406274014017.876444892.199480143#downloadOptions\"\u003eNetwork Simulator\u003c/a\u003e. This uses \u003ca href=\"http://www.virtualbox.org/\"\u003eVirtualBox\u003c/a\u003e to provide a hypervisor, as opposed to \u003ca href=\"http://www.qemu.org/\"\u003eQEMU\u003c/a\u003e in earlier versions. When I tried it previously, it was \u003ca href=\"/hp-simware-comware-os-simulator/\"\u003eunusably slow\u003c/a\u003e. This was in part due to my using nested virtualisation.\u003c/p\u003e","title":"HP Network Simulator - VirtualBox Version Issue"},{"content":"Network equipment pricing has traditionally been based around hardware, even though most of the cost comes from the software. Trends such as bare-metal switching will clarify this cost/price relationship. But are we already seeing software showing up as a clear component of the prices of network gear?\nPricing vs Costs: Hidden Software Charges The always excellent @mbushong recently wrote about bare metal switching, pricing, and the impact this has on resellers:\nFor anyone looking at the broader implications of bare metal switching, the first thing to understand is networking’s pricing model. While the vast majority of investment (as much as 90% of R\u0026amp;D at large companies) is on the software, the hardware accounts for the lion’s share of pricing.\nBut when I thought about some recent quotes I\u0026rsquo;ve seen, software licensing was a significant part of the total price. So I thought I\u0026rsquo;d do a quick breakdown of the percentages of software vs hardware costs as part of the overall price. This should show how much of the software cost is \u0026ldquo;hidden\u0026rdquo; vs broken out.\nExample Pricing Mix The quotes I had were from a company we\u0026rsquo;ll call \u0026ldquo;Cadillac,\u0026rdquo; covering routing and switching. I can\u0026rsquo;t publish the exact prices - you\u0026rsquo;d laugh at how much we have to pay. But I can show the hardware vs software percentages:\nDevice Hardware % Software % Router - BNG 67% 33% Router - Edge 80% 20% Switch - Advanced 65% 35% 1 Switch - Basic 100% 0% Hardware costs include SFPs, so there\u0026rsquo;s no hidden tax there. I have not included support costs - those tend to be weighted towards software.\nIf you\u0026rsquo;re using low-end switches, and only running the base feature set, then yes, the pricing is heavily skewed towards hardware. But once you start adding advanced routing/switching features, software starts clearly showing up in the price. Some specific features play a huge part - e.g. BNG capabilities.\nEven with those features broken out, we can still see that much of the software investment is hidden in the hardware price. Then again, we\u0026rsquo;re not buying just hardware: We\u0026rsquo;re buying a solution, and we expect it to have some switching \u0026amp; routing capabilities out of the box. I would not be impressed if you wanted to sell me some custom hardware that couldn\u0026rsquo;t do ANYTHING without paying extra software licensing costs. Open hardware is obviously different - you can sell me a blank Intel server, since I have a wide choice of software I can install on it.\nOther Vendors This will look very different if you\u0026rsquo;re ordering equipment from \u0026ldquo;Jeep\u0026rdquo;, or \u0026ldquo;Studebaker-Packard.\u0026rdquo; They use different licensing structures. They may license all features by default, hiding the software cost in hardware pricing. Data-center gear is priced quite differently to SP gear too. Some vendors offer \u0026ldquo;pay as you grow\u0026rdquo; options, unlocking hardware capabilities as traffic volumes grow. Sadly, 2x traffic doesn\u0026rsquo;t mean 2x revenue these days.\nSDN/Bare-Metal to Complicate Matters? I expect to see a good uptake of bare metal switching in larger companies, although I think it will be slow amongst small-medium Enterprises. When the cost of the hardware is clearly broken out from the software, we should get significant margin pressure.\nBut networking companies won\u0026rsquo;t want to miss out on the margin. I expect to see flat pricing for hardware, and complex schemes for pricing the SDN applications that we perceive as being further up the value chain.\nWhere there\u0026rsquo;s mystery, there\u0026rsquo;s margin.\nI guess we should be careful what we wish for.\nThis includes a license charge to unlock hardware features. Is that hardware or software pricing?\u0026#160;\u0026#x21a9;\u0026#xfe0e;\n","permalink":"https://lkhill.com/network-gear-pricing-software-vs-hardware/","summary":"\u003cp\u003eNetwork equipment pricing has traditionally been based around hardware, even though most of the cost comes from the software. Trends such as bare-metal switching will clarify this cost/price relationship. But are we already seeing software showing up as a clear component of the prices of network gear?\u003c/p\u003e","title":"Network Gear Pricing - Software vs Hardware"},{"content":"A reader asked how I use OmniFocus to help with studying for certification exams. Here\u0026rsquo;s how I\u0026rsquo;m using OmniFocus to help with CCDE study. This may not be the \u0026lsquo;best\u0026rsquo; way, but it\u0026rsquo;s what I use.\nFigure out your tasks Create a new Project in OmniFocus. Go through your usual sources of information for certification study (Cisco blueprints, blogs, etc). Figure out everything that might be a \u0026ldquo;Task\u0026rdquo; for studying. The list will vary based upon the exam, but these are the sorts of things it might contain:\nBooks to read Cisco Live presentations to view Websites to look at Practice tests Lab exercises Create a task for each of these items, e.g. go through the suggested reading lists, and create a task for each book. Don\u0026rsquo;t worry too much about the exact ordering at this point, just get the tasks into OmniFocus.\nGroup as required I like to pull related tasks into a sub-project below the main CCDE project. So here I\u0026rsquo;ve got a sub-project called \u0026ldquo;Cisco Live Presentations\u0026rdquo; and I\u0026rsquo;ve added the presentations I want to review:\nNote: NB: I am partway through my CCDE study, and I\u0026rsquo;ve changed the view used here to show All tasks, including Completed tasks. I sometimes also convert a Task to a Project, and add sub-tasks - e.g. I converted \u0026ldquo;Optimal Routing Design\u0026rdquo; to a project, and added tasks for the sections I wanted to read. This works well when you only need to read part of a book. Or if it\u0026rsquo;s a hard slog reading a book you might like to add a task per chapter, just to feel like you\u0026rsquo;re \u0026rsquo;ticking things off your list.\u0026rsquo;\nBook chapters\nRecurring tasks Most items are \u0026ldquo;one-off\u0026rdquo;, but I look at my flashcards every day. So I set up a daily recurring task for that:\nFlashcards details\nNote how I set a Due date/time, and then set it to repeat every 1 day. This then pops up in my \u0026ldquo;Forecast\u0026rdquo; view each day. I have my flashcards set for \u0026ldquo;Long term learning\u0026rdquo; so I just open Mental Case, and study whichever cards are due that day.\nNow the hard part - the study Now OmniFocus looks something like this:\nCCDE overview\nOrganising your tasks might feel like work, but it\u0026rsquo;s not really. This is just getting better organised to do work. Now you you need to go and do the study! I frequently review the list of tasks, and flag those that I want to work on. They then appear in the \u0026ldquo;Flagged\u0026rdquo; view, and I know what I need to do. I work through my list, ticking them off as I go. Now I can see what\u0026rsquo;s on my list. If I come across new documents to read, or resources to use, I can just add them to the project.\nIf you\u0026rsquo;ve got any other suggestions on using OmniFocus to help with study, please share them in the comments.\n","permalink":"https://lkhill.com/using-omnifocus-for-ccde-study/","summary":"\u003cp\u003eA reader asked how I use \u003ca href=\"http://www.omnigroup.com/omnifocus/#omnifocus-mac-info\"\u003eOmniFocus\u003c/a\u003e to help with studying for certification exams. Here\u0026rsquo;s how I\u0026rsquo;m using OmniFocus to help with CCDE study. This may not be the \u0026lsquo;best\u0026rsquo; way, but it\u0026rsquo;s what I use.\u003c/p\u003e","title":"Using OmniFocus for CCDE Study"},{"content":"I am lucky enough to be invited to attend Network Field Day 8 this September, in Silicon Valley. For 3 days, I get to hang out with some of the smartest people in this industry, talking about the latest products and developments in networking. How cool is that?\nNote: Disclaimer: Tech Field Day is covering my travel and miscellaneous costs for this event. They in turn are paid by their sponsors. I am under no obligation to write anything about any of the presentations, favourable or otherwise. What\u0026rsquo;s a Tech Field Day/Network Field Day? Most of my readers are well aware of how Tech Field Days work, but for those who haven\u0026rsquo;t heard:\nField Day events bring together innovative IT product vendors and independent thought leaders to share information and opinions in a presentation and discussion format\u0026hellip;Our Field Day is an opportunity for tech companies and independent writers to meet, update and discuss products and form new communications.\nAbout Tech Field Day\nThe presentations are heavily technical, and usually involve robust interactions with delegates. All presentations are streamed online, and those watching at home can interact via Twitter. Delegates will be actively following the #NFD8 hashtag, and I know from past experience that questions get quickly picked up.\nPresenters! As usual, there\u0026rsquo;s a great line-up of companies. 9 companies, talking about their newest stuff. I\u0026rsquo;m very happy that there will be a wide range of technologies and and products covered. Sometimes international events seem to focus on the very high end of the market, and it\u0026rsquo;s just not applicable to smaller markets like mine. But companies like A10 Networks and ThousandEyes have products that my customers either are using, or should be using.\nPeople! More importantly than companies, there\u0026rsquo;s going to be a lot of great people there. I\u0026rsquo;m going to meet some Tweeps in Real Life - some I\u0026rsquo;ve known online for years now, but never met. That\u0026rsquo;s probably what I\u0026rsquo;m looking forward to the most.\nI\u0026rsquo;ll be arriving in San Francisco on Sunday beforehand, and I don\u0026rsquo;t fly out until late on Saturday evening. Network Field Day is Wednesday -\u0026gt; Friday, so I\u0026rsquo;ve got a couple of extra days in the area. If you\u0026rsquo;re in the Bay Area, and want to catch up for coffee/beer, get in touch!\n","permalink":"https://lkhill.com/network-field-day-8-im-going/","summary":"\u003cp\u003eI am lucky enough to be invited to attend \u003ca href=\"http://techfieldday.com/event/nfd8/\"\u003eNetwork Field Day 8\u003c/a\u003e this September, in Silicon Valley. For 3 days, I get to hang out with some of the smartest people in this industry, talking about the latest products and developments in networking. How cool is that?\u003c/p\u003e","title":"Network Field Day 8 - I'm Going!"},{"content":"Network monitoring is often a reactive process. Engineers see an alarm, and take action. Alarms mean someone broke something, and it needs attention. Deal with the alarms, and all will be well. No alarms == Good. But every now and then no alarms means that monitoring is broken. Here\u0026rsquo;s an example of where this happened, and what I do about it.\nSituation: A Tenuous Chain of Monitoring This situation has several monitoring systems strung together. HP Command View is monitoring some storage arrays. It forwards alerts to HP SIM, which forwards high priority alarms to ScienceLogic:\nAny time you get a long chain like that, there\u0026rsquo;s a high chance of failures. It only takes one thing to break, and you stop receiving alarms at the top level. HP SIM guarantees stuff will break. Failures tend to be silent - you find out that monitoring is broken weeks after the fact.\nSo How to Identify Failures? The trick I used here was to configure ScienceLogic to poll for the date of the last received alarm. I then set thresholds to alarm if the last alarm was more than 2 days, 4 days, or 7 days ago. We usually received a low-priority alarm every couple of days, so this balanced false positives with missed alarms. Now we can get notification of broken monitoring within a few days at most.\nLater releases of the HP Command View software added a \u0026ldquo;heartbeat\u0026rdquo; function that sends traps on a periodic basis. I set this up to send a trap once an hour. This trap gets logged as a \u0026ldquo;Healthy\u0026rdquo; alarm - its only function is to reset the timer for the last received alarm.\nValidation! Sure enough, a few days ago I started getting some alarms saying \u0026ldquo;Last event received from XXXX 2 days ago.\u0026rdquo; I dug into it, and found that there had been changes at the Command View level, and it was no longer forwarding events. If I hadn\u0026rsquo;t configured that catch-all monitoring, it could have been weeks before I found out. Success!\nI don\u0026rsquo;t recommend doing this level of monitoring for everything. But you should be periodically looking at all systems, and identifying those systems raising the fewest alarms. You might be missing something.\n","permalink":"https://lkhill.com/no-alarms-may-not-mean-no-problems/","summary":"\u003cp\u003eNetwork monitoring is often a reactive process. Engineers see an alarm, and take action. Alarms mean someone broke something, and it needs attention. Deal with the alarms, and all will be well. No alarms == Good. But every now and then no alarms means that monitoring is broken. Here\u0026rsquo;s an example of where this happened, and what I do about it.\u003c/p\u003e","title":"No Alarms May Not Mean No Problems"},{"content":"We don\u0026rsquo;t see as many comments on blog posts these days, as most discussion has moved to other forums, such as Twitter or Google+. But this doesn\u0026rsquo;t mean that comments are completely dead.\nIn his book on Technical Blogging, Greg Ferro says that comment volumes have dropped over the last few years:\nFive years ago I loved the comments from the readers who could point out my mistakes (which I would fix) and discuss ideas and ask questions. Today I get very few comments as most people who might have left comments have moved to Twitter.\nRobert Scoble is more forthright, declaring comments dead.\nI agree that we see fewer serious comments on blogs now. But this doesn\u0026rsquo;t mean that comments are dead - take a look at the comments on \u0026ldquo;Twitter tweet slugfest: Cisco ACI vs. Arista Networks.\u0026rdquo; It\u0026rsquo;s up to 90 comments so far, with posts ranging from IETF processes, Power supply efficiency, Arista EOS internals, and of course far more detail about specific linecards and testing methodologies than you really wanted to know.\nMy personal favourite might be the post on estimating total theoretical possible data center power draw based on a maximum 150m allowed by OM4 MMF 100Gb cabling. (TL;DR: About 75MW).\nIt\u0026rsquo;s worth taking the time to read through the comments. Just try to ignore some of the personal attacks, which thankfully seem to settle down after a while.\n","permalink":"https://lkhill.com/who-said-comments-are-dead/","summary":"\u003cp\u003eWe don\u0026rsquo;t see as many comments on blog posts these days, as most discussion has moved to other forums, such as Twitter or Google+. But this doesn\u0026rsquo;t mean that comments are completely dead.\u003c/p\u003e","title":"Who Said Comments Are Dead?"},{"content":"Dobias van Ingen is working to get an HP Networking scripting community together. This is to take advantage of various HPN scripting capabilities, such as:\nComware 7 provides support for Python and TCL Comware 7 also provides support for NETCONF IMC provides extensive eAPI support HP VAN SDN controller provides API support There is now a GitHub repo available, containing all the examples from the recent HP ETSS event in Barcelona. All contributions are encouraged, so if you\u0026rsquo;re doing something interesting, get in touch with Dobias.\nI hope that this gets some traction. Often when we write scripts, we\u0026rsquo;re solving the same problem that many others have. Hopefully we can all contribute and improve each others code, saving time for all of us. Maybe we\u0026rsquo;ll even figure out how to do things we hadn\u0026rsquo;t thought possible.\n","permalink":"https://lkhill.com/hpn-script-repository-on-github/","summary":"\u003cp\u003eDobias van Ingen is working to get an HP Networking \u003ca href=\"http://abouthpnetworking.com/2014/06/30/always-wanting-to-join-new-hpn-scripting-github-community/\"\u003escripting community\u003c/a\u003e together. This is to take advantage of various HPN scripting capabilities, \u003ca href=\"http://abouthpnetworking.com/2014/06/19/hp-network-scripting/\"\u003esuch as\u003c/a\u003e:\u003c/p\u003e","title":"HPN Script Repository on GitHub"},{"content":"Counter data types are commonly used in SNMP monitoring. They are extremely useful, but there\u0026rsquo;s a couple of caveats around how to use them. Here\u0026rsquo;s a couple of issues I\u0026rsquo;ve come across:\nWhat are Counters? From RFC 2578:\nThe Counter32 type represents a non-negative integer which monotonically increases until it reaches a maximum value of 2^32-1 (4294967295 decimal), when it wraps around and starts increasing again from zero. Counters have no defined \u0026ldquo;initial\u0026rdquo; value, and thus, a single value of a Counter has (in general) no information content.\nThis is in contrast to data structures such as a Gauge32 value, which does return information with a single value - e.g. disk space utilised.\nCounters are often used for interface statistics - e.g. ifInOctets, ifOutOctets, etc. When you need to work out the current utilisation on an interface, you can\u0026rsquo;t directly poll that rate - instead you poll the interface Counter at fixed intervals, and calculate the delta. That is then divided by the collection interval, to calculate the rate.\nSo you might poll the ifInOctets value for an interface, and get 10,000 octets at t=0. 300s later, you poll it again, and get 40,000 octects. From that, we can calculate the interface transmission rate as 800bps. 8*(40,000-10,000)/300. We can choose how frequently we want to poll the interface, and control how granular our data is.\nNote that we also have 64-bit counters for some values, to handle high-speed interfaces, where a 32-bit integer might wrap within a collection cycle.\nNMS Design Implications When we collect Gauge-type information, we only need to worry about the specific value collected. But for Counters, we need to worry about both the current value and the last one (so we can calculate the delta), and we need to note the collection interval.\nHere\u0026rsquo;s the wrinkle: which collection interval do I mean - the configured interval - e.g. 5 minutes - or the actual interval? The problem is that monitored systems cannot be guaranteed to always respond at exactly the same time delta. SNMP is usually a lower priority process, so if a system is busy, it might take an extra second to respond to an SNMP request. Now our collection intervals might look like 300s, 302s, 299s, 298s, 303s, 301s\u0026hellip;Does that really matter? Can\u0026rsquo;t I just assume it is 300s? No!\nReal-World Problems (1) One of the NMS products I work with assumes that the collection interval is always the same. This leads to alerts like \u0026ldquo;Interface is reporting utilisation above 100%\u0026rdquo;, and graphs like this - in particular note the circled area:\nDuring that spike, it\u0026rsquo;s reporting over 1Gbps utilisation - on a physical 1Gb link. You can also see that the graph is \u0026ldquo;choppy\u0026rdquo;, during periods of peak utilisation. What should be a flat graph is instead bumpy.\nWhat\u0026rsquo;s happening is that one collection interval was a little longer than the previous one, which meant the counter had increased by more. If you assume a fixed time interval, the calculated speed is too high. The next collection interval was shorter, which meant that the calculated speed was too low. Averaged over the intervals, it would come out about right.\nThe same product also fails when the collection interval is changed for an interface - e.g if you change the collection interval from 15 minutes to 5 minutes, the historical graphs all show triple the traffic utilisation. Very disappointing.\nOther products I\u0026rsquo;ve used take into account the variation - e.g. if you look at the raw metrics CSV files used between HP NNMi and iSPI Performance, it includes a \u0026ldquo;Delta Time (Seconds)\u0026rdquo; column, which can be used to more accurately calculate the interface utilisation.\nReal World Problems (2) Another issue I have seen is with Infoblox systems. These have SNMP counters available for reporting things such as Successful DNS queries. This is a Counter value, and I should be able to poll it at an interval of my choosing, and from there calculate the DNS query rate. Sounds good. But there\u0026rsquo;s a problem - the values only seem to get updated once per minute. I ran a script to poll a single OID every 10s, and these were the results:\n1 2 3 4 5 6 7 8 9 10 11 Counter64: 30367166 Counter64: 30367166 Counter64: 30374550 Counter64: 30374550 Counter64: 30374550 Counter64: 30374550 Counter64: 30374550 Counter64: 30374550 Counter64: 30382267 Counter64: 30382267 Counter64: 30382267 See the problem? It\u0026rsquo;s only updating the results every minute. If I happen to poll it at exactly the same interval, I\u0026rsquo;ll probably be OK. But what if my polling cycles vary slightly, and are maybe 1s either side of exactly 300s? Then I get graphs like this:The polled values are jittering around my smoothed trend. This is all because the Infoblox system is only periodically updating that counter.\nDo It Right If you\u0026rsquo;re writing your own simple collection script that is pulling values from a Counter, it\u0026rsquo;s probably OK to assume a fixed interval. But if you\u0026rsquo;re writing anything serious, you need to make sure your calculations take natural variation into account. It\u0026rsquo;s not OK to assume a perfect world where everything happens at exactly the time interval you schedule it for.\nSimilarly, if you\u0026rsquo;re writing the code behind a Counter value, make sure it increments in real-time, not at scheduled intervals.\n","permalink":"https://lkhill.com/snmp-counters-collection-interval-variation/","summary":"\u003cp\u003eCounter data types are commonly used in SNMP monitoring. They are extremely useful, but there\u0026rsquo;s a couple of caveats around how to use them. Here\u0026rsquo;s a couple of issues I\u0026rsquo;ve come across:\u003c/p\u003e","title":"SNMP Counters - Collection Interval Variation"},{"content":"I switched this blog over to using CloudFlare a few days ago. It\u0026rsquo;s all been pretty painless, and I highly recommend it to others.\nWhat is CloudFlare, and Why Use It? CloudFlare \u0026ldquo;protects and accelerates any website online.\u0026rdquo; It does this by acting as a reverse proxy, sitting between end-users and your website. All traffic to your website gets directed through the CloudFlare global network. Because CloudFlare sees all traffic to your site, it can inspect it, dropping malicious traffic, and only passing valid requests on to your site.\nCloudFlare also caches content, improving performance for your users, and reducing load on your web server. There are some other features you can enable, such as redirecting mobile users to a mobile-specific site, enabling SSL, etc. CloudFlare offers a range of features and pricing plans, but at the moment, I only need the features provided at the free level.\nThe key feature that attracted me was IPv6 - CloudFlare can act as an IPv6 to IPv4 gateway, providing native IPv6 access to end-users, even when your hosting provider can\u0026rsquo;t yet provide native IPv6. Perfect!\nThe other reason I finally got around to moving to CloudFlare was that Tim Hoffman has recently joined them - this was the trigger I needed to complete the setup.\nMigration Steps: Here\u0026rsquo;s the steps I went through to add my blog to CloudFlare:\nCreate an account at CloudFlare, and add lkhill.com - it then scanned my domain, and chose some sensible defaults - e.g. noting that I have ftp.lkhill.com, and configuring that to bypass CloudFlare. Updated the NS records for lkhill.com to point to the DNS servers provided by CloudFlare Add PageRule to exclude /wp/wp-admin/* from Caching. Install CloudFlare Wordpress plugin Change CloudFlare settings to enable IPv6 (CloudFlare Settings -\u0026gt; Automatic IPv6 -\u0026gt; Full) Pretty painless really.\nProfit! (?) Now I can look at some pretty analytics like this:\nCloudFlare Analytics\nNote how it\u0026rsquo;s saying it stopped an attack from New Zealand - I wish it could tell me who it was, so I can go around to their house and sort them out. Because of course everyone knows everyone in this country.\nI can also see the volume of requests \u0026amp; traffic saved by CloudFlare - this is a not-insignificant amount over the last week:\nI\u0026rsquo;m looking forward to seeing the stats over a longer timespan. I\u0026rsquo;d also like to explore using the CloudFlare API to pull statistics into some of the other monitoring platforms I work with. A challenge for another day.\nIf you\u0026rsquo;re running your own website, you should investigate CloudFlare. It will improve your security and availability, and give you IPv6 access, even if your hosting provider is dragging their feet. Recommended.\nNote: NB: I have no affiliation with CloudFlare. I\u0026rsquo;m just a happy customer, using the same free tier available to everyone ","permalink":"https://lkhill.com/cloudflare-that-was-easy/","summary":"\u003cp\u003eI switched this blog over to using \u003ca href=\"http://www.cloudflare.com/\"\u003eCloudFlare\u003c/a\u003e a few days ago. It\u0026rsquo;s all been pretty painless, and I highly recommend it to others.\u003c/p\u003e","title":"CloudFlare: That Was Easy"},{"content":"APNIC entered their \u0026ldquo;final /8\u0026rdquo; phase in April 2011. From that time, new and existing APNIC members could request a maximum of one IPv4 /22 prefix. Once you had requested your final /22, that was it. No more IPv4 addresses for you. Or was it?\nAPNIC \u0026amp; IANA have been rummaging around down the back of the couch, finding some recovered IPv4 blocks, and they\u0026rsquo;ve managed to cobble together a total of a /11 to allocate to APNIC.\nAPNIC has enacted Proposition 105, which allows members to request up 1,024 additional addresses, even if they have already received their \u0026ldquo;final\u0026rdquo; /22. This was implemented on May 28, 2014. Requesting additional space is pretty straightforward - go to MyAPNIC, go to Resources -\u0026gt; Resource Request Forms -\u0026gt; IPv4 addresses, and fill in the application form.\nYou still need to provide justification for the new space, and there\u0026rsquo;s an extra caveat: You must not transfer the space to anyone else for at least 12 months. This is to prevent people flipping them on for an immediate profit. I\u0026rsquo;m sure there are people setting up shell companies, registering with APNIC, paying the membership fees, just to get a new member allocation of /21, and then planning on selling it. At least now they\u0026rsquo;ll need to sit on it for a little while. At current membership rates vs IPv4 prices, it\u0026rsquo;s a profitable, if morally questionable business to be in.\nApplication was pretty straightforward, and it was processed pretty quickly. The new block was allocated within a few days. Time to update BGP filters and Geo-location DBs again. Sigh.\n(Oh and yes I know: IPv6. I know, I know).\n","permalink":"https://lkhill.com/apnic-final-final-22-now-available/","summary":"\u003cp\u003e\u003ca href=\"https://www.apnic.net/\"\u003eAPNIC\u003c/a\u003e entered their \u0026ldquo;\u003ca href=\"https://archive.apnic.net/news-archives/2011/final-8/\"\u003efinal /8\u003c/a\u003e\u0026rdquo; phase in April 2011. From that time, new and existing APNIC members could request a maximum of one IPv4 /22 prefix. Once you had requested your final /22, that was it. No more IPv4 addresses for you. Or was it?\u003c/p\u003e","title":"APNIC - final 'final' /22 now available"},{"content":"Fortinet makes an email security/anti-spam appliance called FortiMail. I wanted to collect spam and virus statistics from it, to integrate with our Network Monitoring Systems. Unfortunately the data is not exposed via SNMP or API, so I had to resort to some ugly code to get it working. Here\u0026rsquo;s what I did:\nCLI - \u0026lsquo;diagnose statistics get total\u0026rsquo; The only way I could find the statistics I needed was via the CLI. Running the diagnose statistics get total command produces output like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 mx1 # diagnose statistics get total Total mail statistics: First update at 2013-07-10 11:07:07 +1200(1373411227) Latest update at 2014-06-12 13:57:53 +1200(1402538273) Latest dump at 2014-06-12 13:54:37 +1200(1402538077) Anti-Virus(drop/discard) | 0 | CT_UNDEFINED | 11846997 3142660| User White | 1272 | User Black | | System White | 67684 28188 | System Black | 38824 | DNSBL | 348389 | SURBL | 5645 1483 | FortiGuard AntiSpam | 4664483 2104205| FortiGuard AntiSpam-White | 530 | Bayesian | | Heuristic | 24017 61964 | Dictionary Filter | 58012 | Banned Word | | Deep Header | | Forged IP | | Quarantine Control | | Virus as Spam | | Attachment Filter | | Grey List | 206272 | Bypass Scan On Auth | 1753 | Disclaimer | | Defer Delivery | | Session Domain | | Session Limits | 235680 | Session White | | Session Black | | Content Monitor and Filter | | Content Monitor as Spam | | Attachment as Spam | | Image Spam | 3530 2343 | Sender Reputation | | Access Control | 12058 | Whitelist Word | | Domain White | | Domain Black | | SPF | | Domain Key | | DKIM | | Recipient Verification | 10392861 | Bounce Verification | | Endpoint Reputation | | TLS Enforcement | | Message Cryptography | | Delivery Control | | Encrypted Content | | SPF Failure as Spam | 48753 | Fragmented email | | Email contains image | | Content Requires Encryption | | FortiGuard AntiSpam-IP | 953487 360 | Session Remote | | FortiGuard Phishing | | AntiVirus | 29236 104 | Sender Address Rate Control | | Total(34280790) | 10667365 18200295 5413130| It\u0026rsquo;s pretty ugly, and they don\u0026rsquo;t seem to document all the fields properly, but I can figure it out. So I need to SSH to the box every collection interval, run that command, and parse the output.\nParamiko to the rescue? I\u0026rsquo;m using ScienceLogic to collect this data. It allows creation of custom Dynamic Applications, which can run Python scripts to collect the data. Normally I\u0026rsquo;d use the Paramiko module to do the SSH part. The code would look something like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 command = \u0026#39;diagnose statistics get total\u0026#39; server = fortimail user = monitoring passwd = \u0026#39;SuperSecret\u0026#39; port = \u0026#39;22\u0026#39; timeout = 5 stdout = None try: ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(server, username=user, password=passwd, port=int(port), timeout=float(timeout)) stdin, stdout, stderr = ssh.exec_command(command) except paramiko.BadHostKeyException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Could not connect to remote device, bad host key detected: %s\u0026#34; % (self.app_id, str(e)))) except paramiko.AuthenticationException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Authentication failed, check credential id: %s, error: %s\u0026#34; % (self.app_id, self.cred_details[\u0026#39;cred_id\u0026#39;], str(e)))) except paramiko.SSHException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, SSH failure: %s\u0026#34; % (self.app_id, str(e)))) except socket.error, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Socket failure: %s\u0026#34; % (self.app_id, str(e)))) except: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, General failure\u0026#34; % (self.app_id))) After that, the rest of the code could parse the stdout output, and grab the statistics. Unfortunately this didn\u0026rsquo;t work. It seems that FortiMail wants a PTY allocated, otherwise it won\u0026rsquo;t run the command - it just returns nothing:\n1 2 3 [lkhill@sciencelogic ~]#ssh monitoring@fortimail \u0026#39;diagnose statistics get total\u0026#39; monitoring@fortimail\u0026#39;s password: [lkhill@sciencelogic ~]# Paramiko - Lower Level Using SSHClient() greatly simplifies SSH connection handling in Paramiko, but it wasn\u0026rsquo;t letting me request a PTY. It took me a while of reading through the documentation and hunting around until I came up with this ugly code block:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 try: transport = paramiko.Transport((server, port)) transport.connect(username = user, password = passwd) chan = transport.open_session() chan.set_combine_stderr(True) chan.setblocking(blocking=0) chan.settimeout(timeout=float(timeout)) chan.get_pty() chan.invoke_shell() chan.send(command+\u0026#39;\\n\u0026#39;) time.sleep(1) while chan.recv_ready(): stdout = stdout + chan.recv(2048) time.sleep(0.1) chan.send(\u0026#39;exit\\n\u0026#39;) chan.close() transport.close() except paramiko.BadHostKeyException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Could not connect to remote device, bad host key detected: %s\u0026#34; % (self.app_id, str(e)))) except paramiko.AuthenticationException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Authentication failed, check credential id: %s, error: %s\u0026#34; % (self.app_id, self.cred_details[\u0026#39;cred_id\u0026#39;], str(e)))) except paramiko.SSHException, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, SSH failure: %s\u0026#34; % (self.app_id, str(e)))) except socket.error, e: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, Socket failure: %s\u0026#34; % (self.app_id, str(e)))) except: self.internal_alerts.append((SNIPPET_MSG, \u0026#34;App:%s, General failure\u0026#34; % (self.app_id))) It\u0026rsquo;s not pretty, but it works. Later revisions of Paramiko include a get_pty argument to exec_command(). I believe that this would work, and would much improve my code, but I can\u0026rsquo;t update the Paramiko module on this system. Hopefully later ScienceLogic releases will update it.\n","permalink":"https://lkhill.com/using-paramikopython-with-fortimail/","summary":"\u003cp\u003eFortinet makes an email security/anti-spam appliance called \u003ca href=\"http://www.fortinet.com/products/fortimail/\"\u003eFortiMail\u003c/a\u003e. I wanted to collect spam and virus statistics from it, to integrate with our Network Monitoring Systems. Unfortunately the data is not exposed via SNMP or API, so I had to resort to some ugly code to get it working. Here\u0026rsquo;s what I did:\u003c/p\u003e","title":"Using Paramiko/Python with FortiMail"},{"content":"I freely admit to not truly understanding the American political/economic system. Sure, I get the general mechanics of it, but I don\u0026rsquo;t understand the subtle plays, and why people do certain things.\nSo can someone explain to me why Cisco felt it was necessary to put out a statement about a Congressman becoming House Majority Leader?\n“Congratulations to Congressman Kevin McCarthy on becoming House Majority Leader. Kevin is a true champion for California and the innovation economy. Cisco looks forward to continuing to work with Leader McCarthy and other members in Congress to make needed progress on the very real challenges facing our nation and the technology industry.” John Chambers, Cisco Chairman and CEO\nI can almost understand some glib statement congratulating a new President, or some such, but why this? Why did Cisco feel they needed to make a public statement, who are they appealing to, and what are they hoping to get out of it? Can anyone explain?\nI\u0026rsquo;m not commenting on whether they should or should not have done it, I\u0026rsquo;m just trying to understand why they do it.\n","permalink":"https://lkhill.com/cisco-political-comments-why/","summary":"\u003cp\u003eI freely admit to not truly understanding the American political/economic system. Sure, I get the general mechanics of it, but I don\u0026rsquo;t understand the subtle plays, and why people do certain things.\u003c/p\u003e","title":"Cisco Political Comments - Why?"},{"content":"Packet Pushers normally focuses on networking, but episode 192 covered \u0026ldquo;Logging Design and Best Practices.\u0026rdquo; I often think about logging in the context of network management, so it was good to hear an episode devoted to it. There\u0026rsquo;s a lot of valuable information in logs, and it\u0026rsquo;s an important part of managing your network.\nThere\u0026rsquo;s a lot to getting valuable information from your logs, but just I wanted to pick up on two key points/techniques mentioned on the show:\nExclude what you know Statistical analysis People focus too much on looking for specific patterns in the logs, which was why I was pleased to see these techniques mentioned.\nExclude What You Know It\u0026rsquo;s easy to look for specific patterns - e.g. LINK_DOWN, LINK_UP, FAN-FAIL. But we need to know what these patterns are in advance. What about what we don\u0026rsquo;t know? That\u0026rsquo;s where things slip through. Sometimes we need to go through our logs, and strip out everything that is just \u0026ldquo;business as usual,\u0026rdquo; or regular \u0026ldquo;noise.\u0026rdquo;\nStart by looking at the logfiles, and look for common patterns. Remove those, look for the next most common pattern. Rinse and repeat until you\u0026rsquo;re down to a few entries that don\u0026rsquo;t quite belong. Do this regularly, and you\u0026rsquo;ll find a few new things that would have slipped through the cracks otherwise.\nIn the early days, I would do this by starting with the raw syslog file, and using grep -v | grep -v | .... Tedious stuff.\nTimes have moved on. Use a tool like Splunk/Graylog2 to set up a saved search that has all the patterns to exclude. Add that to a dashboard, and you can quickly review it every few days. You\u0026rsquo;ll need to keep tweaking the search to improve it. Do this every time you get a few new entries appear.\nStatistical Analysis You don\u0026rsquo;t even need to look at the log contents to learn things. You can infer things just by looking at the rate at which you receive logs from devices. Here\u0026rsquo;s some ideas on things to look for:\nHighest logging rate (all patterns) Most common pattern (across all sources) Lowest logging rate (e.g. sources no longer sending logs due to fault/misconfiguration) Overall logging rate - higher or lower than normal. Abnormal rate for a specific source (higher or lower than normal) Abnormal rate for a specific pattern. The first four are easy to do with any log management tool. The last two can be a bit trickier. It needs statistical analysis, but tools that promise to do it automatically can be pretty noisy. Sometimes you just end up looking at a time-series graph, and eye-balling it.\nThere\u0026rsquo;s a lot of data in the logs, you just need to know how to look for it. Go and listen to the episode now - you\u0026rsquo;ve already subscribed, right?\n","permalink":"https://lkhill.com/getting-more-information-from-your-logs/","summary":"\u003cp\u003e\u003ca href=\"http://packetpushers.net/\"\u003ePacket Pushers\u003c/a\u003e normally focuses on networking, but episode 192 covered \u0026ldquo;\u003ca href=\"http://packetpushers.net/show-192-logging-design-best-practices/\"\u003eLogging Design and Best Practices.\u003c/a\u003e\u0026rdquo;  I often think about logging in the context of network management, so it was good to hear an episode devoted to it. There\u0026rsquo;s a lot of valuable information in logs, and it\u0026rsquo;s an important part of managing your network.\u003c/p\u003e","title":"Getting More Information From Your Logs"},{"content":"Cisco ACI represents a significant shift in the way we approach networking. This sort of shift will need massive customer education to explain their new vision. I\u0026rsquo;m getting the impression that Cisco is frustrated that their new messaging is not well-understood, and they feel that public perception is wrong, particularly in regards to NSX. Cisco seems to be blaming customers and analysts for this - should they instead be looking at themselves?\nNote: First some background: I don\u0026rsquo;t work for a Cisco partner, so I don\u0026rsquo;t get any special briefings. I don\u0026rsquo;t have a \u0026lsquo;rich nerd daddy\u0026rsquo; so I didn\u0026rsquo;t attend Cisco Live. A quote for USD$300K+ of Cisco hardware is a very big order for us. I\u0026rsquo;m just a guy who\u0026rsquo;s very interested in where networking is going, but all research is done on my own time. This places severe limits on how much I can dig into any one product set. I can\u0026rsquo;t read every whitepaper. Instead I look at the higher level messaging, and I rely heavily on impressions from bloggers and analysts. Messages are diluted and filtered by the time they get to me. Same as it is for most customers. Attacking NSX Keynote speeches during the recent Cisco Live US conference went on the offensive against NSX, talking about scale limitations, dependencies/lock-in, etc. In itself, this was very interesting that Cisco dismissed all other players, and attacked NSX. Problem was, some of that information appeared to be at best disingenuous, at worst wrong. Ethan Banks has written about some of this:\nThe takeaway is straightforward. Don’t get your information about a vendor’s product from a competitor. If you notice one vendor attacking another, assume there’s a really competent product being attacked – otherwise, why bother? Maintain a healthy skepticism of marketing claims, no matter where they come from. You MUST perform due diligence before bringing any solution into your network, especially one that will be disruptive.\nI recommend reading Ethan\u0026rsquo;s post, and the comments attached to it.\nAttacking Bloggers/Analysts/Customers Greg Ferro wrote an article about ACI for Network Computing. The general thoughts gel with what I\u0026rsquo;ve heard, but Cisco didn\u0026rsquo;t like it at all. Frank D\u0026rsquo;Agostino came out very strongly in the comments section:\nFor the amount of time Cisco has invested in you to help you understand what ACI is and isn\u0026rsquo;t, you forever get it wrong Being technical is no excuse for puposefully misinforming people. This is pure BS, Greg has no idea on pricing, how open the platform is and the fact that we can not only existing on existing infrastructure but ACI can be extended over competitive infrastructure. Greg do your homework.. This is a clear indication to me that the author knows nothing about taking a product to market. \u0026hellip;etc\nWhat\u0026rsquo;s interesting here is the way that the attacks are framed: \u0026ldquo;You\u0026rsquo;re too stupid to understand ACI.\u0026rdquo; Yet if they\u0026rsquo;ve invested a lot of time in helping Greg understand ACI, whose fault is it that the message is misunderstood? I also find it interesting to say \u0026ldquo;Greg has no idea on pricing\u0026rdquo; - so Cisco has invested a lot of time in explaining ACI to Greg, but they deliberately haven\u0026rsquo;t mentioned pricing? Whose fault is that? Maybe they should be re-thinking their messaging.\nSimilarly, Twitter exchanges such as this are not uncommon:\nThis tweet has been removed\ni.e. the blame is on us for not understanding the message (because we\u0026rsquo;re NSX fanboys apparently). Here\u0026rsquo;s a hint: attacking potential customers for not understanding your product won\u0026rsquo;t help close sales deals.\nFrustrations Boiling Over My impression is that Cisco is letting their frustration show. They believe they have a developed a great set of products/technologies/architectures that can re-shape networking. They\u0026rsquo;ve been working on it for several years, and because they\u0026rsquo;re deeply immersed in it, they can see the full scope of that vision.\nThere\u0026rsquo;s just one problem: Too many people outside the Insieme Business Unit don\u0026rsquo;t seem to get it yet. When you passionately believe in something, it can be very hard to understand why others don\u0026rsquo;t immediately recognise its greatness. That is very frustrating, and I think it\u0026rsquo;s boiling over into some of their messaging.\nTechnical people often make the mistake of assuming that if you don\u0026rsquo;t understand how great my solution is, the problem must be with you: You\u0026rsquo;re too stupid to understand my brilliance. But often it means that the solution has not been properly explained. Remember, you\u0026rsquo;ve got the full vision and background in your head - the other person doesn\u0026rsquo;t.\nI also suspect that Cisco\u0026rsquo;s worried about NSX taking \u0026ldquo;mind-share\u0026rdquo; - it feels like there\u0026rsquo;s a favourable general opinion towards NSX, and VMware\u0026rsquo;s been pushing their message a bit longer. Cisco can see that there are limitations to NSX, and they feel they\u0026rsquo;re not getting full credit for the completeness of their ACI vision.\nAside: Pricing There\u0026rsquo;s been a lot of comments around Cisco ACI/Nexus 9K pricing, and in spite of what Cisco\u0026rsquo;s said about price per port being market-leading, my gut feel was always that a complete ACI solution would be \u0026ldquo;reassuringly expensive.\u0026rdquo;\nThat makes it interesting to see Joe Onisick quote some average street prices:\nThe entry level Average Street price (ASP) we quote publicly is $125K US. That gets you the controller cluster, licensing, 2x 9396 leaf switches (48x full-rate 1/10G ports \u0026amp; 12x40G uplinks), and 2x 9336PQ spine switches (35x 40G line-rate.)\nThose prices are very attractive relative to a quote I have in front of me for some 10G switches. I could throw away the ACI parts, and just use them as fast, cheap switches. The 9K software currently has a (deliberately) limited feature-set. But if you just want fast, cheap connectivity, that\u0026rsquo;s tough to beat.\nIt Will Come Right\u0026hellip;eventually I\u0026rsquo;m sure Cisco can get over this. They\u0026rsquo;ve got the resources, and plenty of very intelligent people. Once they get more products and code shipping, and a broad installed base doing interesting things, then wider acceptance and understanding will come. But they should be very careful about blaming customers for not understanding their vision. If the messaging is not being understood, then change the messaging. Don\u0026rsquo;t vent your frustrations on us. We\u0026rsquo;re your potential customers, remember?\n","permalink":"https://lkhill.com/cisco-aci-messaging/","summary":"\u003cp\u003eCisco ACI represents a significant shift in the way we approach networking. This sort of shift will need massive customer education to explain their new vision. I\u0026rsquo;m getting the impression that Cisco is frustrated that their new messaging is not well-understood, and they feel that public perception is wrong, particularly in regards to NSX. Cisco seems to be blaming customers and analysts for this - should they instead be looking at themselves?\u003c/p\u003e","title":"Is Cisco Struggling with Their ACI Messaging?"},{"content":"I periodically re-evaluate my career, and my current position, and try to decide A) Should I change, and B) What sort of change should I make? One part of evaluating options is looking at what type of employment suits you better: Employee, Consultant, Contractor.\nI’ve been around a little while now, and I’ve worked in all of these types of roles, for a number of companies. They all have good and bad points, and you’ll find that the right employment relationship probably varies at different stages in your career.\nHere’s a few thoughts on the pros and cons of each.\nPermanent Employee This is the traditional employment relationship, where the expectation is that you will continue to work for this employer for the indefinite future. Of course, you don’t have any real job security, but we all like to play make-believe sometimes.\nPros: It’s your network. Yours. You can learn every nook \u0026amp; cranny, draw the whole thing off the top of your head, including IPv4 AND IPv6 schema. You know where the bodies are buried, which systems are robust, and which ones you must NEVER touch on a Thursday. If the organisation is big enough, you can move around within the company, to keep engaged, and up to date with shifting technologies/interests. Good employees will be supported in this. Related to above: Good employers will help with training to adopt new systems Continuous improvement: you can keep polishing systems, automating this little piece here, tidying up that nasty little hack there. Output is more important than time spent on a task. You’re not under pressure to allocate every minute of the day to a billable project. May even get your own desk (if you\u0026rsquo;re into that sort of thing). Cons: Might be limited in technologies and systems - e.g. most companies only upgrade their core network once every 5 years. You could get out of touch with technical skills. Or what if you\u0026rsquo;re a Unix admin, and your company goes all Microsoft? Company politics is a tough game to play. Don’t expect to be able to ignore it. What if you don’t like Bob that sits next to you? Note: NB: You could argue that there are several sub-categories here - working for a vendor, working for a technology-focused firm, and working for a non-technology-focused firm. Each of those can have very different demands and rewards. That\u0026rsquo;s a discussion for another day. Consultant Consultants are usually directly employed by one firm, but then work for many clients on short-term engagements. They may work for several weeks at a time at one site, or they may have multiple ongoing relationships - e.g. 2 days/week at client A, 1 day/week for each of clients B \u0026amp; C, and another day trying to get more work at client D.\nPros: You’ll move around often, seeing a range of companies. You’ll find that companies can work very differently. Hopefully you can take something from the best ones, and apply it elsewhere. Chance to use the latest technologies, and work through tricky transitions, upgrades and cutovers. People bring you in because they\u0026rsquo;re Doing Stuff, or there\u0026rsquo;s a major cock-up that needs fixing. You learn a lot, quickly. This is a great chance to build up your CV. Doesn’t matter too much if you don’t like the current client - you’re moving on soon anyway. Seeing the sales cycle up close might repulse you, but you’ll also learn something useful. Cons: You will be under pressure to only do enough to get the job signed off, so you can move on. There\u0026rsquo;s always ways a system can be improved, or added to. You\u0026rsquo;ll be left with a nagging sense of leaving things \u0026ldquo;not quite finished.\u0026rdquo; Billable hours. You will be filling in time sheets every day. Any time someone interrupts you to chat, you’re thinking “What project can I bill this to?” Timesheets are one of the reasons lawyers are so unhappy. If business is slow, daily measurement of utilisation/billable hours is very depressing, since you are not measured on output, only hours billed. If things are busy, you\u0026rsquo;ll be double-billing. Billable hours are probably the single biggest challenge I have with consulting. You\u0026rsquo;ll have to learn to cope with “imposter” syndrome, where you are wheeled out as The Expert for a product that you’ve only read the data sheets for, and seen once in a lab, looking over someone\u0026rsquo;s shoulder. You never have your own desk. You use whatever\u0026rsquo;s spare. Other people\u0026rsquo;s desks are filthy. Really filthy. Plus, you get the squeaky chair. \u0026ldquo;The one with mysterious stains straight up the center of the seat\u0026rdquo; Contractor Contractors spend longer periods at a single customer site. Often they will be employed on 3- or 6-month terms, which may then roll over several times. Often the contractor works directly for the end-client (or through an agency/umbrella company). This form of employment is more popular and better rewarded in certain markets - e.g. The UK. Contracting is less popular in other markets, where contractors are paid a low risk premium, and contracts are usually seen as ‘trial’ periods for permanent roles.\nPros: You can spend long enough at a site to really understand the systems, but you’re not stuck, and can still move around and see different companies. You’ll also keep a healthy degree of separation from company politics. There’s frequent, clear recognition of a job well done: The client wants to roll over the contract. Can be very financially rewarding, with significant tax benefits - e.g. Claim your rent as tax-deductible for short-term gigs. Because you\u0026rsquo;re not subsidising sales people and a flashy office, much more of the daily rate flows straight through to you. The cash + the flexibility can let you lead a more interesting life - e.g. over a 5-year period, I chose to work less than half the time, spending the rest of the time travelling the world. Cons: Can be difficult to get into new technologies, as you are employed for what you know, not what you can learn. You will need to pay for your own training. Higher risk - you will be the first to be let go in a downturn. Does not suit people with mortgages and young children. You’ll be talking to IT Recruiters frequently. There\u0026rsquo;s a reason that recruiters have a poor reputation. It takes a little while to find people you can trust - there’s a lot of shady characters and bullshit out there. Good recruiters do exist though. All this ignores the culture within each firm you might work for. That’s something that can be difficult to ascertain from the outside, and even then, culture varies within an organisation - the team is probably more important than the company. Mike Bushong writes well on this topic at the Plexxi blog. If you\u0026rsquo;re consulting or contracting, the culture is probably less important anyway.\n","permalink":"https://lkhill.com/comparing-employment-relationships/","summary":"\u003cp\u003eI periodically re-evaluate my career, and my current position, and try to decide A) Should I change, and B) What sort of change should I make? One part of evaluating options is looking at what type of employment suits you better: Employee, Consultant, Contractor.\u003c/p\u003e","title":"Comparing Employment Relationships"},{"content":" This article is Part 5 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - This Article Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Back to Networking War Stories: This time it’s proxy ARP, Check Point, and more admissions that just occasionally, the firewall is actually at fault. This time I got caught out by proxy ARP configuration. Here’s what happened:\n(Before starting, if you don’t understand the use of Proxy ARP and NAT, it might be worth reading this post first: Proxy ARP sucks).\nThe Network We had a router (R1) sitting in front of a Check Point cluster (FW1-A and FW1-B), running on Nokia IPSO. VRRP was used for failover between the firewalls:\nMost servers were statically NATted, in the range 200.200.200.0/24. There was a static route on R1 for that range that looked like this:\n1 ip route 200.200.200.0 255.255.255.0 100.100.100.100 This was all working as expected. No proxy ARP required, because routing took care of it.\nThe Problem When configuring NAT on objects in Check Point, there’s a few different ways of doing it. One method is to configure manual NAT rules. These rules are configured as a table, mapping original to NATted IPs (and/or ports). Another method is to configure Automatic NAT rules, on the object itself. There you configure it to statically NAT, to hide NAT behind a specific IP, or to hide NAT behind the firewall.\nWe had a couple of servers that would only ever need outbound access, so instead of wasting public IP space, we set them to automatically hide behind the firewall. This should hide the devices behind the firewall cluster public IP - 100.100.100.100 in this case.\nThe rules were configured, and all appeared to be well. Traffic was passed as expected, and NAT was working properly.\nBut then sometimes it didn’t. Or worse, it would ‘sort of’ work. Connectivity from those servers to external destinations was intermittent, sometimes working, sometimes not. A bit of bouncing back and forth, and the demand came “Reboot the firewall - switch traffic to FW1-B.” “Why?” “Well, just because it’s sometimes been flaky in the past, so just do it.”\nI couldn’t see why this would help, since everything should be the same on the secondary firewall. Same policy, same hardware, same patch levels. Fine, I’ll do it, just to shut people up.\nAh crap. After using VRRP to switch traffic across to FW1-B, rebooting FW1-A, and making it VRRP master again, it all worked. Hmmm. Didn’t expect that.\nWhen you’re always trying to defend the firewalls, it’s quite galling to have it proven that the problem is indeed the firewall.\nWhat Was Going On? Looking around, I saw some “Packet out of state” messages in the FW1-B logs. Why would that firewall be processing packets? Shouldn’t they all be going via FW1-A? Then when I dug further, I found this on the R1 ARP table:\n1 2 3 4 5 6 R1#sh ip arp Protocol Address Age (min) Hardware Addr Type Interface Internet 100.100.100.100 0 bbbb.bbbb.bbbb ARPA FastEthernet0/0 Internet 100.100.100.101 0 aaaa.aaaa.aaaa ARPA FastEthernet0/0 Internet 100.100.100.102 0 bbbb.bbbb.bbbb ARPA FastEthernet0/0 R1# What the hell’s going on there? Why is traffic for the virtual IP being forwarded to the real MAC of the standby firewall? Why isn’t R1 getting the VRRP MAC via ARP? It should be using 0000.5e00.0101.\nChecking on FW1-B, the ARP table showed that it was publishing a proxy ARP entry for the VRRP IP. But why? It wasn’t configured anywhere in the IPSO configuration. And here’s where it got stranger: If we switched VRRP priorities, so FW1-B went to master, then went back to backup, the proxy ARP entry disappeared. That’s why things started working when we restarted FW1-A.\nAt that point it was all OK…until the next time policy was installed. Then the proxy ARP entry showed up again. It seemed that Check Point was automatically configuring proxy ARP entries that it thought the firewall needed. Why?\nThe Fix Check Point has a global option for “Automatic Proxy ARP configuration.” This option will automatically add any proxy ARP entries that it thinks are required. It looks at all NAT entries, works out which ones are for attached networks, where no ARP entry currently exists. It then adds a proxy ARP entry for those IPs.\nFor most of our NAT rules, the IPs used were not in any directly attached network, therefore no proxy ARP was required. But for these hide NAT entries, it was in a directly attached network. On the VRRP Master, it already had an ARP entry for the VRRP IP, so no action was required. But on the Backup, it was not currently publishing an ARP entry - so Check Point automatically added one.\nSwitching the firewalls back and forth cleared this behaviour, and it was only re-applied at policy install time.\nThe fix was to disable Automatic Proxy Arp configuration. This is never required in a VRRP environment. If you ever needed proxy ARP, it would have to be manually added, to make sure the VRRP MAC was used, not the interface MAC. I believe Check Point changed the default policy in later versions.\nWe applied the fix, and after that, all was well. But people were still suspicious of that damn firewall…\n","permalink":"https://lkhill.com/war-stories-proxy-arp-auto-configuration/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 5\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Proxy ARP Auto-Configuration"},{"content":"Proxy ARP was often used in network designs 10–15 years ago, to enable NAT. It helped get around some specific challenges, but it was always an administrative hassle, and caused significant scaling issues. There’s very little reason to use it these days, but sadly it still lingers on, just waiting to catch out junior engineers.\nNote: NB: This post is about proxy ARP in the context of NAT - it’s not about using proxy ARP to get around misconfigured network masks/missing routes. Proxy ARP History 15+ years ago, Enterprises would have a small public IP allocation, delivered to them by their local ISP. The ISP would manage the CPE, and present an Ethernet connection to the Enterprise. That local network would be the public subnet - e.g. 200.200.200.0/24. You could plug in a switch, and directly connect your servers. Give them an address from 200.200.200.0/24, and set the default gateway to be the CPE. Done.\nLegacy Connection - No NAT needed\nBut hang on, what if we wanted to use a firewall? And what about NAT? That started coming into wide-spread use, and Enterprises liked the idea of being able to use a small public IP range for many internal systems. Now our network looks like this:\nProxy ARP now required\nThe problem now is that our servers have internal private IP addresses. The firewall and CPE are using IPs in the 200.200.200.0/24 range, but how can we NAT say 200.200.200.50 to our internal server at 172.16.10.10? We can configure the NAT policy on our firewall, but we still need a way to get the CPE to forward frames to the firewall, so it can translate them, and forward them on. The problem is that if the CPE needs to forward traffic to 200.200.200.50, it assumes that it’s a locally connected system, and so it sends out an ARP broadcast.\nThis is where proxy ARP comes in. We could configure proxy ARP on the firewall to say “In addition to your own interface IPs, if you see an ARP request for 200.200.200.50, then respond with your own MAC address.” The CPE would get an ARP response from the firewall, and forward the frames to the firewall’s MAC.\nThe firewall would see its MAC as the destination, recognise that it needed to process the frame, see that it was to an IP that it had a NAT policy for, apply the NAT policy, and forward the packet to the internal private IP.\nThat’s all good, and it got around our problem. From the ISP’s perspective, nothing changed - their CPE still had a local public subnet, but now the Enterprise could get that traffic forwarded to different parts of their internal network.\nWhat’s Wrong With It Then? There are three issues with this setup:\nIt’s an administrative hassle. Configuring a NAT rule alone isn’t enough - you also need to make sure that the firewall has a proxy ARP entry configured. Some firewalls automatically added NAT entries, others required separate configuration. In the case of Check Point systems, this could be especially jarring, as the NAT rule would be configured within the Check Point software, but the proxy ARP configuration depended on whatever OS Check Point was running on. Many, many firewall change requests were made without checking that a proxy ARP entry existed, resulting in failed changes and re-work. In ITIL shops, this often meant waiting a week until the next change window. How do you scale? What happens when you’ve used all of your 200.200.200.0/24 allocation? Your ISP might assign you 200.200.237.0/24, but how do you use it? We ended up doing terribly ugly things like putting secondary addresses on the CPE and firewall. Secondary addresses are always a hack, and can result in unexpected behaviour. This approach wastes addresses, particularly as you scale. Each new allocation wastes the network \u0026amp; broadcast addresses, and the IPs assigned to the gateways. Those public IPs can’t be used for NAT. What Should We Do Instead? People started thinking that NAT somehow required the use of proxy ARP, forgetting the basics of Ethernet/IP/ARP operation. They forgot that all it was there for was so that the packets with a NAT IP destination would get forward to the firewall, so it could process them. The actual NAT policies on the firewall didn’t care about proxy ARP - they just needed to somehow receive the packets, so they could translate and forward them. People thought that a firewall could only NAT IPs that were on a locally connected network, but of course that’s not necessary.\nOnce we understand that, then the answer is simple: Just set up your routing so that the subnet you want to use for NAT is routed to the firewall. Could be done with static or dynamic routing:\nThis means that we can now use ALL of the NAT range for NAT - no wasted subnet/broadcast IPs, or need to use any for the gateways themselves. Now when we need to scale the solution, we just route another subnet towards the firewall. No manual proxy ARP configuration required for new NAT entries either - just define the firewall policy, and be done with it. Simpler configurations, simpler troubleshooting, better networking.\nThere was one wrinkle: If you didn\u0026rsquo;t control the routing on the CPE, you were reliant on your ISP making the change. In the early 2000s, some of them wouldn\u0026rsquo;t do it, and you were stuck. By the mid-2000s, most ISPs would do it. You would be very unlucky to find an ISP today that wouldn\u0026rsquo;t make this sort of change.\nWhy Is it Still Around Then? Old habits die hard. Most of us have gotten over it, but there’s still a lot of people who think that NAT somehow requires proxy ARP. It’s remarkable how often it still pops up, given the pain it causes, and that network engineers wouldn’t dream of running a network with hundreds of host routes…yet proxy ARP isn’t much different.\nProxy ARP was always a kludge. Don’t allow it as part of your designs. Rip it out where you find it.\n","permalink":"https://lkhill.com/proxy-arp-sucks/","summary":"\u003cp\u003eProxy ARP was often used in network designs 10–15 years ago, to enable NAT. It helped get around some specific challenges, but it was always an administrative hassle, and caused significant scaling issues. There’s very little reason to use it these days, but sadly it still lingers on, just waiting to catch out junior engineers.\u003c/p\u003e","title":"Proxy ARP Sucks"},{"content":"When I\u0026rsquo;m evaluating products, I\u0026rsquo;m more interested in their progression and development, than the exact feature list currently shipping. I like products that have a frequent release cycle, with a clear feature roadmap, even if they have a few rough edges. Better that than an OK product that hardly ever sees updates. HP IMC is a product that has been steadily, visibly improving over the last few years, with a release cycle around 6 months. IMC is a key part of HP\u0026rsquo;s overall SDN strategy, and there\u0026rsquo;s been a lot of focus on delivering major new components. But there\u0026rsquo;s also a number of smaller improvements and tidy-ups going on. Here\u0026rsquo;s some of the improvements in the most recent release, 7.0 E0202:\nFunctionality Enhancements Custom Views can now have dynamic rules for assigning devices. Previously this could only be done by IP Address range. Now you can assign devices to groups based on device type, sysName, sysLocation, sysContact. This isn\u0026rsquo;t yet perfect - it only seems to apply the rules when devices are discovered, not when you change the group definition. It does support wildcards though. IPv6 management support - initially only Comware devices DBman now raises an alarm if DB backup/copy/restore fails - this would have alerted me to a customer problem MUCH sooner if this feature was available in 5.2. HTML5 topology - this is now an option on the Resource drop-down menu. Previously the only option there was Java-based topology, and the HTML5 view option was buried. You now have a choice of \u0026ldquo;Network Topology\u0026rdquo; or \u0026ldquo;Network Topology (applet).\u0026rdquo; HTML5 is not yet complete, but it works for more topology views now. VMware/Hyper-V/Xen/KVM - more support for doing things like deploying VMs from template, clone VMs, powering devices off/on, etc. No idea why you would do this from IMC though. Backup plans can be configured per-custom view. Better alarm filtering rules per-custom view. Unfortunately these improvements allowing more use of Custom Views hasn\u0026rsquo;t yet reached the Compliance Center - Compliance Tasks still need to be configured per-device, or per-device model. You still can\u0026rsquo;t modify a Compliance Task once it\u0026rsquo;s been created. Maybe I\u0026rsquo;ll get lucky with some improvements there in 7.1?\nCleanups \u0026amp; Fixes Small UI typo fixes (I\u0026rsquo;m probably the only one that notices) Device Adapters - many of the smaller bugfixes I\u0026rsquo;ve been maintaining in GitHub have been rolled into the main codebase. Added device support - e.g. ASA5520, 5540. SSL support for LDAP communications Fixed alarming for Link Aggregation members No more annoying pop-up if you don\u0026rsquo;t use the Officially Blessed Browsers (Chrome, Firefox, IE 9+). Changing the alarm sounds doesn\u0026rsquo;t require a restart Ability to link directly to a Device Details page - handy if you\u0026rsquo;re doing integration with other systems. Modules \u0026amp; Add-Ons This release also included upgrades to most of the add-on modules. User Access Management, used for BYOD, has seen a lot of much-needed fixes and enhancements. I haven\u0026rsquo;t had a chance to try them all out, but some of the other changes I liked are:\nApplication Performance Management - added support for PostgreSQL, Hyper-V, VMware, and added an agent for more detailed monitoring. Aruba Wireless Management Wireless topology - some pieces now available in HTML5, although still limited - you can\u0026rsquo;t delete Java just yet. SDN Manager - includes support for App Management. Currently it\u0026rsquo;s all manually imported - shouldn\u0026rsquo;t be too far away before the HP SDN App Store goes live. The Reporting application (iAR, or Intelligent Analysis Report) doesn\u0026rsquo;t have any updates. Customised reporting continues to be a weak area for IMC, and indeed most network management platforms.\nRecommendation: Upgrade Now You could argue that some of the above things should have been there already, and maybe they should have. I\u0026rsquo;m not too worried about that though - what I am pleased by is that the product continues to improve, with many smaller improvements, not just adding major new features.\nI\u0026rsquo;m happy with what I\u0026rsquo;ve seen of E0202 in my lab and customer environments. I recommend upgrading now. Note that you can install this version directly, or on top of any version from 5.2 E0401 onwards. You do not need to install earlier releases, except for WSM. I tried doing a clean installation of WSM E0202 in my lab, and it failed, due to database setup issues. This was with MySQL on Linux. Installing WSM 7.0 E0102, and then upgrading WSM worked. You can install the older WSM version with the newer base IMC platform, so it\u0026rsquo;s only WSM that needs to be a two-stage process.\nThe only reason to not upgrade is if you are using DHCP hi-jacking/DNS redirect functionality. This was removed in 7.0. You must change to using something like Comware portal redirect.\n","permalink":"https://lkhill.com/hp-imc-7-0-e0202-steady-improvements/","summary":"\u003cp\u003eWhen I\u0026rsquo;m evaluating products, I\u0026rsquo;m more interested in their progression and development, than the exact feature list currently shipping. I like products that have a frequent release cycle, with a clear feature roadmap, even if they have a few rough edges. Better that than an OK product that hardly ever sees updates. \u003ca href=\"https://www.hpe.com/networking/imc\"\u003eHP IMC\u003c/a\u003e is a product that has been steadily, visibly improving over the last few years, with a release cycle around 6 months. IMC is a key part of HP\u0026rsquo;s overall SDN strategy, and there\u0026rsquo;s been a lot of focus on delivering major new components. But there\u0026rsquo;s also a number of smaller improvements and tidy-ups going on. Here\u0026rsquo;s some of the improvements in the most recent release, \u003ca href=\"https://h10145.www1.hpe.com/Downloads/SoftwareReleases.aspx?ProductNumber=JG747AAE\u0026amp;lang=en\u0026amp;cc=us\u0026amp;prodSeriesId=4176535\"\u003e7.0 E0202\u003c/a\u003e:\u003c/p\u003e","title":"HP IMC 7.0 E0202: Steady Improvements"},{"content":"I use a Juniper SRX 110 at home, and my ISP is enlightened enough to offer IPv6 by default to all customers. My devices are dual-stack, and I know that a lot of content is now available via IPv6 and IPv4. I\u0026rsquo;ve been trying to figure out how to measure the volume of IPv6 traffic, and I think I\u0026rsquo;ve got it figured out.\nInitial attempt - JUNIPER-IPv6-MIB I spent some time going through the Junos MIBS, and thought I\u0026rsquo;d found what I needed in the IPv6 Global Stats MIB. It seemed to return some data, but closer analysis showed that it was only showing me statistics for traffic to/from the SRX itself - e.g. Neighbor Discovery/Advertisement, ICMPv6 to/from the SRX, etc. It wasn\u0026rsquo;t showing me statistics for forwarded traffic.\nTry Again - Policy Statistics A bit more hunting around and I found the Policy Objects MIB. The online documentation doesn\u0026rsquo;t seem to include all updates, but it now has a jnxJsPolicySystemStats container that includes a sub entry jnxJsPolicySystemStatsIPv6, and gives stats on allowed and dropped IPv4 and IPv6 traffic. This sounds like me. Let\u0026rsquo;s try it out:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [lhill@nms ~]$ snmpwalk -M +/tmp/junipermibs -m ALL -v 2c -c SecretString 192.0.2.1 .1.3.6.1.4.1.2636.3.39.1.4.1.3 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Flows.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4FlowsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Flows.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6FlowsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsEnabled.0 = INTEGER: disabled(2) [lhill@nms ~]$ They\u0026rsquo;re all zero :(. Note that last item there - jnxJsPolicySystemStatsEnabled is set to disabled.\nAha! Enable Policy Statistics The key to making it work is enabling systemwide statistics collection. This command was introduced in 12.1X46-D10, and is disabled by default. That\u0026rsquo;s a pretty new code branch, but you\u0026rsquo;ll be running that anyway if you\u0026rsquo;re trying to use IPv6. I\u0026rsquo;m running 12.1X46-D15.3, and it seems OK for my purposes (basic home setup with dual-stack, nothing too fancy).\nThe configuration looks like this:\n1 2 root@srx01\u0026gt; show configuration security policies policy-stats | display set set security policies policy-stats system-wide enable Enable that, and you\u0026rsquo;ll start seeing some statistics come through:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [lhill@nms ~]$ snmpwalk -M +/tmp/junipermibs -m ALL -v 2c -c SecretString 192.0.2.1 .1.3.6.1.4.1.2636.3.39.1.4.1.3 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Packets.0 = Counter64: 571220 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Bytes.0 = Counter64: 314942594 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4PacketsRate.0 = Gauge32: 12 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4BytesRate.0 = Gauge32: 1098 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv4BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4Flows.0 = Counter64: 24635 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv4FlowsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Packets.0 = Counter64: 154703 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Bytes.0 = Counter64: 113836855 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6Packets.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6Bytes.0 = Counter64: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6PacketsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalDropIPv6BytesRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6Flows.0 = Counter64: 1235 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsTotalAllowIPv6FlowsRate.0 = Gauge32: 0 JUNIPER-JS-POLICY-MIB::jnxJsPolicySystemStatsEnabled.0 = INTEGER: enabled(1) [lhill@nms ~]$ Pulling it All Together I created a new Dynamic Application in ScienceLogic to poll the OIDs I was interested in:\njnxJsPolicySystemStatsTotalAllowIPv4Packets - 1.3.6.1.4.1.2636.3.39.1.4.1.3.1.1 jnxJsPolicySystemStatsTotalAllowIPv4Bytes - 1.3.6.1.4.1.2636.3.39.1.4.1.3.1.2 jnxJsPolicySystemStatsTotalAllowIPv6Packets - 1.3.6.1.4.1.2636.3.39.1.4.1.3.2.1 jnxJsPolicySystemStatsTotalAllowIPv6Bytes - 1.3.6.1.4.1.2636.3.39.1.4.1.3.2.2 I won\u0026rsquo;t go into the ScienceLogic setup here, but it was pretty straightforward - find the OIDs in the OID Browser, add to a new Performance Application, make some of the names more readable, and then assign the new app to my SRX.\nAfter a few hours, I had some nice data coming through - here\u0026rsquo;s a couple of graphs, top one showing IPv4 \u0026amp; IPv6 packets, and bottom one IPv4 and IPv6 bytes. Note the spike around 8:30 in IPv6 traffic - I believe that was some YouTube traffic.\nIPv4 and IPv6 traffic\nHaters gonna hate on IPv6, but I don\u0026rsquo;t care - there\u0026rsquo;s a significant chunk of my Internet traffic going via IPv6, and that makes me very happy. I\u0026rsquo;ll keep an eye on it over the next few months to see how it changes. The overall pattern should be a bit clearer once I\u0026rsquo;ve got a few weeks\u0026rsquo; worth of data.\n","permalink":"https://lkhill.com/monitoring-ipv6-vs-ipv4-traffic-on-juniper-srx/","summary":"\u003cp\u003eI use a Juniper SRX 110 at home, and \u003ca href=\"http://www.snap.net.nz/\"\u003emy ISP\u003c/a\u003e is enlightened enough to offer IPv6 by default to all customers. My devices are dual-stack, and I know that a lot of content is now available via IPv6 and IPv4. I\u0026rsquo;ve been trying to figure out how to measure the volume of IPv6 traffic, and I think I\u0026rsquo;ve got it figured out.\u003c/p\u003e","title":"Monitoring IPv6 vs IPv4 Traffic on Juniper SRX"},{"content":"Good documentation is critical to the success of any product. Write clear deployment \u0026amp; configuration information, and you\u0026rsquo;ll have a higher project success rate. Detailed command references and troubleshooting information shorten the time it takes to resolve issues, and reduces support calls. But writing high-quality content is only one part of it. You have to make sure that the documentation is easy to find, and easy to access.\nRecently I\u0026rsquo;ve been reading some HP Networking documentation, and it\u0026rsquo;s been a study in how NOT to publish docs. Let\u0026rsquo;s take an example - I want to see the Release Notes for the latest firmware for the 12504 switch. Here\u0026rsquo;s the workflow:\nFirst go to HP.com. There\u0026rsquo;s a drop-down \u0026ldquo;Support\u0026rdquo; - that looks likely. Click on that, then \u0026ldquo;Support \u0026amp; troubleshooting\u0026rdquo;:\nEnter \u0026ldquo;12504\u0026rdquo; in the Product name/number box, and hit search. We get 3 results:\nLooks good. Let\u0026rsquo;s click on \u0026ldquo;HP 12504 AC Switch Chassis\u0026rdquo;. Hmmm. A very jarring change of layout, but it looks like we\u0026rsquo;re getting closer:\nLet\u0026rsquo;s follow the link for \u0026ldquo;Manuals\u0026rdquo;:\nSoftware Reference sounds likely, let\u0026rsquo;s take a look at that:\nThe version information seems to be mixed in with the Title there, but it looks like the most recent file should be the one. Except..it says it\u0026rsquo;s a PDF. Why not an option to view in HTML or PDF? HTML is much better suited to online reading, but I can understand that some people prefer a PDF for offline viewing. Note the URL: http://h20565.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?spf_p.tpst=kbDocDisplay_ws_BI\u0026amp;spf_p.rid_kbDocDisplay=docDisplayResURL\u0026amp;javax.portlet.begCacheTok=com.vignette.cachetoken\u0026amp;spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c04220329-1%257CdocLocale%253Den_US\u0026amp;javax.portlet.endCacheTok=com.vignette.cachetoken\nYes, seriously, that\u0026rsquo;s the URL. Let\u0026rsquo;s see what happens when we try to load it:\nReally? REALLY??? OK, so maybe it\u0026rsquo;s something to do with the PDF rendering in my browser (Chrome in this case, but Safari/Preview sees the same thing). Let\u0026rsquo;s try doing a right-click, Save Link As on that URL:\nI kid you not. Every. Single. Document. that you want to download from HP Networking wants to save as \u0026ldquo;Download.pdf.\u0026rdquo; Unless maybe it\u0026rsquo;s a zip file\u0026hellip;and then it\u0026rsquo;s \u0026ldquo;Download.zip.\u0026rdquo; So now I need to manually re-name everything, and of course I can\u0026rsquo;t just do a rapid right-click, download on a whole lot of links. Instead I need to pay attention, manually re-name, and then I end up with a heap of inconsistently named files.\nDoes anyone think about how real engineers are supposed to use this stuff? It really doesn\u0026rsquo;t need to be this hard. It is 2014. There is no excuse for making documentation difficult to use. HP Networking should be embarrassed by this.\n[UPDATE 15/7/14] HP now has a KB article on \u0026ldquo;Resolving PDF Portfolio Viewing Issues.\u0026rsquo; Among the other notes, it says that Portfolios may not open because Adobe Reader no longer installs Flash by default. If a PDF viewer requires Flash, that should be a big red flag telling you to run away now. Maybe they\u0026rsquo;ll move to a version that also requires Java?\n","permalink":"https://lkhill.com/how-not-to-publish-documentation/","summary":"\u003cp\u003eGood documentation is critical to the success of any product. Write clear deployment \u0026amp; configuration information, and you\u0026rsquo;ll have a higher project success rate. Detailed command references and troubleshooting information shorten the time it takes to resolve issues, and reduces support calls. But writing high-quality content is only one part of it. You have to make sure that the documentation is easy to find, and easy to access.\u003c/p\u003e","title":"How Not to Publish Documentation"},{"content":"Most Network Management Systems are built to make it easy to poll data via SNMP. But \u0026lsquo;interesting\u0026rsquo; data is not always available via SNMP. Sometimes it\u0026rsquo;s in another format, such as XML. I\u0026rsquo;m working with ScienceLogic quite a lot recently, and it makes it easy to poll that data, alert on it, and integrate it with all the other sources of data, into dashboards, reports, etc. Here\u0026rsquo;s a quick walk-through of polling data in XML format, and adding it to ScienceLogic.\nPortland Temperature I\u0026rsquo;m going to use the NOAA weather data as an example of data in XML format. Let\u0026rsquo;s assume we wanted to poll the temperature for Portland, Oregon, and display it on a graph. Here\u0026rsquo;s what our data source looks like:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 \u0026lt;xml version=\u0026#34;1.0\u0026#34; encoding=\u0026#34;ISO-8859-1\u0026#34;?\u0026gt; \u0026lt;xml-stylesheet href=\u0026#34;latest_ob.xsl\u0026#34; type=\u0026#34;text/xsl\u0026#34;?\u0026gt; \u0026lt;current_observation version=\u0026#34;1.0\u0026#34; xmlns:xsd=\u0026#34;http://www.w3.org/2001/XMLSchema\u0026#34; xmlns:xsi=\u0026#34;http://www.w3.org/2001/XMLSchema-instance\u0026#34; xsi:noNamespaceSchemaLocation=\u0026#34;http://www.weather.gov/view/current_observation.xsd\u0026#34;\u0026gt; \u0026lt;credit\u0026gt;NOAA\u0026#39;s National Weather Service\u0026lt;credit\u0026gt; \u0026lt;credit_URL\u0026gt;http://weather.gov/\u0026lt;credit_URL\u0026gt; \u0026lt;image\u0026gt; \u0026lt;url\u0026gt;http://weather.gov/images/xml_logo.gif\u0026lt;url\u0026gt; \u0026lt;title\u0026gt;NOAA\u0026#39;s National Weather Service\u0026lt;title\u0026gt; \u0026lt;link\u0026gt;http://weather.gov\u0026lt;link\u0026gt; \u0026lt;image\u0026gt; \u0026lt;suggested_pickup\u0026gt;15 minutes after the hour\u0026lt;suggested_pickup\u0026gt; \u0026lt;suggested_pickup_period\u0026gt;60\u0026lt;suggested_pickup_period\u0026gt; \u0026lt;location\u0026gt;Portland, Portland International Airport, OR\u0026lt;location\u0026gt; \u0026lt;station_id\u0026gt;KPDX\u0026lt;station_id\u0026gt; \u0026lt;latitude\u0026gt;45.59578\u0026lt;latitude\u0026gt; \u0026lt;longitude\u0026gt;122.60917\u0026lt;longitude\u0026gt; \u0026lt;observation_time\u0026gt;Last Updated on Mar 27 2015, 7:53 pm PDT\u0026lt;observation_time\u0026gt; \u0026lt;observation_time_rfc822\u0026gt;Fri, 27 Mar 2015 19:53:00 -0700\u0026lt;observation_time_rfc822\u0026gt; \u0026lt;weather\u0026gt;Overcast\u0026lt;weather\u0026gt; \u0026lt;temperature_string\u0026gt;61.0 F (16.1 C)\u0026lt;temperature_string\u0026gt; \u0026lt;temp_f\u0026gt;61.0\u0026lt;temp_f\u0026gt; \u0026lt;temp_c\u0026gt;16.1\u0026lt;temp_c\u0026gt; \u0026lt;relative_humidity\u0026gt;63\u0026lt;relative_humidity\u0026gt; \u0026lt;wind_string\u0026gt;Southwest at 13.8 MPH (12 KT)\u0026lt;wind_string\u0026gt; \u0026lt;wind_dir\u0026gt;Southwest\u0026lt;wind_dir\u0026gt; \u0026lt;wind_degrees\u0026gt;220\u0026lt;wind_degrees\u0026gt; \u0026lt;wind_mph\u0026gt;13.8\u0026lt;wind_mph\u0026gt; \u0026lt;wind_kt\u0026gt;12\u0026lt;wind_kt\u0026gt; \u0026lt;pressure_string\u0026gt;1017.5 mb\u0026lt;pressure_string\u0026gt; \u0026lt;pressure_mb\u0026gt;1017.5\u0026lt;pressure_mb\u0026gt; \u0026lt;pressure_in\u0026gt;30.05\u0026lt;pressure_in\u0026gt; \u0026lt;dewpoint_string\u0026gt;48.0 F (8.9 C)\u0026lt;dewpoint_string\u0026gt; \u0026lt;dewpoint_f\u0026gt;48.0\u0026lt;dewpoint_f\u0026gt; \u0026lt;dewpoint_c\u0026gt;8.9\u0026lt;dewpoint_c\u0026gt; \u0026lt;windchill_string\u0026gt;59 F (15 C)\u0026lt;windchill_string\u0026gt; \u0026lt;windchill_f\u0026gt;59\u0026lt;windchill_f\u0026gt; \u0026lt;windchill_c\u0026gt;15\u0026lt;windchill_c\u0026gt; \u0026lt;visibility_mi\u0026gt;10.00\u0026lt;visibility_mi\u0026gt; \u0026lt;icon_url_base\u0026gt;http://forecast.weather.gov/images/wtf/small/\u0026lt;icon_url_base\u0026gt; \u0026lt;two_day_history_url\u0026gt;http://www.weather.gov/data/obhistory/KPDX.html\u0026lt;two_day_history_url\u0026gt; \u0026lt;icon_url_name\u0026gt;novc.png\u0026lt;icon_url_name\u0026gt; \u0026lt;ob_url\u0026gt;http://www.weather.gov/data/METAR/KPDX.1.txt\u0026lt;ob_url\u0026gt; \u0026lt;disclaimer_url\u0026gt;http://weather.gov/disclaimer.html\u0026lt;disclaimer_url\u0026gt; \u0026lt;copyright_url\u0026gt;http://weather.gov/disclaimer.html\u0026lt;copyright_url\u0026gt; \u0026lt;privacy_policy_url\u0026gt;http://weather.gov/notice.html\u0026lt;privacy_policy_url\u0026gt; \u0026lt;current_observation\u0026gt; The key part is between the \u0026lt;temp_c\u0026gt; tags. We need to extract that value, and poll it. To do this in ScienceLogic, we need to define a Credential, which will include the URL, and then we need to create a \u0026lsquo;Dynamic Application\u0026rsquo; that tells ScienceLogic which tags to extract, and how to present the data.\nOnce that\u0026rsquo;s done, we\u0026rsquo;ll assign the credential and Dynamic Application to a device, and it should start collecting data.\nXML Credentials Go to System -\u0026gt; Manage -\u0026gt; Credentials, and go Create -\u0026gt; SOAP/XML Credential. You\u0026rsquo;ll get a pop-up like this:\nGive it a name - in this case we\u0026rsquo;ll use \u0026ldquo;PortlandWeather\u0026rdquo;, and set the URL to http://w1.weather.gov/xml/current_obs/KPDX.xml. You\u0026rsquo;ll see there\u0026rsquo;s a heap of other settings we could set for authentication, headers, etc, but in this case we can leave them all at default. Note that ScienceLogic takes cURL options. So if you\u0026rsquo;ve done your testing with cURL, and you\u0026rsquo;ve been using some custom options, it should be very easy to transfer.\nDynamic Application Now we need to set up the XML tag parsing, and how to present the data. Go to System -\u0026gt; Manage -\u0026gt; Applications. Click on Actions -\u0026gt; Create New Dynamic Application. On the first page, set the Application Type to \u0026ldquo;XML Performance\u0026rdquo;, set the name, and set the Poll Frequency (5 minutes in this case). Then click Save, and it should look like this:\nGo to the Collections tab. This is where we tell ScienceLogic which tags we\u0026rsquo;re looking for, what format the data is in, and any formulae/translations that need to be applied. Let\u0026rsquo;s give our collection a name \u0026ldquo;Temperature\u0026rdquo;, and then put in the tags we\u0026rsquo;re looking for. This is in the format \u0026lt;parent tag\u0026gt;...\u0026lt;intermediate tag(s)\u0026gt;...\u0026lt;node tag\u0026gt;. Looking through our XML above, we can see that we just need \u0026lt;current_observation\u0026gt;\u0026lt;temp_c\u0026gt;. We could apply a formula here - e.g. to convert between Fahrenheit and Celsius - and we can also set a Description. We don\u0026rsquo;t need to do any of that. The other key item is the \u0026ldquo;Class Type\u0026rdquo; - this tells ScienceLogic how to handle that data. If it was an Interface counter, it would always go up, and ScienceLogic would need to calculate the rate of change. It could also be a text label. But in this case it\u0026rsquo;s a value that can go up and down, and we want to plot the current value. So we use \u0026ldquo;Performance Gauge\u0026rdquo;:\nSave that, then go to the Presentations tab. This defines which values get displayed, and we can apply more formulae if required. We can set pop-up guide text, and the display units. Click on the Wrench next to our item, and change the name to \u0026ldquo;Portland, OR\u0026rdquo;, and set the data unit to ºC. Make sure you set the \u0026ldquo;Active State\u0026rdquo; to Enabled:\nWe won\u0026rsquo;t worry about Thresholds or Alerts yet. Save that, and let\u0026rsquo;s put it together.\nPulling it Together - Devices, Applications and Credentials We\u0026rsquo;ve created the pieces, now we need to pull it together, so it starts collecting data.\nFirst, we need a device to associate the data with. You might already have one, or you can create a \u0026ldquo;Virtual\u0026rdquo; Device. Go to Registry -\u0026gt; Devices -\u0026gt; Device Manager, then Actions -\u0026gt; Create Virtual Device. Create a Virtual SOAP-XML Transactions Device, and call it \u0026ldquo;Weather\u0026rdquo;.\nNow open the Device Properties page for that device, and go to the Collections tab. Go Action -\u0026gt; Add Dynamic Application. Scroll down and find your new Temperature Application. Now select the PortlandWeather Credential on the right-hand side, and click Save. You should now have this:\nAt this point, we should be all good. You could click the Lightning Bolt icon, to test it out and review the debugs, or you can just go to the Device Performance tab, and look for the data (you may have to wait a few minutes for it to start showing up). You should start to see something like this:\nEasy as that! Obviously that\u0026rsquo;s a fairly simple example, but you can start to do much more interesting things. It gets much more interesting if you start looking at caching results, and re-using them elsewhere. The basic XML polling will only take you so far though - sooner or later you need to do some custom data manipulation. That\u0026rsquo;s when you move to \u0026ldquo;Snippet\u0026rdquo; applications, that let you insert custom Python code. Very powerful, but a bit more complicated.\n","permalink":"https://lkhill.com/polling-xml-values-with-sciencelogic/","summary":"\u003cp\u003eMost Network Management Systems are built to make it easy to poll data via SNMP. But \u0026lsquo;interesting\u0026rsquo; data is not always available via SNMP. Sometimes it\u0026rsquo;s in another format, such as XML. I\u0026rsquo;m working with \u003ca href=\"http://www.sciencelogic.com/\"\u003eScienceLogic\u003c/a\u003e quite a lot recently, and it makes it easy to poll that data, alert on it, and integrate it with all the other sources of data, into dashboards, reports, etc. Here\u0026rsquo;s a quick walk-through of polling data in XML format, and adding it to ScienceLogic.\u003c/p\u003e","title":"Polling XML Values with ScienceLogic"},{"content":" This article is Part 4 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - This Article Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Networks of the early 2000s often used multiple firewall vendors. This was done with the best of intentions, but it could make troubleshooting far more complicated. Here\u0026rsquo;s a weird bug we came across with one firewall, that was obscured by data we saw on another firewall.\nDual-Vendor Good, Right? Maybe Not Years ago, we used to believe in a \u0026ldquo;dual-vendor\u0026rdquo; firewall strategy. We were told to use two different brands of firewalls in front of our systems, the assumption being that if there were flaws in one, the other would protect us. The problem with this approach was that it assumed that the issues would be with the firewall software itself, not the configuration, or that the attacks were happening at a higher layer, and the firewall policy would make no difference. I believe it stemmed from some Check Point FTP handling flaws from the late 90s/early 2000s. We haven\u0026rsquo;t seen any really good firewall bypasses for a while, but this \u0026ldquo;best practice\u0026rdquo; persisted.\nThe problem with the dual-vendor approach is that inevitably the local staff will prefer one platform over the other, and will end up applying a simple policy to one firewall, and doing most enforcement on the other. One platform will get care, love and feeding, while the other will only have the minimum done to it. This really shows itself up when bugs strike - the unloved platform doesn\u0026rsquo;t have a good body of knowledge around detailed troubleshooting.\nThankfully these days are behind us, and we now tend to use one brand of firewall. Even Gartner caught up in 2012, publishing \u0026ldquo;One Brand of Firewall Is a Best Practice for Most Enterprises.\u0026rdquo;\nHere\u0026rsquo;s a story where the dual-firewall strategy tripped us up, because we were so used to focusing on one platform, and ignoring the other.\nCan\u0026rsquo;t Connect? Blame the Firewall We were getting reports that an internal server couldn\u0026rsquo;t make HTTPS connections to an external server. It could make HTTP connections, but not HTTPS to some specific sites. Some worked, some didn\u0026rsquo;t. Surely it\u0026rsquo;s not a firewall problem? We used to tell admins \u0026ldquo;try using Telnet to connect to a remote port. If you get an immediate Reject, then it\u0026rsquo;s your app, not our firewall.\u0026rdquo; They tried, and they were finding their were quickly rejected, not suffering a slow timeout (as they would if our firewall dropped it). Case closed, right?\nBut the server team pointed out that they could connect to that remote webserver from other clients, in different parts of the network, or from home, etc. Hmmm.\nThis went back and forth for a few days, including bouncing back \u0026amp; forth with the remote server operator, until things came to a head on a Friday evening, and the boss demanded we all sit down together, and get it fixed.\nHere\u0026rsquo;s the key elements of the network:\nI\u0026rsquo;ve simplified the network, but the key parts are that there were two policy enforcement devices between our server and the Internet. We\u0026rsquo;d been focusing on firewall FW-A, as that\u0026rsquo;s where we applied our granular controls and made regular changes. It had also been a source of pain the past, and was often viewed with suspicion by people looking to blame something.\nThey say the packets don\u0026rsquo;t lie, so we turned to tcpdump. Running that on FW-A was pretty convincing. It showed a SYN leaving our server, NAT policies applied, a short delay, then a RST from the remote server. Case closed, surely? Don\u0026rsquo;t blame the firewall.\nInvestigating Deeper It was now 6pm on Friday, and I wanted to go home. Hadn\u0026rsquo;t I proved it wasn\u0026rsquo;t the firewall? Can\u0026rsquo;t I go home now? Make the remote server team fix it.\nBut no, I wasn\u0026rsquo;t allowed to go. The remote team said \u0026ldquo;our firewall policy allows that traffic, and we can see a SYN come in, and we send a SYN/ACK back, but you never respond to it. Besides, lots of other people are connecting to this system - there\u0026rsquo;s something wrong with your network.\u0026rdquo;\nManagement made us dig deeper, so we kept looking. This time I grabbed a packet capture from a network tap at our network border. This showed something interesting: SYN traffic leaving our network, and a SYN/ACK coming back. No inbound RST. Where the hell was the RST coming from? Why wasn\u0026rsquo;t the SYN/ACK making it back to our server?\nWhat was FW-B doing? It was from a different vendor, and had a coarser policy applied. It didn\u0026rsquo;t change much, and it had never given us much trouble. Its outbound policy was pretty simple - allow everything outbound, and dynamically allow the reply traffic. That was working fine for lots of other HTTP \u0026amp; HTTPS sites, surely it couldn\u0026rsquo;t be causing a problem?\nTiming is Everything I started looking closer at the exact sequence of timings. I realised that there was a 350ms gap between the SYN being sent, and the RST being received. Other successful connections had a shorter time between the SYN and SYN/ACK. Hmmm.\nDigging into it further, I realised that FW-B must be generating a RST, if it thought that the connection was in SYNWAIT state for too long. The firewall was meant to allow 30s for these connections, but it was obviously applying a much shorter timeout, more like 300ms. For local systems, or quick-responding international systems, this was fine. But if the server was just a bit slower responding, such as for a remote SSL server, then FW-B kicked in and cut off the connection attempt.\nThe documentation said we could change the timeouts, but that made no difference. Not exactly a surprise, since it wasn\u0026rsquo;t like it was applying the default timeouts anyway. What can we do? At that point it was looking like a bug, but we couldn\u0026rsquo;t get vendor validation, and anyway, we weren\u0026rsquo;t going to be able to upgrade the system at 7pm on Friday evening.\nWe had to get it working somehow, so we ended up completely working around that feature. Instead of dynamically adding rules to allow reply traffic, we just changed it to allow all inbound established traffic. Not a stateful firewall anymore, but then we were doing that on FW-A - what value was FW-B adding, if it was only enforcing the same policy?\nWrap-up A few lessons were learned, including:\nMore systems means more complexity. More complexity means troubleshooting takes far longer. Don\u0026rsquo;t always be too sure of yourself. Be gracious when suggesting that it\u0026rsquo;s another team\u0026rsquo;s issue - it might turn out to actually be your fault. The packets don\u0026rsquo;t lie. But they\u0026rsquo;re like CCTV: They don\u0026rsquo;t always tell the WHOLE truth. Sometimes you need to capture packets from multiple locations to work out what\u0026rsquo;s really going on. ","permalink":"https://lkhill.com/dual-vendor-firewall-strategy/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 4\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Dual-Vendor Firewall Strategy"},{"content":"A Miktrotik course was held in my area recently, and I thought “They make some really cool stuff, and it\u0026rsquo;s amazing value. Maybe I should go on the course?” But then I thought: “Who’s going to pay me for Mikrotik expertise? The people who purchase Mikrotik are engineers deploying it themselves, and they don’t have the budget or desire to pay for external consulting resources.”\nThis led me to an awkward realisation:\nIf I want to maximise my revenue as a consultant, I should focus my time and effort on learning those products and skills that people are most likely to pay for consulting on - even when that\u0026rsquo;s not always the best product for the situation.\nThis Makes Me Uncomfortable I do my best to be honest in all my business and personal dealings. That means that sometimes I tell people what they don’t want to hear. Sometimes I tell them they can move to a cheaper, lower-maintenance product - even when that means less ongoing work for me. Salespeople don’t like that, but I sleep easy.\nIf a product is cheaper and simpler, but does what the client wants, then that means less work for me. So should I spend my time learning that product? If I can do less work per client, but have more clients, it might be OK. Some products lend themselves better to \u0026ldquo;templated\u0026rdquo; deployments too - that\u0026rsquo;s the only way to make it financially viable for small deployments. Unfortunately there’s a lot of overhead associated with attracting new clients.\nSo What Should I Focus On? I’d love to work with products like SolarWinds more. I think they have a good product suite, and they’re tremendous value for money. But because they’re a lower price, it gets approved at a lower level within the business. Because they sell to engineers, it’s often an engineer making the buying decision, and planning the deployment.\nSolarWinds does good work with making their products easy to deploy, but there’s still many engineers out there that don’t know much about network management, and would greatly benefit from some assistance with getting up and running. But the engineer who thinks that SolarWinds licensing is too expensive will balk at spending even $5K on services - or they can’t get approval for it.\nAt the opposite end of the spectrum here are products like SAP, Tivoli, HP Software, BMC, CA, etc. Their sales effort is targeted towards management, and because the sticker prices are so high they require high-level approval. At that level, it\u0026rsquo;s easier to get approval for consulting effort - in fact, it\u0026rsquo;s expected that you\u0026rsquo;ll be paying more for consulting, since you\u0026rsquo;re buying expensive equipment.\nI\u0026rsquo;ve heard salespeople say something like \u0026ldquo;Every dollar in licensing cost means another dollar on services.\u0026rdquo; Once you’ve spent $500K on software, paying $200k for services to help implement it seems quite reasonable. People regularly compare the Consulting quote with the Hardware quote. Those who are prepared to pay a lot for hardware are prepared to pay for Consulting. Those who want to buy Netgear switches won\u0026rsquo;t pay much for consulting effort - even if the cheaper product requires more effort to implement.\nWhere Does it Lead To? Where does this lead to? We end up with a market where the majority of consultants have experience with the big, expensive products, but little experience with lower-priced products. People recommend what they know, so it becomes self-perpetuating.\nFor those firms that want to use something cheaper, and are prepared to pay for external assistance, they’ll struggle to find many independent consultants with experience. Or the consultants will be lower-skilled, since there\u0026rsquo;s not as much money available.\nAm I right in this thinking? Cheaper/free products can definitely do the job, and in the case of Open Source projects, they’re often the only way for really large companies to get the flexibility and power they need. That’s great if I want to work directly for those companies, or as a medium to long-term contractor. But it’s very tough as a consultant. There’s a lot of products I’d like to work with, but I just don’t/won’t get a chance. Maybe it\u0026rsquo;s time for me to change jobs?\nI don\u0026rsquo;t know. I haven\u0026rsquo;t yet fully developed my thinking on this subject, and I\u0026rsquo;d love some feedback. I suspect it\u0026rsquo;s also partly related to the size of your local market - in my case it\u0026rsquo;s pretty small.\n","permalink":"https://lkhill.com/choosing-the-best-product/","summary":"\u003cp\u003eA \u003ca href=\"http://www.mikrotik.com/\"\u003eMiktrotik\u003c/a\u003e course was held in my area recently, and I thought “They make some really cool stuff, and it\u0026rsquo;s amazing value. Maybe I should go on the course?” But then I thought: “Who’s going to pay me for Mikrotik expertise? The people who purchase Mikrotik are engineers deploying it themselves, and they don’t have the budget or desire to pay for external consulting resources.”\u003c/p\u003e","title":"Choosing the Best Product for the Client or the Best for Me?"},{"content":"I got angry and swore and shouted during a business meeting recently, when I felt someone was doing a poor job. Ultimately this reflected poorly on me, not the other party. I should not have done it, and will strive to do better in future.\nWhen I stub my toe, I swear and shout a bit, and I feel better. This isn’t just me - swearing has a hypoalgesic effect:\nResearch into the hypoalgesic effect of swearing has shown that the use of profanity can help reduce the sensation of pain. This phenomenon is particularly strong in people who do not use such words on a regular basis.\nBut swearing and shouting doesn’t always make us feel better. It can make us feel worse. In Chinese culture, it is considered a loss of face to get angry:\nIt’s relatively easy to lose face in China. You lose face when you lose your temper. You also lose face when you make a mistake or do something that makes you look foolish in front of others.\nDepending on the situation, both parties may lose face if a shouting argument erupts. While Western business culture is more tolerant of dissent, it is still a poor look when you swear and stamp your feet. It shows a lack of professionalism.\nI also find that if I’m reacting from a defensive or angry place my thinking lacks clarity. There are different schools of thought on this, but I find that I will later regret what I said, and be disappointed with the way I expressed myself.\nYou might get what you want this time, but you will lose influence over time. Next time you get angry, people will be less likely to respond. Keep doing it, and people will stop engaging with you, and start ignoring you. Do it long enough, and you will be completely isolated.\nSo I will do my best to not let it happen again. I will not let myself be drawn into an aggressive argument, or react out of anger. I will either respond calmly, or not at all.\nAnd hey - it’s only work. There are far more important things in this life.\nNote: Post image from here. Licensed under Creative Commons License. ","permalink":"https://lkhill.com/keeping-calm-dont-lose-face/","summary":"\u003cp\u003eI got angry and swore and shouted during a business meeting recently, when I felt someone was doing a poor job. Ultimately this reflected poorly on me, not the other party. I should not have done it, and will strive to do better in future.\u003c/p\u003e","title":"Keeping Calm: Don't Lose Face"},{"content":"Earlier this year I came across Scalyr, a newer player in the cloud-based log management scene. They\u0026rsquo;re taking a slightly different approach to products like Loggly and Splunk. I\u0026rsquo;ve been testing it in my lab - here\u0026rsquo;s my impressions.\nWhat is Scalyr? Scalyr is a server monitoring tool built by ex-Google engineers. It brings together log data, system metrics, website monitoring and alerting. Scalyr says:\nWe built the comprehensive server monitoring tool we always wanted.\nThe key features are:\nCloud-based - all backend stuff is abstracted away Uses a server agent. Ingests logs in variety of formats Searching, alerting, reporting and visualisation for logs Server metric monitoring - CPU, process, disk, memory, etc. Not just logs. External website monitoring API for inserting data, retrieving results, and changing configurations There’s more detail on the features here.\nI think it’s crucial to have a log consolidation tool, as we’re well past the days of being able to manually search each log file on every application server. It just doesn’t scale at all - you must have that data in one place. But the interesting point here is that they’re also trying to bring in the monitoring components. Other log management tools focus on the logs, and gloss over the other parts of application monitoring.\nPricing is based on daily log volume, and retention period. Starts at 0.5GB/day with 7-day retention for $19/month, and goes up from there. They used to charge per monitored server, but that has been changed - now it’s just volume/retention. I\u0026rsquo;m pleased they made that change - it makes it simpler to scale your app up/down as required.\nGiving it a Whirl Scalyr offers a free 30-day trial, so I signed up, and set it up to collect data from one of my lab systems. Here’s what I found:\nInitial Installation \u0026amp; Configuration Agent installation is straightforward. They provide a script that adds their Yum/Apt repository, and you then install the agent. You can get a tarball package if you prefer. The only problem: The agent currently requires Java 1.6 or higher. Boo, hiss! I hear they may be moving away from this though.\n1 2 3 wget https://www.scalyr.com/scalyr-repo/stable/latest/installScalyrRepo.sh sudo bash ./installScalyrRepo.sh sudo yum install scalyr-agent You need to configure the agent, and add your API key. In a nice touch, the documentation is personalised when you’re logged into their site - so their instructions include your key, and you don’t need to hunt it down from somewhere else.\n1 sudo scalyr-agent-config –run_as root –write_logs_key - (You’re then prompted to enter your API key)\nThat done, you need to edit /etc/scalyrAgent/agentConfig.json, to define the logs and processes you want to monitor. Here’s some example configuration from my system:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 “logcopier_config”:{ directories: [ { path: “/opt/iMC/server/conf/log/*.txt“, file_attributes: {parser: ”imcLog“} } ] }“appmonitor_config”:{ “applications”:[ { “id”: “scalyr-relay”, “commandline_pattern”: “java.*scalyrRelay.jar” }, { “id”: “mysqld”, “commandline_pattern”: “mysqld.log” } ] } You can see that I’m telling it to read all log files in my IMC logs directory. The second part is telling it what processes to monitor.\nAfter that, start the agent with sudo scalyr-agent start and it begins uploading data.\nI also wanted to perform basic HTTP monitoring of a website. This monitoring is done by Scalyr, so this is configured from the main Dashboard. I edited the Monitors configuration, and added this:\n1 2 3 4 5 6 7 8 9 10 11 { executionIntervalMinutes: 10.0, timeoutSeconds: 10.0, monitors: [ { type: \u0026#34;http\u0026#34;, url: \u0026#34;/\u0026#34; } ] } You can do more advanced configuration here, like looking for specific text patterns in the response, or extracting specific fields - e.g. If you’re trying to pull in data via API.\nViewing Data Now that the data sources are set up, the Scalyr interface starts to get useful. The default setup has an Overview, a Query tab, and a set of example Dashboards.\nThe Query tab is for classic log searching. By default, it shows all the recent logs. There’s a filter box, where you can narrow down your search for specific patterns. You’ll need to learn the syntax, but it’s reasonably straightforward, supporting most operators that you’d expect. Scalyr automatically identifies “facets” or key fields, that let you further narrow down your search. You can use this to help refine your search string - e.g. To search for logs from a specific server, or for Apache logs across all web servers.\nExample query\nLooking at the raw text results alone isn’t always very interesting. The Graph tab lets you create a graph using your search results - e.g. By extracting the “response time” value from a web monitor:\nExample graph\nAll searches and graphs have buttons to create an alert, or add it to a dashboard. Alerts are sent via email to defined addresses. I’d like to be able to submit Alerts to a remote system via API, but sadly email is still the most interoperable format we have.\nDashboards collect a group of related graphs and searches together. Example Dashboard\nThey offer a “Wall View” that strips the dashboard back to the minimum, suitable for putting on a big screen.\nDashboard Customisation The example dashboards are enough to get you up and running, but you’ll want to customise these. Each dashboard has an “Edit Dashboard” link, which takes you to the JSON configuration:\nDashboard Config\nYou can also create a new dashboard, and paste in your configuration. I did this to create a dashboard showing my process monitoring data:\nProcesses Dashboard\nOverall Impressions I like the feel of the product, and the people behind it seem to be very switched on. A few queries I had were handled quickly, and it’s good to see that they have a quick turnaround time for rolling out new features.\nIt’s primarily going to suit the Web 2.0 crowd, as Enterprises like longer retention periods - but that is negotiable. I’d like to see some options around rolling up older data, so some summary data can be kept for longer periods to help with capacity planning.\nSome other competing products focus only on log ingestion/parsing, but Scalyr recognises that logs are just one part of application monitoring. You need to integrate things like system metrics, data from external sources, and you need to be able to perform external service testing (logs alone don’t give you that).\nOverall I think it’s a good product, and it works well for what it’s intended to do. If you’re looking for a low hassle way of pulling together your logs and monitoring data, I recommend trying it out.\nNote: Disclaimer: I have nothing to disclaim. I have had a chat with some of the Scalyr team, and I’ve used the free trial with some of my lab systems. They have not asked me to write anything. ","permalink":"https://lkhill.com/scalyr-more-than-just-logs/","summary":"\u003cp\u003eEarlier this year I came across Scalyr, a newer player in the cloud-based log management scene. They\u0026rsquo;re taking a slightly different approach to products like Loggly and Splunk. I\u0026rsquo;ve been testing it in my lab - here\u0026rsquo;s my impressions.\u003c/p\u003e","title":"Scalyr - More than Just Logs"},{"content":"A recent Gigaom article asks: \u0026ldquo;Will transparent caching reshape the future of video on the internet?\u0026rdquo;\nSUMMARY: Content companies including Viacom and HBO have met with folks from Comcast, Qwilt and others to discuss transparent caching as a way to solve the problem of online video.\nThe article talks about transparent caching as if it\u0026rsquo;s something new, but it isn\u0026rsquo;t - it\u0026rsquo;s been around for years. Transparent caches have been widely deployed, but they are becoming less effective, and more problematic. I don\u0026rsquo;t see transparent caching solving our problems with managing content delivery.\nWhat Are Transparent Caches? Transparent caches observe HTTP traffic passing through the network, storing a copy of downloaded content. Then the next time a user requests that object, it can be served from the local cache, instead of from the remote server. This can save significant amounts of upstream bandwidth, as popular objects only need to be requested once. It can also improve the user experience, by delivering frequently accessed content faster. This is particularly noticeable for low-bandwidth, high-latency links.\nTraffic is redirected to Transparent Caches using techniques such as Policy-Based Routing, WCCP, or inline deployment, where all traffic goes through the cache. No end-user configuration is required (that\u0026rsquo;s the \u0026rsquo;transparent\u0026rsquo; part!).\nThe Problems with Transparent Caches I\u0026rsquo;ve evaluated some transparent caches recently, and they have a number of issues:\nCost: They are very expensive to deploy, and they don\u0026rsquo;t have a viable payback time for money saved in bandwidth costs - and that\u0026rsquo;s without even factoring in falling bandwidth costs. Performance: Systems like the Blue Coat CacheFlow top out at around 2Gbps of throughput. That sounded OK a few years ago, but now is looking fairly lame for a hardware appliance. Surely I could get more out of a Virtual Appliance? Poor Deployment Options: Blue Coat has the cheek to say they have: \u0026ldquo;\u0026hellip;tight integration with existing infrastructure. This includes integration with routers from Cisco and Juniper\u0026hellip;\u0026rdquo; - but when you look into it, their only option is using Policy-Based Routing! Want more than one? You\u0026rsquo;ll need to buy a separate load-balancer for that. Other vendors offer WCCP, but I\u0026rsquo;ve heard that charitably described as \u0026ldquo;the best broken chair in the dump\u0026rdquo;. Asymmetric traffic is a problem, similar to having stateful firewalls in your network. Changing nature of content: There\u0026rsquo;s a growing shift towards SSL, and most of us can\u0026rsquo;t read that. No visibility means no caching. Object size is a problem too - sure we can transparently cache lots of funny cat videos, but how do we do that in a workable manner for multiple sources of movie-size video files? Lack of Content Integration: Transparent cache providers may claim they are \u0026ldquo;intelligent\u0026rdquo; because they look at real traffic patterns, and detect what should be cached. The problem is that they have to make assumptions about that content, and they sometimes get it wrong, and serve up out of date content. Transparent cache operators will be aware of the need to apply \u0026ldquo;bypass\u0026rdquo; rules for specific sites. CDNs - Our Only Realistic Option Right Now Rather than using generic caches, we can use caches provided by Content Delivery Networks (CDNs). These systems host large amounts of content, from one or more content providers. These aren\u0026rsquo;t transparent - through DNS tricks, users are redirected to the content hosted on the CDN edge node closest to the end user. They may not host all content - they can act as a proxy, automatically retrieving content.\nCDN Operators such as Akamai charge content providers for using their services. Google also has caching systems - particularly useful for YouTube. Netflix also offers CDN edge nodes to any ISP that wants to host them. The CDN operators don\u0026rsquo;t charge the service provider for these systems - they charge the content providers instead.\nISPs traffic profiles usually show that a few sources - YouTube, Netflix, etc. dominate their overall traffic patterns. If a couple of sources could be delivered from a CDN instead, there\u0026rsquo;s not much cost advantage in transparent caching the rest of the data.\nBecause the CDN operator manages the content on their systems, and they manage how clients retrieve that content (through DNS, etc), then they are in full control of the delivery. They know that they\u0026rsquo;ve cached complete objects, and they can pre-populate content they know will be popular. SSL can still work too, since the CDN knows the content being delivered, and it can tell the client the URL to retrieve content from. No tricky manipulation of traffic flows either. From an ISP\u0026rsquo;s perspective, it\u0026rsquo;s like hosting a web server. No funny path manipulation, and no problems with asymmetric traffic. Typical performance numbers show 30% of traffic can be served up by the CDN caches.\nNo Future for Transparent Caches Then? There are some specific situations where you might want to cache all traffic - e.g. if you\u0026rsquo;re a large New Zealand-based ISP that sells International transit to other ISPs. By transparently caching, you can charge your clients International bandwidth rates, even if some of the content was delivered from a local cache. With that business model, if they moved to hosting CDN nodes, it would only be Domestic traffic to clients, and that\u0026rsquo;s far cheaper. (Unless of course they put their CDN caches into their International VRF, but that would be sneaky, and surely they wouldn\u0026rsquo;t do that, right? Right?)\nThere is also a possible future where the Transparent caches could somehow have a standardised signalling with the content providers, marking content, and pre-delivering it to the caches. I presume that is what these working groups are talking about. But when you dig into it, it sounds an awful lot like a CDN. The advantage would be that you could host just one CDN/Cache within your network, instead of needing to host boxes from Akamai, Google, Netflix, etc. It sounds like it might have promise. But think about the vested interests here, and the difficulties of trying to get everyone to work together. Likely to happen? Not any time soon.\nAside: Bandwidth Caps I find this part of the article somewhat hilarious:\nCynics might argue that this fear is manufactured as a way to implement bandwidth caps and justify efforts to raise the price of bandwidth.\nI live in a country where bandwidth caps are the norm. In my consulting work, I see the service provider side of the equation. There are real costs associated with provisioning network capacity. If consumption is rising faster than bandwidth costs are falling, what do people expect the price to do? If some users are using dramatically more bandwidth, why should they be subsidised by the rest? ISPs have to pay for peak traffic requirements, but it\u0026rsquo;s difficult to work out a pricing model based upon time/data source that could be easily understood by customers. So ISPs use bandwidth caps as a proxy for true usage-based metering, trying to use market forces to alter behaviour. Some ISPs have an \u0026lsquo;uncapped off-peak hours\u0026rsquo; arrangement where users can download as much as they like during off-peak times, to reflect the available upstream capacity. This is a small improvement. Maybe one day we\u0026rsquo;ll figure out a better model. Just don\u0026rsquo;t think that you can get a constant 20Mbps, 24x7 for $75/month.\n","permalink":"https://lkhill.com/transparent-caching-wont-save-us/","summary":"\u003cp\u003eA recent Gigaom article asks: \u0026ldquo;\u003ca href=\"http://gigaom.com/2014/03/14/will-transparent-caching-reshape-the-future-of-video-on-the-internet/\"\u003eWill transparent caching reshape the future of video on the internet\u003c/a\u003e?\u0026rdquo;\u003c/p\u003e","title":"Transparent Caching Won't Save Us"},{"content":"HP has announced that HP Master ASE holders can now get VIP support. This is supposed to give me:\nPersonalized 24/7 hotline for all Master ASE certified engineers, with preferential access to an experienced HP engineer upon validation Exclusive, enhanced access to HP networking senior product and solutions engineers from HP support teams and product centers of excellence geared to better assist you with complex networking issues 24 x7 preferential break/fix support response Hotline number and PIN that identifies you as an HP ExpertOne Master ASE. Using this line and PIN prioritizes and routes your call quickly to experienced engineers, speeding the time to resolve your support needs for your customer or employer You still have to have a service contract, and it\u0026rsquo;s only for my certification area.\nThis is broadly similar to the automatic case routing to more experienced engineers that CCIEs get. There is some discussion about whether this actually happens (read the comments).\nIt sounds like a good idea. It will be interesting to see how it goes - I\u0026rsquo;ll try it next time I need to log an IMC case.\nIn the interests of full disclosure, I should also add that HP recently sent me this bag \u0026amp; framed certificate for completing HP Master ASE - I\u0026rsquo;m not sure why it was sent nearly a year after I passed the last exam:\n","permalink":"https://lkhill.com/hp-master-ase-vip-support/","summary":"\u003cp\u003eHP has announced that HP Master ASE holders can now get \u003ca href=\"http://h10120.www1.hp.com/expertone/documents/Master_ASE_support_hotline_FAQ.pdf\"\u003eVIP support\u003c/a\u003e. This is supposed to give me:\u003c/p\u003e","title":"HP Master ASE VIP Support"},{"content":"SNMP may be outdated, and is definitely unloved, but it still serves a purpose. We\u0026rsquo;re moving to a new world, with new methods and data structures for interrogating and configuring our network devices. This is a Good Thing, but we\u0026rsquo;re not there yet, and this leaves us stuck in limbo for trying to solve Real World problems today. Here\u0026rsquo;s what I found recently when trying to do some network monitoring with IOS-XR devices.\nUse-Case: Address Pool Monitoring I need to monitor the current consumption of several address pools, on several Cisco routers. This is trivial to do using SNMP and the CISCO-LOCAL-POOL-MIB. Say what you like about SNMP, but this is a classic use-case for SNMP, and it works well. Simple polling of a few OIDs, and I\u0026rsquo;ve quickly created a graph showing my address pool usage, and free space. This is working in production for ASR1000s (running IOS-XE), and it would work well with classic IOS.\nWe\u0026rsquo;re moving to ASR 9000s, running IOS-XR. These don\u0026rsquo;t support the Local Pool MIB, so I can\u0026rsquo;t poll those values via SNMP. I don\u0026rsquo;t know why they can\u0026rsquo;t be bothered implementing support for a MIB that\u0026rsquo;s been around for many years, but it is what it is. A Cisco SE suggested I look into onePK. I like the idea of being down with all the hip kids on that SDN thing. I like the idea of making some API calls to get the data I need, even if it does make a little more work for me to configure my NMS. Let\u0026rsquo;s dig into it.\nNot so Fast (1): Controlled Availability onePK is in \u0026ldquo;Controlled Availability\u0026rdquo;. Let\u0026rsquo;s see what happens when we try to download the SDK:\nYour account does not have the appropriate access to display the requested page. Please contact your Cisco account representative for further direction.\nSigh. I\u0026rsquo;m only a CCIE. That means I paid Cisco a lot of money, but it doesn\u0026rsquo;t mean that I get any benefits from Cisco. I\u0026rsquo;m just an independent guy, I don\u0026rsquo;t have a Cisco account representative. So no download for me. But hang on, this page lets me \u0026ldquo;submit a request for consideration to participate in the Controlled Availability phase.\u0026rdquo; Tug the forelock, bow, scrape, please Uncle John, can I get access? Hilarious that it\u0026rsquo;s supposed to be version 1.1, and it\u0026rsquo;s not yet GA. I think they number versions differently to me. OK, well what happens if I try to fill in the form?\nCisco onePK \u0026ldquo;Controlled Availability\u0026rdquo; offering is now closed. General Availability coming soon!\nOK, let\u0026rsquo;s just ignore that for now - I have heard that GA is supposed to be within days, not months.\nNot so Fast (2): What Version Are You Running? The Compatibility Matrix states that 5.1.1 is required for the ASR 9000. Here\u0026rsquo;s the problem though - that is the very latest image available for those routers. The guidance we received was that 4.3.4 was the recommended version to run in production, unless you really, really needed a feature in the 5.1.x code. The 5.1.x code was not working well for us, and we had to go back to 4.3.x.\nBut I get that it\u0026rsquo;s early days for onePK, and they can\u0026rsquo;t support all the older code out there. Let\u0026rsquo;s just ignore these issues, and look at the features: Could onePK help us anyway?\nCLI wrapped in an API Let\u0026rsquo;s look at the Python API documentation for onePK. It\u0026rsquo;s an API, so my expectation is that there will be some class that represents the type of data structure I\u0026rsquo;m trying to query, and that I\u0026rsquo;ll be able to find all defined address pools, their configuration, current usage, and available space. Classes named onep.AddressPool.IPv4Pool or something like that. Nice defined structures, variables, methods, etc. All the things we would expect of an API.\nOK, let\u0026rsquo;s go through the available options: Routing, QoS, Interface Status/Configuration, CDP, syslog, etc\u0026hellip;but nothing resembling address pools. What am I left with? onep.vty. Sigh. The best I can do is take my CLI command \u0026ldquo;show ipv4 local pool\u0026rdquo;, wrap some API calls around it, and parse the output just as if I was using SSH + Expect.\nNet result: Increased development effort, with no benefit - I would still just be screen-scraping CLI output. I\u0026rsquo;d still have exactly the same issues around trying to turn human-readable information into machine data.\nI can appreciate where Cisco is trying to go with developing better programmable access to network devices. I truly believe that it\u0026rsquo;s a good thing. But they\u0026rsquo;re not there yet, so it\u0026rsquo;s a shame that a reasonably modern NOS like IOS-XR is stuck in the middle. It doesn\u0026rsquo;t support the traditional methods, nor does it fully support what we would like to do with modern methods. Back to Python + Paramiko for now. I\u0026rsquo;ll take another look when the next onePK version comes out.\n","permalink":"https://lkhill.com/ios-xr-stuck-snmp-and-sdn/","summary":"\u003cp\u003eSNMP may be outdated, and is definitely unloved, but it still serves a purpose. We\u0026rsquo;re moving to a new world, with new methods and data structures for interrogating and configuring our network devices. This is a Good Thing, but we\u0026rsquo;re not there yet, and this leaves us stuck in limbo for trying to solve Real World problems today. Here\u0026rsquo;s what I found recently when trying to do some network monitoring with IOS-XR devices.\u003c/p\u003e","title":"IOS-XR: Stuck between SNMP and SDN"},{"content":"SDN is the buzzword du jour in the networking industry, but it\u0026rsquo;s hard to make sense of what it might mean for \u0026ldquo;normal\u0026rdquo; people. Here\u0026rsquo;s my take on what SDN solutions \u0026amp; architectures might look like in the Enterprise space, and the problems that it could solve.\nI often hear comments from Enterprise Network Managers that they don’t know what SDN’s going to do for them, or why they should bother looking at it. All the hype doesn’t seem to apply to “normal” businesses that have a few hundred staff, and \u0026lt; 1,000 virtual machines.\nI believe that problems do exist with networks at that scale, and that SDN can help solve some of those issues. Rather than having to explain it repeatedly, I\u0026rsquo;ve decided to write it down.\nFirstly, I see it as two semi-distinct areas: Campus/WAN, and Data centre. Obviously there is an integration point, but the two areas have different challenges. Since the problems are different, we\u0026rsquo;ll probably see different products \u0026amp; solutions for each area. These will probably merge in future.\nI\u0026rsquo;m focused on what could be deployed today, or within 12 months. I expect to see some very different options available in 3-5 years as things settle down.\nCampus/WAN This is the traditional internal network, providing basic network connectivity services to users. Typically they’ll be concentrated in a few main buildings, with a number of smaller branch offices.\nWhat does it look like? These networks are generally fairly simple. Switch networks at each site are no more than two layers, with routed links between sites. Inter-site links are mostly delivered via Ethernet, with VPNs used for securing inter-site communications.\nUsers connect to the network, and get access to corporate systems, and the Internet. The internal network is also used for handling VoIP connectivity, and possibly CCTV from remote sites to a central point. Manufacturing organisations will also use the network for plant monitoring and control.\nAn increasing number of users connect via wireless, and users expect the same level of access, regardless of their connection method.\nWhat are the challenges? User identification/Access control: Identifying users \u0026amp; systems, and controlling access based upon user identity. Should be same policy regardless of connection type, and ideally regardless of client type. Traffic control/manipulation: We still don\u0026rsquo;t have all the bandwidth we\u0026rsquo;d like. So we need to manipulate paths for specific traffic types, and prioritise some types of traffic. QoS is a nightmare to deploy in a cost-effective way, and it’s getting harder to identify specific traffic types with greater use of soft clients and encryption. Policy-Based Routing is only suitable for manipulating very specific flows, and is difficult to update. Security: Traditional IDS/IPS doesn’t scale in cost-effective way. We can’t afford to scan every single packet - need to choose specific packets to inspect. Configuration Management: controlling network device configurations, and being able to quickly roll out changes. Related problem: Visibility of actual traffic paths, including L2 and L3 hops. The network elements will have at least a 5 year lifetime, and will be replaced in rolling upgrades. Since the network may have many elements, and be wide-spread, any software solution must not lock the network into a single hardware vendor. Enterprises made that mistake with EIGRP, and do not wish to repeat it.\nSDN Architecture Traditional routing and forwarding are not going away. But we need a central control point for our network, that shows all our paths, and gives us the ability to manipulate flows, without having to touch all the devices. The only standards-based method available to do that today is OpenFlow. So we need an OpenFlow controller to manipulate specific flows, with a default of regular routing \u0026amp; switching.\nThe controller must have well-defined APIs, and to make it practical for Enterprises, we need to be able to plug in new features or \u0026ldquo;applications\u0026rdquo; that extend capabilities. The controller must be able to interact with other systems, such as authentication and security systems. The network should be able to identify users, forcing them to authenticate if we don’t know who they are. Once authenticated, we should be able to apply policies to that traffic, regardless of how the user is connecting. We should then be able to redirect specific traffic flows to an IPS.\nThe controller should also be able to interact with applications, so that we can identify specific traffic types, such as VoIP or CCTV, and apply QoS policies.\nExample solutions here are OpenDaylight, or HP’s SDN Controller. But these are only one part of it - we need the applications that run on top of the controller, and in the security examples, we need the complementary security systems.\nThe architecture described above will solve most of the Enterprise\u0026rsquo;s challenges. The Configuration Management problem can in part be solved by most NMSes available today, but the addition of an OpenFlow controller should solve the path visualisation problem.\nEven if Enterprises aren\u0026rsquo;t yet ready to deploy an OpenFlow controller, they should make sure that any network devices purchased today support OpenFlow 1.3. This will ensure future interoperability.\nData Centre The traditional Enterprise data centre is more likely a small room with a few racks, than a huge Facebook-style data centre. But it runs the services they need, and they’re proud of it.\nWhat does it look like? Virtualisation has dramatically reduced the size of the traditional Enterprise data centre. This has dramatically reduced the physical network requirements. For most Enterprises, a pair of 32x40GbE switches will provide all the physical network connectivity they will need for thousands of VMs. Most Enterprises still have slightly more gear than this in their data centre, but it\u0026rsquo;s rapidly collapsing to this:\n(There are more physical servers than I\u0026rsquo;ve shown here, but still only the two physical switches)\nThere are very few, if any physical servers left - almost everything is virtualised.\nWhat are the challenges? Relatively few physical devices and non-blocking fabrics have made physical network far simpler. Primary problem is managing the virtual networking - and any hand-offs to the physical network. Less concerned about network hardware lock-in, due to low number of devices. Test and development environments have collapsed into the same physical layer as the production systems. Need to provision isolated test/dev networks quickly, and then get rid of them, without making physical changes Security requirements still exist, but no desire to deploy physical firewalls, etc. May even be impossible. Preference is to virtualise network services such as firewalls, load balancers, etc. Physical devices are proving difficult to scale cost-effectively, and managing large firewall rule-sets, or centralised load balancers is operationally difficult. SDN Solution Architecture I recommend the use of a virtual network overlay solution that tightly integrates with the virtualisation management system. This solves the problems of rapidly deploying networks (including test and development), without needing physical network changes.\nThe overlay solution must incorporate network services such as firewalls and load balancers. These must be able to be rapidly deployed, and distributed for performance. Deploying more, smaller systems helps with both performance and operational management.\nMost Enterprises are using VMware, so the obvious product example here is VMware NSX. Given the requirement for tight integration for the virtualisation management solution, the choice of hypervisor will decide the network virtualisation system. I hope we will see more alternatives in future, priced at a level that ‘normal’ Enterprises can afford. This will probably coincide with OpenStack becoming viable for \u0026rsquo;normal\u0026rsquo; Enterprises.\nIntegration/Federation The above models operate independently. Two systems, addressing different areas of the network. How much integration should there be between the two systems? Should there be an East-West federation between the control systems, or should there be North-South integration between these systems and something that sits over the top, and co-ordinates actions?\nI believe we will see some degree of federation, for specific functions - e.g. Co-operation between the virtual overlay network controller and the physical underlay, as described in Elephant Flow Mitigation via Virtual-Physical Communication. This will be at specific touch points, where the domains overlap.\nBut beyond that I think the controllers will be communicating more North-South, with a broader system that sees more than just the network, but is also taking in data from applications, systems, users, etc. That platform will be orchestrating changes across the entire environment - or at least providing centralised visibility of what’s going on. Few Enterprises are in a position to do that today, but it is the general direction. As such, any network controller choices must support well-documented APIs, for future integration.\nThe Future For the first 5 years of server virtualisation we simply took our physical servers, and replicated them as virtual machines, legacy devices and all. What the hell does a VM need a sound card for? It’s only recently that we’ve started moving towards new models - look at Microsoft’s Generation 2 Virtual Machines, and Open Source Docker.\nThe above network models offer us improvements for the next few years, but they’re not yet a truly radical shift in the way networks work. I haven’t yet figured out what the next step is, but I suspect it’s about getting more intelligence from the network itself - e.g. implement functions directly at the network layer, not sending traffic through virtualised versions of traditional devices. Hopefully we’ll see some truly different solutions emerge in the years ahead.\n","permalink":"https://lkhill.com/sdn-for-enterprise/","summary":"\u003cp\u003eSDN is the buzzword \u003cem\u003edu jour\u003c/em\u003e in the networking industry, but it\u0026rsquo;s hard to make sense of what it might mean for \u0026ldquo;normal\u0026rdquo; people. Here\u0026rsquo;s my take on what SDN solutions \u0026amp; architectures might look like in the Enterprise space, and the problems that it could solve.\u003c/p\u003e","title":"SDN for Enterprise"},{"content":"In New Zealand, one company controls the copper cabling delivered to houses. They sell access to Retail ISPs, at a fixed price. Individual customer connections are mapped through to the ISP, who handles all customer management, upstream access, enhanced services, etc. This means that most people have many options for their ISP, with everyone competing on a common platform. Switching ISP is trivial, and so churn rates are high.\nFibre (aka UFB, or \u0026ldquo;Ultra-Fast Broadband\u0026rdquo;) is now being rolled out across New Zealand, with a similar structure to copper - one company rolls out the physical infrastructure, and Retail ISPs compete to provide customer services across that fibre. One difference is that it is not one single company rolling out fibre nationwide. Chorus is doing most of the roll-out, but in some towns there are other providers. This is a sensible approach, that takes advantage of the fibre that was laid before a national strategy was developed. The goal is to deliver 100Mbps to 75% of houses by 2019. OK, it\u0026rsquo;s not super-fast, but it\u0026rsquo;s pretty good, and a lot better than some countries.\nObviously it takes time to lay all this fibre. Chorus has an interactive map showing anticipated availability dates. Punch in your address, and you can see what\u0026rsquo;s available, and what is planned. Sadly I got the dreaded:\nUFB deployment dates for your area are still being developed\nOr in other words, \u0026ldquo;We\u0026rsquo;ve got no plans to deliver it to you any time soon, and you should be happy with your 14Mbps ADSL2+.\u0026rdquo; Actually my ADSL speeds are OK, but I need greater upload capability. There has been talk that uptake is too low (5.5% of houses with UFB available as at Dec 31 2013), but I would sign up the first day that it becomes available. To rub it in, VDSL is one block from my house, and UFB is slated to reach one block away later this year.\nOutbreak of Common Sense The local council is currently replacing the kerbs and footpaths (sidewalks to my American friends) in my area. In a stunning outbreak of common sense, Chorus and the paving crews somehow talked to each other, and realised that they could save a lot of time and money by putting the fibre in when the footpaths are being re-built.\nHere\u0026rsquo;s my ripped-up footpath:\nAnd looking closer, we can see the conduit that has been laid:\nYes!\nI don\u0026rsquo;t know how long it will take to actually hook it all up, but I will be switching over as soon as I can. Choices right now are 30Mb down/10 up, 50/20, or 100/50. All at prices not much different to ADSL. Oh yes please.\n","permalink":"https://lkhill.com/fibre-future/","summary":"\u003cp\u003eIn New Zealand, one company controls the copper cabling delivered to houses. They sell access to Retail ISPs, at a fixed price. Individual customer connections are mapped through to the ISP, who handles all customer management, upstream access, enhanced services, etc. This means that most people have many options for their ISP, with everyone competing on a common platform. Switching ISP is trivial, and so churn rates are high.\u003c/p\u003e","title":"The Fibre Future is Coming"},{"content":"Technical people often have problems with Project Managers. It doesn’t have to be this way though - if you can each recognise the other’s strengths and weaknesses, you can work well together. Here’s some advice on working with PMs.\nI’ve worked with many project managers over the years. I don’t get on with them all, but I’ve been fortunate enough to work with some really good PMs, who made a real difference to the project. Yes, they do exist. To have a mutually beneficial relationship, it helps to know what motivates a PM, what they’re good at, and what they’re not good at. Then you get can get them to work for you. Remember that they’re not your boss - they’re another resource helping to get the project done.\nWhat Motivates a PM? Project Managers worry about three things: Scope, Cost and Schedule. This can be represented as the Project Management Triangle:\nSource http://en.wikipedia.org/wiki/File:The_triad_constraints.jpg\nThey know that changes to any one side will affect the others. If the Scope is increased, it will raise the Cost, and/or push out the Schedule. Similarly, if there is an arbitrary Schedule, the PM will be trying to work out how to reduce Scope to meet that date.\nWhat Do Project Managers Do? Project Managers track anything that affects the Scope/Cost/Schedule - either direct impact (ie an Issue), or a possible impact (a Risk). They want to know what work is being done (the Scope), who is doing it and when it will be done (the Schedule), and how much it costs (the Cost). They want to collate this information from people like you, and feed it up to the project sponsor.\nThey have various ways of tracking this - Gantt charts, RAID logs, status reports, etc. The ‘how’ is less important than the ‘what’.\nBecause of the nature of what they do, they should be very good at communicating with people, performing administrative tasks, and documentation.\nWhat Don’t They Do? They don’t make technical decisions. They may help make decisions on the best approach based on risk/time/cost, but they are not equipped to make technical decisions. They are not people managers. Don’t expect them to care about your personal growth. They only care about their project. They don’t care about Operational matters. They want to get their project completed, and get out. So How Can we Work Together? These are my key guidelines for working together well:\nKeep them well-informed of anything that could impact their Scope/Cost/Schedule. Tell them early. Tell them often. This keeps them happy. Remember: They\u0026rsquo;d rather know ASAP about any Risks/Issues, than have it come up later, and impact the sacred Scope/Cost/Schedule. Use them for what they’re good at. Being held up by people not giving you information? Pass it to the PM to chase it up. Need some random project administrative task taken care of? Push it to the PM. Need someone to organise a room, food, drinks, and get 20 people transported there? PMs are perfect at getting this done. Sometimes I think of PMs as performing a secretarial role. Don’t let them make technical decisions. This is a tricky one, but it causes the most strife in projects. Engineers (myself included) are guilty of presenting too many options, and not making clear recommendations. We need to briefly outline options, and make a clear recommendation. If you are unsure, then frame the options in terms of risk/time/cost. Get the PM to help with you decisions around that, not around which choice is technically better. Establish these roles and boundaries early on, and things can go well. Mess it up, and you end up in a horrible project, with endless finger-pointing, wasted time \u0026amp; effort on pointless meetings, and poor decision-making. Then no-one feels good about getting the project completed.\n","permalink":"https://lkhill.com/working-with-project-managers/","summary":"\u003cp\u003eTechnical people often have problems with Project Managers. It doesn’t have to be this way though - if you can each recognise the other’s strengths and weaknesses, you can work well together. Here’s some advice on working with PMs.\u003c/p\u003e","title":"Working with Project Managers"},{"content":"The \u0026ldquo;Best of Interop 2014 Finalists\u0026rdquo; have been announced. Pretty much all the products and technologies that you would expect, but I found the categorisation interesting. As you\u0026rsquo;d expect, there\u0026rsquo;s an \u0026ldquo;SDN\u0026rdquo; category. This year\u0026rsquo;s finalists are:\nApplication Policy Infrastructure Controller (APIC) for Cisco Application Centric Infrastructure – Cisco Hydrogen – OpenDaylight Project VMware NSX Network Virtualization Platform – VMware But then look at the \u0026ldquo;Networking\u0026rdquo; section. Finalists are:\nAvaya – Avaya Fabric Attach Cisco Systems – Cisco ISR 4451-X Converged Branch Infrastructure Solution HP – HP Network Optimizer SDN Application for Microsoft Lync The first two I expect to see there - a core (but innovative) networking technology, and a new hardware device. But what about HP\u0026rsquo;s SDN/Lync application? Doesn\u0026rsquo;t that belong under the SDN category? I think we\u0026rsquo;re going to see more of this in future - the controller and related parts falls under the SDN category, but the applications will be in a more specific category.\nSign of things to come?\n","permalink":"https://lkhill.com/best-of-interop-categorisation/","summary":"\u003cp\u003eThe \u0026ldquo;\u003ca href=\"http://www.informationweek.com/interop/best-of-interop-finalists-announced-for-2014/d/d-id/1127676\"\u003eBest of Interop 2014 Finalists\u003c/a\u003e\u0026rdquo; have been announced. Pretty much all the products and technologies that you would expect, but I found the categorisation interesting. As you\u0026rsquo;d expect, there\u0026rsquo;s an \u0026ldquo;SDN\u0026rdquo; category. This year\u0026rsquo;s finalists are:\u003c/p\u003e","title":"Best of Interop - Look at the Categorisation"},{"content":"SDN career certifications are starting to emerge. Network engineers are well-used to certifications, and use them as a badge of marking progress. But developers prefer to focus on code, not passing tests. This will be just another way that the different cultures rub up against each other as we change the way our networks work.\nSDN Certifications Emerging HP has developed an SDN Developer certification, HP ASE - SDN Application Developer v1. This certification is aimed at:\nexperienced application developers\u0026hellip;with some knowledge of networking functions or networking professionals with one or more years of application development experience\nAmongst other things, it validates that you can do the following:\nUnderstand the SDN environment including SDN application use cases, the OpenFlow standard, the HP VAN SDN Controller, and OpenFlow enabled switches Design an application with SDN, including decisions about application type and process of design creation; and understand examples of successful SDN-enabled applications\u0026hellip; Write, test, and debug an SDN application with the HP VAN SDN Controller and OpenFlow enabled switches Cisco is developing courses for designing and supporting programmable networks, and they are working on certification programs. They hype around it last year implied that they should have released this by now, but apparently they\u0026rsquo;re still ironing out a few kinks:\n@northlandboy @kirkbyers I know. Seem to be getting close now though. Think they\u0026#39;re taking the time to get it as right as possible @ release\n\u0026mdash; Matt Saunders (@citylifematt) March 13, 2014 Cisco\u0026rsquo;s certification program has been enormously successful over the last 20 years, providing a clear pathway and goals for network engineer career development. Obtaining a certification is a popular way of showing your development level to potential employers. It has become a form of shorthand to identify a network engineer as being at CCNA-, CCNP- or CCIE-level.\nRunning Code is King Developers don\u0026rsquo;t go in for certification with nearly the same gusto. They\u0026rsquo;d rather show off some code, or point to an application they built.\n@northlandboy Yuck, there are better ways to establish programming credibility than certificates (i.e. go write some open-source code).\n\u0026mdash; Kirk Byers (@kirkbyers) March 12, 2014 GitHub has become the de-facto way of showing off your skills. If you\u0026rsquo;re applying for a developer role, you can be fairly certain that they will be looking at your GitHub profile. Employers are looking at what projects you\u0026rsquo;ve been involved in, what sort of code you\u0026rsquo;re contributing, etc. This isn\u0026rsquo;t just employers either - industry peers will look at what you have published to get a sense of your abilities. Certifications are seen as a simple test that can be \u0026lsquo;gamed\u0026rsquo; while running code stands on its own. Developers aren\u0026rsquo;t interested in what test you\u0026rsquo;ve passed, they want to know what you\u0026rsquo;ve actually done.\nNote: Aside: What if your employer doesn\u0026rsquo;t let you put code on GitHub? How do you demonstrate value then? So what happens when developers and network engineers come together?\nCulture Clash - but we\u0026rsquo;ll get over it Changing the way we design, build and operate networks is going to involve many challenges, large and small. Someone who grew up writing code has a fundamentally different way of thinking about the network than someone who started out making patch leads. This goes beyond the network - it\u0026rsquo;s about the type of person, how they solve problems, how they operate in a business environment, how they validate technical experience. There will be many other cultural clashes, and this is just a very small one that we\u0026rsquo;ll get over.\nI am unconvinced about certification for SDN development, but I expect to see mainstream network certifications adopt SDN topics - primarily around concepts \u0026amp; configuration, not development. This ties in with where I see SDN development going: only a few network engineers will do any serious development work, with a wider group doing some basic scripting + integration. Most will just drive the tools from the GUI. That\u0026rsquo;s the path that sysadmins have gone down with the advent of server virtualisation.\n","permalink":"https://lkhill.com/certs-vs-code-sdn-culture-clash/","summary":"\u003cp\u003eSDN career certifications are starting to emerge. Network engineers are well-used to certifications, and use them as a badge of marking progress. But developers prefer to focus on code, not passing tests. This will be just another way that the different cultures rub up against each other as we change the way our networks work.\u003c/p\u003e","title":"Certs vs Code: SDN Culture Clash?"},{"content":"Network Field Day 7 had many interesting presentations and discussions. I\u0026rsquo;m still working through them all, but one from Dell caught my eye, where they declared that CCIEs were no longer required. They were slightly exaggerating their case for impact, but there is some substance to it - we shouldn\u0026rsquo;t need CCIEs to generate basic network configurations for standard networks.\nBearer of Bad News? It\u0026rsquo;s a brave person that walks into a room full of CCIEs and Consultants, and says something like:\nI hate to be the bearer of bad news, but the CCIE certification, the days of consultants\u0026hellip;they\u0026rsquo;re limited in my mind.\nParticularly when those CCIEs are also Network Field Day attendees, and they have no hesitation in telling the speaker exactly what they think. But that\u0026rsquo;s what Arpit Joshipura said during the Dell presentation at NFD7 (around 17:40):\nThis was part of a presentation on Dell\u0026rsquo;s Fabric Manager tool, which can design your network, generate a Bill of Materials, create a wiring diagram, export a network diagram to Visio, generate the configurations, and deploy them to bare metal switches. Oh and tell you if you\u0026rsquo;d plugged the cables in the wrong way. It was unclear if it also made coffee, but maybe that\u0026rsquo;s in the next release.\nPain Points \u0026amp; Time Wasters Manual creation of basic configuration files is a huge waste of time. Most experienced network engineers have developed their own templates they use, and some companies have developed their own internal configuration generation/management tools. But it\u0026rsquo;s such a waste of time for us to all be doing it ourselves. There\u0026rsquo;s no unique value there to an organisation. It just wastes time - either internal engineers, or external consultants.\nIn the last 12 months I\u0026rsquo;ve come across several organisations that were having trouble getting \u0026ldquo;reference\u0026rdquo; configurations for their new HP Networking gear. It\u0026rsquo;s easy enough to get basic connectivity working, but we all know that there are many functionality and security enhancements that can be made on top of a basic switching configuration. It was taking far too long to get validated, tested configurations. In one case, a missed command caused hours of wasted time tracking down a problem.\nIt was all so unnecessary really. Everyone likes to think their network is a precious snowflake, but the reality is that most networks are pretty similar. Cisco\u0026rsquo;s Validated Design Program certainly goes a long way towards creating standardised network, but this seems to take it further, with full configuration generation. I\u0026rsquo;d like to see tools like Dell\u0026rsquo;s available for all major networking vendors.\nFuture for CCIEs? Does this mean CCIEs are no longer required? No, I don\u0026rsquo;t think so - but their role should continue to shift. If your value as a CCIE is in banging out configurations, then yes, that is in decline. There is still a requirement to be able to identify key features of your design, drive a Fabric Manager-type tool to create the configuration, and be able to do troubleshooting when it breaks. It should mean that network implementations can be done faster, therefore reducing the length of consulting engagements. That could mean that there is less work for CCIEs - but it could also mean that more time will be available to helping customers actually do interesting things with their network. Ultimately that\u0026rsquo;s what it\u0026rsquo;s all about - delivering services via the network. No-one really cares about the underlying configuration files.\nUPDATE: The NFD7 delegates discuss this a bit further in \u0026ldquo;Packet Pushers show 182: The Future of Networking Part 1\u0026rdquo; - but you\u0026rsquo;re already subscribed to the Packet Pushers, right? Right?\n","permalink":"https://lkhill.com/dell-fabric-manager/","summary":"\u003cp\u003e\u003ca href=\"http://techfieldday.com/event/nfd7/\"\u003eNetwork Field Day 7\u003c/a\u003e had many interesting presentations and discussions. I\u0026rsquo;m still working through them all, but one from \u003ca href=\"http://www.dell.com/\"\u003eDell\u003c/a\u003e caught my eye, where they declared that CCIEs were no longer required. They were slightly exaggerating their case for impact, but there is some substance to it - we shouldn\u0026rsquo;t need CCIEs to generate basic network configurations for standard networks.\u003c/p\u003e","title":"Dell Fabric Manager \u0026 The Future for CCIEs"},{"content":"Vendor \u0026lsquo;clubs\u0026rsquo; or programs have troubled me for some time. They are not all bad, but I am concerned about the influence that vendors are trying to exert, and the effect this has on the standings of respected people in the social media communities. I fear we are selling our independence too cheaply.\nWarning: Before I get started, I am NOT accusing anyone of behaving improperly. My problem comes mostly from perception. Don\u0026rsquo;t underestimate how important perception is. Geek Whisperers I find Geek Whisperers to be a difficult, yet compelling podcast to listen to. Hearing non-technical people talk about “herding unicorns” and how they try to influence us is deeply uncomfortable, but I find I keep tuning in. Sometimes you really don’t want to know how the sausage is made - but maybe you should.\nIt\u0026rsquo;s interesting to hear them rabbit on about ‘community’, but ultimately it comes down to “How can I get other people to spread my message for me for free?” This has made me think about the vendor clubs, and what vendors are trying to do with them.\nVendor Clubs - Everyone’s Doing It The community strategy du jour is to manufacture a “club” of selected individuals with a strong social media profile. Vendors take a group of people, give them a label, and hope they will go forth and spread the vendor message. Example programs are VMware’s vExperts, EMC Elect, Juniper Ambassadors, and now Cisco Champions.\nExact criteria vary, but generally those selected are already visible in various communities, are well-respected, and are very knowledgeable about that vendor. Some programs explicitly list favourable treatment towards vendor as a criteria, but we can assume that is a requirement for all of them. Some programs select candidates based upon self-identification plus community feedback, while others use a more opaque process.\nWhy Do People Line Up to Get Involved? The list of benefits varies, but common items include:\nPublic recognition Product feedback opportunities Early access to products and services Vendor engagement If you’re like me, you’re thinking “that’s actually pretty lame, and costs the vendor nothing. It’s not much different to what a large customer gets.”\nNote: Aside: Why do marketing people get so excited about “A logo to display on your website or email signature!”? But there can be some more tangible benefits - e.g. vExpert members can get NFR licenses for a wide range of partner products, and training material.\nThe attention and public validation is probably the key driver here though - hey if I’ve been writing about Juniper for a few years, it’s nice for someone to recognise that I know what I’m talking about, right?\nWhat’s In It for the Vendor? Consider this definition of Champion, from Wikipedia:\nIn an ideological sense, encompassing religion, a champion may be an evangelist, a visionary advocate who clears the field for the triumph of the idea.\nThe goal of the vendor is to create a group of people who will promote their products, engage in community discussions, and generally be a positive influence. All for free (or close enough to it). Remember, they’re not paying any of these people. They do pay the wages of internal employees who participate in their forums, but here they’re looking for people to spread the vendor message, on their own time \u0026amp; dime.\nIf this works well, it can help to build a strong community and engagement. Vendor selection is not simply features and price - knowing that there is a supportive community factors into buying decisions.\nBut What Price do we Pay? It all seems pretty harmless, right? If you already work with vendor X, blog about it, talk on Twitter about it, then what’s the problem with a little recognition? There’s two issues: Perception, and self-imposed restraint.\nPerception matters. If you work for an independent consultant firm, but your email signature includes “Cisco Champion”, what will your customers think? If they ask you “Should we use Cisco or HP networking gear?” and you tell them Cisco, should they trust you? Even though your public profile says that you are part of a club set up to promote Cisco? Of course, you might say that you are independent, and your actions are honourable. I believe you. But what’s the perception? Does it pass the smell test? No, it does not.\nYou could argue that the language is part of this. \u0026ldquo;vExpert\u0026rdquo; is a good term - it identifies a person knowledgeable about virtualisation, without saying they only promote VMware. \u0026ldquo;Ambassador\u0026rdquo; or \u0026ldquo;Champion\u0026rdquo; is not so good. It implies you are paid to promote a specific point of view.\nIf you say something negative about your vendor, they might kick you out of the club. Does that restrain your tongue? Do you just not publish that, and stick to the positive stuff? Do you take it a step further, and attempt to turn negative conversations?\nSo now we’re at a point where you’re acting like an employee of the vendor…yet they’re not paying your wages. Is that a fair trade?\nConclusion: Be aware of your profile and perception I don’t have a problem with people choosing to join these programs. But make sure that you go into it with eyes wide open, and you recognise the potential impact it might have - both positive and negative. Nothing comes for free. There are always expectations. Don’t sell out your independence for a few shiny trinkets.\n[UPDATE] Daniel Dib has written a response, explaining why he decided to join the Cisco Champions program. You should read it (and follow @danieldibswe). Lisa Caywood has her take, coming at it from another angle, here: \u0026ldquo;Communities of the Faithful\u0026rdquo;. She\u0026rsquo;s another top-notch person you should be following: @RealLisaC. Michael Stump has another take, on getting into the vExpert program, then later leaving: #ExvExpert. @joshuarkittle and I spoke about this at NFD8. Read his view on these programs ","permalink":"https://lkhill.com/vendor-clubs-watch-your-independence/","summary":"\u003cp\u003eVendor \u0026lsquo;clubs\u0026rsquo; or programs have troubled me for some time. They are not all bad, but I am concerned about the influence that vendors are trying to exert, and the effect this has on the standings of respected people in the social media communities. I fear we are selling our independence too cheaply.\u003c/p\u003e","title":"Vendor Clubs: Watch Your Independence"},{"content":"Many engineers struggle with business writing. They get easily lost in detail, and produce tortured documents that are technically correct, but of little business value. This is classic \u0026ldquo;technician\u0026rdquo; or \u0026ldquo;engineer\u0026rdquo; writing. Here\u0026rsquo;s some guidance for producing \u0026ldquo;Consultant\u0026rdquo;-style documents will be far more use to the organisations you\u0026rsquo;re working with.\nNote: Note: This post is primarily about reports and reviews that you are presenting to a customer or management. The rules for internal Wiki-style documentation are a little different. Those should focus on key facts above all else. Know Your Audience Know who your audience is, and know what business problem they\u0026rsquo;re trying to solve. I can\u0026rsquo;t stress this enough. Everything else should flow from that. The writing will be pitched at the right level, and the customer will be happy because you\u0026rsquo;ve clearly helped to solve a problem for them. If you hide your conclusions at the end, or worse yet, don\u0026rsquo;t have any clear conclusion, the customer will walk away confused.\nAs engineers we love to talk about small technical details, and argue about why Junos is better than NX-OS, or how great it is that the port-to-port latency is only 250ns\u0026hellip;but we must be careful to focus on relevant details. A 4WD truck may be a better choice for towing a boat than my 1.0L car, but if I don\u0026rsquo;t own a boat, who cares? That database may be limited to 64TB, but if I\u0026rsquo;m only storing 1GB, growing to maybe 5GB, it\u0026rsquo;s irrelevant. If you\u0026rsquo;re comparing two options, focus on the details that are relevant for this specific situation.\nLayout \u0026amp; Style Language and layout matter. Be very clear about what you\u0026rsquo;re trying to get across. Guidelines to follow include:\nConclusion First: It\u0026rsquo;s not a murder mystery. I don\u0026rsquo;t want to have wait until the last line to find a conclusion/recommendation. State that up front, with a quick summary of key reasons. That\u0026rsquo;s all most people will read anyway. Bullet Points: A few bullet points clearly highlighting the key issues are better than long paragraphs where the message gets lost. Short sentences are good. Clear, Strong Statements: Don\u0026rsquo;t waffle and hide behind language like \u0026ldquo;I think that consideration should maybe be given to looking at switching from product A to B.\u0026rdquo; Just come out and say it \u0026ldquo;Product A is the best solution here.\u0026rdquo; Highlight Actions Required: If you need a specific decision made, or action taken, be very clear about it. Bold, boxed text, highlighted, whatever it takes. Make sure your reader understands what they need to do. No irrelevant detail: This does not just apply to technical detail. The reader doesn\u0026rsquo;t want a story about what you did while investigating the topic, or hear about how many blogs you read. They want to know the key information, as it relates to the issue at hand. Review Get your document reviewed by someone else. This will improve your writing. There are three different types of feedback:\nGrammar/Typographical: \u0026ldquo;mechanical\u0026rdquo; errors such as grammar, spelling, formatting. If your document is full of grammatical mistakes, a reasonable proportion of your audience will think less of your technical opinion. Sorry, but that\u0026rsquo;s the way it is. Others may be more forgiving. I am not one of them. Technical: Review for technical errors - e.g. incorrect description of OSPF LSA flooding. Usually needs someone with strong technical ability in the field. Style and Flow: Can a reader follow the document, and easily extract the information they need? Do some sections need to be re-ordered/expanded/cut out? This is the sort of thing that a good editor does, and it makes the most difference. Note that each of these types of feedback are quite different. It\u0026rsquo;s common to use different people for each of them. You might find that sales folks are fantastic at helping get the style and flow right, but they\u0026rsquo;re not detail-oriented, so miss typos.\nYou will get some reviewers that just say \u0026ldquo;Yes, it looks fine,\u0026rdquo; without giving any useful feedback. If it\u0026rsquo;s a first pass, and they don\u0026rsquo;t have any feedback\u0026hellip;might be worth asking someone else. It\u0026rsquo;s more likely that they didn\u0026rsquo;t review it properly than you got it perfect first time.\nPractice Keep working at it. These things get easier with time. Pay attention to well-written documents you come across - look at the style, and what you like about it. Read some of the other information out there - e.g. Greg Ferro has a few good posts about Design Documentation. Keep seeking feedback, and keep improving - this will be noticed by your peers, customers, and management.\n","permalink":"https://lkhill.com/technician-vs-consultant-writing/","summary":"\u003cp\u003eMany engineers struggle with business writing. They get easily lost in detail, and produce tortured documents that are technically correct, but of little business value. This is classic \u0026ldquo;technician\u0026rdquo; or \u0026ldquo;engineer\u0026rdquo; writing. Here\u0026rsquo;s some guidance for producing \u0026ldquo;Consultant\u0026rdquo;-style documents will be far more use to the organisations you\u0026rsquo;re working with.\u003c/p\u003e","title":"Technician vs Consultant Writing"},{"content":"A quick reminder - do not use the symbol \u0026lsquo;@\u0026rsquo; in SNMPv1/2 community strings. I came across this again this week - it causes issues with monitoring some equipment, and should be avoided.\nLet\u0026rsquo;s just ignore the massive SNMPv1/v2c security issues for a second. Since people see the community string as a password, it\u0026rsquo;s common to use a random collection of letters, numbers and characters. For some reason, people seem to end up using \u0026lsquo;@\u0026rsquo; in their community strings. But look at this in the Cisco documentation:\nThe @ symbol is used as a delimiter between the community string and the context in which it is used. For example, specific VLAN information in BRIDGE-MIB may be polled using community@VLAN_ID (for example, public@100) where 100 is the VLAN number. Avoid using the @ symbol as part of the SNMP community string when configuring this command.\nCisco has more information about Community String Indexing:\nSome standard MIBs assume that a particular SNMP entity contains only one instance of the MIB. Thus, the standard MIB does not have any index that allows you to directly access an instance of the MIB. In these cases, a community string indexing is provided to access each instance of the standard MIB. The syntax is [community string]@[instance number].\nIf you use \u0026lsquo;@\u0026rsquo; in your community strings, you might find that the switch gets confused about what you\u0026rsquo;re trying to poll. You won\u0026rsquo;t be able to get data for any VLAN other than 1, and you\u0026rsquo;ll probably find that you get SNMP authentication failure traps from your managed devices.\nDo yourself a favour and use a different character. Maybe \u0026lsquo;?\u0026rsquo; for bonus marks in struggling to work out how to enter that via the IOS CLI?\n","permalink":"https://lkhill.com/snmp-community-strings-dont-use/","summary":"\u003cp\u003eA quick reminder - do not use the symbol \u0026lsquo;@\u0026rsquo; in SNMPv1/2 community strings. I came across this again this week - it causes issues with monitoring some equipment, and should be avoided.\u003c/p\u003e","title":"SNMP Community Strings - Don't Use '@'"},{"content":" This article is Part 3 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - This Article Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Firewalls are usually deployed as a cluster, to provide failover capabilities. Protocols such as VRRP are used to that traffic is normally routed via one node, but if that node fails, the other one automatically takes all traffic. Connection synchronisation ensures that the backup firewall is always aware of all active sessions, so that a failover will be almost seamless.\nThis works pretty well - I spent years looking after a lot of Check Point clusters, predominantly on Nokia IPSO, later on SecurePlatform. Don\u0026rsquo;t hate me for it. Occasionally we\u0026rsquo;d have a power supply or disk drive failure, and traffic would seamlessly switch over to the standby node. It also worked well during upgrades - demote the node to secondary, patch it, promote to primary, test, switch back if needed.\nIt\u0026rsquo;s not true redundancy All good. But there\u0026rsquo;s a problem - you don\u0026rsquo;t have TRUE redundancy. You\u0026rsquo;re protected against hardware failure, and you\u0026rsquo;ve also got some mitigation strategies to deal with problems related to software upgrades. But what happens if you have a software problem? Normally you\u0026rsquo;re running exactly the same code and configuration, so if a problem affects one node, it might affect both nodes. Check Point configuration is managed on a per-cluster basis too - when making firewall policy changes, you push the policy to both firewalls at once. You don\u0026rsquo;t do them in sequence.\nThat\u0026rsquo;s what happened to me - we had a software bug that took out the whole cluster.\nNote: Note: This story is about a Check Point cluster, but it\u0026rsquo;s not a specific attack on Check Point - this is a general problem that applies to any system that has shared code/configuration across a cluster Meltdown Check Point used to have a feature called \u0026ldquo;Smart Defense\u0026rdquo;. These days it\u0026rsquo;s known as IPS. It\u0026rsquo;s an integrated intrusion detection/prevention system within the firewall. It\u0026rsquo;s had a chequered history, with engineers heard to mutter \u0026ldquo;If it makes no sense, it must be Smart Defense.\u0026rdquo; Certainly I\u0026rsquo;ve seen some odd behaviour in the past, where it would drop specific sessions without bothering to log any indication of why it dropped them, or even admitting that it had dropped the session.\nCheck Point releases signature updates for SmartDefense/IPS on a frequent basis. Open up the Policy Editor, and it will say \u0026ldquo;Hey, these new signatures are available. Do you want to download/enable them?\u0026rdquo; One morning I saw a new signature for detecting specific types of malicious OSPF traffic. That sounds interesting. Maybe I\u0026rsquo;ll just put it in \u0026ldquo;Detect\u0026rdquo; mode, so it will tell me if it sees anything, but it won\u0026rsquo;t drop it. Can\u0026rsquo;t hurt right? It\u0026rsquo;s just detecting it, not dropping it.\nTick the box, push policy, done. Make note to check logs later to see if any of that traffic has been detected.\nA few minutes later\u0026hellip;complete meltdown. Everything\u0026rsquo;s offline. Nothing reachable in the data center. Can\u0026rsquo;t get from Enterprise network to DC, and it seems that all intra-DC traffic is broken. What the hell\u0026rsquo;s going on? After a bit of scrambling, we realise that the firewalls seem to be blocking everything, via all the virtual firewalls we have on that VSX cluster.\nCan\u0026rsquo;t remotely login in to them, so we wheel out the Crash Cart, and plug a monitor into the firewall. Kernel Panic. Oops. That\u0026rsquo;s not good. Power-cycle the firewall, and it comes back up, and starts passing traffic for a minute or two\u0026hellip;then kernel panic again. Oh no\u0026hellip;.more testing shows that if we reboot both firewalls, one goes master, takes a bit of traffic, then kernel panics\u0026hellip;so the secondary takes over, passes traffic for a minute\u0026hellip;and also kernel panics. Redundancy didn\u0026rsquo;t help here.\nWhat can we do? Check Point firewalls are managed by a remote management server. You can\u0026rsquo;t change the configuration locally, like with an ASA. You MUST make changes from the management server\u0026hellip;but how can I push out an updated policy, if the firewall won\u0026rsquo;t stay up long enough to install policy?\nOh and did I mention that the company had a major launch about to happen, within an hour? Yeah, you could say that there was a certain amount of panic, and people lighting their hair on fire and running around.\nI knew that I needed to get back to the configuration I had installed yesterday. How to do it? I had backups for all systems - the management server \u0026amp; the firewalls. With Check Point systems, the backup from the firewall doesn\u0026rsquo;t really matter much anyway - you can just re-build the firewall, and push out policy again. So I ended up doing a restore on the management server to yesterday\u0026rsquo;s configuration, rebuilding the firewall from scratch, and pushing a working policy out to it. Service working again! All done within an hour too, I might add.\nLessons Learned Have backups, know where they are, and how to restore from them. I\u0026rsquo;d had enough system failures over the years to know I needed to have that scripted up. You\u0026rsquo;d be surprised how many people don\u0026rsquo;t do have backups of network devices. Have a good team around you, and trust them. I was lucky that I had a good group of people around me, and we\u0026rsquo;d spent years doing Operations work together. We knew how to handle those sorts of situations. One person ran interference, and cleared out space around the people working on the problem. This got rid of all the noise, and gave us time and space to figure out what had happened, and how we were going to recover. The worst thing you can do is stand over the engineer\u0026rsquo;s shoulder, and ask \u0026ldquo;Is it fixed yet?\u0026rdquo; every 5 minutes. Redundancy is more than just hardware. Understand what the failure domains are. This is partly why I don\u0026rsquo;t like stretched L2 designs - you\u0026rsquo;re providing some redundancy against hardware failure, but you still have a shared component that could take out everything. Ideal scenario would have been to have another data center that we could run all services out of, but at the time we didn\u0026rsquo;t have the budget. It was a rather \u0026ldquo;interesting\u0026rdquo; morning all around, but we were able to recover, and life goes on. That\u0026rsquo;s the good thing about networking - once you\u0026rsquo;ve fixed the problem, stuff starts flowing again. It\u0026rsquo;s a lot more entertaining dealing with outages that involve lost data. Sometimes that stuff can never come back.\n","permalink":"https://lkhill.com/war-stories-check-point-meltdown/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 3\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Check Point Meltdown"},{"content":"The CCIE Routing \u0026amp; Switching v5 blueprint introduces a new module in the lab exam: DIAG. This section does not have any direct device access, but instead uses a variety of information sources, including some console output.\n…the objective of the new Diagnostic module is to further assess the skills required to properly diagnose network issues. These skills include “analyzing, correlating and discerning multiple sources of documentation” such as email threads, network topology diagrams, console outputs, syslogs and even traffic captures.\nMy initial thoughts were: “This is the modern version of the OEQ. It’s just another way of stopping the dumpers, by creating a large pool of easily changed questions.” This section is only 30 minutes, with a few questions, but you must pass this section in order to pass the overall exam. Hmmm, OEQ was never very popular, mainly because it seemed to fail a few very good candidates, in addition to the dumpers. One of the problems with OEQ was that it was a free-text field, and you might not correctly interpret the question, or be able to explain yourself succinctly. But look at this:\nTickets will not require candidates to write anything in order to provide the answer to a ticket. All tickets will be close- ended (as opposed to open-ended) so that the grading will be deterministic, ensuring a fair and consistent scoring.\nAha. That takes away a major source of concern. You can’t get into the same arguments about wording, as you will be choosing answers from a pre-determined list. That makes it similar to the written exam.\nBruno van der Werve gave a presentation at Cisco Live Milan this year about the new blueprint: BRKCCIE–9162. I strongly recommend that all CCIE candidates watch this session to learn more about the exam. The session spends quite a bit of time going through the DIAG section, including working through some example questions. The video is now available to view for free (registration required).\nAfter watching it, I’ve come to realise that this section is very much “Troubleshooting in the Real World.” Problems are not just based on routers and switches - instead you get a variety of inputs, and you need to sort through them to work out what matters. Look at the possible information inputs:\nService Desk Tickets Email threads Console logs showing various command outputs Device Configurations Diagrams Syslogs Packet captures (unclear on the delivery method here, but it would VERY cool if they used a Cloudshark appliance That’s pretty much everything you would have (or get) in the real world, with the exception of Google. It’s up to you to work your way through it, and apply some critical thinking to identify the most likely source of the problem. It looks like you need to recommend the next course of action for some of the questions - obviously you can’t actually test it out, without device access. But this is very much a Real World scenario - frequently we can’t just try something out, as Change Prevention Management won’t let us.\nSo how do you study for it? If I was preparing for this lab, I wouldn’t be worried about preparing specifically for this section. I think it needs three things:\nFoundational Knowledge of Protocols \u0026amp; Cisco Configuration Troubleshooting Experience Real World, practical experience at interpreting problem descriptions, and identifying the best course of action. The last item will be the most important. All of these skills should be obtained during your study and work experience leading up to the CCIE lab, and should not require any dedicated study.\nHopefully this new section serves its purpose, to correctly identify those who have the knowledge \u0026amp; experience to be called a CCIE, and to weed out those who aren’t there yet.\n","permalink":"https://lkhill.com/cciev5-diag-thoughts/","summary":"\u003cp\u003eThe CCIE Routing \u0026amp; Switching \u003ca href=\"http://www.cisco.com/web/learning/certifications/expert/ccie_rs/docs/ccieRS_examUpdates4-5.pdf\"\u003ev5 blueprint\u003c/a\u003e introduces a new module in the lab exam: DIAG. This section does not have any direct device access, but instead uses a variety of information sources, including some console output.\u003c/p\u003e","title":"CCIEv5 DIAG Thoughts"},{"content":"Previously I’ve looked at the overall ScienceLogic architecture, and HA options for the Collectors and UI. This post looks at DR and HA options for the core Database layer - the heart of the ScienceLogic system.\nHA vs DR There’s a few different definitions of HA and DR. These definitions are used here:\nHigh Availability - HA: Automatic synchronisation and failover between systems located at the same site. Automatically handles hardware or software failure on primary system.\nDisaster Recovery - DR: Automatic data synchronisation between systems located at separate data centres. Manual failover required. Handles hardware or software failure of primary system, but requires manual intervention to initiate failover. The advantage of this setup is that it can withstand a total site failure.\nHigh Availability You can configure multiple database servers at the same site, acting as an active/passive cluster. ScienceLogic uses DRBD for block-based replication between the database servers. A heartbeat network must exist between the servers. If ScienceLogic detects a failure, it will switch the secondary system to active, and will swing the virtual IP across to the secondary DB. This means that no re-configuration is required for the Admin Portals in the event of a failover.\nDisaster Recovery In this scenario, the databases are again replicated using DRBD, with DRBD proxy. There is no heartbeat network, and failover is manual. You run a script to promote the secondary system to master. You can also “demote” the primary system, and tell it to start replicating FROM the other system. Assuming you have identical hardware, there is no practical difference as to which system is the master - you can switch back and forth at will. Only the master system will talk to the collector systems. If you have a separate Admin Portal, it will need to be re-pointed to the new primary system, and/or DNS records updated.\nUsing DRBD proxy can better handle slower/congested networks between the database servers, by providing some buffering.\nDR also changes your backup policy options - you can execute a full backup from the secondary database server. Doing a full backup is an I/O intensive process, so running from the DR system makes sense - it has no impact on the user experience. Doing a full backup of the active system can cause some slow-down for the user.\nNote: NB: You can combine DR and HA, by having an HA cluster at one site, replicated to a DR database at another site Scaling You’ll notice that all the variations only ever have one “active” database at any one time. All the processing is done on this system, with the results replicated to the other databases. You can scale out your Collectors or User Interface by adding more servers - but you can’t scale out the core database. Right now you have to scale up the database - ie. allocate more RAM/CPU/IOPS. This gets around the performance bottlenecks, but comes at a cost. Hopefully we’ll see some new architectures in future that will let us scale out this layer.\nAs always, you should read the official documentation for more information on all these configurations. HTML version, PDF version. Errors and omissions are mine.\n","permalink":"https://lkhill.com/sciencelogic-database-ha-dr/","summary":"\u003cp\u003ePreviously I’ve looked at the overall \u003ca href=\"/sciencelogic-architecture-overview/\"\u003eScienceLogic architecture\u003c/a\u003e, and HA options for the \u003ca href=\"/sciencelogic-collector-ha/\"\u003eCollectors and UI.\u003c/a\u003e This post looks at DR and HA options for the core Database layer - the heart of the ScienceLogic system.\u003c/p\u003e","title":"ScienceLogic Database HA \u0026 DR"},{"content":"Earlier I looked at the basics of ScienceLogic EM7 architecture. I didn’t cover how to achieve HA or DR with ScienceLogic. The architecture offers a few options for doing this, at each of the three layers - Collectors, UI and DB. In this post I’ll cover some HA options for the Collectors and the UI.\nCollector HA/DR There are two types of Collectors - Data Collectors, and Message Collectors. Data Collectors do the active polling - e.g. WMI, SNMP, XML, ping, while Message Collectors do passive monitoring via syslog and SNMP traps.\nData Collectors It’s pretty easy to achieve HA for Data Collectors. Data Collectors can be provisioned as part of a “Collector Group”. After that, you refer to the group, rather than the individual collector. You can have many collectors as you like in one group - presumably there is some maximum. Since collectors are virtual appliances, this means you can easily spin up more collectors if you need to better distribute your load.\nWhen you add devices to ScienceLogic, you tell it what collector group you want to use to monitor the device. ScienceLogic will then automatically distribute devices across the collectors. You don’t have any control over this - the distribution is done automatically.\nIf a collector is unreachable, ScienceLogic will automatically re-assign those monitored devices across the remaining collectors. When the collector comes back online, it will automatically re-distribute the load. You can control the time delay before re-distributing load, or set it to Manual fail-back if you prefer. You can also set the maximum allowable number of failed collectors before ScienceLogic will stop monitoring altogether. You can add more collectors in future if you need to distribute your load further.\nThis system is easy to configure, and I’ve found that it works well in the Real World. Just make sure that all devices allow SNMP monitoring from ALL collector IP addresses. The only problem is that you can’t set a “preferred” collector - e.g. you may want to have a collector group that spans multiple data centers, but prefer to do the monitoring from the closest data collector to the monitored device. Unfortunately you can’t control that right now. Future release maybe?\nMessage Collectors Message Collectors aren’t quite so elegant. The fundamental issue is that you need to configure a destination IP address for forwarding SNMP traps and syslog messages on all your monitored devices. But hang on, most systems let you configure multiple destinations for traps/syslogs, so can’t we just use that? Yes…but: If you build two Message Collectors, then define two syslog/trap destinations on all your devices, you’ll end up with duplicate messages in ScienceLogic. It doesn’t natively support an active/passive configuration for Message Collectors.\nYou’ve got a few options here:\nPut a load balancer in front of the message collectors, so that only one copy of the message gets sent, via either collector. The load balancer can then do failover if needed. Use iptables to block inbound syslog and SNMP traps on your secondary Message Collector. If you have to failover, manually update iptables to allow those messages. (Less plausible) Configure a single destination address on all managed systems. Use some orchestration tool (e..g Puppet) to force a destination IP change during failover. The load balancer is probably the best option, but it may not always be possible\nThere is also one further wrinkle: If you have a single Data Collector, it can also act as a Message Collector. But if you need HA for your Data Collectors, you have to break the Message Collection functionality out onto a separate device.\nUI - Web interface and API access The web and API access components are also quite easy to configure for HA and DR. Neither of these pieces holds any data, and you can have as many active Admin Portals as you like. This can help with spreading load. You could use something like a Load-Balancer in front of a pair of Admin Portals for HA, and use DNS to switch to an Admin Portal at a secondary site for DR:\nMore information on these configurations is in the official documentation (HTML version, PDF version). Next post I\u0026rsquo;ll cover some HA + DR options for the Database layer. Scaling out load is a bit trickier at that level.\n","permalink":"https://lkhill.com/sciencelogic-collector-ha/","summary":"\u003cp\u003eEarlier I looked at the basics of \u003ca href=\"/sciencelogic-architecture-overview/\"\u003eScienceLogic EM7 architecture\u003c/a\u003e. I didn’t cover how to achieve HA or DR with ScienceLogic. The architecture offers a few options for doing this, at each of the three layers - Collectors, UI and DB. In this post I’ll cover some HA options for the Collectors and the UI.\u003c/p\u003e","title":"ScienceLogic - Collector and UI HA"},{"content":"IPv4 exhaustion is a real issue for large parts of the world. IPv6 is the long-term solution, but it doesn’t solve today’s problems facing ISPs. Alternatives are needed - either CGN, or purchasing more IPv4 blocks on the open market. Recently I’ve been involved in the purchase \u0026amp; transfer process - here’s my notes on how it works within the APNIC region.\nIn spite of what Slashdot thinks, we are indeed running out of IPv4 allocations, and fast. APNIC and RIPE have entered their final IPv4 allocation stages. Hopefully soon ARIN will also enter the IPv4 end-game, if only to speed world-wide IPv6 adoption. APNIC is only handing out one /22 to existing or new members. That doesn’t last long if you’re a growing ISP. Carrier-Grade NAT is one workaround, but it’s ugly, and has the potential for significant customer impact. This leads to high costs - some suggest $40/user.\nAn alternative is to acquire IPv4 address space from organisations that no longer require their historical allocations. Obviously this is not a long-term solution, but the costs can work out better than implementing CGN. There’s a few steps to go through to obtain and start using an address block like this. Here’s how it works in APNIC:\nGet pre-approval from APNIC. Find a willing seller. Agree a price and payment method Receive the address space into your APNIC account Update whois, BGP, etc Start using the new prefixes! Note: NB: IPv6 is the long-term solution, providing vast amounts of address space for anyone who needs it. It’s easy to sit in an ivory tower and declare that “ISPs should just implement IPv6. They should never implement something as ugly as CGN, or waste their time buying more v4 addresses - that’s old-school.” The problem with this attitude is that it completely misses the very real problems facing ISPs - they can’t simply pursue a v6-only strategy, as they would only be able to offer customers a partial Internet. The vast majority of content \u0026amp; other users need to be on v6 before ISPs can contemplate abandoning v4. Dual-stack is the only viable short-term strategy. Get pre-approval APNIC must believe that you have a valid requirement for the extra address space. To speed things along, you can request pre-approval. This can be done before you have found/purchased address space, and is valid for 24 months. You will need to provide information on your current address usage, and expected growth rates. Get this step done as early as possible, as it may take a few days while they go back and forth, possibly seeking further information. I don’t know why they bother with this step - possibly to stop speculators accumulating large netblocks, for possible future profit?\nFind a willing seller You need to find someone willing to transfer their netblock to you. There’s many different ways of doing this - you can deal directly with an organisation that you know wants to sell their prefixes, or you can go via a broker. Brokers act as middle-men. Sellers offer their blocks to the brokers, and the brokers find buyers. Brokers will have a list of current blocks and requested prices. Any prices quoted by the broker should be the price paid by the seller. Any commission is paid by the seller, not the buyer.\nAPNIC publishes a list of brokers, but there are also others. Brokers do make me somewhat nervous, and you might want to consider the location and reputation of any sellers or brokers - e.g. I ended up using a broker in the same region as me, run by someone I know by reputation. That makes some things a bit easier if there are any legal complications.\nNote that you don’t HAVE to purchase addresses from the same region. It is possible to purchase an ARIN block, and get it transferred to APNIC. This will add a few days to the process, but it’s not material in the overall time-scale. I preferred to buy in-region, as it made things slightly simpler.\nUPDATE: ARIN-based organisations may wish to use the \u0026ldquo;Specified Transfer Listing Service\u0026rdquo; - this brings together potential buyers and sellers in the ARIN region.\nPrice and Payment Prices vary - in general, the larger the block, the lower the per-IP price. Large allocations (e.g. /16) might go sub-$10/IP, while smaller blocks (/20) will be $15+. ARIN prices seem to be a little lower at present, and there are a few more blocks available. No surprises - it reflects historical allocations vs current demand. Brokers will be able to advise you if the sellers are prepared to split a block - e.g split a /18 into two /19s. This will raise the per-IP price, as it incurs extra overhead by the seller.\nYou will agree on a price per-IP, and then sort out payment details. Many transfers are paid for using an “Escrow” service, because there is no pre-existing business-business relationship. The Escrow service acts as a trusted third-party. There is a fee payable for this - usually ~1% of the purchase price.\nTransfer Process If paying via Escrow, the buyer pays the money to the Escrow service. When the Escrow service has received the funds, they advise the seller. The seller then transfers the prefixes to your APNIC account. You can then advise the Escrow service to release the funds to the seller.\nAPNIC will now check that you have a valid pre-approval, and advise you of the transfer fee. You must pay this transfer fee (based on the size of the block) before the prefixes are moved into your account. The addresses are now yours to use as you wish\nUpdating Whois, etc You will now need to update your APNIC details, to ensure that correct Whois and reverse DNS records are set up. Make sure that you’ve configured the reverse DNS zones on your DNS server.\nNow update all the places you use those addresses - firewalls, border ACLs, address pools, BGP announcements, etc. You will need to make sure your upstream providers update their BGP prefix filters. This may take a while - get onto it as soon as possible! Use BGP Looking Glass services to verify that your prefixes are now being announced by your AS.\nGeo-IP services need updating too. Speedtest uses the Maxmind database. Submit updates here. This may take a few weeks. Sometimes it\u0026rsquo;s just a cosmetic issue, but it may cause real problems for customers that can\u0026rsquo;t access services because the remote site has an out of date Geo-IP DB.\nStart using the addresses! Run some tests, make sure that you’ve got connectivity, then start allocating addresses to customers! Now you’ve got some more head-room, and some more time up your sleeve, while we get IPv6 sorted out everywhere.\n","permalink":"https://lkhill.com/ipv4-address-transfer-process/","summary":"\u003cp\u003eIPv4 exhaustion is a real issue for large parts of the world. IPv6 is the long-term solution, but it doesn’t solve today’s problems facing ISPs. Alternatives are needed - either CGN, or purchasing more IPv4 blocks on the open market. Recently I’ve been involved in the purchase \u0026amp; transfer process - here’s my notes on how it works within the APNIC region.\u003c/p\u003e","title":"IPv4 Address Transfer Process"},{"content":"HP recently released \u0026ldquo;Simware\u0026rdquo;, a Comware network simulator that lets you create test networks of emulated Comware switches and routers. This can be used to create \u0026ldquo;virtual\u0026rdquo; networks, ideal for learning, feature validation, and change testing. It\u0026rsquo;s broadly similar to Dynamips. It\u0026rsquo;s not perfect, and it\u0026rsquo;s been a long time coming, but it\u0026rsquo;s a start.\nFeatures Simulate Comware routers, stackable switches, and modular switches with switching and routing modules. Runs on Windows \u0026amp; Ubuntu, 32- and 64-bit. Simulated network can span multiple host systems, and/or can connect to \u0026lsquo;real\u0026rsquo; network devices. Theoretically you could integrate it with GNS3, IOS-XRv, VSR, etc. Supports most features - e.g. TRILL, OSPF, BGP, IS-IS, MPLS, LACP, VRRP, MSTP Supports IRF and multi-tenant device context. Note: Note: This does not emulate specific hardware the way GNS3 does. It is not running \u0026lsquo;real\u0026rsquo; firmware images - they are customised for this tool. Obtaining Simware The simulator is available from the HP Partner Dropbox. You will need to register for this, and yet again, it does not use HP Passport (Passport is supposed to be the one login I can use across all HP sites: I currently have 5 different HP-related logins). For some reason, you also need to enter a registration code, which is on this page. It appears that it may be technically restricted to HP Employees and Partners only at this stage. I believe they intend to release a customer version in future.\nOnce you have access to the Dropbox, you can pick your version (Windows or Ubuntu). Download size varies between around 200MB \u0026amp; 300MB. Unpack the files, read the instructions, and run the installer.\nRunning Simware There\u0026rsquo;s three steps to running Simware:\nCreate a configuration file that details the devices \u0026amp; boards you\u0026rsquo;re going to run, the console port, and the interconnections between devices (both physical and virtual devices, and possibly spanning hosts) Compile the configuration - this will create flash \u0026amp; nvram files for each device, and a startup script. Launch it - start each individual switch/router. Configuration: I\u0026rsquo;m just going to run a simple configuration - two 48x1GbE switches, connected together using the first port on each switch. Here\u0026rsquo;s my config:\n1 2 3 4 5 6 7 8 9 device_id = 1 device_model = SIM2200 board = SIM2201 : aux_port 3000 device_id = 2 device_model = SIM2200 board = SIM2201 : aux_port 3001 device 1 : interface 1 \u0026lt;---\u0026gt; device 2 : interface 1 I\u0026rsquo;ve saved that as test.cfg in C:\\Program Files (x86)\\Simware.\nCompilation: Run cfgtool.exe:\n1 2 3 4 Please specify a config file. test.cfg Build successfully. Press any key to continue . . . Note that you may need to use \u0026ldquo;Run as Administrator\u0026rdquo;, depending on your Windows security settings.\nLaunch it Go into run_env\\test.cfg. You\u0026rsquo;ll see a folder for each device, and a startup script:\n1 2 3 4 5 6 7 8 9 10 11 12 13 PS C:\\Program Files (x86)\\Simware\u0026gt; cd .\\run_env\\test.cfg PS C:\\Program Files (x86)\\Simware\\run_env\\test.cfg\u0026gt; dir Directory: C:\\Program Files (x86)\\Simware\\run_env\\test.cfg Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 15/02/2014 6:40 p.m. device1 d---- 15/02/2014 6:40 p.m. device2 -a--- 15/02/2014 6:40 p.m. 899 device1.vbs -a--- 15/02/2014 6:40 p.m. 899 device2.vbs The .vbs scripts are basically just simple scripts to launch QEMU with all the right options. Run each of those individually to launch each simulated device. You\u0026rsquo;ll get a pop-up with a console, and shortly you\u0026rsquo;ll be able to use PuTTy to Telnet to the right port on your loopback. That connects you to the Auxiliary port of each device.\nInitial Impressions It\u0026rsquo;s slow. It\u0026rsquo;s very, very slow. It takes a long time to boot, and commands can take quite a while to respond. This is due to the use of QEMU - it is emulating hardware, which is a very different proposition to running natively compiled code, like Cisco IOU. The \u0026ldquo;switches\u0026rdquo; in my testing were automatically allocated a maximum of 768MB of RAM, and each device maxed out a CPU core.\nI would have liked to have done more testing, but the interface speed was driving me nuts. This may be because I was running it on a Windows 2008 VM on an ESXi host. It might be better if I was running it on Windows or Ubuntu running natively. I don\u0026rsquo;t have any Windows or Linux systems that run directly on physical hardware, so I will have to try compiling QEMU for Mac OS X.\nFuture Enhancements? Here\u0026rsquo;s some ideas on how this tool could be improved:\nSpeed: The speed has to improve. It might simply be that HP needs to provide some guidance, saying \u0026ldquo;Allow X and Y resources per switch, be aware that features A B and C will severely impact performance\u0026rdquo; GUI: Create a simple front-end GUI for generating configuration files, compiling and launching them. Simple point \u0026amp; click / drag \u0026amp; drop for creating topologies, etc. This should be quite easy, but I understand why it has not been a priority - anyone who has half a clue can fairly quickly create config files. Related to this, the overall packaging needs to be cleaned up - currently it feels more like a developer\u0026rsquo;s quick hack than a production-ready tool. Configuration Management: Building up a complete configuration for each new network is a pain. Maybe provide a way of saying \u0026ldquo;Here\u0026rsquo;s my addressing scheme. Run OSPF on these 4 four devices, MSTP on these 2 switches, and create an IRF cluster with those 3 switches.\u0026rdquo; This would be fantastic for testing, as it would let you focus on the features you want to test, not waste your time building up base configurations. ProCurve: Add emulation for ProCurve switches. \u0026ldquo;Meta-Sim\u0026rdquo;: Blue-sky thinking here - What about a tool that could pull together the various network simulators and virtual routers/switches from HP/Cisco/Juniper/Brocade/etc, and give you a co-ordinated way of spinning up large multi-vendor networks? Problem is that no vendor is going to do it, it will have to come from the community. GNS3 would be the obvious source, but I\u0026rsquo;m somewhat bearish about their future. Would I Use It? I probably won\u0026rsquo;t use this simulator much, at least until I can figure out a way to make it run at a usable speed. If I need to do any testing with Comware, I will run the VSR1000 as a VM. I will only use this simulator if I need to test out switching features, or IRF. Still, I\u0026rsquo;m pleased that HP has finally started delivering these much-needed resources. I think that Cisco CML will significantly raise the bar for engineer\u0026rsquo;s expectations of a network simulation tool, and HP can\u0026rsquo;t afford to be left behind. Here\u0026rsquo;s hoping they can improve it - or better yet, help the community to improve it.\n","permalink":"https://lkhill.com/hp-simware-comware-os-simulator/","summary":"\u003cp\u003eHP recently released \u0026ldquo;Simware\u0026rdquo;, a Comware network simulator that lets you create test networks of emulated Comware switches and routers. This can be used to create \u0026ldquo;virtual\u0026rdquo; networks, ideal for learning, feature validation, and change testing. It\u0026rsquo;s broadly similar to Dynamips. It\u0026rsquo;s not perfect, and it\u0026rsquo;s been a long time coming, but it\u0026rsquo;s a start.\u003c/p\u003e","title":"HP Simware - Comware OS Simulator"},{"content":"[UPDATE 26/6/14] This code is now available as a Release Candidate.\nSolarWinds talked about their plans for Deep Packet Inspection at Network Field Day 6. That code is now moving into Beta phase:\nWith the ability to sniff the wire and analyze packet-traffic, DPI provides real observed network response time (NRT) and application response time (ART.) In addition, DPI has the ability to classify and categorize ~1300 different applications by associated purpose and risk-level.\nSNMP on its own can tell you how full your pipes are, but it doesn\u0026rsquo;t tell you much about what\u0026rsquo;s filling those pipes. If you add NetFlow/sFlow, you can find out who and what is filling those pipes. But that doesn\u0026rsquo;t tell you much about how those applications are performing. You can see how many bytes were transferred, but you can\u0026rsquo;t see what the response time was, and you can\u0026rsquo;t work out if delays are caused by the network or the application.\nTo get that sort of detail, you have to sniff the traffic on the wire, and perform detailed session analysis. There are several products on the market that do this, but they\u0026rsquo;ve generally been in the \u0026ldquo;reassuringly expensive\u0026rdquo; category, and have not seen widespread deployment. SolarWinds generally prices their products at a more acceptable level for the wider market. I\u0026rsquo;m going to be keeping a close eye on this one, to see how it stacks up.\n","permalink":"https://lkhill.com/solarwinds-dpi/","summary":"\u003cp\u003e\u003cstrong\u003e[UPDATE 26/6/14]\u003c/strong\u003e This code is now available as a \u003ca href=\"http://thwack.solarwinds.com/community/solarwinds-community/product-blog/blog/2014/06/25/npm-110-release-candidate-now-available\"\u003eRelease Candidate\u003c/a\u003e.\u003c/p\u003e","title":"SolarWinds DPI - Looks Interesting"},{"content":" This article is Part 6 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - CCIE Preparation: Lab Equipment Part 5 - CCIE Preparation: Bootcamps Part 6 - This Article Part 7 - You can\u0026#39;t put the future on hold CCIE candidates often want to know how deep they should go with each topic. There\u0026rsquo;s an enormous amount of information to take in, and candidates are trying to find the balance between too much and too little. Here\u0026rsquo;s how I approach it.\nAt some point on your CCIE journey, you will get sick of it. You’re investing a lot of time and energy in this, and sooner or later, you’ll reach a moment where you think “I just want to be over this, so I can move on with my life.” You need to be sure that you’re using your time in the most efficient manner possible. So you ask yourself: How deep should I go into topic X?\nI could sum it up as:\nDeeper than any other certification you’ve done before, but don’t lose sight of the broader picture.\nThe question could also be looked at as “How do I approach topic Y?”\nI’ve talked before about study processes and scheduling, but what about figuring out how deep to go?\nGeneral Approach My general approach is this:\nRead the Expanded Blueprint, and find all mentions of the topic. This is the ’source of truth’ Develop a base of ‘theoretical knowledge’, using classic texts such as Routing TCP/IP Volume 1. Then go to the Cisco DocCD. At this point, we’re trying to build up a conceptual model of how the protocol works. For all sources of documentation, there’s two things to keep in mind: Is this covered in the Expanded Blueprint? Is this something that could be practically tested in the lab? What sort of questions could I be asked about this topic? What sort of configuration would they ask for, and what sort of troubleshooting might be needed if it breaks? After doing your reading, you’ll do more hands-on study, often using vendor-developed training materials (e.g. INE, IPExpert). Whenever you think that you might be starting to go too far down a rabbit-hole, think about item 3 above again. Of course, when you think you’ve covered a topic, you need to circle back - have I learnt enough that I can answer anything they could be reasonably expected to ask on that topic?\nI’ll use HSRP as an example of how to approach a topic, but first, let’s look at some general considerations for the exam.\nRemember: It’s a Configuration Lab You must remember this:\nWarning: The CCIE practical exam is an 8-hour lab, covering configuration and troubleshooting on Cisco equipment. It is NOT a Design exam. It is NOT a multi-vendor exam. It is NOT a “Best Practices” exam. There are no servers to configure, only routers and switches. You are not going to be programming IOS, or writing your own implementation of the OSPF algorithm. All that matters is how to configure Cisco equipment to achieve a given result with specific protocols. You will be given a set of tasks, and all that really matters is the result: Does your network achieve the requested outcome? This is where I see candidates come unstuck. Yes, you must know how BGP works at a theoretical level. You must know how to configure BGP on a Cisco router to achieve a desired outcome. You must be able to perform troubleshooting as to why a network might not be working as expected. But you’ll be working within the constraints of IOS, using the configuration and debugging tools available to you. So stop worrying about the underlying code structures, and instead focus on the operation of the network, not the programming.\nI’ve seen candidates say things along the lines of “Oh if I had Wireshark available in the lab, I could deconstruct the packets, and reverse-engineer the protocol, and it would be so much easier for me to pass the lab. I learn by looking at the packet structures.”\nIt’s fine to learn by looking at packet structures. But that’s not the key to passing this lab. You’re not designing a protocol. Cisco publishes plenty of documentation about how their devices operate, and how to configure them. That’s what matters here - you need to know how to configure the Cisco device to do what you want. Want to implement Dijkstra’s algorithm? That’s really cool, but this is the wrong exam for you.\nAn example topic: HSRP To keep this short, I’m going to use HSRP as an example topic. Topics like OSPF are much, much broader, but the concepts still apply - know your target and stay focused. Here’s how I would approach HSRP:\nKnow your target: Expanded Blueprint References The Expanded Blueprint only has a few mentions of HSRP:\nHSRP HSRP Between Two Routers Pre-empt for HSRP Authentication for HSRP I’ve now got three things to figure out “How does HSRP work conceptually, how do I configure those items listed, and how might it break/how would I troubleshoot it?”\nThe Documentation HSRP is covered in Routing TCP/IP Volume 2. Read that, and get a feel for the topic. The next place is the Cisco Configuration Guides. The “First Hop Redundancy Protocols Configuration Guide” contains a chapter on Configuring HSRP. Definitely sounds like us, so start by reading this documentation.\nThe DocCD chapter looks pretty long though. How much of that do I need to know? Look at the list of topics. Is either foundational material, or relevant to features we need to know for the CCIE lab? Look through the contents of that chapter. Match them up against the Expanded Blueprint. It looks like there’s a reasonably close match. It’s really only the last few topics that don’t overlap (ISSU, SSO, BFD) - we can skip those.\nWhat might I be asked in lab? So we’ve built up some theoretical, foundational knowledge. Now for where the rubber meets the road: What could I realistically be asked to do in the lab?\nFirstly, configuration. These items look obvious:\nConfigure HSRP on two routers HSRP authentication - text \u0026amp; MD5 Pre-emption Configuring timers It is entirely reasonable to be asked to consider any of those items. For any of them, we must know how to configure it, and quickly - preferably without looking up anything in the documentation. So that’s something we’ll practice doing until we know it cold.\nWhat about troubleshooting? Ask yourself, what could go wrong with HSRP? The obvious thing is that the routers would not properly form an active/standby pair, and might both go Active. What could cause this?\nMismatched group IDs Mismatched authentication ACLs blocking HSRP packets Broken connectivity between routers Try injecting these sorts of faults into a test lab, and look at the results. How do you detect it? What commands do you need? (Show, debug, ping, etc). Learn those commands, and establish a method for isolating the fault. Know how to interpret the output of those commands, and know what result you’re looking for when running a command - ideally the result of each command pushes you down a different branch, getting closer to isolating the fault. Don’t just run commands blindly, hoping for some ray of sunshine.\nWhat Didn’t We Learn? We\u0026rsquo;ve gone deeper than we had to for CCNP, and we can rattle off configs 10x faster than we used to. But did we learn a deep history behind the development of HSRP, or a philosophical discussion of HSRP vs VRRP? No. We will of course see the differences with VRRP once we study that section, but we\u0026rsquo;re not going to get bogged down in it.\nDid we learn how the Cisco developer implemented the protocol? Not exactly - we learnt how it operates, but we can ignore the underlying code. Did we spend hours analysing the contents of HSRP packets? No, we did not, because it’s not something that we’re going to be tested on. What we learnt was how the protocol worked, and how to configure \u0026amp; troubleshoot what we need for the lab.\nStay Focused You need to stay focused on your target. There are many that say that you should aim to be an expert first, and passing the lab will come as a by-product. There is a lot of truth to that, but here\u0026rsquo;s the thing: If your goal is passing the lab, then you want to be an expert in CCIE Routing \u0026amp; Switching. Not an expert Developer. Not an expert in Security or Voice Collaboration. You can always dive much deeper into any specific area after you\u0026rsquo;ve passed the lab - but you need to be realistic about what you can achieve with the time available to you.\nNote: Parallels could of course be drawn with your professional work: You need to focus on what your business needs, and not let yourself get needlessly distracted or drawn down rabbit-holes. ","permalink":"https://lkhill.com/ccie-preparation-how-deep/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 6\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: How Deep Do I Go?"},{"content":"Cisco Meraki offers a free wireless AP to anyone who registers for a webinar about their products. I had given up on receiving my AP, but after a moan on Twitter, it arrived. I\u0026rsquo;ve been using it in the office for a few weeks for simple wireless access, and I\u0026rsquo;m pretty impressed by it. The management interface is pretty slick, and it would clearly solve a lot of problems for anyone dealing with a widely distributed network.\nThe Meraki Point of Difference Meraki sells wireless Access Points, switches and security appliances. On their own, they are perfectly reasonable devices. But Meraki\u0026rsquo;s Unique Selling Point is that all their systems are \u0026ldquo;Cloud-Managed\u0026rdquo;. Rather than individually configuring devices via console/SSH, all configuration is done through an AWS-hosted Dashboard. The devices automatically phone home periodically, and will pull down any configuration changes. That means that you don\u0026rsquo;t need to do any pre-configuration of devices before shipping them out. Instead you can get them shipped directly to the remote site, and you just add the device ID to your dashboard. Tell the local staff to plug in the right ports, and the device will automatically get a DHCP IP, and pull down its configuration. You set all the policies and config centrally.\nMeraki refers to the management as \u0026ldquo;Out of Band\u0026rdquo; - user data flows as per normal, but management/configuration information goes via the central system:\nMeraki Data Flow - \u0026ldquo;OOB\u0026rdquo; Management\nNo user data goes via Meraki, and the devices continue to operate if the dashboard is offline. It\u0026rsquo;s only configuration \u0026amp; central monitoring that is unavailable - but you can still locally monitor the devices. You just can\u0026rsquo;t change their configuration if the Meraki dashboard is unavailable.\nYou\u0026rsquo;re not just paying for the device - you are paying a regular subscription for the management platform too. They used to have an online calculator, but they seem to have taken this down - must be Cisco policy that you have to talk to salesperson? You pay an upfront fee, plus annual licensing. If you stop paying your license fees, the device will stop working.\nMeraki was acquired by Cisco in 2012. So far they seem to keep doing their own thing, but I\u0026rsquo;m unclear on the future. I expect that the hardware will change, but the cloud-based management platform will remain - that\u0026rsquo;s where the real value lies.\nRadio Performance - A Quick Note I\u0026rsquo;m not a wireless network engineer, and I\u0026rsquo;m not qualified to speak in depth about the radio performance of the AP, nor would it be fair to Meraki - the trial AP is a single-radio, 2.4GHz-only system. Their full range includes dual-radio and 802.11ac-capable gear. I can\u0026rsquo;t imagine many people are still deploying single-radio gear these days. Makes sense to use these older/slower units for a free trial though - after all, you want to get customers exposed to the management UI, which is the real differentiator. The wireless performance was fine for what I was doing, but I was much more interested in the management platform.\nGeneral Impressions Initial setup was very easy. I just had to set the right mode for my AP (bridge mode), set the SSID + desired security, and I was up and running. Pretty soon I was looking at graphs showing clients, application traffic, etc:\nI could see my clients, their names, OS types, Wireless adapter manufacturers, applications, etc. I quickly found a couple of misconfigured clients that were using the wrong AP. It was a massive jump in visibility from the previous \u0026ldquo;dumb\u0026rdquo; AP I had.\nThere\u0026rsquo;s a lot of interesting features that I\u0026rsquo;ve only just started digging into:\nPacket Capture, with integrated upload to CloudShark. Observed SSIDs Presence Heatmap showing observed client traffic patterns/locations over a time period. L7 Firewall and traffic shaping - e.g. control access to specific sites, or rate-limit iOS updates. Access policies - set Splash pages, require customers to purchase access, etc. \u0026ldquo;Make a Wish\u0026rdquo; box on each page - any time you think of something you\u0026rsquo;d like to improve, there\u0026rsquo;s a little box on each page, where you can put in a quick note about how you think it might be improved. Pretty much everything I can think of that I\u0026rsquo;d want to do with a wireless AP, and it all seems reasonably straightforward to configure. I\u0026rsquo;m impressed - except for IPv6, I wasn\u0026rsquo;t impressed that \u0026ldquo;IPv6 forwarding is disabled by default for performance reasons.\u0026rdquo;\nManagement Integration Network Management is a large part of what I do, so I\u0026rsquo;m keenly interested in how you could integrate Meraki-managed systems with the rest of your network management systems. It\u0026rsquo;s cool having a fancy dashboard for your wireless gear, but I don\u0026rsquo;t want another stand-alone tool. I want to be able to get fault, configuration and performance data into other systems - e.g. to automatically log a ticket in Service Now when an AP goes offline.\nSNMPv2 \u0026amp; v3 access is available to either the APs directly, or to the dashboard. This is quite nice - I can either directly discover \u0026amp; poll APs, or I can just monitor the Dashboard, and automatically add new devices. I think it would be reasonably straightforward to configure something like ScienceLogic to connect to the Dashboard, discover all APs, automatically create virtual devices for each AP, and then display status \u0026amp; performance data, per-AP. Integrating with the dashboard simplifies the problems of having to manually add devices to your NMS.\nThey also have an XML API that can let me expose AP names, status, location, etc. The problem is that I can\u0026rsquo;t restrict access to that data - I can either enable or disable API access, but then I can\u0026rsquo;t apply any access controls to it. Many organisations will therefore leave API access disabled. I also haven\u0026rsquo;t seen anything that lets me automatically configure and provision systems - e.g. by connecting to their API to make changes that would be pushed out to the managed systems.\nDevices can be set to send syslogs, but it is network-wide - i.e. I can\u0026rsquo;t have different devices sending syslogs to different syslog servers. Probably not that big a deal - I can break up my \u0026ldquo;Organization\u0026rdquo; into multiple \u0026ldquo;Networks\u0026rdquo;, so I could have different policies if I needed to.\nMeraki also offers email alerting for specific conditions - e.g. a device going offline. I\u0026rsquo;d like to see a few more options here about triggering remote API calls, but email gives us a few options at least.\nWould I Use/Recommend Them? I don\u0026rsquo;t have a specific need for a wider Meraki deployment right now. But if I was dealing with the challenges of managing a very distributed network, particularly one made up of many small offices and shops, I would certainly have them on my list to evaluate. They go a long way towards solving most of those problems, and doing it well. It saves a lot of time being able to do simple things like ship gear direct to the remote site, without having to pre-configure it first.\nWhat about using it for Wired network gear? For small sites, yes, I would certainly consider adding low-end access switches to Meraki management, to tie in nicely with the APs. I would only really want to do it for sites that have users only, and no local services. I don\u0026rsquo;t think I\u0026rsquo;m quite ready to move to a fully cloud-based management model for core switching though. I think I\u0026rsquo;d want to retain the ability to locally configure and manage systems. That opinion may change in the next couple of years. I\u0026rsquo;m interested in watching what Cisco does with them.\nNote: Disclaimer: Cisco Meraki shipped me a free AP, as part of the standard program they offer everyone. They did not ask me to write about my experience. ","permalink":"https://lkhill.com/meraki-ap-trial/","summary":"\u003cp\u003e\u003ca href=\"http://meraki.cisco.com/\"\u003eCisco Meraki\u003c/a\u003e offers a \u003ca href=\"https://meraki.cisco.com/lp/free-demo\"\u003efree wireless AP\u003c/a\u003e to anyone who registers for a webinar about their products. I had given up on receiving my AP, but after a moan on Twitter, it arrived. I\u0026rsquo;ve been using it in the office for a few weeks for simple wireless access, and I\u0026rsquo;m pretty impressed by it. The management interface is pretty slick, and it would clearly solve a lot of problems for anyone dealing with a widely distributed network.\u003c/p\u003e","title":"Meraki AP Trial"},{"content":"When implementing HP IMC UAM, you may need to redirect users to the IMC webserver, for device registration \u0026amp; configuration, and obtaining user 802.1x certificates. One method of doing this is to put users into an initial \u0026ldquo;Registration\u0026rdquo; VLAN, and configure an HP Comware device to redirect all web traffic. Here\u0026rsquo;s how to do it using HP\u0026rsquo;s VSR Virtual Router.\nThe Scenario Here\u0026rsquo;s the network we\u0026rsquo;re working with:\nWe\u0026rsquo;ve set up an HP VSR virtual router running on ESXi. This will be the default gateway for our test PC in the 192.168.200.0/24 VLAN. We want to capture any outbound HTTP requests to Google etc, and redirect them to our IMC server at 172.16.2.75.\nThe DHCP server has been configured with a scope for the 192.168.200.0/24 VLAN, and DHCP helper functionality has been configured on the VSR. The DHCP server will tell clients to use 192.168.200.1 as their default gateway, and 172.16.2.40 as their DNS server. I have added static routes on the DHCP \u0026amp; IMC servers pointing to 192.168.200.0/24 via 172.16.2.1. Of course I wouldn\u0026rsquo;t use this setup in production, but it\u0026rsquo;s just a quick test network.\nVSR Configuration I won\u0026rsquo;t cover the generic router configuration here - I\u0026rsquo;ll just focus on the redirect functionality. There\u0026rsquo;s two parts to it: Define the traffic that should bypass redirection (in this case DNS), and then define the redirect destination. Then we apply the configuration to the interface facing VLAN 200. Simple as that!\nHere\u0026rsquo;s our \u0026lsquo;portal\u0026rsquo; configuration:\n1 2 3 4 portal free-rule 0 source ip any destination ip 172.16.2.40 255.255.255.255 # portal web-server IMC url http://172.16.2.75/imc And here we apply those rules to the interface:\n1 2 3 4 5 6 7 8 9 dis cur int g2/0 # interface GigabitEthernet2/0 ip address 192.168.200.1 255.255.255.0 dhcp select relay dhcp relay server-address 172.16.2.40 portal enable method direct portal apply web-server IMC # Testing the Config Let\u0026rsquo;s jump onto our test PC. First we\u0026rsquo;ll check that we\u0026rsquo;ve been given a working IP, and that DNS is still working:\n1 2 3 4 5 6 7 8 9 10 11 [lindsay@testpc ~]$ ip addr list eth0 2: eth0: \u0026lt;broadcast,multicast,up,lower_up\u0026gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:50:56:bb:cc:dd brd ff:ff:ff:ff:ff:ff inet 192.168.200.100/24 brd 192.168.200.255 scope global eth0 inet6 fe80::250:56ff:feb7:3239/64 scope link valid_lft forever preferred_lft forever [lindsay@testpc ~]$ host packetpushers.net packetpushers.net has address 162.159.248.87 packetpushers.net has address 162.159.247.87 packetpushers.net has IPv6 address 2400:cb00:2048:1::a29f:f857 packetpushers.net has IPv6 address 2400:cb00:2048:1::a29f:f757 That part all looks pretty good. Now watch what happens we open Firefox, and go to duckduckgo.com:\nFirefox redirected\nWe\u0026rsquo;ve been redirected to http://172.16.2.75/imc. Perfect. I don\u0026rsquo;t have a full HP BYOD setup here, just a regular IMC server. If you were doing this with HP UAM, you\u0026rsquo;d be redirecting to something like http://172.16.2.75/byod/\nNote that this configuration as it stands is not fool-proof - HTTPS traffic will completely bypass it. Explore the other \u0026ldquo;portal\u0026rdquo; configuration options, and you\u0026rsquo;ll find ways of blocking this if needed.\nThe nice thing about this solution is that you can use a free instance of HP\u0026rsquo;s VSR - it\u0026rsquo;s bandwidth limited, but that really doesn\u0026rsquo;t matter when you\u0026rsquo;re just doing portal redirect. Normally you\u0026rsquo;ll authenticate your users, and then push them across to another VLAN that doesn\u0026rsquo;t use the VSR.\n","permalink":"https://lkhill.com/hp-vsr-portal-redirection/","summary":"\u003cp\u003eWhen implementing HP IMC UAM, you may need to redirect users to the IMC webserver, for device registration \u0026amp; configuration, and obtaining user 802.1x certificates. One method of doing this is to put users into an initial \u0026ldquo;Registration\u0026rdquo; VLAN, and configure an HP Comware device to redirect all web traffic. Here\u0026rsquo;s how to do it using HP\u0026rsquo;s VSR Virtual Router.\u003c/p\u003e","title":"HP VSR Portal Redirection"},{"content":"Network Engineers should be embracing the idea of automating away the drudgery of running a network. They should be looking for ways to ensure the network can dynamically change its operation to ensure optimal application performance. But it seems there will be a lot of resistance to this, and it won\u0026rsquo;t be technical: It will be cultural.\nPolling Public Opinion Last year Ethan Banks put up a post on Thwack asking:\nWould you automate QoS policy based on real-time flow data?\u0026quot;\nYou can argue about the very specific use-case here, but it could be considered as a more general question: “Would you trust automation to dynamically change your network in response to changing conditions?”\nThere was quite a bit of activity, but overall I found the responses quite unsettling. Here’s some typical answers:\n”Sounds like a pain to me. As I have said before, I would rather make changes manually…” wluther\n”sounds like a nightmare to support. Advice is a great idea, but don’t automate changing the stuff I have to support” supermon\n”Dynamic management can be dangerous and unpredictable.” storm\n”Simply no. Your network configuration should be very intentional. Having it change automatically is asking for trouble” donpepe\n…And so on. It depressed me.\nWhy are we obsessed with doing a computer’s work for it? That post was gnawing away in my mind for a while, until I saw a link to this Usenix presentation, that contained these quotes:\nLet us stop doing the machines’ work for them. Let us stop feeding the machines with human blood.\nThat struck at the heart of what was troubling me - too many of the responders were still wanting to do a computer’s job. It is an understandable response to seeing the threat of their current day to day job disappearing, but I think they are missing the point of where they add value. Hint: It’s not in twitching your fingers at the CLI, it’s about figuring out what the business needs, and using technology as appropriate to help them achieve it.\nYou’re already using automation - and so is everyone else So there’s some resistance there to using automation to dynamically manipulate traffic flows on our network. But let’s consider a few points:\nDynamic Routing: You’re almost certainly using a dynamic routing protocol that adapts to changing conditions. If I asked a network engineer to configure a network entirely using static routes, they would look at me like I was crazy. “But how will it adapt to a router going down? I can’t go and manually change routes every time a link flaps!!!” Exactly. It seems that people are OK with automation for dealing with faults, but haven’t yet realised that performance issues are a kind of fault, and we should be able to adapt our networks to cope. DRS: A typical VMware cluster will be dynamically moving loads around, based on CPU and RAM usage. It may even be moving datastores around based upon I/O. The current weakness in DRS is that it doesn’t move loads in response to network conditions - but there’s no reason it couldn’t/shouldn’t. If it’s OK for sysadmins to use dynamic load management, what makes the network so special that it can’t be touched? Automated flow control is already happening with ISPs. When my ISP detects certain types of DDOS traffic, they have automated response systems that kick in \u0026amp; black-hole the traffic. Humans can’t respond quickly enough in these situations: Machines can. Change Management Concerns? I also found this quote from mikegrocket interesting:\n\u0026ldquo;An interesting concept and I like it, but this is a non-starter in my world. Too much CM to get through to make changes. Nothing is changed in-real time…Govt life, gotta love it.”\nI understand where he’s coming from with that, but here’s a funny thing: ITIL makes it very difficult for you to make frequent changes to your network - but no-one questions an automated process. Change prevention^Wmanagement teams don’t like you going and making regular changes. But if you implement an automated process, it can take whatever actions it thinks are needed, within its defined parameters. Consider a cron-tab - do you manually login and run scheduled jobs? No you do not, and no change management process has an issue with scheduled jobs. Does ITIL stop you using OSPF? Nope. Mind you, maybe no-one’s explained DRS to the change management teams, so they haven’t had a chance to veto it?\nA Glimpse of the Future? The VMware Network Virtualization Blog had a recent post on “Elephant Flow Mitigation”. This described a solution that HP and VMware are working on, where the Open vSwitch in a hypervisor can detect elephant flows, and signal this to the SDN network controller, which can then instruct the physical network to apply specific handling to those flows.\nA related SDN application from HP can communicate with Microsoft Lync, to help with detecting Lync application flows, and dynamically configure QoS policies to ensure a good user experience.\nThese are good examples of how applications can interact with the network, to deliver a better overall experience. Humans simply can’t react that quickly. Sure, we should be setting policies and bounds - e.g. Setting priorities between different applications requesting resources - but it’s up to the machines to implement those policies.\nWe need to let go of past prejudice, and recognise what’s important about what we do, and what could be better done by an automated system. A closing thought from Agent Smith:\nNever send a human to do a machine’s job\n","permalink":"https://lkhill.com/network-automation-stop-fighting-it/","summary":"\u003cp\u003eNetwork Engineers should be embracing the idea of automating away the drudgery of running a network. They should be looking for ways to ensure the network can dynamically change its operation to ensure optimal application performance. But it seems there will be a lot of resistance to this, and it won\u0026rsquo;t be technical: It will be cultural.\u003c/p\u003e","title":"Network Automation - Stop Fighting It"},{"content":" This article is Part 2 in a 13-Part Series. Part 1 - War Stories: Loops that Permanently Broke the Network Part 2 - This Article Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Continuing our intermittent series of networking war stories, this time it\u0026rsquo;s switches lying about duplex mismatches. All Network Engineers are aware of duplex mismatches, and the havoc they can cause. We know the signs to look for, and how to resolve it. But what if IOS is lying to us, and not showing the usual tell-tale signs?\nDuplex Mismatches From Wikipedia:\na duplex mismatch is a condition where two connected devices operate in different duplex modes, that is, one operates in half duplex while the other one operates in full duplex. The effect of a duplex mismatch is a link that operates inefficiently.\nIf you\u0026rsquo;ve seen a duplex mismatch in action, you\u0026rsquo;ll see that the link comes up, but data transfer rates are poor - typically something like 10Mb/s. People don\u0026rsquo;t always pick it up straight away, as basic connectivity tests succeed. You\u0026rsquo;re busy, pings work, move on\u0026hellip;until people start complaining about link performance.\nThere\u0026rsquo;s a couple of different scenarios where a duplex mismatch can occur. The most common case is where the speed \u0026amp; duplex has been fixed on end, and the other is set to auto/auto. The system that is fixed doesn\u0026rsquo;t enter the negotiation process, so the auto/auto end assumes it must be connected to a dumb hub that can\u0026rsquo;t negotiate, so it falls back to 100/half. There is also some evidence of problems between specific NICs and switch models, but these days that is extremely unusual.\nNormally we can quickly identify a mismatch by looking at the interface counters, using show interface f_x/y_. If the switch is operating at full-duplex, but the remote end is half-duplex, we will see input CRC errors. The half-duplex end will see output errors - usually late collisions.\nWhy can\u0026rsquo;t I get more than 10Mb/s on this link? I worked for an organisation that had a policy of hard-coding speed \u0026amp; duplex on all network ports that had servers or other network gear attached. This worked well when it was a switch connecting to a router, less so when plugging in servers, because they were administered by another team. But we were quick at spotting the signs of a half-duplex server, and we knew exactly how to resolve it.\nWe installed some new network infrastructure to support Internet access via a proxy. New firewalls, and the latest \u0026amp; greatest L2 switch available - the 2950. I was still a young engineer at the time, so I\u0026rsquo;d just installed the switches with whatever IOS version they shipped with. In this case it was 12.1(13)EA1.\nAll connectivity looked good, and Internet access via proxy seemed to be working. We only had a 10Mb Internet link, so I hadn\u0026rsquo;t done any serious performance testing. We switched over Internet access for staff, and everything seemed to be OK.\nIt was only later that I was transferring some data directly to the firewall, and I realised performance was shocking. Hmm\u0026hellip;.I went through all the steps in the network path, evaluating all the links. Through a process of elimination, I narrowed it down to the new 2950 switches. They were the source of the poor performance, but it didn\u0026rsquo;t make sense: The firewall interface was set to 100/full, and so was the switchport. Everything was hard-set, so why was performance poor?\nLooking at the switchport interfaces, I saw this sort of output:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Switch#sh int f0/5 FastEthernet0/5 is up, line protocol is up (connected) ...snip... Full-duplex, 100Mb/s ...snip... 61654 packets input, 10428868 bytes, 0 no buffer Received 15018 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 3706 multicast, 0 pause input 0 input packets with dribble condition detected 48819 packets output, 23500665 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 1736 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out So it\u0026rsquo;s saying that it\u0026rsquo;s running at 100/full, and that there\u0026rsquo;s no CRC errors. What\u0026rsquo;s going on?\nBecause the switch is lying The key is in that highlighted line above: a non-zero rate of \u0026ldquo;Deferred\u0026rdquo; packets. I spent a lot of time trying to figure out what this meant, and what was causing it. At the time there wasn\u0026rsquo;t much information available. If you search for it these days, the top 10 Google results for \u0026ldquo;deferred packets\u0026rdquo; will tell you - it\u0026rsquo;s this bug: CSCea56745\nWhen interface configured its duplex as full, deferred counter increments, then packets through that link are delayed.\nA device affected by this DDTS may also not account for dropped packets correctly resulting in lower throughput and performance.\nIf you set both ends to auto/auto, it would work perfectly. But if you tried hard-coding both ends, you\u0026rsquo;ll get poor performance. Frustratingly, you won\u0026rsquo;t get the right counters to tell you what\u0026rsquo;s going on though. The solution is to upgrade to 12.1(13)EA1b or later, or use auto/auto as a workaround.\nOf course, you might be asking yourself: \u0026ldquo;How the hell could Cisco ship that IOS as a default if it couldn\u0026rsquo;t even do something as simple as full-duplex switching? I understand obscure features not working, but core switching? Really?\u0026rdquo;\nNew Site, Same Problem A few years later I came across something that looked similar - a new server was getting shocking transfer rates if the speed \u0026amp; duplex were locked to 100/full on both server \u0026amp; switch. The network team were trying to tell me that no, it wasn\u0026rsquo;t a duplex mismatch, they weren\u0026rsquo;t seeing any CRC errors on their side. I couldn\u0026rsquo;t check their configuration, as I had no access to the network gear. But I suspected it could be a similar situation to what I\u0026rsquo;d seen before - so I captured some CDP traffic, which told me the switch model \u0026amp; IOS version. I could then give that information to the network team, along with the Cisco Bug ID, to prove it. They finally accepted it, but they weren\u0026rsquo;t going to upgrade the IOS anyway. No problem, this time I knew the workaround: Set both ends to auto. It\u0026rsquo;s always a lot faster fixing the problems the second time around\u0026hellip;\nUse Auto/Auto Everywhere These days I always set everything to auto, unless I have an outstandingly good reason for locking it. Gigabit networks basically require the use of auto/auto. Make sure you\u0026rsquo;ve moved with the times, and use auto/auto as your standard practice too. Failure rates with Gigabit and auto/auto are vanishingly small - and you\u0026rsquo;re not running 100Mb networks anymore, right?\nThe other moral of the story is: Don\u0026rsquo;t just blindly run gear with whatever firmware it ships with - check it, and upgrade/downgrade if required.\n","permalink":"https://lkhill.com/war-stories-switch-duplex/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 2\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/war-stories-loop-network-meltdown/\"\u003eWar Stories: Loops that Permanently Broke the Network\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Switches Lying about Duplex Mismatches"},{"content":"Companies pay a lot of money for software support. But do they always get value for it, and do vendors sometimes prolong the \u0026ldquo;supported\u0026rdquo; life of a product simply to bank extra revenue? We should hold vendors to account, and demand better.\nWhat Does Software Support Cover? Support covers two components:\nBreak/fix support: If you strike bugs, the vendor will work with you to track down the issue, and hopefully provide updated code, or a workaround. This support will usually also cover implementation/configuration assistance. Software updates: If you have an active support contract, you will be entitled to use all new versions of the product - either minor patches or major releases. Theoretically your support fees partly offset the cost of developing new features and versions. Why I need to pay to fix their bugs is beyond me though. Support revenues are hugely important to companies - new software sales may vary, but support fees provide a stable stream of income. They are a reliable form of revenue that is highly unlikely to decrease. Companies like Oracle make more in support revenue than new license sales. You make far more from your existing customers than from chasing new ones (another reason software vendors will offer enormous discounts on initial license sales, but don’t discount support fees).\nSoftware Updates - What Should I Expect? OK, so we’re helping to fund development of new features and enhancements. What should we expect for that? The release cadence will vary from vendor to vendor, and strategic importance of the item. No-one wants to do a major OS upgrade every year. Point-releases maintaining binary compatibility every 6 months? That’s more acceptable.\nBut it’s not just about the software itself. Very few products exist in isolation - they integrate with the rest of your applications, and they require Operating Systems to run on. So updates are not just about new features within the software - it also needs to keep up to date with the surrounding environment. It’s no good having a great Windows application that only runs on Windows XP - your vendor needs to take into account changes in that market, and the upcoming EOL date for Windows XP.\nSimilarly, if you integrate with Microsoft Exchange, or Oracle, you need to keep up to date with major new releases. It’s no good developing a Microsoft Exchange 2000 integration, and leaving it there. I don’t expect new versions exactly in lock-step with all other partners, but surely it is reasonable to see updates within 12 months.\nStorage Essentials - Not Keeping Up This brings me to HP Storage Essentials. This is:\n…a central console for managing all aspects of storage operations—assets, configuration, topology, capacity optimization, performance management, chargeback, provisioning, compliance and more.\nOne of the integrations it offers is with Microsoft Exchange. In theory it can map from an individual mailbox right down to the LUN level on the disk array. This should be useful for tracking performance issues with Exchange.\nSounds good, but the problem is that it only supports Exchange 2007 and earlier! Exchange 2010 was released in November 2009, and Exchange 2013 was released in October 2012. It’s now February 2014, and Storage Essentials still doesn’t even support a release that came out over four years ago. I would understand not supporting Exchange 2010 until some time in mid–2010, but to still not support it is unacceptable. Customers are already running Exchange 2010, and planning migrations to Exchange 2013.\nWhat then are we paying software support for, if the product is not being updated to reflect changing environments? Yes, I know it can be tough to update the integrations - but isn’t that what we’re paying for? Is the vendor just taking our money and banking it?\nHP Reporter was in a similar position - until last year it only supported Windows 2003! Looking at the lack of updates for Reporter, and the interface that dates to the mid-90s, we can see HP\u0026rsquo;s clear push to get customers to move towards Service Health Reporter. Reporter is dead, it just took time before anyone declared it.\nBut what about Storage Essentials? Is it dead, but no-one’s yet called it? If it’s supposed to be an actively supported product, then it needs to see meaningful updates. As a customer, we have to conclude it is dead, and plan to move away from it. No point paying for updates if they don’t get delivered.\nA Challenge to Vendors and Customers Vendors, take a look at your product offerings: Still claiming Exchange support, but only up to 2007? That’s not Exchange support. Still claiming Windows support, but only on 32-bit? Time to face facts.\nCustomers, are you paying software support for products that haven’t been updated in years? What exactly are you paying for? Put pressure on your vendors, and do it in the most effective way possible: Stop paying support if you’re not getting anything for it. Money talks.\n","permalink":"https://lkhill.com/software-support-are-you-getting-value/","summary":"\u003cp\u003eCompanies pay a lot of money for software support. But do they always get value for it, and do vendors sometimes prolong the \u0026ldquo;supported\u0026rdquo; life of a product simply to bank extra revenue? We should hold vendors to account, and demand better.\u003c/p\u003e","title":"Software Support - Are You Getting Value?"},{"content":"I was recently asked about how to start IMC on a Linux server. After the initial installation, the system had been restarted, and now IMC wasn\u0026rsquo;t running. How to start it again?\nAll of my previous installations had been on Windows, where I knew exactly what to do. I knew the process would be almost identical on Linux, but I wasn\u0026rsquo;t sure of exactly which commands were required. So I spun up a VM, installed MySQL, and installed IMC 7.0.\nAt the end of the installation, you\u0026rsquo;ll see the \u0026ldquo;Deployment Monitoring Agent\u0026rdquo;, looking something like this:\nIf you click \u0026ldquo;Start IMC\u0026rdquo;, it will start, and all will be good\u0026hellip;until you reboot. If you did NOT check \u0026ldquo;Automatically start the services when the OS starts\u0026rdquo;, IMC will not be running post-reboot. How to start it again? You need to run the Deployment Monitoring Agent. You will need X-Windows for this. You can login to the console of the server - if it\u0026rsquo;s not running a graphical console, run startx after logging in. Or you can tunnel it back to a local X-Windows server - e.g. run XQuartz on your Mac, and then ssh to the server with ssh -X user@IMC.\nOnce you\u0026rsquo;ve got that working, run /opt/iMC/deploy/dma.sh - that will pop up the Deployment Monitoring Agent, and you can start IMC. You probably also want to set it to auto-start in future:\nNote: You may have noticed the imcdmsd service added to your system:\n1 2 3 [root@IMC ~]# chkconfig --list imcdmsd imcdmsd 0:off 1:off 2:off 3:on 4:off 5:on 6:off [root@IMC ~]# This service must be running before the Deployment Monitoring Agent will work. It should be started by default. If not, start it with service imcdmsd start. If you have set IMC to auto-start, starting this service will also start IMC.\n","permalink":"https://lkhill.com/cant-start-hp-imc-on-linux/","summary":"\u003cp\u003eI was recently asked about how to start IMC on a Linux server. After the initial installation, the system had been restarted, and now IMC wasn\u0026rsquo;t running. How to start it again?\u003c/p\u003e","title":"Can't Start HP IMC on Linux?"},{"content":"HP has announced that they will only provide firmware updates to customers with a valid warranty, Care Pack or support agreement. HP says:\nWe know this is a change from how we’ve done business in the past; however, this aligns with industry best practices and is the right decision for our customers and partners.\nOur customers under warranty or support coverage will not need to pay for firmware access, and we are in no way trying to force customers into purchasing extended coverage. That is, and always will be, a customer’s choice.\nTwo items concern me here. First is \u0026ldquo;this aligns with industry best practices\u0026rdquo;, second is \u0026ldquo;\u0026hellip;the right decision for our customers\u0026hellip;\u0026rdquo;.\nGood for Customers? HP describes their firmware as \u0026ldquo;valuable intellectual property.\u0026rdquo; But how many customers actually see it that way? The firmware is an integral component of the hardware - one cannot exist without the other. I can\u0026rsquo;t use HP firmware in non-HP systems, nor can I operate HP servers without HP firmware. But I don\u0026rsquo;t really get anything out of the firmware. I get my system up and running, and then hopefully the BIOS/UEFI just gets the hell out of the way.\nNote: Aside: One of the best things about virtualisation is that OS reboots now don\u0026rsquo;t usually mean an interminable wait for the BIOS to do nothing of any apparent value We resent having to update firmware, especially with HP systems, where every individual hardware component seems to have its own firmware, down to each individual power supply. Until recently, you would be faced with multiple rounds of reboots to do all the updates, and you couldn\u0026rsquo;t really show any true business value from it. Fixing bugs that shouldn\u0026rsquo;t have shipped doesn\u0026rsquo;t count as business value.\nSo now when we go to download updates we are going to have to ensure that those systems are under warranty, or support. What happens when those systems are under warranty, but HP\u0026rsquo;s system doesn\u0026rsquo;t agree? What about all the effort associated with making sure that the support lists are 100% accurate? What about when a reseller made a typo when updating their records? This is a non-zero cost to the business, but there is no value here - how is this the \u0026ldquo;right decision for customers\u0026rdquo;? What do we gain as customers?\nIndustry \u0026ldquo;Best Practices\u0026rdquo; Defining \u0026ldquo;best practices\u0026rdquo; is tricky. Let\u0026rsquo;s look at what \u0026ldquo;standard practices\u0026rdquo; might be, by checking out some other major suppliers:\nIBM^WLenovo: They are going through the same process as HP. I tried to download firmware for the x3250 M4, and got this Dell: I went to Dell\u0026rsquo;s website, and tried to download a BIOS package for a Dell R620. No problems, no need to login, nothing - download was easy to find, and started streaming down. Cisco: Cisco\u0026rsquo;s been cracking down on IOS downloads for a while now. Although I\u0026rsquo;m a CCIE, I don\u0026rsquo;t get access to any downloads. I don\u0026rsquo;t even get access to the Bug Toolkit, unless I have a support contract. But I just tried downloading \u0026ldquo;Software for the UCS B-Series blade server products\u0026rdquo;, and I was allowed to, once I had logged in. That account has no support contracts attached to it, so they\u0026rsquo;re tracking downloads, but not stopping me. Yes, I was surprised by this too. HP Networking: Lifetime warranty - HP Networking promises free software upgrades for as long as you own the product. They make quite a song and dance about this policy even. So why are they doing it? It\u0026rsquo;s all about the 3rd-party support providers. Joe Blow can set up a support organisation for HP servers, and not bother going through official partner accreditation. Buy a few hardware spares, build up your own internal knowledge-base, and just grab the firmware from the HP site. Provides the support that most customers need, at a lower cost than official partners or HP direct.\nNow those 3rd-parties will need to keep one example of each system nominally under support, so they can get updates, then re-distribute them. Presumably we\u0026rsquo;ll see HP crack down harder on those organisations though, as they\u0026rsquo;ll make sure their EULAs include language about \u0026ldquo;these updates are only to be used on systems under support by HP, blah blah\u0026rdquo;.\nIt\u0026rsquo;s not much different to Cisco\u0026rsquo;s crackdowns on grey-market support providers. That led to much more onerous Cisco licensing procedures\u0026hellip;hopefully server vendors don\u0026rsquo;t start something like that.\nDo what you must, but be honest HP can do as they please. They can charge whatever they like, and make us jump through all manner of hoops to download updates. But please don\u0026rsquo;t insult us by telling us that it\u0026rsquo;s the \u0026ldquo;right decision for customers.\u0026rdquo; Be honest about your motives. This decision will mean extra work and hassle for already-stressed system administrators, and it won\u0026rsquo;t give them a single thing in return. Unless maybe it\u0026rsquo;s to give sysadmins another reason when they\u0026rsquo;re telling the boss why that old G5 server needs replacing?\n","permalink":"https://lkhill.com/hp-restricting-access-to-server-firmware-updates/","summary":"\u003cp\u003eHP has announced that they will only provide firmware updates to customers with a valid warranty, Care Pack or support agreement. \u003ca href=\"http://h30507.www3.hp.com/t5/Technical-Support-Services-Blog/Customers-for-life/ba-p/154423#.UvbKSXn3q9V\"\u003eHP says\u003c/a\u003e:\u003c/p\u003e","title":"HP Restricting Access to Server Firmware Updates"},{"content":"Recently I posted some speculation about where HP is going with their Comware and ProCurve networking lines. But what about the wireless gear? Where\u0026rsquo;s that going? As before, I have no inside information on this, and I\u0026rsquo;m just speculating based upon public information: Do your own research and thinking before making major purchasing decisions.\nColubris or Comware? HP acquired Colubris in August 2008, greatly expanding its ProCurve division wireless networking capabilities. This gave HP their \u0026ldquo;MSM\u0026rdquo; Wireless controllers. But the 3Com acquisition introduced its own APs and Controllers - the WX series of controllers. Since then, HP has been selling both ranges of controllers and access points. The MSM controllers use their own OS, which is neither Comware nor ProCurve.\nIn 2013, HP launched the 830 Unified Wired-WLAN switch with an integrated controller (similar to Cisco\u0026rsquo;s 3850), and the 10500/7500 Unified Wired-WLAN Module, for installing in high-end chassis switches. Both of these wireless controllers are using Comware OS.\nTake a look at the HP Wireless Selector. Play around with some different options for choosing different controllers - either MSM, WX or the newer Unified 830 or 10500/7500 module. Note that of the 8 Controller-Managed Access points, five of the newest APs (425, 430, 460, 466, 466-R) can be managed by any controller - either Colubris-heritage, or Comware-based.\nSo what do our data points tell us?\nEngineering resources are going into Comware-based controllers (that\u0026rsquo;s where we see new products coming from) New APs can be switched between controller types, giving customers a clear migration path, no need to rip \u0026amp; replace Therefore the long-term path is towards Comware-based controllers, using most of the already deployed APs. But what about those existing MSM controllers people have deployed? Would they run Comware on that hardware? My guess is not. Given where HP is going with their VSR 1000 virtual router, my guess is that a purely virtual controller will be made available, and customers can migrate to that. What about those APs not supported by Comware controllers? They\u0026rsquo;re only single-radio APs, so they\u0026rsquo;ll probably age out of customer networks reasonably quickly. We would need to see a replacement for the MSM317 though, it is an elegant solution for hotel-room wireless.\nConclusions Firstly, don\u0026rsquo;t panic too much. Make sure that any new APs you install are newer APs, and are supported by both sorts of controller. Replacing APs is much more expensive and time-consuming than replacing a controller. If HP does declare a \u0026ldquo;winner\u0026rdquo;, then start planning a controller migration if required.\nIf you do have APs that are not supported by both controllers, then you should be starting to look at replacements. Given that the older models are all single-radio, you should have this as part of your planning anyway. And remember, there is no official announcement on this - I\u0026rsquo;m just engaging in a bit of speculation. You should definitely be talking to your HP account manager about the future of their wireless offering though - follow their advice on the right models to use.\n","permalink":"https://lkhill.com/hp-wireless-future/","summary":"\u003cp\u003eRecently I \u003ca href=\"/hp-comware-vs-procurve-reading-the-tea-leaves/\"\u003eposted some speculation\u003c/a\u003e about where HP is going with their Comware and ProCurve networking lines. But what about the wireless gear? Where\u0026rsquo;s that going? As before, I have no inside information on this, and I\u0026rsquo;m just speculating based upon public information: Do your own research and thinking before making major purchasing decisions.\u003c/p\u003e","title":"HP Wireless Future: Reading the Tea Leaves"},{"content":"HP acquired 3Com in 2009. This added a large range of routing, switching and wireless networking to HP - but they already had existing ProCurve wired and wireless hardware. Clearly there\u0026rsquo;s overlap, so what\u0026rsquo;s the future of HP Networking? Where do they go with hardware and software? Here\u0026rsquo;s some speculation on my part.\nWarning: Note: I have no inside information on this. I am simply speculating, based upon available public information. Do your own thinking before making major purchasing decisions. History: Two Networking Lines HP\u0026rsquo;s ProCurve group has its roots going back as far as 1979. Through the 2000s, HP developed and sold their own software, hardware and custom ASICs, powering their ProCurve line of switches. These switches are aimed at the middle of the market - those organisations that wanted reasonably powerful, fully managed access switches, but didn\u0026rsquo;t need/want the complete featureset and high price that Cisco was offering. They offered fixed-port, stackable and modular switches, but they stuck to a focus of switching, with some basic routing capabilities.\nIn 2008, they had approximately 8% of the Ethernet switch market. Obviously Cisco was the clear market leader, but the other players had \u0026lt; 5% market share.\n3Com also goes back to 1979, developing some of the earliest Ethernet products. They seemed to lose their way in the late 90s / early 2000s, pulling out of the high-end market. During the 2000s, they had a joint venture with Huawei, known as H3C. The products of this joint venture were primarily sold within China. The 3Com product range was much wider than HP\u0026rsquo;s, spanning high-end Service Provider Routing \u0026amp; Switching through to desktop access switches.\nIn 2009, partly as a result of Cisco\u0026rsquo;s move into servers with UCS, HP acquired 3Com, significantly boosting their network offerings. The problem is that the network line now has some overlaps, and there has not yet been a significant shakedown.\nCodebase: One Source Tree, Multiple Images I asked about the future of ProCurve/Comware at HP Discover Barcelona 2013, and how they might be combined. I was told that the plan is to have \u0026ldquo;One source tree, with multiple images.\u0026rdquo; There would be separate drivers for different models/ASICs, and individual binary builds for each device type. It\u0026rsquo;s not quite as elegant as Arista\u0026rsquo;s approach of running one single binary image across all devices, but HP has to support a much wider range of hardware.\nFrom a development perspective, this makes sense. One source tree makes life much simpler - why write two versions of BGP daemons? Comware has a far more feature-rich history, as it has been used in high-end routing platforms, while ProCurve was focused on the access layer. So we\u0026rsquo;d have to assume that Comware will be the basis of underlying code. But what about the interface? Are all ProCurve admins going to have to get used to a Comware CLI? Or the other way around?\nThere\u0026rsquo;s no reason why we couldn\u0026rsquo;t have different CLI \u0026ldquo;modes\u0026rdquo;, the way BNT can switch to \u0026ldquo;Industry-standard CLI\u0026rdquo;. The CLI \u0026amp; configuration is quite separate to the underlying code - so it should be easy to have a translation layer that could convert from either Comware or ProCurve-style configuration. After all, the typical network admin doesn\u0026rsquo;t have any visibility of the underlying OSPF processes - they\u0026rsquo;re just used to a certain command structure.\nBut I don\u0026rsquo;t think we\u0026rsquo;ll switch \u0026ldquo;mode\u0026rdquo; - I think we\u0026rsquo;ll see a continuation of the current trend of adding Comware-style commands to ProCurve devices. Each new ProCurve software update seems to add more Comware-style CLI options, whilst retaining the ProCurve options. If I use Comware \u0026ldquo;show\u0026rdquo; commands, the output is formatted Comware-style. But if I enter Comware-style configuration, it is converted on the fly to ProCurve syntax. I don\u0026rsquo;t see a lot of features or configuration style from ProCurve coming into Comware though. So I suspect HP\u0026rsquo;s goal to get ProCurve admins gradually used to the Comware style, so that at some point it will switch over: Comware will become the base, with a few ProCurve style commands to help transitioning network admins.\nOf course, looking further ahead, it shouldn\u0026rsquo;t matter - because we\u0026rsquo;ll push out changes from the controller, and the underlying operations at a switch level will be abstracted away, right? Yeah, well, that might take a bit longer to roll out everywhere.\nHardware: Both Lines Continue, with Consolidation Historically ProCurve systems have used custom ASICs (the ProVision ASIC), while Comware systems have used merchant silicon. HP has been working with OpenFlow since the early days, initially with their ProCurve line. They also feel that the ProVision ASIC helps them meet a certain price/feature point that they couldn\u0026rsquo;t do with merchant silicon. They\u0026rsquo;ve certainly achieved reasonable success doing this at the desktop access layer.\nThere is no reason why HP can\u0026rsquo;t continue to pursue both a custom ASIC and a merchant silicon strategy. For specific use-cases, custom silicon is better. For others, merchant silicon can better deliver the desired price/performance/feature point. See Cisco\u0026rsquo;s recent \u0026ldquo;Merchant-Plus\u0026rdquo; strategy for an example of this. It\u0026rsquo;s just a question of selecting the right product for the right use-case.\nLooking at recent developments, there\u0026rsquo;s been some noise around new product launches with Comware history - e.g. the 5900, 11900 and 12900 released in 2013. But the ProCurve 2920 was also released last year - so clearly investment is continuing in both lines.\nThe full switch product list has 46 different models listed. Clearly there are some that could be removed, where an update has been released for the same line - e.g. I don\u0026rsquo;t know why they bother listing both the 2910 and the 2920, or the 5900, 5920 and 5930 - just get rid of the old ones already.\nBut try using the switch selector - let\u0026rsquo;s say I want a fixed-port, 1Gb PoE+ switch, with 10G uplinks, and stacking capabilities. That returns the 5500 and the 3800 - one runs Comware, the other runs ProCurve. How am I supposed to know which one I should use? I\u0026rsquo;m probably going to go with whatever I\u0026rsquo;m used to - ProCurve or Comware.\nMy guess is that HP wants to consolidate some of these lines, but they can\u0026rsquo;t do it until they\u0026rsquo;ve got the software sorted out. Once they can run the same OS on either hardware, then there are far fewer differentiators, and we\u0026rsquo;ll start to see some lines get retired. This will probably appear as natural attrition - newer lines like the 2920 and 5930 will stick around, with further software updates, while some of the older lines will start getting retired, and won\u0026rsquo;t see replacement.\nSo What Do I Buy? Whatever fits your needs best, with a caveat: if I had no other HP equipment, I\u0026rsquo;d probably prefer to get Comware equipment, as that seems to be the clearer software direction. Whatever branch you prefer, make sure you\u0026rsquo;re buying the newest variants - e.g. the 2920, rather than 2910.\nIf you are running ProCurve gear, I would recommend moving to recent software releases, so you can start getting familiar with the Comware CLI.\nIn an upcoming post, I\u0026rsquo;ll take a stab at what I think is happening with the wireless gear - there\u0026rsquo;s overlap there, and I think the future is clearer, and we\u0026rsquo;ll see the lines consolidated soon.\n","permalink":"https://lkhill.com/hp-comware-vs-procurve-reading-the-tea-leaves/","summary":"\u003cp\u003eHP acquired 3Com in 2009. This added a large range of routing, switching and wireless networking to HP - but they already had existing ProCurve wired and wireless hardware. Clearly there\u0026rsquo;s overlap, so what\u0026rsquo;s the future of HP Networking? Where do they go with hardware and software? Here\u0026rsquo;s some speculation on my part.\u003c/p\u003e","title":"HP Comware vs ProCurve: Reading the Tea-Leaves"},{"content":"This is a basic overview of the ScienceLogic EM7 system architecture, describing the various components, their functions, and how they can be combined or split across multiple systems. I’ve been deploying ScienceLogic systems recently, so this blog acts as my own notes/summary.\nThe ScienceLogic system can be broken down into five functions:\nDatabase: Stores all configuration and performance data. The heart of the system. User Interface: Web interface, where users interact with ScienceLogic. Data Collection: Scheduled polling of monitoring systems, using SNMP, WMI, XML API, etc. Message Collection: Receive inbound SNMP traps and syslog messages. API: External systems can interact with ScienceLogic API, either to retrieve data, or to submit events and change configuration - e.g. Add new devices, change monitoring policies, etc. Where this gets interesting is that these functions can be deployed on one centralised servers, or spread out across multiple physical and virtual servers. You can run everything on one system, like this:\nOr you could fully separate the functions across multiple systems:\nNote that there used to be a separate \u0026ldquo;Integration Server\u0026rdquo; for providing API functions. As of recent versions, this is no longer a dedicated system type - instead you can use an Administration Portal or Database Server.\nYou could have some combination of the above components - e.g. Combine message \u0026amp; data collection on one system, and UI/DB \u0026amp; API on another:\nSplitting up configuration/data storage from collection lets you spread out your monitoring load, and/or work around challenges with network topologies, overlapping address space, etc:\nAll systems can be either physical or virtual, and all run the same code base. Splitting it across boxes does not significantly increase your administration overhead either. Patches are uploaded to the central server, and then deployed to all systems in one go. In theory, once you’ve set everything up, you shouldn’t need to manage any individual systems.\nCheck the \u0026ldquo;ScienceLogic Architecture\u0026rdquo; manual for more information about the architecture: HTML version, PDF version (Registration required; may need to be partner or customer. Yes it sucks that the documentation is behind a reg-wall).\nThe ability to break out systems, and spread load across multiple collectors provides us with more capabilities around HA, DR and scaling. I’ll take a look at those in a future blog post.\n","permalink":"https://lkhill.com/sciencelogic-architecture-overview/","summary":"\u003cp\u003eThis is a basic overview of the \u003ca href=\"http://www.sciencelogic.com/\"\u003eScienceLogic EM7\u003c/a\u003e system architecture, describing the various components, their functions, and how they can be combined or split across multiple systems. I’ve been deploying ScienceLogic systems recently, so this blog acts as my own notes/summary.\u003c/p\u003e","title":"ScienceLogic Architecture Overview"},{"content":" This article is Part 1 in a 13-Part Series. Part 1 - This Article Part 2 - War Stories: Switches Lying about Duplex Mismatches Part 3 - War Stories: Check Point Meltdown Part 4 - War Stories: Dual-Vendor Firewall Strategy Part 5 - War Stories: Proxy ARP Auto-Configuration Part 6 - War Stories: Gratuitous ARP and VRRP Part 7 - War Stories: Cursed VLANs Part 8 - War Stories: Unix Security Part 9 - War Stories: ITIL Process vs Practice Part 10 - War Stories: Closing out Projects Part 11 - War Stories: Backup NICs, DNS and AD Part 12 - War Stories: Always Check Your Inputs Part 13 - Advertising Bogons (Or Was I?) Inspired by the Packetpushers War Stories episodes, I thought I\u0026rsquo;d start an irregular series sharing a few of my own war stories. Hopefully the statute of limitations has expired. First up, the time that looping cables didn\u0026rsquo;t just cause a network melt-down, it actually caused physical damage.\nL2 Loops are Bad, OK? We\u0026rsquo;ve all heard stories about the bad things that can happen with you get a L2 loop in your network. Your switches start lighting up like a casino, and effectively all traffic stops, often including control-plane access to the switch.\nRemove the loop, and everything returns to normal. You go out and track down what caused the loop, and shake your head in wonder at how someone could take a cable coming out of the wall, connect a dumb hub, and then connect from the hub back to the wall. Were they trying to double their bandwidth? Hopefully you put in place some protection mechanisms so it doesn\u0026rsquo;t cause a loop next time they do it. All good.\nBad, but bad enough to break the switch? We had several stacks of desktop 1Gb PoE switches, all working pretty well. After a few months we started getting reports that some switchports weren\u0026rsquo;t working. It was just a few ports, on one particular stack. The failures came over a few weeks, and it took a while to notice the pattern. Swapping the cable over to an unused switchport worked, proving it wasn\u0026rsquo;t a cable fault. We added a comment to the switchport to say it should not be used. It wasn\u0026rsquo;t a case of being error-disabled, or similar - even a full switch reload didn\u0026rsquo;t help, the switchport just would not come up.\nEventually I realised what was happening. All the failing ports had been mapped to a specific meeting room, and that room had a Polycom speakerphone. This was in the early days of PoE, and things had only recently been standardised. At the time Polycom didn\u0026rsquo;t have PoE-compliant systems. Since they only wanted to have one cable running to the speakerphone on the table, they had their own Power Injector. You ran a power supply and Ethernet cable to the Power Injector, and then a single Ethernet cable ran from there to the speakerphone itself. This delivered the comms and power that the base unit needed.\nThe problem was that whatever they were doing not only wasn\u0026rsquo;t PoE-compliant, it was also had the potential to fry switchports. It turned out that meeting room users were unplugging the Polycom, then somehow reconnecting the \u0026ldquo;hot\u0026rdquo; end back to the wall ports. This was frying our switchports, permanently disabling them. It didn\u0026rsquo;t create a Layer-2 loop - it completely broke that switchport!\nLaptops too On a related note, we had one user that was onto his fourth laptop - for some reason the network ports kept failing on his laptops. They would either stop completely, or maybe only connect at 100Mb, and refuse to connect at 1Gb. We realised that this person was a regular user of that meeting room - he\u0026rsquo;d obviously been regularly unplugging the Polycom unit, and connecting his laptop. The laptop NIC didn\u0026rsquo;t like the power injector either, and poof! Out came the magic smoke.\nMitigations What can you do to stop it? Polycom had shipped a cable that had a very short retainer tab, making it difficult to unplug the Polycom end. People were determined though. The best we could do was to attach a big label to the cable, threatening people on pain of death if they unplugged that cable and used it for their laptop.\nThese days you can just use regular PoE, with no need for a power injector. If you loop a PoE cable back to a switchport, it won\u0026rsquo;t break it.\n","permalink":"https://lkhill.com/war-stories-loop-network-meltdown/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 1\u003c/strong\u003e in a \u003cstrong\u003e13-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/war-stories-switch-duplex/\"\u003eWar Stories: Switches Lying about Duplex Mismatches\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/war-stories-check-point-meltdown/\"\u003eWar Stories: Check Point Meltdown\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/dual-vendor-firewall-strategy/\"\u003eWar Stories: Dual-Vendor Firewall Strategy\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/war-stories-proxy-arp-auto-configuration/\"\u003eWar Stories: Proxy ARP Auto-Configuration\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/war-stories-gratuitous-arp-and-vrrp/\"\u003eWar Stories: Gratuitous ARP and VRRP\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/war-stories-cursed-vlans/\"\u003eWar Stories: Cursed VLANs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 8 -\n        \u003ca href=\"/war-stories-unix-security/\"\u003eWar Stories: Unix Security\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 9 -\n        \u003ca href=\"/war-stories-itil-process-vs-practice/\"\u003eWar Stories: ITIL Process vs Practice\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 10 -\n        \u003ca href=\"/closing-out-projects/\"\u003eWar Stories: Closing out Projects\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 11 -\n        \u003ca href=\"/war-stories-backup-nics-dns-and-ad/\"\u003eWar Stories: Backup NICs, DNS and AD\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 12 -\n        \u003ca href=\"/war-stories-always-check-inputs/\"\u003eWar Stories: Always Check Your Inputs\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 13 -\n        \u003ca href=\"/advertising-bogons/\"\u003eAdvertising Bogons (Or Was I?)\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"War Stories: Loops that Permanently Broke the Network"},{"content":"HP has made some changes to the way Network Node Manager (NNMi) is licensed. These changes are a Good Thing, as they address two key pain points - license calculation, and access to extra features.\nPreviously NNMi had a base per-node license for fault monitoring. You could then buy add-on \u0026ldquo;Smart Plugins\u0026rdquo;, or iSPIs, to give you extra features, such as performance monitoring, NetFlow, IP SLA, MPLS, Telephony, etc. The iSPIs each had their own license calculation method, involving \u0026ldquo;points\u0026rdquo;, which could be shared between some add-ons (but not all). Trying to figure out exactly how many licenses you needed to buy could be a complete nightmare, and partners/HP often struggled to figure it out.\nAs a result, customers might end up either over-licensed (with associated higher support costs), or they didn\u0026rsquo;t have access to some of the advanced features that would greatly improve their overall network monitoring. Going back to the cheque-book holders for more money for licenses wasn\u0026rsquo;t politically acceptable, so they made do without.\nThe new model vastly simplifies things - there\u0026rsquo;s two tiers: a base tier that includes some commonly-used add-ons, while the top tier includes all available add-ons. Licensing is simply per-device, making it far simpler to calculate. Bundled features rather than à la carte pricing leads to greater adoption of enhanced features, leading to improved customer satisfaction and maybe retention.\nIf you\u0026rsquo;re using NNMi, I recommend that you talk to your partner/HP account manager, and find out how you can migrate to the new model. There are of course a few conditions, and no doubt there are a few cases where it doesn\u0026rsquo;t work out right, but it should benefit the vast majority of customers. Hopefully you\u0026rsquo;ll find that you can get access to more features at no extra cost.\n","permalink":"https://lkhill.com/hp-nnmi-licensing-changes/","summary":"\u003cp\u003eHP has made some changes to the way Network Node Manager (NNMi) is licensed. These changes are a Good Thing, as they address two key pain points - license calculation, and access to extra features.\u003c/p\u003e","title":"HP NNMi Licensing Changes"},{"content":"I have come to realise that I\u0026rsquo;ve tried to take part in too many communities, and it\u0026rsquo;s getting me down. Too many forums filled with too much noise, too many people not doing basic research. Too much time on my part to scroll through various RSS feeds \u0026amp; email lists. Time to re-evaluate what I\u0026rsquo;m doing, and why.\nA couple of weeks ago I read this post on theeagerzero about community fatigue. This quote stood out:\nWe\u0026rsquo;ve hit community fatigue, people.\nIndeed. Then this week I saw a post on a CCIE study forum from someone trying to configure a Linksys switch, who knew nothing about console cables, and may have tried to plug a serial cable into an Ethernet port. Time to reconsider what I\u0026rsquo;m doing.\nWhy Participate in the First Place? There\u0026rsquo;s a few reasons why I\u0026rsquo;ve been a long-time contributor to many forums:\nKeep abreast of real-world product issues - forums show the problems people are coming across in real deployments, not just in PowerPoint. By following the forums, I\u0026rsquo;ve got a reasonable handle on issues that people are striking, and maybe I get early warning before I install that upgrade that breaks that key feature. Pay it back - people have helped me over the years, and I like to try to give back, where I can. Maybe it will help someone else. Doesn\u0026rsquo;t hurt my professional reputation either. Product updates - I find out about interesting new releases, CCIE blueprint updates, etc. I\u0026rsquo;ve tended to have a product or certification focus with the forums I\u0026rsquo;ve followed - they\u0026rsquo;ve either been for specific product sets I\u0026rsquo;m working with, or focused on certifications I\u0026rsquo;m chasing. I have not spent so much time on \u0026ldquo;general\u0026rdquo; forums - e.g. those covering networking as a whole.\nSo why stop now? Why do I now feel I\u0026rsquo;ve had enough?\nPeople \u0026lsquo;gaming\u0026rsquo; forums - many forums have \u0026lsquo;points\u0026rsquo; and \u0026lsquo;status levels\u0026rsquo;, and have now started giving away prizes for top contributors. This has led to many low-quality responses from people apparently desperate to respond to every post, even if they aren\u0026rsquo;t adding any value. IEOC is particularly bad for this right now. Low SNR - Too many people posting CCNA-level questions in CCIE forums, or doing zero research, not even the most basic web search. Return on investment - My time is limited, and I need to consider where I should best focus my efforts. I\u0026rsquo;ve concluded that researching topics, and writing about them for my blog is better for my learning, and forms a better consolidated set of notes. Plus I\u0026rsquo;m more in control of my content. Twitter helps me keep up with issues \u0026amp; new releases, provided I carefully manage the list of people I follow. I\u0026rsquo;ve also been following forums that are no longer relevant to me, as I don\u0026rsquo;t work in that field any more, and don\u0026rsquo;t see myself returning to it in the short-medium term. The result is that I\u0026rsquo;m starting to feel burnt out.\nStill keeping my hand in I\u0026rsquo;m not completely stopping all my forum participation, but I\u0026rsquo;m now going to limit it to:\nNetOps - a low-noise forum that focuses on IMC. IMC still has a low number of experienced practitioners, and I like to help where I can. ScienceLogic Answers - ScienceLogic community. Again, low-noise, top-quality answers. IEOC - just the CCIE R\u0026amp;S General forum, to be aware of developments. Won\u0026rsquo;t be participating much. Thorn Tree \u0026lsquo;On Your Bike\u0026rsquo; - because tech/work isn\u0026rsquo;t everything, and I\u0026rsquo;ve always got an eye on the next trip. I also subscribe to the Australian and New Zealand Network Operators lists, so I\u0026rsquo;m aware of any region-specific issues around ISP networks.\nAnyone else have comments on forums I should follow that keep me up to date with networking-related topics I\u0026rsquo;m interested, but keep up a high SNR? The only other forum I\u0026rsquo;m contemplating now is Thwack, for the general network management talk. Any others?\n","permalink":"https://lkhill.com/too-many-communities/","summary":"\u003cp\u003eI have come to realise that I\u0026rsquo;ve tried to take part in too many communities, and it\u0026rsquo;s getting me down. Too many forums filled with too much noise, too many people not doing basic research. Too much time on my part to scroll through various RSS feeds \u0026amp; email lists. Time to re-evaluate what I\u0026rsquo;m doing, and why.\u003c/p\u003e","title":"Too Many Communities"},{"content":"Recently I\u0026rsquo;ve been converting a network from an agent-based monitoring system to an agentless system. One challenge was handling custom application logfiles. Most agent-based monitoring systems make it very easy to add logfile encapsulators, to read a custom file, and react to specific patterns. But now I needed to convert the logfile into syslog, so it could be directed to my NMS, which would parse the syslogs, and raise alerts as required.\nOn Linux systems, there are many options for converting arbitrary logfiles into syslog. For Microsoft Windows, there are reasonable free options for converting Eventlogs to Syslog, such as SNARE. There are excellent, but expensive tools like Splunk for parsing any sort of data you like. But I really struggled to find anything that could run on Microsoft Windows, convert a custom logfile to syslog, and send it to two destinations simultaneously.\nAfter much fruitless searching, and more than a few dead-ends, I found the answer: nxlog.\nIt can collect logs from files in various formats, receive logs from the network remotely over UDP, TCP or TLS/SSL on all supported platforms. It supports platform specific sources such as the Windows Eventlog, Linux kernel logs, Android device logs, local syslog etc. Writing and reading logs to/from databases is also supported for many database servers. The collected logs can be stored into files, databases or forwarded to a remote log server using various protocols.\nThat does pretty much everything I want - many, many options for both input and output, and I can parse the content too.\nInstallation was pretty simple. Install the MSI package, and then edit the configuration file at C:\\Program Files (x86)\\nxlog\\conf\\nxlog.conf. There\u0026rsquo;s three key sections - Input, where you define the input data sources, Output, where you define the possible output methods/destinations, and Route, where you define the mapping between inputs and outputs.\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 define ROOT C:\\Program Files (x86)\\nxlog Moduledir %ROOT%\\modules CacheDir %ROOT%\\data Pidfile %ROOT%\\data\\nxlog.pid SpoolDir %ROOT%\\data LogFile %ROOT%\\data\\nxlog.log \u0026lt;Extension syslog\u0026gt; Module xm_syslog \u0026lt;/Extension\u0026gt; \u0026lt;Input in\u0026gt; Module im_file File \u0026#39;c:\\MyApp\\logs\\applog.log\u0026#39; SavePos TRUE ReadFromLast TRUE PollInterval 1 Exec $Message = $raw_event; $SyslogFacilityValue = 22; \u0026lt;/Input\u0026gt; \u0026lt;Output out1\u0026gt; Module om_udp Host 10.1.1.1 Port 514 Exec to_syslog_bsd(); \u0026lt;/Output\u0026gt; \u0026lt;Output out2\u0026gt; Module om_udp Host 10.1.1.2 Port 514 Exec to_syslog_bsd(); \u0026lt;/Output\u0026gt; \u0026lt;Route 1\u0026gt; Path in =\u0026gt; out1, out2 \u0026lt;/Route\u0026gt; That\u0026rsquo;s reasonably easy to follow - you can see we set some global settings, load some required modules, then define the input type, location and handling. You can specify how often to read the file, whether to re-read on startup, etc. You can set syslog facilities and values. The Output sections then define each of my syslog servers. Finally the routing section maps from in to both of the out locations. You could have separate handling for various input files, Eventlogs, etc. You can also add all kinds of complex pattern matching, parsing, external programs, etc.\nMy configuration is very simple, and barely scratches the surface of this powerful tool. Check out the rest of the documentation for more ideas on data manipulation, parsing and routing. Highly recommended.\n","permalink":"https://lkhill.com/nxlog-convert-to-syslog/","summary":"\u003cp\u003eRecently I\u0026rsquo;ve been converting a network from an agent-based monitoring system to an agentless system. One challenge was handling custom application logfiles. Most agent-based monitoring systems make it very easy to add logfile encapsulators, to read a custom file, and react to specific patterns. But now I needed to convert the logfile into syslog, so it could be directed to my NMS, which would parse the syslogs, and raise alerts as required.\u003c/p\u003e","title":"nxlog - Convert any text file to Syslog"},{"content":"HP has been laying out their SDN vision over the last few months. They want to develop a complete SDN ecosystem, including an Open Standards-based network that can integrate with common overlay models, development resources to help 3rd parties to develop applications, test \u0026amp; validation tools, right through to an \u0026ldquo;App Store\u0026rdquo; that will deliver applications to end-users.\nOne of the example applications they\u0026rsquo;ve been demonstrating is their UC\u0026amp;C Lync SDN application, and it\u0026rsquo;s pretty cool:\nIt\u0026rsquo;s a great example of using new technical capabilities to solve real problems - and it\u0026rsquo;s not data-centre focused like everyone else. But at HP Discover 2013 in Barcelona, Dave Larson (HP Networking CTO) said (paraphrasing): “We spent two years working with Microsoft to develop that application. \u0026quot; That comment struck at the heart of something that’s been nagging at me about SDN:\nIf it takes that much time and effort for two large companies to develop useful SDN apps, then what hope do the rest of us have? How can small to medium-sized organisations develop applications themselves?\nI asked about this, and got these two answers (paraphrased):\nDevelopment resources didn’t exist: It wasn’t just a matter of writing an application, HP/Microsoft had to also develop the development environment. SDKs, toolsets, libraries, etc didn\u0026rsquo;t previously exist. Now that those have been established, HP + partners can develop new applications much more rapidly. Let someone else do the work: Who says you have to develop applications yourself? Most software your business uses is written by someone else (either commercial or Open Source), so why not do the same for your network applications? HP’s SDN App Store will offer a marketplace where you can find, buy and download SDN apps, and be reasonably confident they will Just Work. That Might Just Work This goes a long way towards addressing my key concerns. The market I look at is mostly small-medium Enterprises. For most of them, application development is unrealistic - so they need to be able to easily add externally-developed applications to their environment, to address specific issues they are facing. For those that do have internal development resources, it’s too much of a hurdle to do everything from scratch. They need the SDKs and related development resources to make it realistic.\nHP is really hitting two key pain points, without forcing you into adopting a complete network architecture, ala VMware NSX, or Cisco ACI. Their approach instead lets you pick and choose which applications you want to add on top of a base programmable network. This offers a lot of flexibility, and can work well for organisations that want to slowly add new features to an existing network. It also offers something to mid-range customers, a market segment that I feel has been ignored in the rush towards hyper-scale Data Centre-focused solutions.\nConcerns This doesn’t mean that I’m completely convinced yet. Areas of concern for me include:\nWill this lock me into HP equipment and software? Will I be able to take my applications, and move them to Open Daylight, instead of the HP VAN SDN Controller? (This will probably depend on how the Northbound API standardisation works out). Support - How exactly will the support relationships work between HP and third-party developers? Will there be endless finger-pointing, or will the application validation processes be sufficiently rigorous that we get a minimum quality level, with clear demarcations to identify which module is at fault? Related to the above, what if HP makes it too difficult to get applications accepted, either for technical or political reasons? What if an application competes with an HP-developed app? Will they reject it? It does look like I can use a “private” Enterprise app store, so maybe that will allow side-loading. What if the App Store doesn’t get enough buy-in, and there’s only a few apps? What if I buy applications through the HP SDN App Store, but they don’t get enough traction, and the store gets shuttered? What happens then? Some of these concerns may have already been addressed - HP’s published a lot of material, and I’m still digesting it.\nWill it Deliver? Maybe. The vision feels like it is addressing many challenges and concerns. I don’t know if HP’s version will be the one that “wins”, but the overall approach makes it realistic for “normal” organisations to use SDN to solve real problems, without enormous investment. It’s going to be fascinating to see how it goes at launch later this year, and to watch the take-up.\nNote: Disclaimer: HP paid for my flights, accommodation \u0026amp; sundry expenses to attend HP Discover. They did not attempt to unduly influence what I write, nor did they compensate me. ","permalink":"https://lkhill.com/hp-sdn-app-store-might-work/","summary":"\u003cp\u003eHP has been laying out their SDN vision over the last few months. They want to develop a \u003ca href=\"http://h17007.www1.hp.com/us/en/networking/solutions/technology/sdn/#tab=TAB1\"\u003ecomplete SDN ecosystem\u003c/a\u003e, including an Open Standards-based network that can integrate with common overlay models, development resources to help 3rd parties to develop applications, test \u0026amp; validation tools, right through to an \u0026ldquo;App Store\u0026rdquo; that will deliver applications to end-users.\u003c/p\u003e","title":"The HP SDN APP Store - It Might Just Work"},{"content":"Network monitoring systems poll devices periodically, and then calculate average rates across the poll interval. Selecting the right polling interval is important - too frequently, and low-end devices can\u0026rsquo;t keep up. Too long an interval, and we might miss spikes, will lose detail, and will increase our time to detect \u0026amp; respond to incidents. We may choose to sample some specific values, or devices, more frequently - e.g. 1-minute status polling of our core devices, 5-minute polling for edge devices. But what about the collector - how does it decide when to run those polls?\nWe have a number of values being polled, across a number of devices, with varying frequency. How do you design your collection processes? Do you dynamically spread the polling to even out the load? After all, the users are only specifying the frequency (every x minutes), not the exact time when the poll runs. Or do you use \u0026ldquo;round\u0026rdquo; numbers, and run all your 5-minute polls at 5, 10, 15\u0026hellip; minutes past the hour, and your 15-minute polls at 00, 15, 30, 45 minutes past the hour? Won\u0026rsquo;t that cause peaks and troughs? Does it really matter?\nLet\u0026rsquo;s look at the Network Data Take a look at these two images. They show network utilisation for a couple of different network monitoring systems, recorded over 1 day. Both are monitoring small-medium networks - a few hundred systems. The first one is from a ScienceLogic Data Collector. Note the regular peaks? So far as I can tell, these are from some of the less-frequently polled metrics overlapping with regularly polled metrics. There\u0026rsquo;s also a couple of larger peaks, from some daily discovery processes:\nScienceLogic Data Collector Network Usage over 1d\nNow look at this graph, showing bandwidth utilisation for an HP SIM server. Note how it\u0026rsquo;s much flatter, apart from a couple of peaks (I haven\u0026rsquo;t checked, but it\u0026rsquo;s probably a daily discovery, and a backup process):\nHP SIM Network Usage over 1d\nDoes it Matter? If you\u0026rsquo;re trying to build an ultra high-performance network monitoring system, you will do everything you can to spread the polling load as evenly as possible. You will also ensure you are collecting only the bare minimum required. I haven\u0026rsquo;t shown the CPU load here, but clearly there will be collector system disk + CPU peaks associated with those network peaks, as it processes the returned data. If we are aiming to poll large amounts of devices from a single collector, we will need to spread the load as evenly as possible.\nBut what if your application architecture allows the easy deployment of multiple collectors, so you can spread the load? And in an age of cheap memory, who cares if we need to allocate a bit of extra RAM? If you look really closely at the graphs, you\u0026rsquo;ll see that we\u0026rsquo;ve still only got a few hundred kbps of network traffic, so that\u0026rsquo;s pretty much irrelevant.\nBut isn\u0026rsquo;t it just lazy? Clearly there are advantages to spreading your polling load evenly. It does come with a development overhead, and you may need to be able to handle adjusting for small changes in polling windows - e.g. 295s one time, 305s the next. But what about the advantages of polling at set times (not just set intervals)? It turns out that it\u0026rsquo;s actually kind of handy to know exactly when the 15-minute poll will run. If you\u0026rsquo;re debugging a polling problem, or you\u0026rsquo;re monitoring some performance graphs closely to see if a problem is resolved, it\u0026rsquo;s actually really useful to be able to look at the clock and think \u0026ldquo;ah, the next 15-minute poll is due in 10 minutes.\u0026rdquo; It also makes your graphs much nicer - when comparing multiple metrics, the data points will line up nicely.\nIf you asked me about it 10 years ago, I would have said that you must design so that you spread the load as evenly as possible. These days? I might focus my development resources elsewhere, unless I was designing hyper-scale systems. I realise that of course hyper-scale (cloud/Big Data/Blah Blah) is very much the sexy thing right now, but you know what? It\u0026rsquo;s irrelevant to most of us, no matter how much you read. At the scale of a few hundred, or a few thousand monitored systems, it\u0026rsquo;s just not that big a deal any more. Make some effort to spread load if you need to, but don\u0026rsquo;t get too hung up on it, unless you\u0026rsquo;ve got data telling you otherwise.\n","permalink":"https://lkhill.com/nms-polling-distribution/","summary":"\u003cp\u003eNetwork monitoring systems poll devices periodically, and then calculate average rates across the poll interval. Selecting the right polling interval is important - too frequently, and low-end devices can\u0026rsquo;t keep up. Too long an interval, and we might miss spikes, will lose detail, and will increase our time to detect \u0026amp; respond to incidents. We may choose to sample some specific values, or devices, more frequently - e.g. 1-minute status polling of our core devices, 5-minute polling for edge devices. But what about the collector - how does it decide \u003cstrong\u003ewhen\u003c/strong\u003e to run those polls?\u003c/p\u003e","title":"Network Monitoring Design Choices - Polling Distribution"},{"content":"Last year I posted about my frustrations with getting the DHCPv6 client working on a Juniper SRX-110. I am pleased to report that Juniper has now released 12.1X46-D10.2, which resolves at least some of my issues. I couldn\u0026rsquo;t find it documented in the Release Notes anywhere, but the parser now allows you to have client-ia-type ia-pd without also requiring client-ia-type ia-na\n1 2 3 4 5 6 7 8 9 10 11 12 13 root@srx01\u0026gt; show configuration interfaces at-1/0/0 unit 0 family inet6 dhcpv6-client client-type statefull; client-ia-type ia-pd; rapid-commit; update-router-advertisement { interface vlan.0; } client-identifier duid-type duid-ll; req-option domain; req-option dns-server; update-server; root@srx01\u0026gt; It might not seem like much, but this is real progress for me - now my router can successfully reboot, without needing either a console cable, or resetting to a rescue configuration.\nI haven\u0026rsquo;t yet had a chance to try getting the SRX to pass DHCPv6 prefixes from an external DHCPv6-client interface to the DHCPv6 server operating on an internal interface. In theory it should work, but I haven\u0026rsquo;t seen a complete working config. I don\u0026rsquo;t have an urgent need to fix that, as I have it working with RAs.\n","permalink":"https://lkhill.com/dhcpv6-juniper-progress/","summary":"\u003cp\u003eLast year I posted about my frustrations with getting the \u003ca href=\"/dhcpv6-client-srx/\"\u003eDHCPv6 client working\u003c/a\u003e on a Juniper SRX-110. I am pleased to report that Juniper has now released \u003ca href=\"http://www.juniper.net/support/downloads/?p=srx110#sw\"\u003e12.1X46-D10.2\u003c/a\u003e, which resolves at least some of my issues. I couldn\u0026rsquo;t find it documented in the \u003ca href=\"http://www.juniper.net/techpubs/en_US/junos12.1x46/information-products/topic-collections/release-notes/12.1x46/index.html\"\u003eRelease Notes\u003c/a\u003e anywhere, but the parser now allows you to have \u003ccode\u003eclient-ia-type ia-pd\u003c/code\u003e without also requiring \u003ccode\u003eclient-ia-type ia-na\u003c/code\u003e\u003c/p\u003e","title":"DHCPv6 on Juniper SRX-110 - Progress"},{"content":"I\u0026rsquo;ve been thinking a lot about HP\u0026rsquo;s SDN App Store approach. In case you missed it, HP\u0026rsquo;s vision is to deliver an App Store for SDN applications, similar to Apple\u0026rsquo;s App Store. They want to have all SDN applications available in one place, with centralised purchasing and distribution. It will include both HP and 3rd Party-developed applications. HP says:\nThe HP SDN App Store will be the industry’s first enterprise-ready marketplace for SDN applications. The HP SDN App Store gives developers a robust platform to share their SDN innovations\nI\u0026rsquo;m still thinking about their overall approach, and I haven\u0026rsquo;t yet decided if it makes sense or not. Expect more blogs on this topic in future, as I dig into their strategy. But in the mean time, I\u0026rsquo;ve got a problem with some of their messaging. Here\u0026rsquo;s a couple of examples:\nFirst from Newsha Sharifzadeh:\nActually the idea is similar to smartphone app store that with a single click you can download an application. Just think of how much your smartphone apps have simplified your life, it sure did mine.\nSecondly from Kash Shaikh:\nIf you own a smartphone or tablet, then you’ve almost certainly visited your phone’s or tablet’s app store. The apps we buy entertain, inform, and make us more productive. In fact, a smartphone or tablet without apps is almost as unthinkable as a television with no channels.\nSomeday, everyone – well, at least those in the IT industry – may look back at enterprise networks way and wonder: how did they ever function without an app store?\nI think that this is a vast over-simplification, and it is somewhat ridiculous to compare the complexities of an Enterprise network with a mobile phone. My phone provides communications and connectivity for me, and me alone. If it breaks, I\u0026rsquo;m the one that\u0026rsquo;s affected. An Enterprise network provides communications and connectivity for an entire business. If it\u0026rsquo;s broken, the entire business might be affected, and if it\u0026rsquo;s bad enough, large amounts of money will be lost.\nThis far greater responsibility means that we apply far more diligence to how we design our networks, and in future, to the applications we will run on them. We don\u0026rsquo;t just randomly try applications because it\u0026rsquo;s so easy to install them \u0026ldquo;Look, just one click!\u0026rdquo; These are not \u0026ldquo;fart apps\u0026rdquo; we\u0026rsquo;re installing. SDN applications have the potential to radically alter the way our network works. So we\u0026rsquo;re going to carefully evaluate them, roll them out in stages, and ensure our network integrity is not compromised. This sort of analysis and testing takes time, and the actual procurement of applications is only one part of the overall project.\nOur networks are far more complex than phones, with entire businesses dependent upon them, and they should not be belittled and compared to a phone or tablet.\nNote: Disclaimer: I attended HP Discover in Barcelona, December 2013, as a guest of HP. They paid for my flights, accommodation, and food. They did not ask me to write anything, nor did they compensate me. ","permalink":"https://lkhill.com/sdn-app-stores/","summary":"\u003cp\u003eI\u0026rsquo;ve been thinking a lot about HP\u0026rsquo;s SDN App Store approach. In case you missed it, HP\u0026rsquo;s vision is to deliver an App Store for SDN applications, similar to Apple\u0026rsquo;s App Store. They want to have all SDN applications available in one place, with centralised purchasing and distribution. It will include both HP and 3rd Party-developed applications. \u003ca href=\"http://h17007.www1.hp.com/us/en/networking/solutions/technology/sdn/index.aspx#tab=TAB4\"\u003eHP says:\u003c/a\u003e\u003c/p\u003e","title":"SDN App Stores - My Network is not a Phone"},{"content":"We needed a hosting provider that could deliver a platform to run a Virtual Appliance on. The issue was that we needed a reasonably high level of RAM, and we really wanted something based in New Zealand. Most IaaS providers are quite expensive if you want a high memory instance, and/or something that will run 24/7. We worked out that the most cost-effective option was to lease a server, install ESXi on it, then run our virtual appliance on that.\nFirst Attempt - Leased Server We found a local provider, SiteHost, that offers a range of hosting options, including website hosting, VPS, and dedicated servers. We signed up for a dedicated server, and set about installing ESXi. But we struck a compatibility issue with that specific hardware. At this point, SiteHost could have said “Tough. Not our fault.” But they didn’t.\nSecond Attempt - Xen VM They instead offered to install our Virtual Appliance (which is CentOS-based) on a Xen Hypervisor they manage. Normally they offer Windows or Linux-based VMs, not custom images. But the key is that they wanted to help, and to find a way to make it work for us.\nThis got the appliance up and running, and looking good…until our software support provider said “Nope, we won’t support that VM running on Xen. Has to be VMware.” Even though you and I know full well that hypervisor is a commodity these days. Back to the drawing board.\nThird Time Lucky SiteHost stuck with us, and procured a new physical server, this time from a different supplier to what they normally use, but one we knew would work with ESXi. Eventually, this did the trick, and we were up and running.\nLearnings You can’t always be the biggest, or the cheapest. You need to find a way to differentiate yourself. One way of doing that is by working with your customers to help them solve their problems. Amazon would have looked at the size of our account, and just said “Meh.” If our software didn’t work in their environment, tough luck for us. But SiteHost stuck with us, and persevered until we had a solution. They didn’t get hung up on what their “official” service offering was. Instead they did their best to find a way to make things work. That’s a great way to differentiate yourself, and retain customers.\n","permalink":"https://lkhill.com/sitehost-service/","summary":"\u003cp\u003eWe needed a hosting provider that could deliver a platform to run a Virtual Appliance on. The issue was that we needed a reasonably high level of RAM, and we really wanted something based in New Zealand. Most IaaS providers are quite expensive if you want a high memory instance, and/or something that will run 24/7. We worked out that the most cost-effective option was to lease a server, install ESXi on it, then run our virtual appliance on that.\u003c/p\u003e","title":"SiteHost - Top-Notch Service"},{"content":"HP is discontinuing support for HP Route Analytics Management Software, aka RAMS. RAMS is an extremely powerful system for managing large networks, but it always struggled to fit in with the rest of the HP Software suite.\nTraditional network monitoring systems poll a network via SNMP, and maybe collect data via NetFlow. They then try to build up a picture of the network through the data polled via SNMP - CDP neighbours, ARP caches, routing tables, etc. RAMS takes a different approach, and inserts itself into the network. It acts as a BGP peer, and OSPF/EIGRP/IS-IS neighbour. It then has full visibility of the network topology, and sees all routing topology changes. This lets you build up a much more accurate picture of the network topology, and lets you replay routing changes to see how the network behaved during an outage. You can then take that a step further, and perform network modelling, and \u0026ldquo;What if?\u0026rdquo; scenarios. It can identify single points of failure, and plot paths between sources and destinations. Awesome power.\nRAMS was licensed to HP Software from Packet Design. HP integrated it with Network Node Manager, providing cross-launching, alert integration, etc. But no more - that relationship has ended, and customers who want the product can deal directly with Packet Design. Existing customers will be able to transition their support agreements across.\nThe official notification is here, with a Customer Letter and FAQ. Key dates:\nSeptember 28, 2013: Product discontinuance announced November 25, 2013: End of sale October 31, 2016: End of support\nI believe that the reason for this relationship ending is that RAMS really requires a Network Engineer to sell/install/configure it, as opposed to Management Software Consultants. Most engineers that approach it from the NMS side can handle the level of networking knowledge required for SNMP monitoring, but once you start talking about OSPF + BGP, it becomes a specialised skill, and management software people just don\u0026rsquo;t get it.\nHP\u0026rsquo;s website still lists RAMS as an add-on for NNMi, but don\u0026rsquo;t you believe it. If you need that functionality, go direct to Packet Design.\n","permalink":"https://lkhill.com/hp-rams-ending/","summary":"\u003cp\u003eHP is discontinuing support for HP Route Analytics Management Software, aka RAMS. RAMS is an extremely powerful system for managing large networks, but it always struggled to fit in with the rest of the HP Software suite.\u003c/p\u003e","title":"HP-RAMS Relationship Ending"},{"content":"I\u0026rsquo;ve recently been asked about using IMC to backup newer Cisco devices, such as the 4500X, or 3850. HP has not yet validated the backup process for these devices, so it\u0026rsquo;s not officially supported by IMC. But you and I know that a backup for a new IOS-based device looks pretty much the same as an older one, so surely we can just tell IMC to re-use the same backup scripts it already has?\nSure can. It\u0026rsquo;s a reasonably easy 4-step process:\nFind the sysObjectID for your device Ensure IMC has the Device Series + Model definition added to the GUI Update the Cisco adapter-index.xml file. Synchronise the device Then re-run the backup, and fingers crossed, it should work.\nHere\u0026rsquo;s how:\nFinding the sysObjectID All SNMP-capable devices respond to a request for their sysObjectID with a code that should identify that specific switch model. If you\u0026rsquo;ve already added the device to IMC, just go to the Device Details page for that device, and look for the sysOID field - it should look something like 1.3.6.1.4.1.11.2.3.7.11.86 Alternatively, if you have the net-snmp tools installed, you can retrieve it with snmpget -v2c -c X.X.X.X system.sysObjectID.0\nIMC will use this string to map the correct backup adapter.\nAdd the Device Series/Model You may have found your device is listed as something like \u0026ldquo;Cisco Generic Switch.\u0026rdquo; If it does not appear correctly in IMC, go to System -\u0026gt; Resource Management -\u0026gt; Device Series. Try doing a partial-match search for the series name - e.g. if you\u0026rsquo;re trying to get a Cisco 3850 added, you might look for \u0026ldquo;3850.\u0026rdquo; If the right series is already defined, go straight to adding the new model. Otherwise, click \u0026ldquo;Add\u0026rdquo; and set the Series Name and Vendor as required. In this case, you might add \u0026ldquo;Cisco Catalyst 3850\u0026rdquo;\nThen go to System -\u0026gt; Resource Management -\u0026gt; Device Model. Now we can add the individual models - e.g. 3850-48P-S, 3850-24P-S, etc. For each model you want to add, click Add, and fill in the necessary details. You can either paste in the sysOID, or click \u0026ldquo;Query Device\u0026rdquo; and you can get IMC to fill in the details from a device already added to IMC. Don\u0026rsquo;t forget to set the Category to something appropriate.\nIf you\u0026rsquo;re adding support for the Cisco 3850, you might add these four models:\nCisco 3850-48P-E Switch - 1.3.6.1.4.1.9.1.1641 Cisco 3850-24P-E Switch - 1.3.6.1.4.1.9.1.1642 Cisco 3850-48P-S Switch - 1.3.6.1.4.1.9.1.1643 Cisco 3850-24P-S Switch - 1.3.6.1.4.1.9.1.1644 So far this is mostly cosmetic. Now we\u0026rsquo;re going to tell IMC which adapter to use.\nUpdate Cisco/adapter-index.xml Login to your IMC server via RDP or SSH, and go to [IMC Dir]/server/conf/adapters/Cisco/. Edit adapter-index.xml. Look for this section:\n1 2 3 4 5 6 7 8 \u0026lt;adapter name=\u0026#34;CiscoIOSL3Switch\u0026#34;\u0026gt; \u0026lt;description\u0026gt;Cisco switches, Catalyst 2950, 2970, 3550, 3750 and 8500 series, IOS version 12.x\u0026lt;/description\u0026gt; \u0026lt;sysoid\u0026gt;1.3.6.1.4.1.9.1.368\u0026lt;/sysoid\u0026gt; \u0026lt;sysoid\u0026gt;1.3.6.1.4.1.9.1.367\u0026lt;/sysoid\u0026gt; \u0026lt;sysoid\u0026gt;1.3.6.1.4.1.9.1.431\u0026lt;/sysoid\u0026gt; \u0026lt;sysoid\u0026gt;1.3.6.1.4.1.9.1.366\u0026lt;/sysoid\u0026gt; \u0026lt;sysoid\u0026gt;1.3.6.1.4.1.9.1.452\u0026lt;/sysoid\u0026gt; ... This section continues on, listing all the supported devices. Go to the end of that section, and just before it closes, add new lines with your new sysOIDs. Save and close the file, and restart IMC. IMC usually needs a restart if you\u0026rsquo;re changing XML files.\nSynchronize the Device IMC may have cached the wrong backup adapter for your device. From the Device Details page, click on \u0026ldquo;Synchronize\u0026rdquo;. Amongst other things, this will tell IMC to re-check which backup adapter should be used. You will need to do this for all examples of the device that were added to IMC before you changed adapter-index.xml. Bulk synchronization can be done from either a Device View, or with the results of a search. Select all devices to update, then click Synchronize.\nRe-run the backup Run the backup manually, and wait for it to complete. All going well, it should now complete successfully. If not, you\u0026rsquo;ll need to dig into the logs to find out why.\nI have uploaded a copy of adapter-index.xml to GitHub that includes support for 2960S switches. If you have any other sysOIDs that you\u0026rsquo;ve tested out, let me know and I\u0026rsquo;ll merge the changes.\nOf course, this is not supported by HP. On the odd chance that the Cisco device needs a different backup script, we can probably work around that too. You might need to figure that bit out yourself (or pay for my time :D).\nWarning: Note: these changes may be lost when you upgrade IMC. Take a backup of adapter-index.xml beforehand, and manually merge your changes. Future upgrades will probably add the necessary sysOIDs anyway. ","permalink":"https://lkhill.com/help-imc-doesnt-support-my-new-cisco-switch/","summary":"\u003cp\u003eI\u0026rsquo;ve recently been asked about using IMC to backup newer Cisco devices, such as the 4500X, or 3850. HP has not yet validated the backup process for these devices, so it\u0026rsquo;s not officially supported by IMC. But you and I know that a backup for a new IOS-based device looks pretty much the same as an older one, so surely we can just tell IMC to re-use the same backup scripts it already has?\u003c/p\u003e","title":"Help: IMC Doesn't Support My New Cisco Switch!"},{"content":" This article is Part 5 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - CCIE Preparation: Lab Equipment Part 5 - This Article Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - You can\u0026#39;t put the future on hold If you’re starting down the CCIE path, you’ve probably come across references to “CCIE bootcamps.” People rave about them, talking about how much they learnt, how tough they are, how “I couldn’t have done it without this course.” Is it true? I can just take a week-long course, and magically be granted CCIE status? Not so fast. This post takes a look at what bootcamps are, what you can get out of them, and whether you should take one or not.\nWhat is a Bootcamp? A bootcamp is an intensive CCIE study course, run over a short period - typically run between 1 and 2 weeks. It is heavily focused towards lab preparation. An instructor will work with a class of 15–20 students, usually for 10–12 hours per day. You’ll have a mix of lectures and lab exercises, and usually no PowerPoint - just whiteboards and consoles.\nThe exact mix of topics will vary, based upon student requirements and course length. Shorter (~1 week) courses will usually focus on core topics, while longer courses will cover non-core topics. There is a limit to how deep you can go - e.g. BGP might be covered in a morning, so you can’t cover every nuance.\nYou will need to already have a very solid understanding of the fundamentals - these are not introductory lectures, but are instead for refining your knowledge, and filling in the small gaps.\nDon’t expect to be spoon-fed through the course - because people are at different levels, the instructors might have a suggested list of lab exercises, and it’s up to you how much you do. You might stay up into the night going through the lot, or you might need to spend all your time on the first few exercises. Don’t expect to have someone marking your homework - but there will be all the help you need, if you ask for it.\nCourses are run often across North America, sometimes in Europe, and infrequently elsewhere. As far as I can tell, Narbik (Micronics) is the only one running courses in the Southern Hemisphere (usually in Sydney, Australia).\nWho runs them? Most reputable CCIE training companies offer bootcamps. Examples are INE, IPExpert, and Micronics Training. The last one is run by Narbik Kocharians, something of a legend in the CCIE training industry. He has his own inimitable style, and I guarantee you’ll enjoy it if you do attend his bootcamp.\nAll the reputable companies have high-quality instructors and courses. They all have their own unique styles, and I recommend seeking out reviews and sample videos, so you can check that their style suits you. Most will be happy for you to sit in on a course for an hour or two, to see how it works. This is a great option if bootcamps run in your hometown. You need to figure out what works for you - we’re all different.\nA word of warning though - there are some extremely dodgy outfits offering cheap CCIE training in developing countries. Make sure you do your research on them before handing over cash - many are just using brain-dumps, and/or ripping off other vendors’ material. Search hard for genuine reviews first.\nWhat Will I Get Out of One? Firstly, you’ll either get a big confidence boost if you’re almost ready, or you’ll get a huge kick up the backside if you’re still a long way off.\nYou’ll finish the course tired but buzzing. If you’ve been spending your time studying alone, it is such a change to be in a classroom full of people who are committed to CCIE like you are. Because the people in the room are committing so much personal time and money towards this goal, there is a very different energy to that seen on normal training courses. You’ll tap into that energy, and surprise yourself with how late into the night you’ll want to work on OSPF problems.\nThe bootcamp should have solidified your understanding of all core topics, and probably a few other areas. You should have moved ahead far more in that week than you would in a month of regular studies. You will have had a chance to talk through problem areas with the instructor and other students, and probably had a few light-bulb moments.\nLong days and nights will also highlight how you cope under pressure - do you fall to pieces, or can you keep it together?\nWhat Won’t I Get Out of It? The bootcamp alone won’t make you a CCIE. If you haven’t devoted the time to building a solid foundation through reading, labs, and more reading, then a short course isn’t going to change it overnight. You can’t slap a few walls and a roof on top of a weak foundation.\nA week (or two) is not enough to build up the sheer configuration typing speed either - you will still need hundreds of hours of hands-on time at the console before you are ready to become a CCIE.\nDon’t expect to be able to cover all areas either - there’s just too much content. That said, if you have specific areas you need covered, make sure you let the instructor know - they will be able to help.\nWhen in my studies should I attend one? Go late in your studies, not far out from your lab. You want to be able to take in as much as possible, but still have time to fix weak areas. Go too soon, and it will mostly be over your head. Go too late, and you may realise you don’t have enough time to fix your weak areas. Aim for around 6–8 weeks out from your lab. If you have multiple major areas to work on between the bootcamp and the lab, you probably weren’t going to be ready anyway. You should have a good idea of what your weak areas are before attending the bootcamp, and there should really only be 2 or 3 of them. If you can\u0026rsquo;t name your weak areas, it\u0026rsquo;s probably too soon.\nNote: Many training vendors now offer you the option to re-attend the course in future, for only the cost of equipment access. This changes the equation slightly - you might want to go after say 6 months of study, then again closer to your lab date. This is probably only an option for those in North America where there are many classes run year-round. If you\u0026rsquo;ve got to travel a long way, you don\u0026rsquo;t want to do that too often - you\u0026rsquo;ve got lab trips to pay for.\nIs it a must-do? No, no it’s not. I highly recommend attending one if you’ve got the time and money, but don’t stress too much about it - plenty of people pass without attending bootcamps. You don’t need to attend a bootcamp to pass the lab. It can certainly help, but it doesn’t work miracles. You have to work bloody hard no matter what. A bootcamp can help by giving you access to excellent instructors, and forcing you to focus on nothing but CCIE studies for a week. But you could always stay at home, take the week off work, lock yourself in a room and study 16 hours a day - that’s pretty effective too!\nThis is where your personal style comes into play - some people learn best when they are left alone to study things on their own, while others really need the stimulus of a classroom environment. It’s another case where everyone walks a different road to CCIE - you just need to figure out which way is right for you.\n","permalink":"https://lkhill.com/ccie-preparation-bootcamps/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 5\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: Bootcamps"},{"content":" This article is Part 4 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - This Article Part 5 - CCIE Preparation: Bootcamps Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - You can\u0026#39;t put the future on hold CCIE study requires a large amount of hands-on practice, to gain the configuration speed needed for the lab exam. So the question is: Where and how do I gain that hands-on time? That then leads into: What are these topologies people talk about? GNS3 vs rack rentals vs buying my own equipment - which one should I do? And what are rack rentals anyway?\nThese are all common questions for people starting out on the CCIE path. Let’s go through the options, and see why I usually recommend rack rentals.\nTopologies First a word on topologies. You will hear people talk about the “INE topology,” the “IPExpert topology,” “Narbik’s topology,” etc. The different training vendors have each developed their own base physical topology for a group of routers and switches. All of their workbooks and exercises will assume you have that topology. Usually there will be around 6 routers and 4 switches, plus 3 Backbone routers. Backbone routers act like third-party systems: You can peer with them and exchange routes, but you can’t login to those systems. The real lab uses 1841 and 3825 routers, and 3560 switches, but specific models will vary amongst vendors, as they try to keep costs down.\nThere will be many cables interconnecting the switches, and the routers will all have multiple Ethernet and Serial interconnections. The beauty of this setup is that all kinds of logical topologies can be created without needing to re-cable the rack. By choosing which ports you enable, and which VLANs you use, you can create a variety of logical topologies. You never touch the cables once they’re in place. When working on a focused lab, you may only use a few devices, ignoring the rest. If you’re working on a full-scale lab, there will usually be an initial configuration loaded that establishes the logical topology. Note that backbone router configurations NEVER change - this will mean that they are often advertising many different routes via different protocols, but you will only use some of them in each lab.\nThis is identical to the way the real CCIE lab operates - there is a fixed physical topology, with many logical topologies. Many candidates struggle with this at first, as they are used to networks where the logical and physical layouts are more closely aligned. They also don’t quite get it that you can run a lot of cables, but if you don’t enable those ports, then you can just pretend they’re not there.\nHere’s an example of the INE physical topology:\nINE LAN Topology\nINE WAN Topology\nIf you have enough routers, you can actually re-cable your rack to switch between the different vendors. Because they all use slightly different models and linecards, the interface names will change slightly. No big deal though, a simple bit of sed and awk will update your initial configurations. Or Find/Replace if you’re lacking in Unix skills.\nNote that all racks will also have a console server, for console access to all devices. This is the only practical way to access devices where you are configuring all network-related settings.\nReal Equipment Every aspiring CCIE would like to have their own equipment. A rack full of kit, that they can use whenever they like, full access, no waiting, no latency, complete control. Sounds very cool, but it comes at a cost of both time and money.\nMost students have a limited budget, so they start looking for second-hand equipment, and try to figure out what older equipment can be substituted - e.g. Using some 2621XMs instead of 1841s, or swapping two of the 3560s for 3550s. There are trade-offs in doing this - the key is in trying to figure out how much it matters. If you try to use really old equipment, it can’t run the right IOS (12.4(15)T), or may not have the right feature set - e.g. all switches must be L3-capable. If it’s only a few small differences in features, don’t worry too much - just use rack rentals for those specific features, such as QoS on 3560s.\nThere are several problems with running your own rack of gear:\nIt can be time-consuming and expensive tracking down and assembling all required equipment. If you live in somewhere like New Zealand, there’s not a lot of suitable second-hand equipment available. You have to pay for the power to run this gear, and maybe extra cooling. You will probably want to get a web-accessible power switch so you can shut it down when not in use. Don’t forget about noise and space too - your partner will probably not want a half-rack of gear in the bedroom. Lab version changes may make your gear obsolete, particularly if you’re already running older equipment. This will significantly drop the resale value. Don’t pay much for anything that can’t run IOS 15.x - the next lab version will need 15.x. Loading initial configurations, saving and restoring sessions and rebooting devices can be time-consuming. You should develop/steal some scripts to manage this, but this may be challenging, depending on your background. Because of these issues, I generally don’t recommend buying your own gear. The only circumstances where it makes sense is if your employer has a lot of spare equipment, and rack space to run it, or if you have very poor/non-existent Internet connectivity.\nGNS3 GNS3 is software for Windows, Mac and Linux that offers hardware emulation of Cisco devices, combined with a graphical interface for interconnecting devices. You pick the device to emulate, load up a real copy of IOS, and away you go. Sounds awesome right?\nIt is - up to a point. There are a number of challenges:\nNot all devices can be emulated, especially newer hardware. This will cause problems in future when 15.x IOS versions are required. You need to get your own copy of IOS from somewhere. Emulation is hardware-intensive. You will need a reasonably powerful system to emulate a large topology. Many people use a dedicated high-end desktop system for this, and connect to it from their laptop. Switching requires specific hardware, and can’t be done directly in GNS3. You can do basic switching tasks, but not QoS. Some features like Multicast and NTP are unreliable, leading to much hair-pulling as you try to debug your config, only to find your config is fine. You can mix GNS3 and real switches, using a “breakout” switch. Under this model, you could use 4 x 3560 switches and 1 x 3750, and you can map the virtual routers to the real switches. This lets you create more realistic topologies, without having to invest in real routers.\nIt is easy to spend a lot of time configuring your hardware and tuning GNS3 to work just right. Because of this, I don’t recommend GNS3 for anything complex. If you are determined to follow this approach, make sure you look at some of the great tutorials out there on setting this up - there’s plenty of other people who have already figured out what does and doesn’t work. Don’t forget that you don’t have to have everything working perfectly - you can always use rack rentals for those features you can’t test on GNS3.\nIOU/VIRL/CML Cisco has been using IOU (IOS On Unix) for the CCIE Lab Troubleshooting section for several years. This is IOS compiled to run under Linux or Solaris. This is NOT the same as GNS3, which is emulating hardware. Because it’s not emulated, it requires far fewer resources, and you can easily run 10 instances in under 1GB of RAM, with no significant CPU impact. These instances can be connected to each other, to form complex topologies.\nCisco offers access to IOU running on their systems, at a price. There are also unsanctioned copies of IOU available if you know where to look. There are Layer-2 and Layer-3 images available, although the Layer-2 images do not work well.\nIn future this will change, with Cisco working on CML, aka VIRL, which will offer a fully sanctioned method of running IOU. Depending on the exact feature set that Cisco releases, VIRL may replace GNS3, and could come to dominate the CCIE study market.\nCurrently, IOU is a good choice for practising all non-switching related tasks, as it can be quickly spun up in a Linux VM. It cannot do everything, and any time a bug is suspected, you should switch to real hardware, rather than wasting time. But it’s perfect for a quick BGP + EIGRP over Frame Relay test.\nRack Rentals Many companies offer online access to a rack of equipment. You buy access in blocks of time. Some vendors sell access by the hour (INE), others in 4 hour blocks (IPexpert), some by the month (Narbik). During your scheduled time, you have complete control over a pod of equipment. You will get console access to all systems, and generally you’ll be able to control the power too. Good vendors will also include configuration management tools, to load a lab’s initial configuration, to automatically save all your configs, and to restore from previous sessions.\nYou don’t need to worry about power, hardware failures, Cisco support contracts, finding the right IOS, or anything - it’s all taken care of for you. You just buy access as you need it. Cloud computing for CCIE candidates.\nWhere the rack rentals are associated with a training vendor, the topology will match that in their workbooks. Where the rack rentals are not associated with a specific training vendor, they will tell you what sort of topologies they can offer - some may have more than one option.\nPricing has been steadily falling for rack rentals. Current pricing:\nINE - $4USD per hour, or as low as $3.18USD per hour if buying large blocks. Racks available in 30-minute increments. IPExpert - $15USD for a 4-hour block, dropping to $10USD for 4-hour blocks if buying in bulk. Narbik - $400USD/month, dropping to $300USD/month for bootcamp \u0026amp; workbook customers purchasing 3 months or more. Note that here you get dedicated access for the entire month, 24/7. If you use rack rentals, then you will not waste any time setting up or configuring equipment, or debugging GNS3/IOU issues. You will be able to just dive straight into learning whatever core technology it is that you’re studying that day. No wasted effort == maximum study value.\nPrevious limitations to rack rentals were the sizes of the blocks you had to buy, and availability. INE used to have 6-hour blocks, with variable pricing based upon demand. These blocks didn\u0026rsquo;t always work for your timezone. There were also issues with extremely limited rack availability when large bootcamps were running. Could cause unnecessary stress if your lab date was rapidly approaching. These issues are now mostly resolved, with more racks, and smaller blocks of time.\nBecause rack rentals let you maximise the utility of your study time, I now recommend that candidates use this as their primary means of practising hands-on configuration. It is a very cost-effective solution, with the least distraction. A few clicks to load up your desired config, and start labbing!\nConclusion Remember: Your goal is to become a CCIE. Remove all distractions, and focus on your core goal. Your study time is limited - make the most of it. Time spent learning the intricacies of GNS3 is time that would be better spent learning the intricacies of OSPF. Time spent pasting configurations into 10 devices is time better spent writing configurations. So use GNS3/IOU if you need to, but only for simple setups, and technology-focused labs. Use rack rentals for all full-scale labs and hardware-specific features. If you ever run into anything that might be a GNS3/IOU issue, spend no more than 10 minutes on it before moving to real equipment.\n","permalink":"https://lkhill.com/ccie-preparation-lab-equipment/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 4\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: Lab Equipment"},{"content":" This article is Part 3 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - This Article Part 4 - CCIE Preparation: Lab Equipment Part 5 - CCIE Preparation: Bootcamps Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - You can\u0026#39;t put the future on hold Choosing a training vendor is a key decision to make early on in your CCIE studies. Who/what are they, what do they offer, and why do they exist? It’s not cheap if you’re paying for it yourself, so you want to know what you’re getting into. This post runs through what the training vendors offer, and some recommendations.\nHistory Cisco has only recently begun to offer official CCIE training, through the Cisco 360 program. But the CCIE certification has been around for 20+ years, so there was a gap in the market. Enterprising outfits developed their own training programs, outside of official Cisco channels. These have been refined over 10+ years, with thousands of successful candidates validating their methods. With the advent of an official program, there has been a split - some companies resell the official program, while others continue to refine and develop their own programs. These companies outside of Cisco 360 are sometimes referred to as “grey market.” Don’t worry about that though - there is no compulsory training program for the CCIE. It doesn’t have any support implications like buying grey market hardware!\nServices \u0026amp; Products Offered The exact mix of products and services will vary by training vendor. Generally they will offer most of these:\nWorkbooks: Extensive books of lab exercises, covering not just sample questions, but also a detailed breakdown of the solution, the technologies, solution verification, and alternative answers. Almost all technologies in the blueprint are covered here. Most vendors have multiple workbooks, each with their own structure/focus - e.g. INE Volume 1 focuses on individual technologies, while Volume 2 has multi-protocol labs. You will usually want to buy the whole set of books offered by the vendor. These form the backbone of your studies. Video Courses: Online or downloadable video courses where an instructor works through most of the technologies on the CCIE blueprint, explaining them with the aid of diagrams and configuration/debugs on real lab gear. Great for getting a handle on the technologies, but do not expect to watch a few videos and become an expert. These go reasonably deep, but they’re still only just getting you started. Audio Courses: Similar to the video courses, but without pictures. These are designed to work without the video, although you do lose a bit with no diagrams. Helpful for filling in those long drives, and retaining information. Rack Rentals: Most vendors will offer access to “pods” of equipment, cabled to match their workbooks. You can rent these in blocks of time, for practising lab scenarios. Bootcamps: Intensive training courses, run over 1–2 weeks, with 20–30 students. These are ideal for late in your preparation, when you need a final push. More on these in a future post. Forums/Mailing Lists: Some vendors run free forums or mailing lists - e.g. ieoc.com is associated with INE, while onlinestudylist.com is associated with IPExpert. You should hang around those forums for general study questions/answers, and help with specific lab exercises. Mock Labs: These are practice exams that aim to simulate lab conditions. You will have a fixed time window to complete the lab, and it will be marked at the end. Grading is done either completely automatically, or via a combination of automatic scripting and manual review. These are an excellent tool for gauging your progress. Recommended Vendors I have some experience with these vendors - they are not the only ones around, but they are all solid, reputable companies. I believe they are all honestly trying their best to help you pass the CCIE lab, although they all take slightly different approaches. I’m not paid anything by these companies - quite the opposite, as I have paid my own hard-earned money for their services.\nINE: Possibly the largest grey market vendor. Offers the full range of workbooks, videos, bootcamps, mock labs, etc. Top quality resources, with excellent instructors that often help out on forums and mailing lists. They have many good promotions offering bundled materials with great discounts and add-ons. Very visible, very well-known. IPExpert: IPExpert is very similar to INE - they have the full range of offerings, they’ve been around a while, and they’re always working hard to improve things. Instructors like @icemarkom are particularly active on Twitter, mailing lists, etc., and will do whatever they can to help you. IPExpert is in intense competition with INE. The competition has sometimes been a little big ugly, but it has led to great deals for students. Cisco 360: This is the “official” Cisco CCIE training program. It comprises workbooks, training videos, study manuals, mock labs, and boot camps. It was developed by third parties, in conjunction with Cisco. Somewhat confusingly, elements of the program are sold by both Cisco and official training partners. It is priced in a similar manner to Cisco equipment - i.e. reassuringly expensive. I’m not convinced of the quality of their workbooks \u0026amp; study guides, but their Mock Labs are excellent, if you can afford them. They have a similar Troubleshooting setup to the real lab, and the automated grading is brutal. Micronics: Micronics offers workbooks, bootcamps, and rack rentals. They also re-sell Cisco 360 Mock Labs. Narbik Kocharians is a legend in the CCIE training industry, and delivers a unique bootcamp experience. I particularly enjoyed this bootcamp, and the accompanying workbooks. The workbooks are primarily technology-focused, rather than multi-protocol labs. Note the workbooks are included for free if you attend the bootcamp. Routing-Bits: This is a little different - Ruhann offers a PDF set of notes for CCIE. These cover all topics, in study note format. It’s currently around 400 pages of content. Load it up on the iPad, and flip through it any time you get a chance. Highly recommended. Pay attention to the product formats that are offered. Some vendors offer their materials in “open” formats that can be downloaded, stored, viewed on any device, etc. You can even get printed versions, but you should not use these. Get used to viewing it on-screen. Others use tools such as LockLizard to restrict access to the content. I’m not going to get into whether this is good or bad, but if it is a concern for you, make sure you find out in advance what formats the materials are in. Also feel free to ask for a sample - you’re going to spend a lot of money on this, so make sure you like the style. Vendors are happy to help with this. Watch out for promotions too - you can get some tremendous deals. Check vendor Facebook pages and Twitter feeds.\nI have seen other, less reputable firms that offer “Real Labs!” and “Guaranteed Pass!” This is just cheating. The firms listed above do not indulge in or condone that behaviour, and you should steer clear of it too.\nStick with One, or Mix it up? Is it enough to just use one vendor, and follow through all their materials? Or should you get materials from more than one vendor? My recommendation here is to have one primary vendor, and mainly follow their workbooks and videos. This gives you consistency, and hopefully means you don’t miss anything. But if you can afford it, add in one or two items from other vendors, to mix things up and avoid complacency.\nIt’s particularly useful to try a couple of Mock Labs from another vendor. If you’ve been working through workbooks from one vendor, you get used to the physical topology, and a certain style of questioning. Doing a Mock Lab from another vendor will shake you up a bit. That can help reduce some exam stress.\nNo Silver Bullet No training vendor will hand you a CCIE on a plate. But selecting a reputable vendor, and following their “system” will give your studies much-needed structure, and help bring it together. In theory, you can pass with just the Cisco documentation, but if you can in any way afford it, invest in at least the workbooks. You still have to work bloody hard though.\n","permalink":"https://lkhill.com/ccie-preparation-vendors/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 3\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: Vendors and Workbooks"},{"content":" This article is Part 2 in a 7-Part Series. Part 1 - CCIE Preparation: Commitment Part 2 - This Article Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - CCIE Preparation: Lab Equipment Part 5 - CCIE Preparation: Bootcamps Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - You can\u0026#39;t put the future on hold Once you’ve figured out why you want to become a CCIE, and you’ve made that commitment, you need to figure out HOW you’re going to go about it. This post covers some practical aspects, such as study processes, and how to schedule your time.\nTheory and Application - Written and Lab There are two parts to passing the CCIE: The written exam, and the practical (lab) exam. The written exam is not a certification in itself. It is simply your entry ticket to allow you to book a lab exam. The blueprint for the written and practical exams are very similar, but the written is more a multi-choice exam, and requires more theoretical than practical knowledge. You need to first pass the written exam, and then you have up to 18 months to sit the practical exam (sit, not necessarily pass). You get another 12 months to attempt the exam after each failure, up to a maximum of 3 years, at which point you must re-sit the written exam.\nSince the clock starts ticking once you’ve passed the written, many people ask:\nShould I clear the written early on in my studies, or should I leave it until late in my studies? After all, if the content is similar, then it should be easy to pass the written late in my studies, right?\nThere’s no right answer to that. My personal approach was to spend a lot of time working on foundational theory knowledge, reading a lot of books, and then pass the written exam, before going deep into practical studies. You may prefer to use practical studies to help solidify your foundational knowledge, but whatever you do, do NOT skimp on the foundational reading. Do NOT just jump straight into configuration. You will struggle for a long time if you do that.\nOne key point: If you are nearing the end of 18 months after passing the written, but you’re not ready for the lab, then don’t go and sit the lab just to extend your window. It’s a lot cheaper to just sit the written again.\nStudy Processes How do I actually study? There are many people who never learnt how to properly study at school, either because they didn’t care about school, or because they were smart enough that the exact process didn’t matter. At this level you need to think about HOW you will study, and what techniques work for you. We all have different learning styles, so your exact approach will be different to mine. Knowing your own learning style will be very beneficial. You may not know exactly what your style is - try to figure it out as you go through the CCIE process. Know what study methods help you retain information. Here’s what I did:\nBlueprint: Make a copy of the extended exam blueprint in a spreadsheet, and carefully go through all items, marking your current skill level. Be brutally honest. Every couple of months, go through it again, recording changes. This should show where you’re improving, and where you still need work. Reading: I read most of the recommended books early on. You don’t need to read all of them, but you definitely need to read the classics, such as Routing TCP/IP Volumes 1 \u0026amp; 2. You should also select titles in areas where you are weak - e.g. If you haven’t worked much with MPLS, you will want to do extra reading. When reading a book, I will make summarised notes as I go. I don’t usually refer back to the notes, but the act of writing it down forces me to pay attention to the book. Don’t copy everything out though, that’s just wasting time. The Cisco documentation should be referred to frequently, and should be the first place you look, not Google. There is a wealth of information available there, for free. This foundational material will set you up well for later practical work. Videos: Several training vendors offer online videos, where they walk through topics, usually with a mix of slides, whiteboards and real equipment. Personally I find this learning method doesn’t work very well - I drift off, and don’t properly take it in. Watching them once was enough. You may be different. Some people like to report how much time they spend watching videos, but I’m not convinced that’s always a useful metric. Flashcards: I started making flashcards about topics I had problems with, and referring to them frequently. There’s good software out there for doing this, and I found it useful for quick recall. Finally, labs: Everyone talks about ‘doing labs’, but you’ll notice I’ve left it to the last. Labs are practical exercises, either focused on a small group of technologies, or perhaps combining multiple protocols into one working network. There are several training vendors who provide excellent workbooks with hundreds of lab exercises. More on these in another post. Don’t rush into these without knowing your theory first. But then expect to spend hundreds of hours working through lab exercises. The key here is get value from the work you do. Don’t keep repeating things you know, and don’t just blindly copy the solutions out of the answers. Know what you’re doing, and why. You should also feel free to make up your own lab exercises, or to modify existing ones, to see what happens. You’ll learn a lot that way. One particularly useful technique when doing lab exercises is to write all of your configurations into Notepad, then paste it into the router. This gets you better with knowing the full configurations, and can save you time when you need to cut/paste into multiple routers. Scheduling Creating a study schedule is an important part of staying on track, and ensuring you manage your time effectively. You need to be thinking about what you on a day-to-day basis, and what the broader arc looks like.\nLong-term Plan CCIE preparation is usually a multi-year effort. It’s not something that you can knock off in a few months. There’s also a huge number of topics to cover, so you need to have a solid overall plan of attack. If you don’t do this, you’ll bounce around from topic to topic, and your study will be ineffective. You also need to be realistic about how long this will take. Aim for around 18 months. It could be a little more or less, but that is quite realistic for most people. Ignore those who talk about doing it in 3 months. They’re either very smart and experienced, or they’re cheating.\nI recommend putting together a spreadsheet, with one line per week, and mapping out a plan for what you expect to cover each week. This should cover the topics, reading and/or labs you plan on doing. If you have picked a training vendor, check to see what sort of schedule they recommend. I used a modified form of the INE plan. That should give you an idea of what a study plan looks like.\nDon’t forget to mark out any planned weeks off - e.g. Holidays, major work projects, etc. Also be realistic about what happens when you have to change your plans - if you lose a week or two, don’t worry too much, just reset your schedule.\nWeekly Plan Your overall long-term schedule will dictate what topics you should study in any given week. But the weekly schedule helps with structuring your daily activities. You need to work out what times are available to you, and how best to use that time. My own schedule was for 4 nights during the week, from about 7–9:30, plus one full day on Saturday. I would usually take Friday night off, and Sundays off.\nLet’s say my long-term plan had me doing INE Vol 2 full-scale multi-protocol labs this week. I would plan on spending about 8 hours on Saturday working through a lab, noting any difficulties I faced along the way. Then I would use my weekday evenings to follow up on those problematic areas. My follow-up would be a mixture of textbooks, videos, Cisco documentation, and focused labs - either from a vendor workbook, or of my own making. By the following Saturday I should be ready to take on a new full-scale lab.\nYour weekly schedule is important for your family, as it sets boundaries on when you will be available, and when you will be studying. It MUST include time off. Do NOT plan on studying all day, every day. Don’t push yourself too hard, or you’ll burn out. There’s no point staying locked up in your office all night if you’re so tired you can’t see the screen. Find out what times work for you too - for some people this is late at night after the kids are in bed, for others it’s very early in the morning while the house is still quite. Figure out what works for you, set a plan, and stick to it. If you’re realistic with your time scheduling, it’s easier to focus on your study during that allocated slot, because you know you’ve got time scheduled to read/watch TV/hang out with your wife.\nHopefully you’ve now got an idea about how to organise your study time, and what your study processes will look like. In an upcoming post we’ll look at training Vendors and Workbooks - why do they exist, and what do I get out of them?\n","permalink":"https://lkhill.com/ccie-preparation-study-scheduling/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 2\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/ccie-preparation-commitment/\"\u003eCCIE Preparation: Commitment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: Study Processes and Scheduling"},{"content":" This article is Part 1 in a 7-Part Series. Part 1 - This Article Part 2 - CCIE Preparation: Study Processes and Scheduling Part 3 - CCIE Preparation: Vendors and Workbooks Part 4 - CCIE Preparation: Lab Equipment Part 5 - CCIE Preparation: Bootcamps Part 6 - CCIE Preparation: How Deep Do I Go? Part 7 - You can\u0026#39;t put the future on hold This is the start of a new series on preparing for the CCIE lab. This will address many of the common questions would-be CCIEs have when they start out, such as study processes, training vendors, lab equipment and bootcamps. Hopefully it will also prevent a few of the time-wasting mistakes candidates make.\nBefore getting into the nuts and bolts, we need to address a few key aspects that need to be sorted out first, before you ever pick up a textbook:\nPersonal Commitment and Motivation Family Support Once you have those in place, you can then go on to the technical aspects, such as study processes, training materials, lab equipment, etc.\nPersonal Commitment and Motivation It’s easy to say “I want to be a CCIE!” It’s easy to order a bunch of textbooks from Amazon. It’s slightly more hassle to buy a few switches and routers. If you’ve got a solid CCNP-level of knowledge, and 5+ years experience, it’s relatively straightforward to pass the CCIE written exam.\nBut once you start to really knuckle down into the lab study, you find that’s it actually pretty tough, and there’s an enormous amount of work involved. Suddenly you realise that it’s a multi-year effort, and hey, no-one’s forcing you to do this. You get busy at work, or things happen in your life, and so you slack off your studies. Just for a few weeks, right? Next thing you’re looking at that dusty pile of books on the shelf, and thinking “I really must get back into CCIE study.” But you’ve become just another one of the vast majority of CCIE wannabes. Most people who start out with CCIE study never even book a lab, let alone get close to passing it.\nWhy is that? I submit that it is because the decision to start was undertaken lightly, without a full evaluation of the requirements, the commitment needed, and the consequences of doing it. Before starting, sit down and take a long hard look at it. Ask yourself Why? Why do you want to do this? What are your reasons for doing it? More money? Fame and glory? There’s probably easier ways to get that. Figure out why you want to become a CCIE.\nFamily Support CCIE study can become all-consuming, taking up all your waking hours. The only way you can do this is if you have full support from those around you. You have to get them on your side, making sure they understand what it means to you. You also need to make sure that they’re not forgotten.\nI’ll write more about setting schedules later, but a schedule can really help with getting your family on side. You need to ensure that your schedule is set in conjunction with your family, and that you stick to it. By creating a schedule, your family will know when you’re studying, and when you’re available. Scheduling family time ensures that you actually do spend that time with your family, and gives your brain a much-needed change of pace.\nCCIE is not worth ruining your family relationships. It doesn’t matter if you take a bit longer to reach the end. But it does matter if it ruins your home life.\nA Few Inconvenient Truths Your study won’t go exactly to schedule. Life will get in the way. Shit will happen. You will get distracted by major projects at work, or personal crises. You have to accept that this will happen, find a way to deal with it, and get back on track once the crisis/distraction has passed.\nThere will be technologies that you hate to study. For many people, this was Frame Relay for version 4. Everyone is happy at the rumours of Frame Relay going away - but trust me, there will be technologies in version 5 that you don’t like, and you will struggle to engage with.\nYou’ll have good times, and you’ll have tough times. Having a solid understanding of why you’re doing this, and a solid personal commitment will help you get over the tough times, and push through. In the next few posts we’ll deal with more technical matters.\n","permalink":"https://lkhill.com/ccie-preparation-commitment/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 1\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/ccie-preparation-study-scheduling/\"\u003eCCIE Preparation: Study Processes and Scheduling\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/ccie-preparation-vendors/\"\u003eCCIE Preparation: Vendors and Workbooks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/ccie-preparation-lab-equipment/\"\u003eCCIE Preparation: Lab Equipment\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/ccie-preparation-bootcamps/\"\u003eCCIE Preparation: Bootcamps\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/ccie-preparation-how-deep/\"\u003eCCIE Preparation: How Deep Do I Go?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/you-cant-put-the-future-on-hold/\"\u003eYou can\u0026#39;t put the future on hold\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"CCIE Preparation: Commitment"},{"content":"ScienceLogic Dynamic Applications are policies that describe what data should be collected from managed systems, how it should be collected (SNMP, WMI, API, SQL, etc), how it should be presented, and what alerts should be created. Normally these are scheduled to run periodically, but sometimes you need to run them on an ad-hoc basis, particularly while testing new applications and systems.\nThis is done by going to the Device Properties page, then the Collections tab, and clicking the lightning bolt next to the dynamic app you want to run:\nWhen you do this, it instructs the appropriate collector to go and run that Dynamic Application, and report back the results. This might take a minute or two to run, as the database needs to connect to the relevant collector, tell it to execute the application, and wait for the results. If you have Collector Groups, the collection will be run by whichever collector is currently assigned to that device.\nThis is normally OK for simple tests, but if you need to do it a few times, or for a few different dynamic applications, it can be a little slow and annoying. Wouldn’t be faster if we could just manually run the collection directly from the collector?\nTurns out we can, by SSHing to the collector, and running:\n1 /usr/local/silo/proc/dynamic_single.py did aid This will immediately run and report the results. You need to know what the device ID is, and the ID of the specific dynamic application. These are circled in the earlier diagram.\nHere’s some example output from one of my systems:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [root@collector ~]# /usr/local/silo/proc/dynamic_single.py 368 250 Collecting for App_id: 250 from did: 368 Using credential: 50 Created an app object: AID: 250 [SNMP CONFIG] / DID: 368 Created a dev object: 368 Will use 10.1.1.1 as IP for device AID: 250 [SNMP CONFIG] / DID: 368 has 1 objects ready to collect Precollect for app returned True Oids to collect: GROUP: 1 obj_id: 2913 OID: .1.3.6.1.2.1.25.3.3.1.1 NAME: hrProcessorFrwID Starting collect collecting on object 2913. len bad_oids = 0 SNMP WALK on .1.3.6.1.2.1.25.3.3.1.1 result of walk before oid indexing: [(\u0026#39;.1.3.6.1.2.1.25.3.3.1.1.4\u0026#39;, \u0026#39;.0.0\u0026#39;), (\u0026#39;.1.3.6.1.2.1.25.3.3.1.1.5\u0026#39;, \u0026#39;.0.0\u0026#39;)] oid_result = .1.3.6.1.2.1.25.3.3.1.1.4, oid index = .4 oid_result = .1.3.6.1.2.1.25.3.3.1.1.5, oid index = .5 result of walk after oid indexing: [(\u0026#39;.4\u0026#39;, \u0026#39;.0.0\u0026#39;), (\u0026#39;.5\u0026#39;, \u0026#39;.0.0\u0026#39;)] result for object 2913: [(\u0026#39;.4\u0026#39;, \u0026#39;.0.0\u0026#39;), (\u0026#39;.5\u0026#39;, \u0026#39;.0.0\u0026#39;)] Collect took: 0.0307250022888 seconds AID: 250 [SNMP CONFIG] / DID: 368 thinks it was collected properly AID: 250 [SNMP CONFIG] / DID: 368 had 0 bad oids (out of 1): [] Original Collected index of .4 was mapped to EM7 internal instance of .4 SNMP: Original Collected index of .4 was mapped to EM7 internal instance of .4 Original Collected index of .5 was mapped to EM7 internal instance of .5 SNMP: Original Collected index of .5 was mapped to EM7 internal instance of .5 BAD OIDS: 0 ERROR MESSAGE: COLLECTED: True FOUND OBJECTS: set([2913]) Group Obj_ID Index Data Changed? Collection Time ________________________________________________________________________________ 1 2913 .4 .0.0 0 3.437ms 1 2913 .5 .0.0 0 -- processing app alerts Loaded 0 active alert policies for this app loaded app default thresholds: {} loaded device specific thresholds: {} Final alert thresholds for this collection: {} Loaded currently active alerts: {} No internal alerts (app errors). Done! [root@collector ~]# I haven’t seen any public documentation for this command, so I don’t know if there are any other options you can select when running it. Note that you have to run it from the collector that is currently assigned for that device. If you have multiple Data Collectors in a Collector Group, and try to run it from a different collector to that currently assigned, it will report back that:\n1 Device \u0026lt;X\u0026gt; is not aligned with dynamic app \u0026lt;y\u0026gt; ","permalink":"https://lkhill.com/sciencelogic-manually-running-dynamic-apps/","summary":"\u003cp\u003eScienceLogic Dynamic Applications are policies that describe what data should be collected from managed systems, how it should be collected (SNMP, WMI, API, SQL, etc), how it should be presented, and what alerts should be created. Normally these are scheduled to run periodically, but sometimes you need to run them on an ad-hoc basis, particularly while testing new applications and systems.\u003c/p\u003e","title":"ScienceLogic: Manually Running Dynamic Apps"},{"content":"Kiwicon 7 has just wrapped up in Wellington, New Zealand. Kiwicon is “New Zealand’s own Hacker Conference.” It’s a top-notch event that’s been running for 7 years now, and highly recommended for anyone in New Zealand with even a vague interest in IT Security.\nI\u0026rsquo;ve been to at least 4 editions of Kiwicon now, and I always enjoy it. There’s a wide range of quality speakers, both from New Zealand and overseas. There’s only one “track” though, which means that there’s a wide range of topics, and you can’t exactly specialise. Instead you might have a talk on low-level encryption details followed by a very high level philosophical view of finding anomalies with Big Data. No matter though, you\u0026rsquo;ll get to see a range of talks, from talented people.\nMy favourite talk was from Denis Andzakovic and Thomas Hibbert on \u0026ldquo;Enterprise\u0026rdquo; Management Software. Obviously this brings together two of my main interest areas: Security and Network Management. When an NMS only did monitoring, security was always a bit low on the agenda. After all, who really cares if other people can see your CPU stats? Maybe they can fix some of the alarms? But Network Management Systems now do more \u0026ldquo;Management\u0026rdquo; - i.e. they can make changes to the network, and they hold more data than ever. Given that level of access, you need to keep them very well-controlled. But security is a bit poor it turns out. Favourite attack was XSS via SNMP trap. I\u0026rsquo;ve often wondered about SNMP, and what would happen if I tell the NMS I\u0026rsquo;m a router, but start feeding back malicious data.\nKiwicon is not profit-driven, and is largely run by volunteers, with a bit of help from some sponsors. It’s scheduled at the weekend, and the price is low ($60NZD), so it doesn’t matter if your boss doesn’t believe in security conferences - you can just pay for it yourself, as I did. This makes it very accessible, and you get a wide range of attendees. There’s plenty of “security professionals” working for The Man in attendance, but there’s also a good mix of students, developers, system administrators, and others with an interest in security. There\u0026rsquo;s around 800 attendees these days.\nIn a nod to @EtherealMind, I do have to admit that there was a lock-picking session, and some mighty beards on display, but I somehow missed any discussions of the best martial art. There was a distinct “look” to the attendees though. Walking down the street to the venue, it was very obvious that either there was an IT Security conference happening, or there was a bogan festival in town. No need to ask if I had found the right place. A lot of black T-shirts and hoodies. I’d unintentionally worn my black hoody, so I fitted in. Well, except that I’ve got short hair and no beard.\nThe best part of Kiwicon for me is the social aspect. It\u0026rsquo;s a friendly conference, and New Zealand\u0026rsquo;s a small place, so it\u0026rsquo;s great for catching up with people I know in the industry. Coffee, lunch, dinner, drinks, whatever - you can find out what everyone\u0026rsquo;s up to. And hey, even if you\u0026rsquo;re new in this scene, people will welcome you into whatever discussion is going on. I think one late-night conversation concluded that Cisco\u0026rsquo;s \u0026ldquo;Internet of Things\u0026rdquo; may actually be a real \u0026ldquo;Thing\u0026rdquo;, and not just marketing bollocks. Who knew?\nOverall, I highly recommend Kiwicon to anyone in New Zealand with even a vague interest in security. Low cost, plenty of interesting people to meet, and a good chance to talk all sorts of technical topics - what’s not to like? Oh and a special mention for this year’s pass - a stylised \u0026ldquo;grass mud horse ear\u0026rdquo;, with an RFID ear-tag in it:\nOnly in New Zealand\n","permalink":"https://lkhill.com/kiwicon-7/","summary":"\u003cp\u003e\u003ca href=\"http://www.kiwicon.org/\"\u003eKiwicon\u003c/a\u003e 7 has just wrapped up in Wellington, New Zealand. Kiwicon is “New Zealand’s own Hacker Conference.” It’s a top-notch event that’s been running for 7 years now, and highly recommended for anyone in New Zealand with even a vague interest in IT Security.\u003c/p\u003e","title":"Kiwicon 7"},{"content":"Pricing for Enterprise IT hardware and software can be a strange process, and settling on a vendor quote is a complicated dance. Junior engineers normally are more focused on technology, and don\u0026rsquo;t see everything that goes on with pricing. When they do first get exposed to it, the whole thing can be a bit of a shock. Recently I was talking to some new engineers about some of the things I\u0026rsquo;ve learned over the years over pricing, discounts, support costs and payment models.\nList Price and Discounts You will commonly see references to software and hardware list prices. List price is a fiction, and bears little to no reality to the actual price you will pay. No-one ever pays list price. Always keep that in mind. List prices can give you an indicative idea, but vendors discount policies vary wildly - some give 20% discount up front, others can knock 90% off the list price. It\u0026rsquo;s hard to compare between vendors- the best you can hope for is to know the normal range that.\nSoftware discounts are also usually far greater than hardware, because the marginal cost of software is near $0. That means that anywhere between $0 and full list price, there\u0026rsquo;s a deal to be done. Even companies that publish prices with links to an online store will do deals - just see what happens if you sign up for a SolarWinds quote/trial, and then don\u0026rsquo;t buy it within a few weeks.\nIf you can\u0026rsquo;t find any public references to list prices, then just assume it will be expensive. If you must have multiple meetings with sales people before prices are discussed, it will be very expensive. They\u0026rsquo;ll hook you in with ideas about the \u0026lsquo;value\u0026rsquo;, softening you up for an enormous bill.\nVendors will use various tricks to make it look like they\u0026rsquo;re giving you a good deal - e.g. it may be cheaper to buy three products bundled together than to just buy the one you need. Another classic sales technique is to offer many more features and add-ons for just a small extra consideration. Of course, you never wanted those extra features, may never use them, and now you\u0026rsquo;re going to have to pay support costs for them.\nIf you balk at the initial quote, don\u0026rsquo;t throw it away, unless the price is astronomical. Go back to the vendor, and tell them it\u0026rsquo;s too high. If they\u0026rsquo;ve already invested sales effort, they\u0026rsquo;ll be keen to figure something out, especially if it\u0026rsquo;s nearing the end of the quarter. A good vendor should be able to re-work a deal, but there should be a bit of give and take. They might take out some of the extras to lower the price, or they might offer to throw in free training to improve the value. You can give them something too - e.g. say you\u0026rsquo;ll sign up for a 3-year deal, and they\u0026rsquo;ll have increased internal leverage to offer better pricing.\nOccasionally vendors will turn around and massively discount their original quote, without changing any other terms. I believe this is extremely dishonest practice, and I refuse to do business with people like that - they would have been quite happy to bank the extra commission. Any increase in discount should be nominal, unless there are significant changes to the terms of the contract.\nSupport Costs When you purchase Enterprise-level hardware and software, you usually want some sort of support attached to it. This covers things like:\nSoftware updates - access to all new versions, including major releases Hardware replacement (if relevant) - vendor commitment to provide replacement hardware within an agreed timeframe - e.g. within 4 hours 24x7, or next business day Software support - ability to log case for configuration issues, or bugs. Depending on support contract level, this can range from email ticket support through to full 24x7 phone support. Support costs are generally calculated as a percentage of the value of the software or hardware, e.g. 10-20% of the price. Customers like these support contracts, because it gives management somewhere to escalate things to if you\u0026rsquo;re having problems. For expensive hardware, it\u0026rsquo;s much cheaper to pay for a guaranteed response time to replace it, rather than holding spares yourself. For low-end hardware, it might be easier to just chuck a couple of spare switches in the cupboard.\nUsually there is a choice in the level of support offered, with corresponding price steps. There may also be variations depending on if the support is through a partner, or directly with the vendor. Note that there are also lifecycles defined for software and hardware support - beyond a specific date, vendors will either completely stop support, or charge astronomical fees. Vendors may also start increasing support costs for older hardware, as it approaches the end of its life.\nSo far, so good. The catch here is that you must pay VERY close attention to the price the support percentage is calculated on. A classic bait-and-switch is for a vendor to offer an enormous discount off the list price to entice you to buy the product. The purchase price usually includes the first year\u0026rsquo;s support too. But then you go to renew your support, and find out that they\u0026rsquo;re calculating the support percentage from the ORIGINAL LIST PRICE! I have seen scenarios where the Year 2 support cost is the same as the Capital cost outlaid in the first year! This can absolutely wreck your budgets - the project team spent their budget, and now the Operations team has a big hole in their finances. But the project was considered a success, because we put too much weight on CapEx cost, and not enough on TCO.\nVendor policies will vary here - some will discount their support costs as they discount their buy costs. Others will tell you that they have no way of discounting support costs. This might be true, but they come back in 6 months time singing a different tune, and now magically they can lower their support costs to get that deal signed off.\nPay attention. Make sure you know exactly what your costs will look like over the expected product lifecycle. You don\u0026rsquo;t want to find yourself effectively paying for the product twice within 3 years.\nPayment Options If you\u0026rsquo;re making a small purchase, then you\u0026rsquo;ll generally pay for that shortly after delivery. But if you\u0026rsquo;re doing a larger deal, or a software and services deal, vendors can give you many different payment options - e.g. you might be able to pay your support costs on a monthly basis, rather than annually. Multi-year support costs can be bundled into the up-front purchase price.\nOr you might have an agreement where license enforcement is \u0026ldquo;soft\u0026rdquo;, and you buy a set amount of licenses now, with an annual tally-up, to see if you need to pay for some extra licenses you\u0026rsquo;ve started using.\nSome large software vendors will also have plans where you pay them an enormous sum, and you can use whatever products you like from across their whole range, with whatever mix of license counts makes sense for you.\nProducts like ScienceLogic offer both perpetual and subscription-based licensing, so you can find the mix that works for your revenue streams and your accounting policies.\nIt\u0026rsquo;s all a Game Remember, this is all a game. If you\u0026rsquo;ve got money, and vendors have product, then a deal can be reached. Don\u0026rsquo;t be afraid to ask them to structure the deal differently, or add in a few extras such as free training or product add-ons. A good sales rep can actually help a lot here, as they will help you craft things in just the right way to make it acceptable to you and your upper management. But never fully trust people in sales. Their goals are not your goals, no matter what they say. Someone has to pay for their shiny suits and flashy cars.\n","permalink":"https://lkhill.com/pricing-discounts-support/","summary":"\u003cp\u003ePricing for Enterprise IT hardware and software can be a strange process, and settling on a vendor quote is a complicated dance. Junior engineers normally are more focused on technology, and don\u0026rsquo;t see everything that goes on with pricing. When they do first get exposed to it, the whole thing can be a bit of a shock. Recently I was talking to some new engineers about some of the things I\u0026rsquo;ve learned over the years over pricing, discounts, support costs and payment models.\u003c/p\u003e","title":"Pricing, Discounts and Support Costs"},{"content":"UPDATE 4/12/13 - this is now official - see https://learningnetwork.cisco.com/docs/DOC-22703. Once I\u0026rsquo;ve had a chance to digest the changes, I\u0026rsquo;ll post some thoughts.\nAn update to the CCIE Routing and Switching blueprint has been strongly rumoured over the last year, but with no official confirmation. The Cisco Live Milan program schedule has been published, and it includes this session on January 28, 2014: \u0026ldquo;CCIE Routing \u0026amp; Switching version 5\u0026rdquo;, presented by Bruno van de Werve, the CCIE R\u0026amp;S Exam Product Manager. This session:\n\u0026hellip;introduces the new curriculum of the CCIE Routing and Switching Program and highlights the changes to both the training and the exams (written and lab). The main objective of this session is to provide candidates with clear expectations of what to expect with the new training and exams.\nSo now we know that it\u0026rsquo;s coming, and soon. We don\u0026rsquo;t know the exact date, and we don\u0026rsquo;t know exactly what will be included, but INE seems to think they\u0026rsquo;ve got a pretty good idea. Key points from their post:\n100% Virtual Environment, so no reliance on specific hardware\n\u0026hellip;Frame-Relay Removed\u0026hellip;.so the lesser used features like Zone-Based Firewall, WCCP, IPv6 multicast, and PfR could be removed\u0026hellip;.\nA few of the topics we should see added are IPSec, DMVPN and Embedded Packet Capture\nOther features they think will be removed are L2 features not supported in virtual environments, such as QinQ, ISL trunks, DHCP Snooping, Private VLANs, SPAN/RSPAN/ERSPAN.\nOthers like Marko Milivojevic, an instructor at IPExpert, are more cautious, reminding us to wait for the official announcement:\nJust for the record. CCIE v5 is *not* out. It has not been announced. Don’t listen to the rumor-mill and sales pitches. Wait and see.\n\u0026mdash; Marko Milivojevic (@icemarkom) October 31, 2013 I\u0026rsquo;m inclined to agree with Marko here. If you are near the end of your studies, then by all means book a lab. But if you\u0026rsquo;re early on in your studies, don\u0026rsquo;t get too stressed. Keep working hard at the core subjects that you know will still be in the blueprint, and wait for the official announcement. When it comes, review the changes and identify any specific areas you need extra attention on. Don\u0026rsquo;t worry about which version you pass on - Cisco will be aiming for a similar pass rate, so it should be a similar difficulty level. The only people who need to worry are the cheaters, and that\u0026rsquo;s a good thing. There will be some new technologies to learn, but there will also be some you don\u0026rsquo;t have to learn any more. Swings and roundabouts. Plus hey - there\u0026rsquo;s never any trouble booking lab seats for the new version!\n","permalink":"https://lkhill.com/ccie-version-5-update/","summary":"\u003cp\u003e\u003cstrong\u003eUPDATE 4/12/13 - this is now official - see \u003ca href=\"https://learningnetwork.cisco.com/docs/DOC-22703\"\u003ehttps://learningnetwork.cisco.com/docs/DOC-22703\u003c/a\u003e. Once I\u0026rsquo;ve had a chance to digest the changes, I\u0026rsquo;ll post some thoughts.\u003c/strong\u003e\u003c/p\u003e","title":"CCIE Version 5 Update"},{"content":"When talking about \u0026ldquo;Open\u0026rdquo; in the context of technology, most people think about Open Source, Open APIs, Open documentation, etc. But there\u0026rsquo;s another facet too: being open about where your business is going, what it\u0026rsquo;s thinking about, and what it\u0026rsquo;s not going to do. Open Roadmaps, if you like. Some businesses are remarkably open, others won\u0026rsquo;t even tell you what\u0026rsquo;s happening next week.\nThe Case for Open: SolarWinds http://youtu.be/MTIzdyaAIgA\nWatching the SolarWinds presentation at Network Field Day 6, I was reminded of just how open they are about their upcoming products, their plans, where they have problems, what they want to fix/deliver, and what they won\u0026rsquo;t be doing. They won\u0026rsquo;t release full roadmaps, but they cover a lot of information about upcoming new features in their \u0026ldquo;What We Are Working On\u0026rdquo; posts on Thwack. The open discussions they have had at many Tech Field Day events give a fascinating insight into their thinking.\nAs a regular engineer, I can easily access this information, and I can use that information to decide if SolarWinds\u0026rsquo; direction aligns with where I see my company going. Of course, there are some that disagree with that direction, but that\u0026rsquo;s OK - I think it\u0026rsquo;s better to realise that early on, rather than face years of niggles, never quite getting what you want.\nThe Case for Closed: HP Note: NB I\u0026rsquo;m not specifically picking on HP here, it\u0026rsquo;s just that much of my recent experience is with HP. Plenty of other companies are difficult to deal with - e.g. Check Point HP can be very difficult to get useful future information from. A typical frustrating example is when I log a defect. My case gets accepted, and I receive notification that yes, this is a defect. Months later, I get notification to say \u0026ldquo;Your defect has been accepted, and will be reviewed for inclusion in a future release.\u0026rdquo; No indication of when that future release might come out. Within 24 hours, a full patch is released, containing a fix for my defect. I have had similar situations where a temporary hotfix was provided to me, and support said they had no idea when the next fully supported patch would be. The patch, including my fix, was released 3 days later.\nReleasing a full patch does not happen overnight for HP Software products. How much would it have hurt them to have told me about things happening more than 24 hours ahead? But they\u0026rsquo;re a big company, with too many lawyers, and too many past lawsuits. Any revenue I might represent is less than a rounding error. If I was bringing tens of millions to the table, perhaps they would be more forthcoming.\nInstead, I\u0026rsquo;m left to read the tea-leaves, and draw my own conclusions.\nWhy Not Tell? There are certainly very legitimate reasons for not telling the whole world everything. Some reasons include:\nAccounting Practices. Apparently if you tell me you\u0026rsquo;re thinking about doing something in 2 years\u0026rsquo; time, and then you don\u0026rsquo;t do it, I can sue you, and you may have to restate your earnings. Or some such nonsense, even if you told me \u0026ldquo;Hey, this is just what we\u0026rsquo;re thinking\u0026rdquo;. That\u0026rsquo;s why everyone layers themselves up in worthless NDAs before they\u0026rsquo;ll tell you anything vaguely interesting. You don\u0026rsquo;t want your competitors to know. There\u0026rsquo;s some merit in this - if you\u0026rsquo;re planning to release a \u0026ldquo;Cisco-killer\u0026rdquo; next year, then you probably don\u0026rsquo;t want to give the 800-lb gorilla a headstart on squashing you like the fly you are. Because you don\u0026rsquo;t know. I\u0026rsquo;m not entirely sure what I\u0026rsquo;m up to next week, so I can understand it if a company is struggling to narrow down where their product will be in 3 years. Pre-announcing things too soon, when you don\u0026rsquo;t have anything shipping can look pretty bad - you don\u0026rsquo;t want to bring down the wrath of Ivan. Implications for Purchasing Decisions If you\u0026rsquo;re big enough, it doesn\u0026rsquo;t matter: Almost all large vendors will open their kimonos to you, and you can make an informed decision. Hell, if you\u0026rsquo;re really big, you can change that product direction. But if you\u0026rsquo;re like most of us, it can be very difficult to find out just what the future product plans are. The problem is that you\u0026rsquo;re not just buying a product for what it can do today - you\u0026rsquo;re buying into the vendor vision for the next 5 years, and expect the product to develop along with you. Often we end up having to take a gut-feel stab at it, and hope that we\u0026rsquo;ve made the right call. No-one wants to be the guy that made the big commitment to Itanium, or Cisco MARS, or Microsoft Zune.\n","permalink":"https://lkhill.com/openness-isnt-just-about-code/","summary":"\u003cp\u003eWhen talking about \u0026ldquo;Open\u0026rdquo; in the context of technology, most people think about Open Source, Open APIs, Open documentation, etc. But there\u0026rsquo;s another facet too: being open about where your business is going, what it\u0026rsquo;s thinking about, and what it\u0026rsquo;s \u003cstrong\u003enot\u003c/strong\u003e going to do. Open Roadmaps, if you like. Some businesses are remarkably open, others won\u0026rsquo;t even tell you what\u0026rsquo;s happening next week.\u003c/p\u003e","title":"Openness Isn't Just About Code"},{"content":"Many engineers assume that product selection is as simple as finding the product with the best combination of features that still comes in under budget. Should be easy, right? Err\u0026hellip;so why did the boss over-rule me again, and insist on buying another Check Point firewall? Turns out there\u0026rsquo;s more to purchasing than just finding the best product. Here\u0026rsquo;s a few of the non-technical items that factor into it.\nOverall Direction Managers hate orphaned products. They hate the look of something that just doesn\u0026rsquo;t quite fit - e.g. the single Solaris system, when you\u0026rsquo;re a Windows shop, or the single Juniper router, when all the rest of your network is Cisco. So sometimes you\u0026rsquo;ll choose something that\u0026rsquo;s \u0026ldquo;Good Enough\u0026rdquo;, because it fits into your overall direction. Aside: I think this is why Cisco ASAs are widely deployed - they\u0026rsquo;re not that great, but they\u0026rsquo;re Good Enough, and they fit into the overall strategy. Managers also like the idea of \u0026ldquo;one throat to choke\u0026rdquo;, although I\u0026rsquo;ve never actually seen that play out particularly well. Large companies are quite happy to point the finger internally - e.g. I can\u0026rsquo;t get HP to fix the NNMi/IMC integration, because it\u0026rsquo;s two different arms of a very large company.\nSupportability - Skills + Vendor Support It\u0026rsquo;s important to be able to easily access skills for supporting your product choice. HP-UX might be 5% faster for your application, but if Linux is good enough, then it\u0026rsquo;s probably a better choice: I can easily find Linux admins (yeah OK, that was a contrived example!). Similar with OSPF vs IS-IS: IS-IS is technically superior, but for most applications, OSPF is probably a better choice, simply because I can easily find engineers who have worked on OSPF networks.\nThis ties into why management may prefer to go for something off the shelf, vs developing a custom solution. They can then get support from a vendor, rather than relying on a couple of pony-tails in the corner. You can probably write a fantastic application, but management thinks: What if I need to sack you? Of course, sometimes the only option is to write it yourself - but know when it makes sense to do it yourself, vs using a pre-written product.\nMarket Acceptance No-one ever got fired for buying IBM/Cisco/Microsoft\nI was involved in a purchasing decision recently where an explicit requirement was that the product chosen must come from one of 4 large vendors. It didn\u0026rsquo;t matter that there were alternatives that were technically far superior, at a lower cost: For this specific need, it was critical that the product chosen be seen as coming from a large, well-known, well-accepted vendor. Variations on this theme also occur where a company has a short-list of approved vendors. Buy off that list, you\u0026rsquo;re fine. Try to go off the list, and you\u0026rsquo;ll find it\u0026rsquo;s just not worth the pain. Sometimes there are good reasons for these policies, sometimes it\u0026rsquo;s just to make it easier to justify your decision should it all go horribly wrong.\nCompany/Product Viability This item relates to the previous one. Let\u0026rsquo;s say I\u0026rsquo;m purchasing a new NMS. This is not a set-and-forget system. It\u0026rsquo;s something I\u0026rsquo;m going to invest in for years, and changing will be painful and time-consuming. So I need to know that the company and product will be around for at least the next 5 years. I want to know that product development will continue, and that I will get the ongoing support I need. Choosing a product from a startup represents a high risk: Will they pivot to something else? Or run out of cash? Or (worst of all) get purchased by CA, and doomed to a long slow death by negligence?\nAccept What You Can\u0026rsquo;t Change Frequent disagreement on purchasing decisions will eventually lead to a form of dissonance, and you will wonder if you should stay with this company. Ask yourself why you disagree with the decisions that were made. Calmly talk it through with your boss, and try to understand the reasoning behind the decision. Were there other factors you haven\u0026rsquo;t considered? Or is your boss getting huge vendor kickbacks, and is now completely one-eyed? If the latter, then you need to decide if this is something you can just accept, or if you need to find another job. Endlessly fighting it will just wear you down. If you believe another product is far better, and you believe your company has made a serious mistake, it might be worth looking for a new job. If it\u0026rsquo;s just one of those things, and you can accept the alternative, then just let it go.\nWhole books have been written about purchasing decisions, and I\u0026rsquo;m not sure I\u0026rsquo;ll ever fully understand them. Just remember, next time the boss buys something you don\u0026rsquo;t like, ask yourself: \u0026ldquo;Am I seeing the whole picture here?\u0026rdquo;\n","permalink":"https://lkhill.com/product-selection/","summary":"\u003cp\u003eMany engineers assume that product selection is as simple as finding the product with the best combination of features that still comes in under budget. Should be easy, right? Err\u0026hellip;so why did the boss over-rule me again, and insist on buying another Check Point firewall? Turns out there\u0026rsquo;s more to purchasing than just finding the best product. Here\u0026rsquo;s a few of the non-technical items that factor into it.\u003c/p\u003e","title":"Product Selection: It's Not Always The Best Technology"},{"content":"Strong communities can make an enormous difference to the success or failure of a product or technology. Look at Linux, or VMware as good examples of a strong community. But why do they matter, and how can Product Managers encourage community formation?\nWhat Defines a Strong Community? The most important part of a strong community is end-users helping other end-users. A product, or technology takes on a life of its own, and people within the community start extending a product, helping other users, writing documentation, providing valuable feedback, and even become product evangelists. All for free. This is a dream to all Product Managers - when a product becomes an eco-system, and becomes self-sustaining.\nRelevance to Selecting Products When evaluating products for customers or my own networks, one of the criteria I look at is the community surrounding that product. I give this a significant weighting in my evaluation criteria. Where strong communities exist, I know it will be faster to solve my problems (Google has lots of answers), easier to find skilled people, and if engagement is high, I know the vendor will be working hard to rapidly improve their products.\nIf the community appears weak or non-existent, I get concerned that it will be hard to fix problems (Google isn’t going to help), and that I will need to pay a lot for product specialists. I also get worried that all the communications are between Product Managers and a handful of extremely large customers. They have some very specific niche requirements, and they end up pushing the product in a direction that is inappropriate for the vast bulk of customers. Look at any of the Big Four monitoring platforms for the results of this - bloated, over-priced, over-complex solutions that are difficult to deploy, and solve the 1% “hard” problems, but not the 99% “easy” problems.\nHow Can Companies Create a Strong Community? If you’re a Product Manager, and you think that it’s important to build a community around your product, how can you help it happen? Here’s some ideas:\nOpen Access: Provide open access to documentation, trial versions of software, and emulators (if possible). Use registration if you must, but don’t lock documentation behind support contracts - there’s no competitive advantage in restricting access to your documentation. Engineers should be able to easily download your software too. We don’t like talking to sales people, so don’t force us to go through that charade. Open Forums: You don’t have to run forums on your own site - they could operate independently. But you should encourage open conversation. Let them operate with a relatively free voice. Get your own staff to actively participate and engage the community. Help out when people post questions. OK, so they don’t have a support contract…but they’re trying to use your product, so help them if you can. Engagement: Try to engage with people who are using your product. Look at how you use Twitter - do you just broadcast a stream of press releases, or do you have real people running your accounts, who actively engage in conversations? Reach out to people in the community who are trying to work with your product - e.g. those participating in forums, or writing blog posts. Help them where you can. Listen: This is related to the previous item - be prepared to listen to what people are saying, and take constructive criticism in the right way. If people are out there talking about issues with your products, and ways they can be improved, they may have a point. Encourage Sharing: When people create interesting enhancements or customisations to your product, you want them to be able to share these in an easy way, that is consistent and repeatable. Let’s say someone has created an integration between your NMS and Cisco switches. That could be really useful to other people - so you want to make sure they can share it easily - e.g. by downloading a settings file, that others can upload. Versioning systems help a lot here too. You don’t want people to have to describe, with screenshots, the 15 steps they went through to create it. Inconsistent, hard to repeat, and discourages people from sharing their configs. ScienceLogic’s PowerApps do this very well - they make it simple to share your work, encouraging further improvement from the rest of the community. These ideas on their own don’t guarantee that a strong community will form - your product might be too niche, or it might not be good enough. But the ideas above should help remove impediments to forming a community of helpful, committed users.\n","permalink":"https://lkhill.com/building-product-communities/","summary":"\u003cp\u003eStrong communities can make an enormous difference to the success or failure of a product or technology. Look at Linux, or VMware as good examples of a strong community. But why do they matter, and how can Product Managers encourage community formation?\u003c/p\u003e","title":"Building Strong Product Communities"},{"content":" This article is Part 7 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - IMC Compliance - Walkthrough Part 3 - IMC Compliance - Scheduling Tasks Part 4 - IMC Compliance - Advanced Policies Part 5 - IMC Compliance - Recovery Commands Part 6 - IMC Compliance - Display Commands Part 7 - This Article It can be a slow process refining IMC Compliance policies. Configure a rule, create a task to run it, review the results, refine the rule, rinse, repeat. This is particularly tedious since you must define a new check task every time you update a rule - re-running a previously created task won’t work. IMC forces you to define a new task to make rule changes take effect. But there is something you can use to help: Testing.\nLook at this list of rule in my “LKH-Custom Rules” policy. Note the “Test” Column:\nClick on the icon in the test column, and you’ll see a pop-up like this:\nDoesn’t look particularly useful does it? But what we can do here is paste any scrap of config we like, hit “Test”, and IMC will tell us if the configuration would pass the compliance check or not. You can paste in as much or as little configuration as you like. You might paste an entire device config, or you might just paste in an interface configuration. My rule I am testing here is a simple one, that looks for ntp server 172.16.2.40. Let’s paste in some sample configuration, and hit Test:\nYou can see that this config passes, and that IMC has highlighted the key line. Let’s see what happens if our config didn’t pass. First click “Reset”, then paste in some different configuration:\nThis time we can it failed, as we expected. Our test is looking for an NTP server of 172.16.2.40, but this configuration uses an NTP server of 172.16.2.50.\nYou’ll also see an “Import” link there - this lets you import any previously defined configuration segment. These are configuration segments that you have defined for deployment to devices. What I would like to see here is a link to import any previously saved configuration backup - maybe we can hope for that in a future release? It would be a simple addition.\nI recommend using this testing functionality, particularly when you’re trying to define complex regular expressions - it will save you time and effort.\n","permalink":"https://lkhill.com/imc-compliance-testing-rules/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 7\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        This Article\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Testing Rules"},{"content":"Some Cisco routers I work with use multiple VRFs. A specific VRF is used for management, and the loopback interface is in that VRF. All SNMP + SSH access is via that Loopback interface. This is the Right Way to do it, as it ensures that I can always access the same IP address, regardless of which WAN link is in use. All very good.\nThose who use Loopback interfaces will be aware that it is important to ensure that management traffic sourced from the router will use the correct source IP address. Any SNMP or SSH responses will use the right IP address, but when the packet is originated by the router, it will default to using the IP address of the outbound interface. The classic example is SNMP traps and syslog messages from the router. This can confuse most NMSes, as they don\u0026rsquo;t properly correlate the syslog with the IP address that they use for managing the device.\nTo get around this problem, Cisco introduced commands like this:\n1 2 snmp-server trap-source Loopback0 logging source-interface Loopback0 This tells the router to use the IP address configured on interface Loopback0 when sending out syslogs or SNMP traps. But what if we\u0026rsquo;re using VRFs? When we try and add the logging source-interface command, we get this:\n1 2 3 Router(config)#logging source-interface Loopback 0 Interface Loopback0 is not in the global table Router(config)# If we\u0026rsquo;re particularly unlucky, it just accepts the command, and doesn\u0026rsquo;t display anything to screen, so you think it\u0026rsquo;s OK. It\u0026rsquo;s only when you check the config that you realised the command is missing, and it\u0026rsquo;s sent a message to syslog telling us that it couldn\u0026rsquo;t take that command. OK, can we add \u0026ldquo;vrf mgmt\u0026rdquo; that command? Maybe. It depends on what IOS version we\u0026rsquo;re running. Looking at the Command Reference, we see this in the Command History:\nThis command was integrated into Cisco IOS Release 15.1(1)SY. The vrf keyword and vrf-name argument were added.\nAnd what version am I running here? Not 15.1. Still using 12.4T on these. Sigh. Now I\u0026rsquo;m looking at a heap of upgrades, just to get syslogs properly working with VRFs.\n","permalink":"https://lkhill.com/logging-source-interface/","summary":"\u003cp\u003eSome Cisco routers I work with use multiple VRFs. A specific VRF is used for management, and the loopback interface is in that VRF. All SNMP + SSH access is via that Loopback interface. This is the Right Way to do it, as it ensures that I can always access the same IP address, regardless of which WAN link is in use. All very good.\u003c/p\u003e","title":"Logging source-interface with VRFs"},{"content":" This article is Part 6 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - IMC Compliance - Walkthrough Part 3 - IMC Compliance - Scheduling Tasks Part 4 - IMC Compliance - Advanced Policies Part 5 - IMC Compliance - Recovery Commands Part 6 - This Article Part 7 - IMC Compliance - Testing Rules What Are Display Commands? \u0026lsquo;Display Commands\u0026rsquo; are sets of commands we can configure in IMC, to run as part of Compliance Checks. Rather than just checking through the running or startup configuration, IMC will actively login to the devices, and run the given commands. You can then use Compliance rules to look at the output of those commands, either matching or excluding specific patterns. This opens up more possibilities for your compliance checking - e.g. You can check that NTP is actually working, not just configured.\nWalk Through Example Let’s walk through an example, showing how to check that NTP is actually working on a Cisco device. First, we need to know what command we want to run, and we want to know what output we expect to see if it is working as expected. Here’s a working example:\n1 2 3 4 5 6 sw02pi#show ntp status Clock is synchronized, stratum 3, reference is 172.16.2.40 nominal freq is 119.2092 Hz, actual freq is 119.2077 Hz, precision is 2**18 reference time is D5F65C65.21DA3BF2 (21:48:37.132 NZDT Wed Oct 2 2013) clock offset is 3.9404 msec, root delay is 33.98 msec root dispersion is 64.51 msec, peer dispersion is 8.59 msec And here’s a non-working example:\n1 2 3 4 5 6 sw03pi#show ntp status Clock is unsynchronized, stratum 16, no reference clock nominal freq is 119.2092 Hz, actual freq is 119.2080 Hz, precision is 2**18 reference time is D5F65BD3.A81560DA (21:46:11.656 NZDT Wed Oct 2 2013) clock offset is 4.5686 msec, root delay is 33.81 msec root dispersion is 60.85 msec, peer dispersion is 5.98 msec Note the key output difference there in the first line. That\u0026rsquo;s what we\u0026rsquo;ll later use for our testing.\nTo use Display Commands in our Compliance Policies, we first need to define the commands. Do this by going to Service -\u0026gt; Compliance Center -\u0026gt; Display Command, and click Add:\nGive it a name, a description, and fill in the command, in this case “show ntp status”. Click OK. Note that commands are not associated with vendors or devices - you might like to put the vendor in the name or description. You now need to use this command in a policy rule.\nNote: I like to keep my active compliance rules separate from my passive rules, so normally I will create a new Compliance policy, and add this rule to it. The reason I recommend keeping it separate is because active commands can take a long time to run if you have a large network. By using a separate policy, you can easily enable/disable it when running checks. You can’t enable/disable individual rules - you can only do it at a policy level. Create a new policy if required, then add a rule to it. This time, under “Check Target”, choose “Display command output\u0026quot;:\nYou can now click Select, to choose your command:\nSet the Vendor , and/or device series as required. Set the Recovery commands if wanted. Now, under “Match Mode”, you can create a rule like you normally would - but this time we will be matching against the output of our command, not the saved configuration. Here’s what we need:\nSave that, and save the policy. Now create either a One-Off or Periodic Task, using our new policy. This is configured the same way as normal. What you’ll notice is that the task will take a bit longer to run. Normally passive checks only take 5-10s to run. But if you’re running active checks against hundreds of devices, it may take quite a while to complete. Once completed, you can view the results the same way as normal. One difference is that if a device has failures, and you follow the “Checked Content” link, you’ll see that it’s showing the full command output:\nConclusion Using Display Commands can be really powerful, and opens up a lot more possibilities than just looking at configurations. Running active commands means you can verify that your network is actually operating the way you expect. Remember, it’s like grading a CCIE exam - all the really matters is the results of your configuration, not the config itself.\n","permalink":"https://lkhill.com/imc-compliance-display-commands/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 6\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Display Commands"},{"content":" This article is Part 5 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - IMC Compliance - Walkthrough Part 3 - IMC Compliance - Scheduling Tasks Part 4 - IMC Compliance - Advanced Policies Part 5 - This Article Part 6 - IMC Compliance - Display Commands Part 7 - IMC Compliance - Testing Rules What Are Recovery Commands? Recovery Commands let us define the required configuration to fix any identified problems. When configuring a Compliance rule, you have the option to define Recovery Commands. If a system is non-compliant, you then have the option to automatically fix it, by running the defined Recovery Commands. This is great from a workflow perspective - define rules, identify non-compliant systems, then automate the fix. It’s not quite fully automated though - after identifying non-compliant systems, you need to tell IMC to go and apply the fixes. It also gives you a chance to review fixes before pushing them out.\nWalk-through Example Let’s go through a fairly simple example. We want to check that our Cisco devices have an NTP server defined. If they don’t, the recovery command will be to add an NTP server. Straightforward, right? We first need to add a rule to one of our Compliance policies. Make sure the “Recover” radio button is set to Yes, and then we can add some recovery commands:\nNow we can add a Check Task to run this policy against some test systems. I’ve got two Cisco switches here - one has an NTP server defined, and one doesn’t. Let’s run the check, and look at our results:\nNote the “Fix” column has an icon displayed. Click on the “Fix” icon, and we’ll see a list of compliance breaches that we can fix. You can either select “Fix all devices”, or go through and select fixes on a per-device, per-policy or per-rule basis.\nNow click the “Fix” button. Note that we get one last chance to review the commands. We can even edit them at this point - this is particularly useful if you need to define variable names here. If you do define variables, using ${variable}, IMC will make you replace it with a proper value before continuing. Very handy if you’re setting ACLs.\nHit next, and you set the time to deploy the fix. The default is to deploy fixes one hour from now. This is quite clever, because it gives you a chance to not screw things up if you’re just clicking Next/Next/Next/Finish. I’m going to set mine to Immediate, and hit Finish:\nYou’ll now see the list of executing tasks. You’ll probably need to hit Refresh a few times, to see your task change from “Executing-Unfinished” to “Finished-Succeeded”:\nIf we drill into the task result, we can see the results per device. Clicking on the icon in the “View Change” column will even show you a standard Configuration Comparison window, highlighting the before and after differences in the configuration.\nConclusion This was a somewhat contrived example. But imagine if we had to do this across 500 devices - that’s when this feature would really come into its own. For easily fixed configuration compliance issues, I highly recommend defining Recovery Commands.\n","permalink":"https://lkhill.com/imc-compliance-recovery-commands/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 5\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Recovery Commands"},{"content":" This article is Part 4 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - IMC Compliance - Walkthrough Part 3 - IMC Compliance - Scheduling Tasks Part 4 - This Article Part 5 - IMC Compliance - Recovery Commands Part 6 - IMC Compliance - Display Commands Part 7 - IMC Compliance - Testing Rules So far we’ve only looked at basic rules. Let’s take a look at some advanced uses of Compliance Center - advanced pattern matching with regular expressions, and Configuration Segment checks. The combination of these features lets us write far more advanced rules. You can solve almost any problem with these features, but be warned - it can take quite a while to figure out the exact syntax for your regular expressions.\nSome people, when confronted with a problem, think \u0026ldquo;I know, I\u0026rsquo;ll use regular expressions.\u0026rdquo; Now they have two problems.\nFrom Jamie Zawinski\nAdvanced Pattern-Matching When configuring a rule, in the ‘Match Mode’ section, the default ‘Rule Type’ is Basic. Let’s create a new rule, and change the Rule Type to Advanced:\nNote that the options change, and now we have Operation, Match Mode, and Match Patterns. The key items here are Match Mode and Match Patterns. Match Mode can be either Included or Excluded. If we set our Match Mode to Included, then we are saying “Our configuration MUST contain this pattern. If it does not, then this check should fail.” If we choose Excluded, we are saying “Our configuration MUST NOT contain this pattern.”\nThe Match Pattern box is where we can enter our regular expression. This follows the rules of regular expressions. These are far more complicated than simple wildcards, and beyond the scope of this blog post. If you’re not familiar with these, I highly recommend reading one of the many tutorials available online. Here’s some examples of patterns you might use:\n1 2 3 4 5 6 # Logging set to any loopback interface: logging source-interface Loopback\\S+ # BGP Neighbor authentication neighbor [A-Za-z0-9]+ password [A-Za-z0-9]+ # Login banner defined: banner \\S+ Note that certain characters have special meaning - e.g. a . represents “any character.” So if you’re entering an IP address, you will need to escape the . with \\ - e.g. 10.1.10.10.\nYou can add multiple patterns. Once the first is added, you will get a Rule Relation drop-down, which you can set to AND or OR. Using this, you can build up complex policies - e.g. “Configuration must contain Pattern A and Pattern B, but NOT Pattern C.” Be careful with just how complex you get. You\u0026rsquo;ll probably need to work through it on paper first, to work out exactly what you need. Here’s a reasonably simple example of the sort of rule you could end up with:\nWalk-through Example The best way to see how and why we would use Advanced Pattern-Matching is to use an example. Consider SNMP community string configuration on a Cisco device. If our chosen community string is “mySecretString”, then this is what our configuration should look like:\n1 2 3 sw02pi#sh run | inc community snmp-server community mySecretString RO 99 sw02pi# We could use a regular basic pattern match to look for that string, and it would correctly alert if that string was missing. But what if someone adds in an incorrect string? Cisco SNMP community configuration is additive. Look at this example, which starts with the earlier SNMP configuration:\n1 2 3 4 5 6 7 8 sw02pi#conf t Enter configuration commands, one per line. End with CNTL/Z. sw02pi(config)#snmp-server community public RO sw02pi(config)#^Z sw02pi#sh run | inc community snmp-server community mySecretString RO 99 snmp-server community public RO sw02pi# Now I have a problem - how do I detect this sort of configuration? I could write a rule that alerts if it sees snmp-server community public - but what if there’s some other random string added? What I really need to do is find a way to say “Alarm if the device does not have my community string, and ONLY my community string”. Advanced Pattern-Matching lets us do this. Here’s how:\nFirst add a new Compliance rule, set the vendor as required, and set the Rule Type to Advanced. First add a Match Pattern of snmp-server community mySecretString RO \\d+. The Operation should be ‘Check’, and the Match Mode should be ‘Excluded’. If you’re not familiar with regex syntax, the \\d+ pattern says “match any digit, one or more times”. This will match any ACL number. So this first line will check that we have the right community string added, set to RO, and with an ACL defined. Now let’s add another line. This time, set the Match Mode to ‘Excluded’. Note we can also now set the Rule Relation - this should be AND. Set the Match Pattern as snmp-server community (?!mySecretString). Add that. Your rule should now look like this:\nHit OK to save the rule, and OK again to save the policy. Create a task to run the rule, and check the results. Here’s the output from running that check against my system:\nLet’s fix up the device:\n1 2 3 4 5 6 7 8 sw02pi#conf t Enter configuration commands, one per line. End with CNTL/Z. sw02pi(config)#no snmp-ser comm public sw02pi(config)#^Z sw02pi#wr Building configuration... [OK] sw02pi# Run a backup in IMC, and re-run the Check Task. Success!\nConfiguration Segments Let’s say you want to check that your switchports have no logging event link-status added. If you just use a normal rule, and look for that pattern, how will you know that every interface has this configuration applied? The rule won’t count individual matches, it will see the first match, and then the device will pass. What you really want to do is check every single interface. But what about non-Ethernet ports? And what about trunk ports? Maybe I want to log link status changes on those. Bugger. Now it’s getting complicated.\nLet’s see how we can write a rule that meets these requirements:\nCheck all GigabitEthernet ports, to see that they have no logging event link-status set. This should only apply to access ports. Trunk ports should not have no logging event link-statusli\u0026gt; Non-Ethernet ports should not have no logging event link-status set. Here’s an example of a typical interface configuration:\n1 2 3 4 5 6 interface GigabitEthernet0/3 switchport access vlan 102 switchport mode access no logging event link-status no snmp trap link-status ! There’s two parts to this. First we need to define a rule that will look at interface configurations. Add a new rule, but this time change the ‘Check Type’ from the default of ‘Device’ to ‘Interface’. You’ll see that we now have a ‘Start Identifier’ and ‘End Identifier’ box. Our ‘Start Identifier’ will be interface GigabitEthernet* and our ‘End Identifier’ will be !. Cisco uses ! between sections, while Comware uses #.\nThis setup will tell IMC to apply our rule only to the configuration under each GigabitEthernet interface. It will run this check against all GigabitEthernet interfaces on each device, and ensure they all comply. Now we need to define the actual pattern matching we need. We can’t just do a simple match for no logging event link-status because that will create a false positive on trunk ports. Thinking more about, we can see that an interface configuration needs to contain EITHER no logging event link-status OR switchport mode trunk.\nHere’s one way of achieving that: First scroll down to the ‘Match Mode’ section, and change it to ‘Advanced’. Add switchport mode trunk, and click Add. Now set the ‘Rule Relation’ to OR, and add no logging event link-status. It should look like this:\nBecause we’re using an OR match, only one of the conditions has to be true. When evaluating the condition, IMC will first look for the presence of ‘switchport mode trunk’ - if it sees that, it will stop evaluating, and pass that interface.\nThis rule can now be used in a policy, and deployed through a regular Check Task. When you run this task, if there are any non-compliant interfaces, you’ll see in the “Checked Content” link exactly which interface it was:\nNote: The sharp ones out there might say “What if we want to check that logging is ON for all trunk interfaces? This rule uses OR, not XOR, so a trunk could have logging disabled.” That’s true, and IMC doesn’t have an XOR Rule Relation. Instead, you’d need to build up a more complex rule that looked something like (switchport mode trunk AND NOT no logging event link-status OR (switchport mode access AND no logging event link-status There’s a few different ways of achieving it. Other options for checking Configuration Segments are very similar, but can use different ‘Start Identifiers’ - this lets you check say EtherChannel interfaces, or sections like router ospf or line vty *.\n","permalink":"https://lkhill.com/imc-compliance-advanced-policies/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 4\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Advanced Policies"},{"content":" This article is Part 3 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - IMC Compliance - Walkthrough Part 3 - This Article Part 4 - IMC Compliance - Advanced Policies Part 5 - IMC Compliance - Recovery Commands Part 6 - IMC Compliance - Display Commands Part 7 - IMC Compliance - Testing Rules Compliance check tasks can be run immediately, or scheduled so that they run on a periodic basis - daily, weekly or monthly. This is extremely useful - by scheduling compliance checks, you can ensure that your systems maintain their security. It’s also very handy when you’re working your way through a huge list of items to clean up - scheduled tasks let you see progress, as the number of violations drops.\nNote: All screenshots below were taken using IMC 7.0. The screens will look quite different if you are still using 5.x. Most workflows are the same though. To schedule a check, go to Compliance Center -\u0026gt; Check Task, and click Add:\nGive your task a name, and delete the unwanted policies. From the “Execute Task” drop down, choose “Periodicially”:\nOnce you’ve done that, you will be presented options for Every Day, Every Week, or Every Month. Choose the appropriate schedule for you. When entering a time of day, you have to enter it as hh:mm:ss. Yes, that’s right - you need to specify the time down to the second when scheduling a policy compliance check. As if it matters.\nAdd your devices, or model types, and hit OK. It should now be scheduled - just one thing to check. Look at the “Status” column - make sure this shows “Enabled”. If the Status column shows disabled, the task won’t run periodically. Here’s what it looks like:\nIn order to enable it, click on “Enabled” in the Operation column. Note that language here. You click “Enabled” to enable it, or “Disabled” to disable it. Something in the grammar got lost in translation from Chinese. Now you should be all set. You can either wait for the next scheduled run, or you can run it on an ad-hoc basis by selecting the task, and choosing Run.\nIf there are any policy check failures, IMC will create an alarm:\nWarning: NOTE: This alarm is associated with the NMS itself, rather than individual non-compliant systems. So even if you’ve got 100 non-compliant systems, you’ll only get one alarm. Re-running ad-hoc tasks is handy when you’re fixing systems, and need to re-run the checks to see if they now pass. Remember you’ll probably need to run a new backup before re-running the check.\nThe “Check Results” column will show the highest severity failures. Clicking on this severity will bring up the results, where you can drill into exactly what failed, and why.\nScheduled Task Limitations There are two key limitations to IMC scheduled tasks, and you must be aware of them. They both hinge around an inability to usefully modify a task once it has been created. All you can change is the task scheduling, and enable/disable the task. Nothing else.\nIf you have configured your task to run against a list of devices, you can’t change that list of devices. You can’t add or remove devices. If you add new systems to your network, you need to create a new scheduled task. This is at least semi-obvious, as you can see the list of devices in the task configuration. If your Check task runs against a list of device model types, it will pick up new systems.\nThe second, more subtle problem is that your scheduled task will take a point in time copy of the Compliance Policies and Rules. If you later tweak your rules, future runs of the scheduled task won’t take those changes into account. This is incredibly annoying - when you’re setting up your rules, you’ll probably create a few false positives. So you tweak your rules, and run the task again…only to find it still fails. After much wailing and gnashing of teeth, you figure out that it’s because IMC isn’t using your new rules. Delete the old task, create a new one, and presto!\nBetter in Future? It wouldn’t take much for HP to improve the IMC Compliance workflows, to remove those limitations. Changing to an alarm per failed device, and tidying up the Enabled/Disabled language would make it much more useful. Hopefully it’s something we’ll see sorted out sooner rather than later.\n","permalink":"https://lkhill.com/imc-compliance-scheduling-tasks/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 3\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Scheduling Tasks"},{"content":" This article is Part 2 in a 7-Part Series. Part 1 - IMC Compliance - Overview Part 2 - This Article Part 3 - IMC Compliance - Scheduling Tasks Part 4 - IMC Compliance - Advanced Policies Part 5 - IMC Compliance - Recovery Commands Part 6 - IMC Compliance - Display Commands Part 7 - IMC Compliance - Testing Rules The best way to understand how IMC Compliance Center works is to walk through a simple example. We’re going to start with a simple goal: We want to check that all our Cisco devices include “no ip source-route” in their configuration. Once you see how to work through a basic compliance check, you can start to build up complex policies.\nPre-Defined Policies and Rules We’re going to create our own custom Policy, and add our own custom rules to it, but first we’ll take a look at the pre-defined Policies and Rules. IMC includes a number of pre-defined policies, covering NSA routing security guidelines, PCI-DSS requirements, STP configuration, etc. These pre-defined rules are useful both as a starting point for your own policies, and to better understand how the syntax works. We can’t modify pre-defined rules, but we’re free to copy them into our own policies, and then tweak them as needed. Go to Service -\u0026gt; Compliance Center -\u0026gt; Compliance Policy to take a look at the list:\nNote that all policies are currently Enabled. I highly recommend going through and clicking “Enabled” next to each policy - this will change it to Disabled. The reason for this is that every time you schedule a compliance check, IMC will default to selecting all Enabled policies. You then have to go through and de-select them each time. Trust me, this gets really tedious after the 15th time of de-selecting 12 policies. Better to disable them here, and only leave your custom policies enabled. Let’s take a look at what some of the pre-defined policies contain. Click “NSA routing security”:\nWe can see that this has a list of individual rules, each of which checks a specific configuration. You can also see that the names contain Cisco, H3C or HPA. Since configurations vary between vendors, Rules can be applied to specific vendors or device series. Adding the Vendor to the Rule name can make it easy to see this at a glance. Click on “(Cisco)No HTTP server”:\nThings to note here: First the Severity - this is set to Warning. You can choose your own Severity when creating rules. These are arbitrary. If you wish, you can run Compliance Checks that only check rules above a specific level. I think you should just fix all problems, but I guess sometimes you need to prioritise. Next note that the Vendor is set to Cisco, and there are many Cisco device types selected here. If you run this rule against a non-Cisco device, it will skip it, without creating an error. This lets you apply a mixed group of rules to a mixed group of devices, and not get weird results because the Cisco rules don’t align with Comware configuration.\nThere’s also an optional rule Description, and further down the actual rule, which checks for the presence of no ip http server in the configuration. You can reverse this check - e.g. you might want to alarm if that pattern IS present.\nAdding Our Own Custom Policy For our example here, we’re going to create our group of rules - aka a Policy. Go to Service -\u0026gt; Compliance Center -\u0026gt; Compliance Policy, and click Add:\nGive it a name and description. Then we’re going to add a rule. Note that you can import a rule - this will let you select one or more rules from the list of all currently defined rules. This will copy the rule, so it can be modified independently. We want to Add a new rule. Click Add. Give the rule a Name, pick a Severity, and set the Vendor to Cisco. In the “Match Patterns” section, enter no ip source-route. Leave all other values at default. The new rule should look like this:\nClick OK, then click OK again. Now go to Service -\u0026gt; Compliance Center -\u0026gt; Check Task, and click Add:\nIf you didn’t disable the other Policies, you’d need to go and Delete them from here. Note that this does NOT delete the policy, it just removes it from this specific check. The policy is unaffected. You can select either a list of devices, or Device Models that you want to run this check against. We’re going to select a couple of Cisco 2970s in my lab. Select those, then click OK, and our check will run immediately. Note that you may not see a result straight away - it will take a few seconds. Initially the results list will look like this:\nClick Refresh, and you should see the results. Note that the “Check Results” column will show the highest severity failure. If you hover over the Results, it will tell you how many failures there were at each severity level.\nClick on the Results, and you’ll get a Pop-up showing a deeper breakdown of the checked devices, and the results:\nWe can see that one device passed, and one had 1 Minor failure. Click on the failed device, and we can see exactly what failed:\nYou can see exactly what rule failed, the content the rule was run against, and the specific item that failed. If you have complex policies, this can be extremely helpful in figuring out what exactly needs to be fixed. Note that the rule name “No ip source route” is a hyperlink to the rule definition, while “Checked Content” is a hyperlink to the configuration that was checked. Easy!\nNow you can start building up your Compliance policies, adding rules to ensure that all systems comply with your base templates and security policies. In future posts, we\u0026rsquo;ll look at Scheduling, and more complex rules.\n","permalink":"https://lkhill.com/imc-compliance-walkthrough/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 2\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/imc-compliance-overview/\"\u003eIMC Compliance - Overview\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Walkthrough"},{"content":" This article is Part 1 in a 7-Part Series. Part 1 - This Article Part 2 - IMC Compliance - Walkthrough Part 3 - IMC Compliance - Scheduling Tasks Part 4 - IMC Compliance - Advanced Policies Part 5 - IMC Compliance - Recovery Commands Part 6 - IMC Compliance - Display Commands Part 7 - IMC Compliance - Testing Rules HP added the “Compliance Center” to HP IMC in early 2012. This series of posts will explore what it is and why it’s so useful, and will walk through both basic and advanced usage scenarios.\nAccording to the fine manual…\nThe Compliance Center feature supports organizations in adhering to compliance and standards…Compliance check verifies whether configurations on devices are compliant with compliance policies and shows the check results in various forms. In addition, compliance check can fix incompliant(sic) configurations to make sure the network operates in a secure, stable environment.\nLet’s quickly summarise the capabilities of IMC Compliance Center, where and why would use it, and some terminology.\nCapabilities Key capabilities of IMC Compliance Center are:\nConfiguration Backup Checks: Run checks against the latest saved running or startup configurations Active Commands: Run active commands against devices and check the output. Basic or Complex Pattern Matching: Write rules that use simple pattern-matching, or full regular expressions. Remediation: Semi-automated remediation of non-compliant systems. Scheduling: Schedule checks to run on a periodic basis Vendor/Device Targeting: Write rules that target specific vendors and/or models. Why/where would I use it? All well-managed networks will find a need for Compliance Center. No matter how well you think you execute your configuration changes, it’s always good to have automated checking in place, to ensure that the security and functionality of the network is not compromised. Sure, you install all new systems according to the templates - but can you be sure that every device that has ever been installed over the life of the network is properly maintained?\nThese are typical use-cases:\nSecurity Compliance: Define policies that check your configurations to ensure they meet your security policies. Run those checks against all your systems, so you can verify your security posture. This is particularly good for those who have to comply with specific standards such as PCI-DSS. Auditing: No-one likes being audited. All you want to do is get the auditor out of there as quickly as possible. If you can show that you are running automated checks against your configurations, then all you need to do is show the auditors your rulesets and compliance check history, confirm it’s working on a couple of devices, and the auditor will be happy and on their way. Otherwise you’ll find yourself having to go through every single configuration, line by line. Or worse, the auditor will make you enforce a regular manual compliance checking policy. No fun at all. Functionality Checking: Compliance isn’t just about security - you might want to check that all switches have DHCP snooping and BPDU-guard enabled, or maybe you need to check that your AAA configuration is the same everywhere. Easily done with Compliance Center. Terminology Before diving too far into using IMC’s Compliance Center, we should go over a few of the terms used. These are some of the terms you’ll come across:\nCheck Task: This is a “task” that tests Compliance Policies against either specific devices, or device models. Tasks can be run as immediate, one-off tasks, or they can be scheduled, for regular compliance checking. Display Command: These are specific commands to be executed on devices. IMC will login to the device, capture the output, then run compliance rules against this output. Compliance Policy: A set of Rules, grouped together in any way you see fit. IMC includes many pre-defined policies and rules. You can define your own, and/or re-use the predefined rules and policies. Note that Check Tasks are defined using Compliance Policies, not individual rules. Rule: The actual check to run. Rules will define specific patterns to search for, using either simple pattern matching or complex regular expressions. Searches can be positive or negative. Rules have target vendors, and/or specific devices. If you define a rule for Cisco devices, and try to run it against HP systems, it will be skipped as not applicable. Check Type: This lets you narrow the scope of the rule - the default is to run pattern matching against the entire configuration, but you can narrow it down to a specific interface, or range of interfaces. Or maybe you’d like to look in the “router ospf” section of a Cisco configuration. Check Target: Rules can be applied to either the last retrieved running configuration, the last retrieved startup configuration, or the output of a Display Command. Generally you want to run your checks against the latest running configuration, so you must ensure you have regular backups configured and working first! Device Series: Rules can have target Device Series they apply to. Device Series are groups of devices - e.g. All Cisco 3560 variants. ","permalink":"https://lkhill.com/imc-compliance-overview/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 1\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/imc-compliance-walkthrough/\"\u003eIMC Compliance - Walkthrough\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/imc-compliance-scheduling-tasks/\"\u003eIMC Compliance - Scheduling Tasks\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/imc-compliance-advanced-policies/\"\u003eIMC Compliance - Advanced Policies\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/imc-compliance-recovery-commands/\"\u003eIMC Compliance - Recovery Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/imc-compliance-display-commands/\"\u003eIMC Compliance - Display Commands\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/imc-compliance-testing-rules/\"\u003eIMC Compliance - Testing Rules\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"IMC Compliance - Overview"},{"content":"HP\u0026rsquo;s \u0026ldquo;VSR1000 Virtual Services Router\u0026rdquo; is now generally available. This was first announced at Interop Las Vegas in May, but it wasn\u0026rsquo;t until Interop NYC in September that it started shipping. This post will give a quick introduction to the VSR, and show how to get it up and running using VMware Fusion on Mac OS X.\nVSR1K - What is it? The VSR1000, aka VSR1K, is a software router that runs as a Virtual Machine on VMware ESXi or KVM. It will probably also run on other hypervisors. It supports a broad range of services and protocols - e.g. OSPF, BGP, IS-IS, IPv6, MPLS (VPNs and TE), GRE, IPsec, QoS, etc. It runs Comware v7 - the latest major branch of the software that runs on the HP routers and switches that came from the 3Com acquisition (i.e. not ProCurve). It supports a maximum of 16 vNICs. It is conceptually similar to Cisco\u0026rsquo;s CSR 1000v.\nThose of us who were looking for ways to practise with the Comware CLI will immediately be thinking: Lab! And it will certainly work well in lab environments - if you don\u0026rsquo;t license it, it will run in a bandwidth-restricted mode. I haven\u0026rsquo;t found the exact number documented, but my limited testing indicates that 30Mb/s is achievable - this is more than sufficient for a lab.\nBut we should be clear: This is not just for testing - HP is very serious about this being a realistic choice for production environments. One suggested deployment scenario is using it as a Route Reflector - by increasing the allocated memory, you can support millions of routes. It\u0026rsquo;s a hell of a lot cheaper to add vRAM, rather than putting more memory into physical routers. It would also work well for remote sites where you want to deploy one or two physical servers, and run VMs on top of them. You can now deploy VSR1000 systems to provide IPsec tunnels back to HQ. No need to deploy specialised router hardware. It would also work well in cloud environments, where you could deploy one or more VSR1Ks to each tenant.\nHP offers licensing in 3 variants - 1-, 4- or 8-core models. You pay for the number of cores, but there are no further restrictions. Add more RAM if you need. Run it as fast as you can with your CPUs. No paying for bandwidth like the CSR1000v. HP\u0026rsquo;s testing indicates this sort of throughput:\nCores 1-core 4-core 8-core IPv4 forwarding 183Kpps 227Kpps 200Kpps IPSec performance 268Mb/s 580Mb/s 926Mb/s Don\u0026rsquo;t ask me why the IPv4 packet forwarding rate is lower for 8 cores than 4. Some sort of typo? The numbers vary across HP documentation too - e.g. see these specs. Clearly the IPsec code scales well with more CPUs though.\nPricing seems to be ~$400 for 1 core, $650 for 4 cores, and ~$1,000 for 8 cores. These prices were from a quick web search - don\u0026rsquo;t take them as gospel. Ask your reseller.\nDeploying the VSR First, download the VSR1k from here. You\u0026rsquo;ll have to sign in with an HP Passport account - this is free to create, if you don\u0026rsquo;t already have one. Unpack the ZIP file. It contains three files, plus the Release Notes:\n1 2 3 4 5 6 7 $ unzip VSR_7.10.E0101P01.zip Archive: VSR_7.10.E0101P01.zip inflating: VSR1000_HP-CMW710-E0101P01-X64.ova inflating: HP VSR1000_HP-CMW710-E0101P01-X64 Release Notes.pdf inflating: VSR1000_HP-CMW710-E0101P01-X64.ipe inflating: VSR1000_HP-CMW710-E0101P01-X64.iso $ We\u0026rsquo;re going to deploy the OVA file into VMware Fusion 5. You could also do the install by creating a VM, and then attaching the ISO image, and installing from there. Open VMware Fusion, and go File -\u0026gt; Import. Browse to the file VSR1000_HP-CMW710-E0101P01-X64.ova and click Open. You\u0026rsquo;ll be asked for a location to save the imported file. The default location (~/Documents/Virtual Machines) is probably OK. Click Import. You\u0026rsquo;ll get a pop-up window that looks like this:\nClose this window. You should now see your Import Library:\nClick on the \u0026ldquo;Gears\u0026rdquo; icon. You can then choose the name and location for the new VM. I\u0026rsquo;m going to use VSR1K_R1 for the rest of this exercise. Click Import. After a few minutes, you\u0026rsquo;ll have a pop-up showing the console of your new VM.Click the \u0026ldquo;Spanner\u0026rdquo; icon, to check/change the VM settings:\nIt\u0026rsquo;s currently set to 1 CPU Core, with 1GB of RAM. The hard disk is 8GB, thin-provisioned. There are two Network Adapters - currently they are both set to Bridged Networking. I want to have one bridged with my Wi-Fi connection, and the other using a private network on my Mac. Let\u0026rsquo;s change Network Adapter 2 to use a Private Network:\nAll the other options are OK for now, so let\u0026rsquo;s power this VM on, and see what happens. You\u0026rsquo;ll see some boot messages scrolling across the screen, then you\u0026rsquo;ll probably see it hit this point:\n1 2 3 4 5 6 7 8 9 10 Startup configuration file does not exist. Started automatic configuration, press CTRL_D to break. Automatic configuration attempt: 1. No interface available. Attempt 1 failed. Waiting for the next... Automatic configuration attempt: 2. Interface used: GigabitEthernet1/0. Enable DHCP client on GigabitEthernet1/0. Enter Ctrl+D, then Enter, and you should see something like this:\n1 2 3 4 5 6 7 Automatic configuration is aborted. Line con0 is available. Press ENTER to get started. %Oct 14 17:17:53.172 2013 HP SHELL/5/SHELL_LOGIN: Console logged in from con0. _ We now have a working router! Well sort of, we need to put some configuration on it to make it do something first.\nConfiguring for use If you\u0026rsquo;re familiar with HP Comware Configuration, you can now start setting up the router however you like. If you haven\u0026rsquo;t used it before, let\u0026rsquo;s run through some basic setup. First we\u0026rsquo;re going to put DHCP addresses on the Ethernet interfaces:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 display interface brief Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Description GE1/0 UP UP -- GE2/0 UP UP -- InLoop0 UP UP(s) -- Null0 UP UP(s) -- REG0 DOWN -- -- sys [HP]int g1/0 [HP]int GigabitEthernet1/0]ip address dhcp-alloc [HP]int GigabitEthernet1/0]int g2/0 [HP]int GigabitEthernet2/0]ip address dhcp-alloc [HP]int GigabitEthernet2/0]quit [HP]quit display interface brief Brief information on interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Description GE1/0 UP UP 192.168.2.121 GE2/0 UP UP 192.168.225.131 InLoop0 UP UP(s) -- Null0 UP UP(s) -- REG0 DOWN -- -- Your exact IP addresses will vary. But now you should be able to ping those addresses from your host system:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 lhill$ ping 192.168.2.121 PING 192.168.2.121 (192.168.2.121): 56 data bytes 64 bytes from 192.168.2.121: icmp_seq=0 ttl=255 time=1.007 ms 64 bytes from 192.168.2.121: icmp_seq=1 ttl=255 time=2.242 ms ^C --- 192.168.2.121 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 1.007/1.624/2.242/0.618 ms lhill$ ping 192.168.225.131 PING 192.168.225.131 (192.168.225.131): 56 data bytes 64 bytes from 192.168.225.131: icmp_seq=0 ttl=255 time=1.972 ms 64 bytes from 192.168.225.131: icmp_seq=1 ttl=255 time=0.500 ms ^C --- 192.168.225.131 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.500/1.236/1.972/0.736 ms lhill$ Great! Now we want to set up SSH, and add a local user so we can login:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 sys [HP]ssh server enable [HP]public-key local create rsa The range of public key size is (512 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes Press CTRL+C to abort. Input the bits of the modulus[default = 1024] Generating Keys... +++++++++++++++ ++++++++++++++++++++++++ +++ ++++++ [HP]user-interface class vty [HP-line-class-vty]authentication-mode scheme [HP-line-class-vty]protocol inbound ssh [HP-line-class-vty]quit [HP]local-user admin New local user added. [HP-user-manage-admin]password simple Password! [HP-user-manage-admin]service-type ssh [HP-user-manage-admin]authorization-attribute user-role network-admin [HP-user-manage-admin]quit [HP]quit Don\u0026rsquo;t worry if you didn\u0026rsquo;t quite follow all of that. Basically we enabled SSH, generated a key, configured the VTYs to only allow SSH, and to use password authentication. We then created a new user, and assigned them the role \u0026ldquo;network-admin\u0026rdquo; - this gives full access to the switch.\nNow to test it out:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 lhill$ ssh admin@192.168.225.131 The authenticity of host \u0026#39;192.168.225.131 (192.168.225.131)\u0026#39; can\u0026#39;t be established. RSA key fingerprint is 34:a8:0c:a9:10:cf:78:9c:98:c1:05:5a:f2:fb:a1:d5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added \u0026#39;192.168.225.131\u0026#39; (RSA) to the list of known hosts. admin@192.168.225.131\u0026#39;s password: ****************************************************************************** * Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * * Without the owner\u0026#39;s prior written consent, * * no decompiling or reverse-engineering shall be allowed. * ****************************************************************************** quit Connection to 192.168.225.131 closed. lhill$ Thanks to techworldwookie for some of the basic Comware setup notes. Configuration Guides and Command references are available here, if you want to learn more. You can now configure static addresses, routing, VPN tunnels, whatever you need. You can also configure SNMP, and add it to your NMS. In future I might add some more posts about configuring these devices, and trying out the auto-deployment functionality.\nConclusion I wouldn\u0026rsquo;t rush into deploying this into production just yet. I would be cautiously testing it out, and making sure that it does what you want. I would definitely be running it in a lab, using it as a learning exercise, and seeing if it will work for you. I think that for many routing applications, virtual routers like this are the future. They offer far greater flexibility and speed of deployment. Crucially, we can add resources like memory and CPU quickly and easy, without a large financial penalty. Get your hands on it, and try it out now!\n","permalink":"https://lkhill.com/hp-vsr1000-getting-started/","summary":"\u003cp\u003eHP\u0026rsquo;s \u0026ldquo;\u003ca href=\"http://h17007.www1.hp.com/us/en/networking/products/routers/HP_VSR1000_Virtual_Services_Router_Series/index.aspx#tab=TAB1\"\u003eVSR1000 Virtual Services Router\u003c/a\u003e\u0026rdquo; is now generally available. This was first \u003ca href=\"http://blog.ipspace.net/2013/05/interop-product-launch-craze.html\"\u003eannounced at Interop Las Vegas in May\u003c/a\u003e, but it wasn\u0026rsquo;t until Interop NYC in September that it started shipping. This post will give a quick introduction to the VSR, and show how to get it up and running using VMware Fusion on Mac OS X.\u003c/p\u003e","title":"HP VSR1000 - Getting Started"},{"content":"There\u0026rsquo;s a lot of over-blown talk these days about APIs. Everyone wants one, everyone\u0026rsquo;s promising one. You might ask: \u0026ldquo;What\u0026rsquo;s the difference between using an API to put a port in a specific VLAN, and just scripting the equivalent CLI commands?\u0026rdquo; Here\u0026rsquo;s a couple of examples I\u0026rsquo;ve come across recently which show why screen-scraping (i.e. CLI scripting) sucks.\nConfiguration Compliance Checks First, Network Configuration Compliance Checks: I have recently been doing some work with HP IMC, writing Compliance policies, to ensure all network devices contain certain baseline configuration and security settings. One of the checks was checking that SNMPv3 trap settings were correct on various HP Comware systems. This is the line I was looking for:\n1 snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname SECNAME v3 privacy All looks straightforward enough. I just need to write a regex pattern that matches that line. I had a couple of different trap destinations to match, but that\u0026rsquo;s no big deal. But for some reason it kept saying that some of my systems were non-compliant. I couldn\u0026rsquo;t figure it out, because when I would login to those devices and look at the config, it looked pretty good to me. Here\u0026rsquo;s an example:\n1 snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname SECNAME v3 privacy The only immediately obvious difference was that the first devices were running 1808P08, and the second ones were running 1206. But when I looked at the output more closely, I see that in the second one there\u0026rsquo;s two spaces between \u0026ldquo;v3\u0026rdquo; and \u0026ldquo;privacy\u0026rdquo; (You\u0026rsquo;ll probably need to scroll across within the code box to see it). Gah! Didn\u0026rsquo;t seem to be mentioned in any release notes either. Simple things like an extra space can take a while to spot on the screen. I had to go through it character by character. Very, very annoying. What I really wanted was to make an API call that says \u0026ldquo;Tell me your SNMPv3 trap destinations and parameters\u0026rdquo;, and then programmatically verify the output.\nAutomated Backups The second example is in writing an IMC backup adapter for Avaya ERS switches. I needed to use TCL/Expect to connect to the switch via Telnet or SSH, and either do show run or copy the configuration to a TFTP server. Again, straightforward enough. Sure, Avaya/Nortel is stupid, and you need to enter Ctrl+Y on initial connect, but beyond that it should be OK.\nWarning: Aside: What\u0026rsquo;s the point in entering Ctrl+Y when I\u0026rsquo;ve just SSHed to this device? What do they think I might want to do OTHER than login? What were the developers thinking? I had some example code that would connect, then run a while loop, looking for specific output, and sending the appropriate response. For example, it would look for Enter username: and send the username. It would also look for various potential errors. The initial login script would know it had succeeded when it could see the Enable prompt. On an Avaya switch, the enable prompt looks like this: AvayaSW01#. The hostname at the start could change, so the script I was using just looked for # To be clear, I did not write the original script. I just fixed it.\nThe problem comes when connecting to the Avaya ERS. The first thing you get at initial connection is this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ### ### ### ### ### ### ### ##### ### ### ##### ### ### ##### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ########## ### ###### ########## ### ###### ########## ### ############ ### #### ############ ### #### ############ ### ### ### ## ### ### ### ### ### ### ### Enter Ctrl-Y to begin. *************************************************************** *** Ethernet Routing Switch 4826GTS-PWR+ *** *** Avaya *** *** Copyright (c) 1996-2013, All Rights Reserved *** *** SSH *** *** HW:04 FW:5.6.2.1 SW:v5.6.3.025 *** *************************************************************** What\u0026rsquo;s the problem here? The script saw the initial # that formed \u0026ldquo;Avaya\u0026rdquo;, and decided \u0026ldquo;That must be the enable prompt. Clearly my login process has already worked!\u0026rdquo; I had to tweak my script to match [a-zA-Z0-9]+#, and then it behaved itself.\nCommon APIs: The Solution? These are just a couple of examples of why need standardised APIs. It\u0026rsquo;s not good enough to keep accepting every vendor doing their own thing, and changing it slightly as we go. Of course, APIs can and do change too. But good APIs should clearly publish version differences, in such a way that API consumers can clearly identify capabilities and variations.\nWe can\u0026rsquo;t keep mucking around with current methods. It just consumes far too much effort, effort that could be better spent doing USEFUL things with our networks instead. Bring on common APIs!\n","permalink":"https://lkhill.com/why-screen-scraping-sucks/","summary":"\u003cp\u003eThere\u0026rsquo;s a lot of over-blown talk these days about APIs. Everyone wants one, everyone\u0026rsquo;s promising one. You might ask: \u0026ldquo;What\u0026rsquo;s the difference between using an API to put a port in a specific VLAN, and just scripting the equivalent CLI commands?\u0026rdquo; Here\u0026rsquo;s a couple of examples I\u0026rsquo;ve come across recently which show why screen-scraping (i.e. CLI scripting) sucks.\u003c/p\u003e","title":"Why Screen Scraping Sucks"},{"content":"Recently I\u0026rsquo;ve been thinking about Cisco Prime Infrastructure, and Cisco\u0026rsquo;s continued resistance to supporting non-Cisco equipment. I\u0026rsquo;ve been wondering if this is good for Cisco, and if they should face reality, and add support for non-Cisco devices.\nCisco Prime Infrastructure is an NMS/NCCM product from Cisco, aimed at Enterprises running all-Cisco network equipment. It provides fault and performance monitoring, configuration management, network visibility, and provisioning, across Cisco wired and wireless products. According to Cisco:\nCisco Prime Infrastructure empowers IT departments to more effectively manage their networks and the services they deliver. This scalable, integrated solution tightly couples end-user awareness and application performance visibility with comprehensive lifecycle management of wired and wireless access, campus and branch networks.\nFairly sickening marketing-speak, but you get the idea. Cisco Prime Infrastructure is the direct descendant of Cisco Prime LMS, previously known as CiscoWorks LMS. CiscoWorks has a bad reputation amongst grizzled network engineers, but you can\u0026rsquo;t deny the number of customers: 30,000 (in 2011, the most recent I could find). No doubt many of those customers got the product for free with a large hardware deal, and will never install it. But we\u0026rsquo;ll gloss over that for now. It also gets reasonable reviews these days. Because we all love Gartner around here, this is what they had to say in their 2011 NCCM MarketScope:\n\u0026ldquo;Cisco received high marks for overall viability and sales execution\u0026hellip;Cisco\u0026rsquo;s NCCM strategy and vision is well-thought-out and correct for a network equipment manufacturer; however, its product and strategy ratings were somewhat constrained, because only Cisco devices are supported.(emphasis added)\nSo it all sounds like it\u0026rsquo;s a product well worth considering\u0026hellip;but with a catch: Only supports Cisco products. Check the Supported Devices list. Any device, with any OS is supported for Performance Monitoring, Device Availability, and LLDP Neighbour Discovery. But what about all the other cool features around configuration management? You\u0026rsquo;re out of luck. No support for any non-Cisco equipment, and no way to add any.\nIf your network is small, and you\u0026rsquo;ve only got a few non-Cisco devices, then no big deal, right? But what if you\u0026rsquo;ve got say 200 Cisco devices, and 100 Juniper switches? It\u0026rsquo;s too many Juniper devices to handle manually - so you have to find a non-Cisco NMS. JunOS Space probably won\u0026rsquo;t help you either - as far as I can tell, it has the same limitations as Cisco Prime when it comes to gear from other vendors. You need to find a 3rd-party NMS/NCCM system that will work with a heterogeneous network.\nLet\u0026rsquo;s think about something for a minute: What do you think would happen if Cisco Prime Infrastructure supported non-Cisco equipment? Assuming the product does what it says on the tin, we could reasonably expect to see more Cisco Prime sales, particularly in networks that are 50-85% Cisco. People who had shunned it previously could now consider it. What about hardware sales? This is a more debatable question. Would we see reduced sales of Cisco gear, as previously 100% Cisco shops introduced other vendors. Or would we see a halo effect, where people use Cisco Prime, realise how much better it is with all Cisco gear, and go out and buy more 3850s?\nWell I guess that depends on whether Cisco is a hardware or software company, right? They keep telling us they want to be a software company. Do any of us believe that?\nNote that I am not saying that Cisco should actively support non-Cisco devices - I just think they should have an infrastructure that allows customers to integrate other vendors. Provide a mechanism for customers to share those integrations too, and build up a community around the product. Who knows - maybe a few more companies will decide to get over their deap-seated loathing of Cisco Works, and give it another go? And if that works out well, maybe they\u0026rsquo;ll feel a bit better about buying more Cisco kit.\n","permalink":"https://lkhill.com/cisco-prime-multivendor/","summary":"\u003cp\u003eRecently I\u0026rsquo;ve been thinking about \u003ca href=\"http://www.cisco.com/en/US/products/ps12239/index.html\"\u003eCisco Prime Infrastructure\u003c/a\u003e, and Cisco\u0026rsquo;s continued resistance to supporting non-Cisco equipment. I\u0026rsquo;ve been wondering if this is good for Cisco, and if they should face reality, and add support for non-Cisco devices.\u003c/p\u003e","title":"Cisco Prime Lack of Multivendor Support: Who Loses?"},{"content":"HP has released Version 7.0 of Intelligent Management Center. This is a significant upgrade from 5.2, and greatly modernises the interface. (In case you\u0026rsquo;re wondering, version 6 was never publicly released. Seems IMC number is matching Comware numbering?). While most workflows are identical, the look and feel is quite different. Here\u0026rsquo;s the highlights of the new features:\nNew HTML5 interface, with client-side Java mostly banished Mobile device interface Cisco Wireless equipment support (!) Hyper-v 2012, Windows 2012, RHEL 5.9, 6.4, MySQL 5.6 support Configuration - better software upgrade support Compliance - improvements in policy handling Alarm Management - Delete/Acknowledge/Recover all alarms in one go Use interface Alias or Description in alarms Performance - can modify instance name For a full list of new features, check out the Release Notes. Downloads here for Standard and Enterprise. Let\u0026rsquo;s go through some of the changes in more detail.\nNew Interface - HTML5 This is the biggest change, that you\u0026rsquo;ll notice right from the login page. All the icons and visuals have changed, although the workflow is mostly the same. Most (but not all) client-side Java has been replaced by HTML5. Browser support has changed - it\u0026rsquo;s now IE 9/10, Firefox 20+, and Chrome 26+. There\u0026rsquo;s even themes for applying a different colour scheme. Take a look at some of these screenshots:\nIMC 7.0 Homepage\nIMC 7.0 Resources\nWhen looking at a Custom View, or IP Topology, you can now view the Topology using HTML5, and not Java:\nIMC 7.0 Topology Custom View using HTML5\nUnfortunately, If you go Resource -\u0026gt; Network Topology, the pop-up still uses Java. I don\u0026rsquo;t understand why Java still lingers for this Topology view, when it\u0026rsquo;s been banished from the other views. One step at a time I guess.\nClicking around the interface, you\u0026rsquo;ll see a lot of different icons, and improved behaviour. It\u0026rsquo;s still a touch rough though - sometimes text doesn\u0026rsquo;t line up with boxes quite right. Plus it still does that annoying thing where clicking a menu item will take you to that page, but the menu boxes on the side pane won\u0026rsquo;t update to show your current location. They still suppress right-click too - very frustrating when you want to right-click and copy something. Use Ctrl+C instead.\nMobile Interface IMC had IOS and Android applications that could be installed on your phone, to provide basic views of your network status. The application felt unloved, and never saw any updates. But now that they\u0026rsquo;ve moved to HTML5, you don\u0026rsquo;t need the application - you can just browse directly to the site. It\u0026rsquo;s a pretty basic view, but it will show you your devices and alarms, and you can ping a node. Not much else.\nMobile View Frontpage\nDevice Details View\nMobile View Alarm List\nMobile View Alarm Details\nPlatform Support This release supports Windows 2012, RHEL 5.9 and 6.4. It also supports MySQL 5.6, and IMC has supported MS SQL Server 2012 since 5.2 SP1. I don\u0026rsquo;t know any customers yet that require Windows 2012 support, but I expect that to change within 12 months. Good to see that they\u0026rsquo;re not lagging behind there.\nConfiguration and Compliance Configuration Management has seen a couple of improvements around device support. SCP is supported for ProCurve software management, along with ISSU upgrades for Comware v7. Looking through the Expect scripts, a lot of the code has been changed to use \u0026ldquo;send -s\u0026rdquo;, to slow down the sending of commands. This will probably help with some of the issues I\u0026rsquo;ve seen where it seems to overrun buffers.\nCompliance has had some minor workflow improvements. Previously, if you only wanted to run a single Compliance Policy check, you had to go through and individually disable all the other policies. Now you can disable them all in one go. Compliance Task Management is still painful in that you can\u0026rsquo;t modify a scheduled task, or even have it apply newly updated rules, but it is slowly getting better. I remain hopeful.\nAlarm Management You can now Delete/Recover/Acknowledge ALL alarms in one go now. Previously you could only do it for all alarms displayed on the screen - a maximum of 200. This will be good news to anyone who has had to deal with an event storm.\nYou can also use Interface Aliases in Alarm description field - it\u0026rsquo;s much more helpful to see \u0026ldquo;Interface \u0026lsquo;Telstra MPLS Link CCT: 223345\u0026rsquo; Down\u0026rdquo;, rather than \u0026ldquo;Interface Gig0/1 Down\u0026rdquo;.\nFor those with hierarchical IMC systems, if you recover an alarm, it now also recovers it in the upper- or lower-level IMC system.\nIf you drill through an Interface Details page, you\u0026rsquo;ll see a list of alarms for that interface - previously this only worked at the device level.\nOther Improvements and Fixes Cisco wireless infrastructure support in WSM - haven\u0026rsquo;t had a chance to play with this yet, but it looks promising. Auto-discovery can now use filtering to only add specific device models. I\u0026rsquo;d prefer to be able to filter OUT specific device classes - e.g. printers - but this is a start Performance Monitor Instances can now have their name modified. Performance Monitoring - change thresholds from performance graph Topology - customise icon for a single device (as opposed to entire device class) Device import from CSV - can now specify Custom View Licensing Changes HP has changed the license allocations and block sizes for IMC. Previously IMC Standard came with 100 nodes included in the base license, while IMC Enterprise came with 200 nodes. The smallest additional license block was 100 nodes.\nThat has now changed - both Standard and Enterprise ship with 50 nodes, and you can buy 50-node blocks. NTA (NetFlow/sFlow) licenses previously started at 10 nodes, now they start at 5 nodes.\nPricing has been updated to reflect changed node counts. This means that starting points are much lower, particularly for Enterprise. Steps are smaller too, but the overall costs are the same - if you previously needed say 400 nodes, the overall price will be the same - but you might be able to get away with buying 350 nodes, instead of 400. It gives you just a little more flexibility.\nUAM licensing has also changed - it is licensed based on concurrent users, not users in the database - this can have a very large impact on your required license numbers.\nI believe existing customers should be able to use their current licenses, with no changes, but I haven\u0026rsquo;t had a chance to test this. Quite important to know beforehand, if you don\u0026rsquo;t have active support.\nConclusion This release is a really positive move for HP. It doesn\u0026rsquo;t fix everything I\u0026rsquo;d like, but the interface was well overdue for an overhaul. Their regular release cycle is pleasing too - we\u0026rsquo;re seeing real, usable improvements with each release. The product is a LONG way ahead of where it was two years ago. That said, I\u0026rsquo;m not quite ready to recommend production use. I need to test it out more in my lab, I highly recommend you do too.\nNote: Disclaimer: HP gave me early access to IMC 7.0, but did not ask me to write anything, nice or otherwise. ","permalink":"https://lkhill.com/hp-imc-7-0-roundup/","summary":"\u003cp\u003eHP has released Version 7.0 of \u003ca href=\"http://h17007.www1.hp.com/us/en/networking/solutions/network-management/index.aspx\"\u003eIntelligent Management Center\u003c/a\u003e. This is a significant upgrade from 5.2, and greatly modernises the interface. (In case you\u0026rsquo;re wondering, version 6 was never publicly released. Seems IMC number is matching Comware numbering?). While most workflows are identical, the look and feel is quite different. Here\u0026rsquo;s the highlights of the new features:\u003c/p\u003e","title":"HP IMC 7.0 New Features Roundup"},{"content":"This is a quick overview of Splunk - what it is, how it works, what makes it good, and how you might use it. I like Splunk, and I think most engineers should have at least a passing familiarity with it.\nWhat is Splunk? To quote Splunk themselves:\nSplunk Enterprise is a fully featured, powerful platform for collecting, searching, monitoring and analyzing machine data. Splunk Enterprise is easy to deploy and use. It turns machine data into rapid visibility, insight and intelligence.\nBasically Splunk takes in all of your text-based log data, and provides you an easy way to search through it. It started out as \u0026ldquo;Google for your logs\u0026rdquo;, but it\u0026rsquo;s become far more than that, as capabilities have been added. Now you can pull in all sorts of data, and perform all kinds of interesting statistical analysis on it, and present it in a variety of formats. You can simply search for specific patterns, or you can generate all manner of graphical reports: How does it work? There\u0026rsquo;s three key components to a Splunk installation:\nForwarder: Forwarders forward data to remote indexers. They may also index it locally. Data can be taken in via many different methods - monitoring log files, syslog, TCP, WMI, running scripts, querying a database, etc. Data can be forwarded to multiple indexers, or split. Indexer: This is the heart of the Splunk setup - it stores and indexes data, and responds to search requests. This is their \u0026ldquo;Magic Sauce\u0026rdquo; - they use some fairly interesting techniques with MapReduce to store and process large amounts of unstructured data, and still be able to return timely search results. Search Head: This is the main front-end, commonly accessed via the Splunk web interface. Search Heads can run searches across multiple Indexers, so you can scale out. These components can be combined, or distributed for full flexibility. Recent development work has been around SDKs and APIs to provide more methods for inserting data, and for running queries. Using the API allows you to integrate Splunk into your other applications, without using the regular Splunk web interface. The Splunk team are quite happy about that - they see their value in the indexing and searching, not in the presentation.\nWhat makes it so good? Splunk\u0026hellip;4-5 years ago\u0026hellip;it just pulls a lot of logs in, tells you what happened in a specific time span. Today it\u0026rsquo;s really a platform, that you build apps on top of.\n(Paraphrasing Denny LeCompte, SolarWinds, NFD6.) Applications and integrations are at the heart of what makes Splunk useful. Once you\u0026rsquo;ve built up a set of useful dashboards, data definitions, saved searches and reports, they can easily be distributed as applications. Many vendors and independent developers have developed useful applications, and distribute them at apps.splunk.com. The recent development work around SDKs and APIs allows deeper integration with other applications. The combination of these two factors makes Splunk more of a platform, and not simply a standalone product. It is this that provides enormous value to customers. Look at examples like the \u0026ldquo;Splunk for ServiceNow\u0026rdquo; application - this lets you search ServiceNow data as another data stream - or you can go the other way and automatically insert tickets into ServiceNow in response to events.\nThe other things that make Splunk so good are its flexibility and speed. By breaking the application into components, Enterprises have a lot of flexibility in how it is deployed - e.g. all nodes at a site could use forwarders to monitor logfiles, which then forward to a single forwarder, which re-forwards the data to a central Splunk instance. Or the data could stay at each site, and a single search head could query multiple sites at once.\nSpeed comes from the underlying technology, and the ability to scale out. It\u0026rsquo;s certainly not always super-fast: But it\u0026rsquo;s a vast amount better at querying unstructured data than traditional databases. You do need to commit a reasonable amount of resources to make it fast, but at least it\u0026rsquo;s relatively simple to do so.\nCommon Use-cases Operational Monitoring: automated alerting, investigating incidents across multiple logs, capacity planning. NOC-style dashboards are easy to create, to show current activity. Security: I\u0026rsquo;ve seen it used to help comply with the PCI-DSS \u0026ldquo;Daily Log Review\u0026rdquo; requirement. A classic dashboard might show all security \u0026ldquo;incidents\u0026rdquo;, or perhaps all log patterns that do NOT match known good patterns. Customer Behaviour Analysis: You might pull together data from a variety of sources, in an attempt to understand customer buying patterns, e.g. look at how many customers are logging in each day, what items are most commonly added to baskets, and how long a user spends on your site before purchasing. Note that these are not exclusive uses - you could take in the same data, but each group could have a unique set of views, reports and saved searches against that data. Combining multiple use-cases is often the best way to use Splunk, and it can help you get funding for your project.\nWhy Might I NOT Use Splunk? There\u0026rsquo;s two main reasons for not using Splunk:\nThe price is well into the \u0026ldquo;reassuringly expensive\u0026rdquo; category, and if you have large daily data volumes, it can become prohibitively expensive. It\u0026rsquo;s licensed on the basis of daily log volumes. NB: You can burst above your daily limit up to 5 times per month before it will stop working, so you can cope with short spikes in demand. You can also run a free instance if you\u0026rsquo;re using less than 500MB/day, and don\u0026rsquo;t need authentication. You don\u0026rsquo;t want to run your own infrastructure, but would prefer to access it as a service. Splunk does offer Splunk Storm, a cloud-based version of Splunk, but it\u0026rsquo;s feature limited, and development seems a little slow. This is not to say that you should only use Splunk. Not at all. There are many other good products on the market, and others may well fit your needs better. You might find other products have better integrations with other systems you use - e.g. if you use the HP BSM suite, then ArcSight might be an excellent choice based upon its integration capabilities. Splunk\u0026rsquo;s general-purpose nature might appeal to you, or you might need something that is tightly targeted towards a specific need.\nWrapping Up I\u0026rsquo;m a fan of Splunk. I think it\u0026rsquo;s a fantastic product, that has an enormous number of uses. You should definitely evaluate it when looking for log management tools. The only major downside is the price - if you really need it, hopefully you can come up with a business case that stacks up.\n","permalink":"https://lkhill.com/splunk-overview/","summary":"\u003cp\u003eThis is a quick overview of Splunk - what it is, how it works, what makes it good, and how you might use it. I like Splunk, and I think most engineers should have at least a passing familiarity with it.\u003c/p\u003e","title":"Splunk Overview"},{"content":"Cisco recently announced they have invested $10M into Loggly, a Cloud-based log management service. I had vaguely heard of Loggly before, but never properly investigated it. Let\u0026rsquo;s dive in and find out: What is Loggly, how does it work, why/where would I use it, and what other options do I have?\nWhat is Loggly? According to Loggly:\nLoggly helps cloud-centric organizations—organizations that build and manage cloud-facing applications—to solve operational problems faster. Our solution analyzes log data from virtually any application, system or platform to answer your burning questions\nLoggly is a cloud-based log management application. Submit your logs via a variety of means to Loggly\u0026rsquo;s systems, and now you can query and view all your logs in one place, in real-time. Sweet. Create graphs from that data, parse out specific events, alert when certain patterns are seen, etc.\nIf you\u0026rsquo;ve ever had to log into 10 different devices to find the relevant logs, you\u0026rsquo;ll appreciate the need for centralised log management. If you\u0026rsquo;ve ever spent hours crafting massive command lines involving multiple grep. sed \u0026amp; awk statements, you\u0026rsquo;ll love fast powerful searching. If you\u0026rsquo;ve had to take CSV files and turn them into charts using Excel, you\u0026rsquo;ll love being able to just send someone a link to run a real-time report.\nHow Does it Work? To use Loggly, first sign up for an account, and then start forwarding data to Loggly, from whatever source you\u0026rsquo;ve got. You can submit data via various sources such as syslog, TCP/TLS, HTTP calls, etc. When submitting data, you include an access key that associates the data with your account. Here\u0026rsquo;s the steps I went through to get some Apache logs from an AWS EC2 instance submitted to Loggly:\nSign up with Loggly. Go to loggly.com, and sign up for a free trial. After doing that, I\u0026rsquo;ve got a blank slate - no log entries yet: Empty Loggly - no logs yet\nConfigure rsyslog to send logs to Loggly. The test EC2 instance I\u0026rsquo;m using is a Linux box running rsyslog, so I follow the instructions provided for configuring rsyslog: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 # wget -q -O - https://www.loggly.com/install/configure-syslog.py | python - install ************************************************************* ****** Starting Loggly Syslog Configuration Script ****** ************************************************************* Python version check successful: Installed version is 2.6. Minimum required version is 2.6 Reading environment details.... Installation started Operating System: Red Hat Enterprise Linux Server-6.4(Santiago) Syslog versions: 1. rsyslog(5.8) Performing sanity check.... Sanity Check Passed. Your environment is supported. Configuring rsyslog-5.8 Reading Loggly credentials from user.... Enter the username that you use to log into your Loggly account. Loggly Username [root]: LindsayHill Password for LindsayHill: Enter your Loggly account name. This is your subdomain. For example if you login at mycompany.loggly.com, your account name is mycompany. Loggly Account Name [LindsayHill]:lkhill This system is now configured to use \u0026#34;11111111-aaaa-4444-aaaa-eeeeeeeeeeee\u0026#34; as its Customer Token. Reading configuration directory path.... Reading default configuration directory path from (/etc/rsyslog.conf). The Loggly Syslog Configuration Script will create a new configuration file /etc/rsyslog.d/22-loggly.conf Creating configuration file at /root/22-loggly.conf SELinux is on. Please disable it and restart rsyslog daemon manually. If you wish to use a different Customer Token, replace 11111111-aaaa-4444-aaaa-eeeeeeeeeeee with the token you wish to use, in the file /etc/rsyslog.d/22-loggly.conf. Installation completed ************************************************************* ****** Finished Loggly Syslog Configuration Script ****** ************************************************************* I had to fix the SELinux permissions on /etc/rsyslog.d/22-loggly.conf. I think it is just lazy of the developers to say \u0026ldquo;Disable SELinux\u0026rdquo;, when all I had to do was set the context to system_u:object_r:etc_t. After making those changes, and running service rsyslog restart, we were sending logs to Loggly via Syslog over TCP.\nConfigure rsyslog to read Apache logs. The previous configuration was only forwarding regular syslogs. I also needed to configure rsyslog to read my Apache access logs. I used these instructions to get rsyslog to monitor /var/www/httpd/access_log. After making those changes, and restarting rsyslog, my web logs were being sent to Loggly.\nProfit! View and search my logs in near real-time: Sure enough, logs started appearing in Loggly, and I could run quick searches:\nLoggly - logs starting to come through\nLoggly - running a search\nNote that it automatically picks out various fields in the data, such as apache.status - I didn\u0026rsquo;t configure any of that, it automatically detected the log format.\nNow I can continue regularly submitting data, and search through it whenever I want, for whatever patterns I want. It starts to get interesting when I can start seeing trends in the data, or set up alerts that tell me when certain patterns are seen.\nAfter collecting data for a few days, I had a bit more to work with. But Loggly was still super-quick at running queries. I could now start trying out a few more of the visualisations - graphs, charts, etc. I haven\u0026rsquo;t dug into the Query Language deeply enough yet to know if it can do everything I want, but the basics are well covered. Tools like this really come into their own when you build up a complex query, and then save it - next time it\u0026rsquo;s as simple as picking a bookmark, and you can see current results.\nWhy/Where Would I Use It? Loggly says that anyone who has text-based logs, either structured or unstructured, can use it. They support many methods for submitting data, but they don\u0026rsquo;t have agents, and some of the log submission methods will need application changes. These are the characteristics I see in the target customers:\nDeveloped Custom Cloud-based web application\nAllergic to hosting your own systems or applications\nLove OpEx, Hate CapEx\nNeed alerting info from application log data\nDon\u0026rsquo;t care about what happened two weeks ago - just care about now\nWhen I look at that list, I think: Complete opposite of traditional organisations. There might be some traditional organisations that would benefit from Loggly, but I think the target market is very much hip new Web 3.11 companies. Nothing wrong with that, and you may find a place for it in your staid company. But you should be very clear on what it is, and what it isn\u0026rsquo;t.\nPricing Loggly is very upfront with their pricing. Pricing is based upon your daily log volumes, and the length of time you want to keep the data. There\u0026rsquo;s also a free tier.\nLite: 200MB/day, 7-day data retention. Free\nDevelopment: 1GB -\u0026gt; 10GB/day, 7-day data retention. $49/month -\u0026gt; $374/month\nProduction: 7GB -\u0026gt; 150GB/day, 15-day data retention. $349/month -\u0026gt; $7,400/month.\nCaveats and Alternatives It\u0026rsquo;s not a perfect solution. Retaining data for a maximum of 15 days means that it\u0026rsquo;s only really useful for near real-time analysis and alerting. It can\u0026rsquo;t be used for long-term capacity planning, or where logs need to be kept for audit purposes. Most people never go back more than a couple of weeks in their logs anyway, so that may not be a big deal. It depends on your application. This will probably be the critical decision in evaluating Loggly: How long do you need to keep your data?\nStoring all data off-site may be a problem for some types of data, and some jurisdictions. But if it\u0026rsquo;s just fault analysis for your simple web app, who cares? Not a problem. At least you can try out Loggly at a low cost, and if it doesn\u0026rsquo;t work out, then you can investigate other tools.\nUsing existing logging applications such as rsyslog or log4net is both good and bad. It\u0026rsquo;s great that you can just use your existing tools, but it does lead to some limitations. You may want a dedicated logging agent if you have complex needs for forwarding data. For most common needs, Loggly\u0026rsquo;s variety of input methods will be fine.\nSome of the alternatives out there:\nSplunk: The Big Daddy in this field. Forwarders, on-site storage, distributed search and indexing, enormous number of pre-written apps, huge capabilities for taking in data, and displaying it in whatever format you want. A fantastic tool, but with a price tag that can best be described as \u0026ldquo;reassuringly expensive.\u0026rdquo;\nSplunk Storm: A cloud-based version of Splunk, with some limitations, but much clearer pricing.\nvCenter Log Insight: VMware\u0026rsquo;s foray into log management. Hard to say if they\u0026rsquo;re committed to it or not. Will they just toss it aside like other things they\u0026rsquo;ve tried, or are they serious about this?\nAnyone else notice that all of these products have a vaguely similar look and feel? I guess there\u0026rsquo;s some common requirements, and only so many ways of presenting the data.\nWhy Did Cisco Invest In Loggly? I haven\u0026rsquo;t quite figured that out yet. Cisco has enormous budgets, so $10M is a small amount for something that may or may not pan out. I don\u0026rsquo;t know what their longer-term plans are, but I do wonder if this could somehow be tied to the Meraki acquisition? Combine cloud-based management with cloud-based log management? I don\u0026rsquo;t know.\nConclusion Loggly looks like a pretty interesting log management solution, particularly if your app is entirely cloud-based. It\u0026rsquo;s not suitable if you need long-term log analysis and storage, or if you need to keep your data on-site. But if you\u0026rsquo;re looking for fast, simple log analysis and alerting for cloud-based services, it\u0026rsquo;s certainly worth a look. It\u0026rsquo;s not cheap, but at least you can see exactly what the costs are going to be, and you can try it for free.\n","permalink":"https://lkhill.com/loggly/","summary":"\u003cp\u003eCisco recently announced they have \u003ca href=\"http://www.informationweek.com/cloud-computing/software/cisco-backs-loggly-watch-out-vmware/240160774\"\u003einvested $10M\u003c/a\u003e into \u003ca href=\"http://www.loggly.com\"\u003eLoggly\u003c/a\u003e, a Cloud-based log management service. I had vaguely heard of Loggly before, but never properly investigated it. Let\u0026rsquo;s dive in and find out: What is Loggly, how does it work, why/where would I use it, and what other options do I have?\u003c/p\u003e","title":"Loggly - Responsive Log Management"},{"content":"What is Log Management, and why should I care? Can\u0026rsquo;t I just grep through logs when I need to? Isn\u0026rsquo;t syslog on its own enough? This post will give an overview of log management, and in part explain why products like Splunk exist.\nSome Historical Context Back when @northlandboy was still a\u0026hellip;well, boy, we only had a few physical servers. A company with 150 servers was a big network. Applications ran on a few discrete systems. Active/passive was a luxury, and active/active was unheard of. So if I needed to look at the web server logs, there was probably only one server I needed to login to, and one 2MB log file to grep through . Occasionally, I would need to match up logs across a few different systems, and try to correlate them. Hopefully someone remembered to configure NTP.\nIf I was looking at network device syslogs, we would send them all to one central syslog server, and I could happily use grep/sed/awk to find what I wanted, and massage it into some sort of sensible output. Big syslog servers might have several hundred MB of data. Hopefully I would also have some automated log monitoring in place to raise alerts when Critical conditions were encountered. It was all well under control. But times change.\nModern Challenges Fast forward 15 years, and modern networks are very different places. Maybe you\u0026rsquo;ve still only got a couple of hundred physical servers\u0026hellip;but that\u0026rsquo;s something like 2,000 VMs. Applications are commonly distributed out across many systems. Active/Active across 10 servers is normal. So now when I want to trace a specific transaction, I might have to login to as many as 10 different systems, just to find the right file. Really? And those pesky BAs are getting more annoying, demanding ever more reports, which take me days to gather all the data, run the scripts, and dump it into CSV so the BA can work some Excel magic. Oh and those bloody developers keep asking for production logs, but ITIL processes won\u0026rsquo;t let developers have access to Production systems, so I have to manually copy the logs over for them.\nI tried sending all my syslogs to one server, but I just ended up with a 10s of Gigs of logs every day, and trying to grep through that takes forever. I come up with amazing command lines, stringing 15 commands together\u0026hellip;and then I forget to save it, and I have to figure out the syntax again next week. There has to be a better way.\nThe Rise of Log Management Systems So we\u0026rsquo;ve seen that there was tension for change - the old ways weren\u0026rsquo;t coping any more. A few other factors also came into it - one was the idea of \u0026ldquo;SIEM\u0026rdquo; solutions (Security Information and Event Management). People had the idea of pulling ALL of their logs and events into one place, to mine it for security events. The theory was that there was intelligence to be gained from watching patterns of activity across multiple systems. When you think about it, this applies to any form of network or service management - you\u0026rsquo;re looking for anomalies. There\u0026rsquo;s been varying degrees of success with this - many SIEMs only dealt with very structured data, making it difficult to extend them.\nAnother factor was new technologies such as MapReduce becoming available. Previously we could only use big, slow, expensive traditional SQL databases to store data. The problem is that you had to know the precise forms of data you were storing, and you had to have a good idea about the types of questions you would ask of that data. New technologies made it possible to store large amounts of unstructured data, and ask it all manner of questions, without suffering major performance penalties.\nLastly you also had the growing realisation that there was a lot of hidden value in our data, and that simply watching for alerts wasn\u0026rsquo;t enough - if we could keep all our data, we might later find that there were all kinds of insights to be found, if you could just figure out the right questions to ask.\nPull these factors together, and you get the rise of companies like Splunk, who set out to be\nGoogle for your logs\ni.e. fast real-time searching across all your log data.\nState of the Art So what sort of features can we expect from a modern log management system? Typical features include:\nAbility to insert wide variety of text-based logs, through many different means - e.g. monitoring logfiles, syslog, TCP, etc. No limits on data structure - unstructured, unknown data is fine Can handle large data sets, with reasonable performance. Distributed workload processing User interfaces that allow quick searching of data, and presenting via a variety of methods Pattern-matching and alerting Probably the biggest, most well-known player in this market is Splunk, but they\u0026rsquo;re not the only ones. We\u0026rsquo;ll look at them more closely in a future post.\nSo now all I need to do is to make sure all my logs are going into my log management system, and I can start mining it for intelligence. Let\u0026rsquo;s say I\u0026rsquo;m dealing with a failed web application transaction. All I have to go on is a customer ID. That customer ID could appear in any number of logs across a range of web and application servers. Now I can go and search for a customer ID in one place, and see all the related logs, across all the related systems. In one place.\nOr maybe I can work out the average transaction time, based upon my web logs\u0026hellip;and turn it into a graph suitable for NOC display. Or my developers need access to some specific production logs - no problem, set up a limited access account, and give them access to just those logs. Now they can watch them in real-time, and not have to wait for the Ops team to provide the logs.\nThe Future So I\u0026rsquo;ve got access to all my logs in a quickly searchable format, and I can perform all kinds of statistical analysis and fancy presentations. Where to from here?\nIn the short term, I think we\u0026rsquo;ll see the log management systems become more underlying platforms, rather than standalone applications. Their value will be in fast data storage and indexing. They will integrate with other systems, so you\u0026rsquo;ll be using some custom top layer for interaction. That layer will also be pulling data from other areas, such as CRM, NMS, etc. Everyone\u0026rsquo;s got an API these days, maybe we\u0026rsquo;l actually find ways of pulling it all together?\nTalking to customers, the problem has moved beyond \u0026ldquo;How can I store/process/manage/query this data?\u0026rdquo; to \u0026ldquo;OK, I\u0026rsquo;ve got something that can answer any question I ask. What question should I ask? How do I gain insight from my data?\u0026rdquo; I see the next phase as being much more about figuring out how to automatically pick out key trends and anomalies, and gain real insight from operational data. Answer the questions you didn\u0026rsquo;t even know you should be asking. That\u0026rsquo;s a \u0026ldquo;hard\u0026rdquo; problem, and it\u0026rsquo;s going to take time to solve. For standard apps, it will be easier - but how can a Splunk developer know what is important about your custom application? That\u0026rsquo;s tricky.\nDo I Need It? Almost certainly Yes. You just might not realise it yet. There is a learning curve to using these products - not so much in learning the tools, but more in re-learning your own troubleshooting workflows. If you find yourself regularly logging into 20 different systems to look at logs, if you frequently curse Windows for not shipping with grep/sed/awk, if you would just love to give the BA access to the data to run that damn report herself\u0026hellip;then you need some form of Log Management. If you\u0026rsquo;ve got high-end needs, the prices will get scary - but stick with it, I believe the benefits far outweigh the costs.\n","permalink":"https://lkhill.com/log-management-overview/","summary":"\u003cp\u003eWhat is Log Management, and why should I care? Can\u0026rsquo;t I just grep through logs when I need to? Isn\u0026rsquo;t syslog on its own enough? This post will give an overview of log management, and in part explain why products like Splunk exist.\u003c/p\u003e","title":"Log Management - Overview"},{"content":"Today marks one year since I passed CCIE Routing and Switching, and was branded number 36708. This is supposed to be a huge achievement, bringing fame and fortune, right? You\u0026rsquo;re supposed to immediately change jobs, with an accompanying large pay rise, right? No more drudgery for me, I\u0026rsquo;m a rock star now! Isn\u0026rsquo;t that how it\u0026rsquo;s supposed to work? Let\u0026rsquo;s look at what\u0026rsquo;s changed in the last 12 months for me:\nI\u0026rsquo;m still working for the same company. I\u0026rsquo;m still earning exactly the same salary. The work I do has changed a little, although the bulk of it is the same. I\u0026rsquo;m still married to the same beautiful woman. I\u0026rsquo;m still living in the same crappy house. I\u0026rsquo;ve got a lot more time for other interests, such as blogging, and non-CCIE study and reading. Looking at that list, you might ask:\nWas it really worth it? You invested an enormous amount of time and money in it, with no support from your employer. Shouldn\u0026rsquo;t you be seeing some more payback?\nFirst, a few data points:\nI wasn\u0026rsquo;t exactly on junior rates beforehand. Sure, I\u0026rsquo;d like more money, but I\u0026rsquo;m not starving. If I had done this in 2005, when I really should have done it, I would have expected a large pay rise. I don\u0026rsquo;t do full-time networking - I primarily work in network and infrastructure management. One of the main goals for me for CCIE was in proving to myself that I could do it. Not to make more money or change jobs. The work I do has changed a little - I am doing some network-related work that I could not have been selected for without having a CCIE behind me. Perception matters. It helps establish credibility when I\u0026rsquo;m working with new clients, and hey - all that stuff I learnt actually comes in handy quite often. Even Frame Relay. It\u0026rsquo;s still out there.\nIt\u0026rsquo;s also made me read and learn so much more about networking. That hasn\u0026rsquo;t stopped once I passed. I\u0026rsquo;ve also developed a new group of people who I interact with online, through Twitter, IEOC, the Cisco Learning Network, etc. This has opened new opportunities, and I find I\u0026rsquo;m now speaking to people who I never would have spoken to in the past. This in turn opens up opportunities like attending conferences, and I expect in future it will help with new jobs. I put a lot into my online activities, and it seems that after a while you start seeing returns on that.\nProbably the best thing I\u0026rsquo;ve taken away from it all is new approaches to learning and assimilating material. My approach has changed, and this helped me earlier this year when passing some non-Cisco certifications. More than that, I believe it will help for learning new technologies. If I can keep up half that rate of effort I had, I think it will put me well ahead of most other engineers in our field.\nIt was a struggle at the time to pass the CCIE lab. But I\u0026rsquo;m glad I did it, and I think it has set me up well for the future. I would strongly advise any junior engineer with a passion for networking to go for it. Now I\u0026rsquo;m just trying to figure out my next challenge - the field is wide open. Dive into Open Daylight, become a Python expert, or take on CCDE? There\u0026rsquo;s an exciting world out there\u0026hellip;\n","permalink":"https://lkhill.com/ccie-one-year-on/","summary":"\u003cp\u003eToday marks one year since I passed CCIE Routing and Switching, and was branded number 36708. This is supposed to be a huge achievement, bringing fame and fortune, right? You\u0026rsquo;re supposed to immediately change jobs, with an accompanying large pay rise, right? No more drudgery for me, I\u0026rsquo;m a rock star now! Isn\u0026rsquo;t that how it\u0026rsquo;s supposed to work? Let\u0026rsquo;s look at what\u0026rsquo;s changed in the last 12 months for me:\u003c/p\u003e","title":"CCIE: One Year On"},{"content":" This article is Part 7 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - NMS Primer 2: How Do They Work? Part 3 - NMS Primer 3: Choosing an NMS Part 4 - NMS Primer 4: Main NMS Players Part 5 - NMS Primer 5: Implementation Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - This Article We found out what an NMS does, we selected one, we implemented it, and we\u0026rsquo;ve been keeping the lights on. Our system is patched, up to date, and monitoring all our systems. We\u0026rsquo;re tweaking it as we go to deal with faults. This final post in our NMS Primer series looks at how we can get extra value from our NMS.\nOperational Discipline The most critical element here is Operational Discipline. Every time you have a fault, ask yourself the question:\nHow could we have detected this sooner? Could we have known about this before there was a problem, or could have we have identified the source of the issue faster?\nNote: Here’s an example: You have applications reporting timeouts, and users are unhappy. After some investigation, you realise that disk write latency is very high on your ESXi systems. With further digging, you find that you have a small number of errors on some of your FibreChannel switchports. Since FibreChannel can only cope with extremely low numbers of errors, it doesn’t take many to start causing problems. So what do you do? You make sure that:\nYou’re polling for disk latency, with appropriate alert thresholds, and You change the thresholds for your FibreChannel error polling, to alert at extremely low levels, well below the level you would alert at for regular Ethernet. Note: Yes, it’s somewhat reactive, and yes, you might ask “Why weren’t you doing that upfront?” But it’s really hard to know EVERYTHING that needs monitoring up front. The only realistic thing to do is to keep tweaking your systems, to ensure that you don’t get caught by the same thing twice. Searching Below the Noise Floor Once you\u0026rsquo;ve dealt with your high-priority alerts, you need to start searching below the noise floor. Start trawling through your logs and traps. Take a look at those low-priority logs, the ones that you regularly ignore. Take the time to properly evaluate them, and decide if they need action, or suppression. Given time, and analysis, you should start to see trends in your data. Are you seeing abnormal levels of alerts from specific systems? Or high numbers of a specific alert across multiple systems. Investigate trends like this, and you may be able fix problems before they become larger ones. Or you might just be able to filter a lot of noise from your systems, and improve performance of the NMS itself.\nAutomation Never send a human to do a machine\u0026rsquo;s job\nThe next stage is automated actions. Given specific alerts, is there a standard course of action you can take? e.g. on seeing a disk space alert, do you regularly compress old log files, and empty temp directories? Consider triggering an automatic action. You might be able to fix the problem, without manual intervention. A little time spent now, a lot of time saved in future, every single time that action triggers.\nCompliance If your NMS includes Configuration Management capabilities, you can get a tremendous amount of value from Compliance checking, automated deployments, and pushing changes across multiple systems. This is particularly valuable in organisations that have regular audits. Rather than show your auditors configuration from every device, just show them the automated system for enforcing compliance. They\u0026rsquo;ll love you, and they\u0026rsquo;ll leave you alone. Win-win.\nRequest Fulfilment Deeper integration is also an option. Can you string together actions, to automate request fulfilment? e.g. Get your Service Desk to trigger some form of network provisioning through your NMS, when a change has been requested and approved. This can be challenging, but done well, it can pay off in a big way. Remove the drudgery from your life, and completely change the your users\u0026rsquo; experience, by delivering services straight away.\nThere’s a world of possibilities - it’s up to you to seek out opportunities for improving your systems, improving your job, and improving your business.\n","permalink":"https://lkhill.com/nms-primer-7/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 7\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        This Article\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 7: Going Beyond"},{"content":" This article is Part 6 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - NMS Primer 2: How Do They Work? Part 3 - NMS Primer 3: Choosing an NMS Part 4 - NMS Primer 4: Main NMS Players Part 5 - NMS Primer 5: Implementation Part 6 - This Article Part 7 - NMS Primer 7: Going Beyond We\u0026rsquo;ve covered what an NMS does, selecting an NMS, and some tips on implementing an NMS. But how do we keep an NMS up-to-date and relevant?\nSigns of a well-maintained NMS: Most Operations Engineers have the console up at their desktop. It’s just part of the routine to look at it each morning. When people report network issues, the first place the network engineers look is the NMS. It’s frequently used to prove that no, it’s not the network’s fault. You check the NMS both before and after planned work, to check that everything is behaving as expected. There’s a handful of alarms, and they’ve all been acknowledged, with a note added. There’s more than one person that knows how to drive it Signs of an NMS that’s losing the battle: No-one uses the system, except perhaps on a big screen that’s only there because the boss wanted something to look at. When there is a fault, people start logging into routers first. There’s a long list of alarms, including “Node Down” alarms for sites that have been decommissioned. The person who installed it has left, and no-one else really knows how to manage it. If your NMS regularly displays a long list of alarms like this, something\u0026rsquo;s going wrong:\nToo Many Alarms\nNo More Shelfware! How can we ensure that our NMS is like the first one, and doesn’t become shelfware? Several things have to happen - some of them are straightforward technical maintenance, but the more important issues are cultural: NMS management needs to become core to your network management. It’s not an adjunct, a side thing done by the junior - it needs to be something that everyone does. Any network changes should include updates to the NMS.\nWhat You Must Do Assign responsibility: You may choose to use external resources for some elements of maintenance, but you need an internal person who is responsible. Keep the NMS platform itself up to date. You must stay on top of your patching. The NMS can’t magically know about all new devices that get released - you need to keep it up to date. Plan on patching the application at least every 6 months. Don’t let it get more than one patch cycle behind. Auto-discovery helps with maintaining your inventory, but you should still verify that all new devices show up in your system. Most networks don’t have a high rate of device change - it’s not that hard to check that new devices show up, and old ones are removed. Auto-discovery only works if your templates are up to date, and allow SNMP. Look at it every day, and take action on all alarms. Never simply acknowledge an alarm without knowing why it occurred. Change the threshold, or suppress the alert - preferably at the source, or within the NMS if you must. If you’re repeatedly acknowledging the same alarm, you’re doing it wrong - and heading towards insanity. Warning: Keep your NMS up to date by doing the basics well, on a regular basis, and it will return the investment ten times over. Ignore the regular maintenance, and it will end up like the bike in your shed: Once shiny, but now a sullenly rusting reminder of those grand dreams you once harboured of “getting fit.” Next up, we\u0026rsquo;ll take a look at how to take your NMS beyond the basics, giving you ideas on extending it to become a truly valuable platform.\n","permalink":"https://lkhill.com/nms-primer-6/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 6\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 6: Ongoing Feeding"},{"content":" This article is Part 5 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - NMS Primer 2: How Do They Work? Part 3 - NMS Primer 3: Choosing an NMS Part 4 - NMS Primer 4: Main NMS Players Part 5 - This Article Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - NMS Primer 7: Going Beyond We\u0026rsquo;ve covered what an NMS does, and provided some tips on selecting one. Now let\u0026rsquo;s assume you\u0026rsquo;ve chosen a system, and you\u0026rsquo;re about to start installing it. The exact steps you go through will vary, based upon your network, your goals, and your chosen product sets. Here’s a few things I’ve learned about implementing network management systems:\nStart small Get team buy-in Be aware of the pitfalls - don’t believe all the marketing Expect noise, and be ready to deal with it Allocate sufficient time and resources Let’s go through these.\n1. Start small. Have a few clear, achievable goals in mind. Deliver those first, before getting carried away. Your initial goals might be as simple as:\nGet all network devices added to the NMS. Get up/down alarming for all devices working, and escalated as required (email, Service Desk, etc) Get regular device backups for all systems And that’s it. No, it’s not exciting. But make damn sure you’ve got that level working before you move on to things like performance management, and pretty visualisations. It’s probably going to take you a while to get that stuff done anyway - updating SNMP community strings, ACLs and login credentials can take a while if you don’t have all your devices centrally managed (yet).\n2. Team buy-in If your network team doesn’t like the tool, and doesn’t know how to use it, the project will be a disaster. Trust me. Make sure that internal people are involved, and ideally there is at least one internal team member responsible for this project. You want at least one permanent staff member to fully take it on board, and own, love and cherish that system. It can’t just be consultant-driven.\n3. Be Aware of Pitfalls - Don’t Believe the Hype Be very aware of the potential pitfalls of implementing any new NMS. Everyone gets excited about the new system, and all the wonderful things the marketing material said it can do. But there’s some hard work required to realise those benefits, and some things will just prove too hard (you didn’t believe ALL the marketing, did you?). Be realistic with your goals, and don’t lose heart if it’s not “magical” from day one.\n4. There will be Noise. Be ready to fix things One of the main challenges is that you’re going to get a lot of noise from your network. There’s going to be a lot of things that you’ll find out about your network. The new system may be a bit too sensitive, or it may actually be your network that needs fixing. Don’t shy away from it because the noise gets overwhelming. Be prepared for it, and allow time to fix your network issues. Approach them in a “noisiest-first” manner. Soon it will quieten down.\n5. Do the Hard Yards - Allocate Time and Resources Finally, don’t underestimate the time required. It’s tempting to get external resources in to help with the initial implementation. Great idea! I know some people who can help! :D But if you do this, the consultant should not work by themselves - they should be working with you, preferably with you driving the mouse and keyboard. This is a valuable investment, as you will learn the skills you need to drive the tools. This will pay off in future, when you have the skills to use your new NMS to reduce the time it takes to detect and repair faults. If you don’t have the time to do this, consider using contractors to take on your regular workload, rather than the NMS implementation work.\nConclusion: It’s not rocket science - just hard work Don’t shoot for the moon with your NMS. At least not at first. Start small, ensure all key staff are involved, and steadily expand. Do that, and there’s far less chance of it becoming shelfware.\n","permalink":"https://lkhill.com/nms-primer-5/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 5\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 5: Implementation"},{"content":" This article is Part 4 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - NMS Primer 2: How Do They Work? Part 3 - NMS Primer 3: Choosing an NMS Part 4 - This Article Part 5 - NMS Primer 5: Implementation Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - NMS Primer 7: Going Beyond There are many different NMS products on the market, and it is difficult trying to select the right one. I see four main product groupings - it\u0026rsquo;s helpful to work out which general category suits you, then evaluate products from that smaller list. You can argue a bit about exactly where specific products fit in, and the exact classification, but this should give you a general understanding.\nNote: I’ve also listed example products for each category. This is not extensive - it is just some of the well-known products, and/or those I’ve personally worked with. If you have other products you think should be listed here, then let me know. The four groupings I see are:\nBig Iron (Service Provider/Large Enterprise) Mid-Market (The rest of us) Open Source (Could be used at any level, if you\u0026rsquo;ve got the right people) Cloud-Based (For those allergic to running their own kit) Big Iron Everything is possible, but don’t expect it to be cheap or easy\nThese systems are designed for very large, very complex networks. If you’ve got tens of thousands of nodes, and integration into Business Service Management frameworks is critical, this is where you should start looking. Hopefully you’ve got deep pockets too. Well-suited to organisations that expect to have resources dedicated to network management.\nCommon Features: Distributed, hierarchical model. API. Integration with BSM frameworks. Advanced Root Cause Analysis. Policy-driven configuration. Add-on modules for extra functionality - e.g. NetFlow, IP Telephony monitoring.\nPros: Extreme Scaling, Extensibility through API/Scripting, low management overhead in highly structured environments. Ability to define automatic management policies based on any device attribute - can vastly reduce maintenance overhead. Often have capabilities suited to very large networks - e.g. MPLS monitoring.\nCons: High price, expensive support, consulting often required, out of date interface. Relatively high system resources required for small networks - systems are designed to scale up, not down. Slow development cycles. Watch pricing of add-on modules. Integration between components can be of variable quality.\nProducts: HP NNMi, IBM Tivoli NetCool, CA eHealth, BMC Entuity.\nPrice: Expect to pay tens to hundreds of thousands of dollars.\nMid-Market I’m not looking for super-fancy. What I want is to do the basics, and well.\nDesigned for most Enterprises that have a few tens to a few thousands of devices. Most of the market will be well-served by this segment, or Open Source systems. Ideal organisations where internal network engineers will be deploying and maintaining the system, as opposed to consultants.\nCommon Features: Easy deployment/setup. Looks good in demos. Many features included in base product, rather than separately licensed add-on.\nPros: Greater visual appeal. Faster product development cycles. Focuses on the things that network engineers want. Simpler to deploy, configure and use. Better suited to ad-hoc changes.\nCons: Product inflexibility - it does what it’s designed to do well, but may not be customisable to the degree required. APIs can be limited. Scaling can be a challenge. In large networks, maintenance overhead may be excessive. May only have simple integrations with other systems. Limited Root Cause Analysis. May not offer advanced monitoring - e.g. MPLS.\nProducts: SolarWinds NPM/NCM, HP IMC, WhatsUp Gold, Cisco Prime Infrastructure, ManageEngine, ScienceLogic (can also be cloud-based)\nPrice: Thousands to tens of thousands, depending on scale and features.\nOpen Source Why would I pay for software? I can do anything I want with Nagios!\nOpen Source systems can be used in all sizes of organisation, from very small to very large. The key is the quality of technical staff available, rather than the size of the network. Open Source systems are better suited to organisations that have good technical skills in-house. Common in Linux/Unix shops. With the right skills, and dedication, these systems can deliver the greatest benefits, as they can be made to fit an organisation perfectly.\nCommon Features: Source Code available, product can be completely customised. Setup and deployment needs a sysadmin, rather than a network engineer. Typically have strong user communities. Paid support is often an option, if you need to keep the boss happy.\nPros: May be the only product that can fit very specific niche use-cases. Price can be very compelling, particularly if you need to scale out hugely.\nCons: User interfaces can be variable in quality. Open Source isn’t much help if you don’t have the skills to change code yourself. Be aware of costs for add-on modules if using a product with a Freemium model.\nProducts: Nagios, Cacti, Zenoss, Zabbix, OpenNMS, NMIS\nPrice: Zero dollars up front. Possible costs if you use a freemium product, or need support. Probable time costs for implementation/maintenance (and remember, your time isn’t free).\nCloud-Based Please take these servers away from me, I really don’t want to have to manage them. Just give me a useable product.\nThis category overlaps somewhat with the others, but I’d like to highlight it, as it makes a lot of sense for some organisations. As I define it, these systems have a cloud-hosted central management system, with distributed collectors. You deploy collectors in your network on physical or virtual machines, and they are completely controlled by the central management system. Ideally, all of the underlying configuration will be managed by the provider - it’s just up to you to configure network discovery, define polling and alerting policies, etc. This model is best-suited to organisations that don’t want to manage their management infrastructure themselves - they just want to use it. Also works well for those who need to deploy collectors into cloud-based infrastructure - e.g. AWS, Azure.\nCommon Features: Distributed model, consumption-based pricing, core components managed by third party.\nPros: Greatly simplified setup. Reduced ongoing maintenance overhead. Flexible deployment options. Price flexibility.\nCons: Reliance on third party. May not work for all security models.\nProducts: ScienceLogic (can also be self-hosted), LogicMonitor, Auvik\nPrice: Variable, but very flexible - can usually pay per device, per month, with no term. All OpEx costs, not CapEx. Overall costs comparable to mid-market solutions, with more flexibility. Be wary of costs if you may need to scale to a very large network.\nClear As Mud? This breakdown should have helped to clarify your thinking about what class of products suits you, and now you\u0026rsquo;ll have some products to go and evaluate. I highly recommend the evaluation step too - don\u0026rsquo;t buy a product you can\u0026rsquo;t stand to use! Coming up next: Tips for implementation.\n","permalink":"https://lkhill.com/nms-primer-4/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 4\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 4: Main NMS Players"},{"content":" This article is Part 3 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - NMS Primer 2: How Do They Work? Part 3 - This Article Part 4 - NMS Primer 4: Main NMS Players Part 5 - NMS Primer 5: Implementation Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - NMS Primer 7: Going Beyond OK, so we’ve decided that we need an NMS. There are many different NMS products on the market, and digging through the details can be extraordinarily time-consuming. By working through a few key decision points, you can narrow down your choices.\nThe key decision points are:\nWhat do I want to monitor? Integration - with what, and how deep? Do I need to manage, or just monitor? Cloud-based, or on-site? Distributed or centralised? What’s my company culture? Let’s look at those in more detail.\nWhat do I want to Monitor? We’re talking about Network Management Systems, so obviously we want to monitor network devices. But is this just routers and switches, or do we need to integrate wireless monitoring? That will probably paint us in a corner if we need that, as those tools tend to be vendor-specific. What about monitoring servers, and applications? What about VMware or Hyper-V? There’s a lot of interesting networking happening in the virtual world these days, do we need insights into that? Or is that a separate team, and they’ve already got the coverage they need? Figure out what the bounds of your domain are, what you want to do with your NMS, and what will be done by other systems. The needs of a transport-only ISP are quite different to those of a small Enterprise that wants visibility across the whole stack.\nIntegration - with what, and how deep? Very few systems will be truly standalone. Figure out what other systems you need to integrate with, and what level of integration that is - superficial forwarding of SNMP traps, or full database integration through APIs? Do you need to be able to automatically create Incidents in your Service Desk tool? Or do you need to have full topology integration with some form of CMDB? It depends on the other products in use, and their capabilities, but you may find you have to pick a vendor here for full integration capabilities - e.g. If the rest of your environment is using the HP BSM suite, then HP NNMi is probably the best choice for Network Management. The vendors know this, and will screw you on price if they know you don’t have many options. It may also mean settling for a second-best product, forgoing best-of-breed in favour of ease of integration.\nHP NNMi Open Incidents View\nMonitor or Manage? Do you want to just be told when there’s a problem, or do you also want to orchestrate changes across your network? Does the management system need to be integrated with the monitoring system? The general trend now seems to be integrated network configuration management. If you’re happy with separate systems, you’ve got lots of options. If you want to consolidate your toolsets, you’ll find you have far fewer options to choose from. Luckily many of these are good choices.\nCloud-based or on-site? What’s your philosophy on externally hosted (and maybe externally managed) systems? Love ‘em or hate ‘em? Five years ago, everyone wanted to do it all themselves. I’m seeing a shift in the market, where some people are specifically choosing cloud-based systems wherever possible. I understand the logic of not wanting to manage the underlying infrastructure, but to just use the application to get results. Note: Cloud-based NMS systems almost always have an optional on-site collector component. You may also need distributed monitoring, where remote polling stations forward data to a central aggregation point.\nWhat’s my company culture? You need to choose products that your team can look after. No point picking a Linux-based system that is entirely managed via configuration files, if your team is used to using MMC for configuring applications. Prefer ultimate customisability, rather than simple to use, pretty interfaces? Then the pretty GUI-driven tools probably aren’t right. The cultural fit has to work. You’ll already know where you fit here - the good news is that there are products for all points on the spectrum.\nHopefully this has helped consolidate some of your thinking, and given you a better idea of what to look for in a product. Next up, we’ll look at the main product categories, and some of the key players in each category.\n","permalink":"https://lkhill.com/nms-primer-3/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 3\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 3: Choosing an NMS"},{"content":" This article is Part 2 in a 7-Part Series. Part 1 - NMS Primer 1: What is an NMS? Part 2 - This Article Part 3 - NMS Primer 3: Choosing an NMS Part 4 - NMS Primer 4: Main NMS Players Part 5 - NMS Primer 5: Implementation Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - NMS Primer 7: Going Beyond OK, we’ve now got a bit of an idea about WHAT an NMS might do for us. But HOW do they work? Here’s a quick overview of some of the protocols, tools and techniques used.\nSNMP SNMP (Simple Network Management Protocol) is one of the oldest, mostly widely used protocols we have. It’s also widely despised, but often it’s all we’ve got, so get used to it. SNMP exposes system information in the form of variables that can be polled by an NMS. Examples of the type of information that can be retrieved includes system name, CPU usage, interface state, interface utilisation counters, routing tables, etc.\nThere are standard objects that all systems should offer, and then there are vendor extensions to expose custom data - e.g. Active VPN tunnels on a Cisco ASA. It is this ability to extend SNMP that helped it catch on, as vendors are free to expose whatever information they think is useful. This information is published as “MIBs”, that defines the mapping between numeric SNMP OIDs and human-readable descriptions.\nSome values can also be “set” - e.g. tell a switch to disable interface Gig0/1. Devices can also asynchronously send “traps” to an NMS, to inform it of changes of device state - e.g. a link going down.\nSNMP Agents are relatively lightweight, and have been implemented in very low-end systems. Both polling and traps use UDP, on ports 161 and 162, respectively. SNMP v1 and v2c use simple plaintext \u0026ldquo;community\u0026rdquo; strings for security, while SNMPv3 implements proper encryption and authentication. SNMP v2c is probably the most widely used version, in spite of its security shortcomings.\nThe combination of these factors has led to widespread support across almost all network-capable systems. The array of information that can be accessed via SNMP provides the ‘core’ of our network management needs - it provides almost all device configuration and state information.\nDiscovery In order to monitor a network, the NMS first has to know what devices make up the network. There’s a few different ways of loading devices into your NMS - the simplest is to go and manually add a list of all devices. This is fine if you’ve got 10 nodes, but it doesn’t scale if you’ve got 1,000. So most systems have forms of auto-discovery. Simple methods include doing a ping sweep of a network, and then trying to poll responding systems via SNMP. If a system responds, and it’s the “right” sort of device, it gets added to the NMS. More advanced discovery methods will poll existing known systems, asking them about their neighbours (ARP/CDP/LLDP), and then try to discover those. Rinse and repeat, expanding outwards. This method will see become more common as we move to IPv6 networks, where ping sweeps are impractical.\nOnce a network has been discovered, the NMS can show the interconnections:\nNetwork Topology in HP IMC\nPolling Once systems are discovered, they will be regularly polled, using both ICMP (ping) and SNMP. Ping provides initial availability testing, and SNMP provides more detailed state data. Polling windows vary, but a common starting point is 5-minute polling for all devices. This polling will check system health and availability, and retrieve performance counters. “Configuration” polling will also be done on a less-frequent basis, to retrieve information that changes less frequently - e.g. IOS version, line cards installed, etc. Some systems will also perform application-level polling - this may range from simply connecting to a port, to retrieving a webpage and checking its content.\nSyslog Syslog is a simple logging method, long used by Unix systems. Devices can retain local logs, and/or they can use the syslog protocol to send their logs to a central server. Each line typically contains the date, a severity (e.g. CRITICAL, WARNING), a code, and a message. An example might be:\n1 Sep 2 21:34:44.178 NZST: %SYS-5-CONFIG_I: Configured from console by admin on vty1 (172.16.50.2) By configuring all network devices to send their logs to one place, you can monitor the entries, and raise alarms when specific patterns are seen - e.g. “Power supply 1 has failed”. Network devices will also generally lose all logs at reboot - by storing them off-box, you can parse through them later. This is handy if a device has gone offline, and you suspect there may have been some useful log entries - e.g. If the last entry was “User lindsayh logged in”, then I know who I’d be pointing the finger at!\nNetConf, CLI scraping (Telnet, SSH), TFTP If your NMS is also doing Network Configuration Management, it needs to retrieve configurations from devices. Sadly there has been very little standardisation here, with protocols like NetConf never really taking off. We’re reduced to sending commands to devices via Telnet or SSH, looking at the output, sending more commands, and capturing the results. TFTP, FTP, SFTP and SCP may also be used for transferring commands and software.\nNetFlow, sFlow SNMP provides useful information about an interface utilisation, but it doesn’t tell us what is using that bandwidth. To get that sort of information, you need to configure NetFlow (on routers) or sFlow (on switches). This will collect metadata about the traffic flowing through a port. It then exports the data to a NetFlow collection station, which parses it. Note that this is traffic metadata - it does not simply mirror all packets. NetFlow can tell you which system(s) and which application(s) are using the bandwidth, how long the session lasted, etc. But it won\u0026rsquo;t tell you what the contents of the email are.\nIP SLA IP Service Level Agreements (IP SLAs) are a method of monitoring a network path or application from a router. A router is configured to perform specific tests - e.g. an ICMP echo to another router, a web page retrieval, a simulated VoIP call. The router collects data about response time, jitter, etc. The data can then be polled via SNMP. This provides a better picture of how the network is performing for key applications. Typical SNMP polling tells us about device health, but using IP SLA can tell us more about overall network performance, as experienced by real applications.\nWMI We’re not going to go into it here, but Windows Management Instrumentation provides much more advanced capabilities than SNMP for managing Windows-based systems and applications. If you need to monitor Windows-based systems, you should be using WMI where possible, as this is very clearly the preferred direction for Microsoft. I’m not sure if we’ll see it much on network devices though.\nThat covers most of the protocols and techniques used by a typical NMS. There are some advanced features we’re starting to see, such as supporting APIs for connecting to other applications and service providers. But we don’t need to worry too much about those right now. Next post coming up: Choosing an NMS: Narrowing down an enormous field.\n","permalink":"https://lkhill.com/nms-primer-2/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 2\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        \u003ca href=\"/nms-primer-1/\"\u003eNMS Primer 1: What is an NMS?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 2: How Do They Work?"},{"content":" This article is Part 1 in a 7-Part Series. Part 1 - This Article Part 2 - NMS Primer 2: How Do They Work? Part 3 - NMS Primer 3: Choosing an NMS Part 4 - NMS Primer 4: Main NMS Players Part 5 - NMS Primer 5: Implementation Part 6 - NMS Primer 6: Ongoing Feeding Part 7 - NMS Primer 7: Going Beyond This is the first in a short series of posts that will give a high-level view of what a Network Management System (NMS) is, how to go about choosing and implementing one, and requirements for ongoing care and attention. This will be reasonably generic - it’s not about the specific way to configure Product X or Y, but instead general considerations that apply to any NMS.\nBefore going too far, let’s step back and look at what an NMS is, what it can do for me, and why I should implement one.\nWhat is an NMS? NMS stands for Network Management System. According to Wikipedia, an NMS:\n\u0026hellip;is a combination of hardware and software used to monitor and administer a computer network or networks….Management tasks include discovering network inventory, monitoring device health and status, providing alerts to conditions that impact system performance, and identification of problems, their source(s) and possible solutions.\nIt’s a short article, but that’s a pretty good summary of what an NMS is. Basically it’s software that discovers your network, keeps an eye on it, and tells you if it’s broken. There’s a few questions it raises though - such as how does it do those things? And what defines the scope of the “network” - does this mean just routers and switches, or does it mean all the compute elements making up our network?\nWe’ll go into some of the “How” in the next post. The scope question is one that’s up to you - some people only care about routers and switches, some teams also need to monitor and manage the systems and applications that use those networks. Some systems will monitor all types of devices from one application, others will focus on discrete areas, and integrate with other systems.\nWhat can it do for me? I’m a practical engineer. What I want to know is “What’s it going to do for me?” These are the sorts of things you can expect from any competent NMS:\nFault detection - tell me if something’s broken. That might be the whole switch is dead, or it might be a faulty fan in that chassis. Maybe we’ve switched to the backup Internet link. Performance - tell me how the network is performing. How much capacity do I have on those links? How much spare memory do those core routers have? Bandwidth Hogs - who’s using all the bandwidth? Which applications? Inventory - show me all the devices in my network, what models, what versions, what linecards, etc. Network Topology Mapping - show me how my devices are interconnected. Network Configuration - backup all my devices. Deploy changes across all systems. Roll out software upgrades. Compliance - check that all my devices meet my compliance and security standards. SolarWinds NTA NetFlow monitoring\nWhy go to all the trouble? No matter what the marketing says, deploying an NMS is not simply a case of install it and you’re done. You will have to put in time and effort to make it useful. Those of you who are still scarred from early experiences with HP OpenView or CiscoWorks will ask “Is it really worth the pain?”\nModern systems aren’t perfect. But they are a lot better than they used to be. Pretty much any modern NMS will save you time and money. You’ll be faster at identifying problems, and faster at solving them. You’ll also be able to deal with faults like dead power supplies or failed backup routers before they become a problem for your users. Less time investigating network faults means more time available to improve your network. It is also useful in reducing “time to innocence” - how many times have you had to prove it’s NOT the network’s fault? Collecting detailed statistics on how your network is performing can also be tremendously useful when trying to justify upgrades. If you don’t have hard numbers to back it up, it’s just conjecture.\nOK, Where do I start? Easy - follow the links to read the rest of this series!\n","permalink":"https://lkhill.com/nms-primer-1/","summary":"\u003cdiv class=\"panel seriesNote\"\u003e\n    \u003cp\u003e\n    This article is \u003cstrong\u003ePart 1\u003c/strong\u003e in a \u003cstrong\u003e7-Part\u003c/strong\u003e Series.\n    \u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003ePart 1 -\n        This Article\n        \u003c/li\u003e\n        \u003cli\u003ePart 2 -\n        \u003ca href=\"/nms-primer-2/\"\u003eNMS Primer 2: How Do They Work?\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 3 -\n        \u003ca href=\"/nms-primer-3/\"\u003eNMS Primer 3: Choosing an NMS\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 4 -\n        \u003ca href=\"/nms-primer-4/\"\u003eNMS Primer 4: Main NMS Players\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 5 -\n        \u003ca href=\"/nms-primer-5/\"\u003eNMS Primer 5: Implementation\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 6 -\n        \u003ca href=\"/nms-primer-6/\"\u003eNMS Primer 6: Ongoing Feeding\u003c/a\u003e\n        \u003c/li\u003e\n        \u003cli\u003ePart 7 -\n        \u003ca href=\"/nms-primer-7/\"\u003eNMS Primer 7: Going Beyond\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e","title":"NMS Primer 1: What is an NMS?"},{"content":"The HP Communities forums offer email subscriptions for threads you\u0026rsquo;ve participated in, or all posts for a specific message board. By default these emails only contain the subject of the post, along with a lot of other text you don\u0026rsquo;t care about. Here\u0026rsquo;s how to make those emails useful, by including the post content:\nGo to http://h30499.www3.hp.com/ and log in. Once you\u0026rsquo;re logged in, click on your \u0026ldquo;User Settings\u0026rdquo; in the top right of the screen:\nIn the expanded menu, click on \u0026ldquo;My Subscriptions\u0026rdquo;:\nNow click on \u0026ldquo;Options\u0026rdquo;:\nHere we have to change the \u0026ldquo;Email Content\u0026rdquo; radio button - set it to \u0026ldquo;Subject and body\u0026rdquo;, and Save those settings.\nNow any emails notifications you get will have the entire post content, saving you from having to login to view the content. Success!\n","permalink":"https://lkhill.com/hp-communities-enabling-full-post-content-email/","summary":"\u003cp\u003eThe \u003ca href=\"http://h30499.www3.hp.com/\"\u003eHP Communities\u003c/a\u003e forums offer email subscriptions for threads you\u0026rsquo;ve participated in, or all posts for a specific message board. By default these emails only contain the subject of the post, along with a lot of other text you don\u0026rsquo;t care about. Here\u0026rsquo;s how to make those emails useful, by including the post content:\u003c/p\u003e","title":"HP Communities - Enabling Full Post Content Email"},{"content":"Everyone talks about how moving to Cloud-based services can reduce CapEx, and that you only “pay for what you need.” People seem to assume this is a Good Thing, and to my mind, it probably is. But many businesses are obsessed with reducing OpEx, not CapEx. In fact, they will use all manner of tricks to move expenditure to the CapEx bucket. Why is that, and what might it mean for “Pay as you go” models?\nWarning: Disclaimer: It\u0026rsquo;s been almost 20 years since I studied accounting at high school. Don\u0026rsquo;t take any of this as financial advice. It’s important to understand the difference between Operational Expenditure (OpEx) and Capital Expenditure (CapEx). Both of them are cash going out the door, but accounting practices handle them quite differently. According to Wikipedia, Operational Expenditure is:\nan ongoing cost for running a product, business or system\nCapital Expenditure is:\nexpenditures creating future benefits…incurred when a business spends money either to buy fixed assets or to add to the value of an existing fixed asset with a useful life extending beyond the taxable year\nCompanies will also typically include the first year\u0026rsquo;s support in the capital cost, and some will even try to write off three years of support as Capital Expenditure. I think that\u0026rsquo;s a scam, but then I\u0026rsquo;m not an accountant.\nThe interesting part comes when you have to account for that expenditure. OpEx is immediately classified as an expense. There is no new asset created, and the business capital has been reduced, and our net income is reduced. But if we spent $100k in CapEx, then we’ve still spent the cash, but we now have a $100k asset on our books. Our total capital has not changed, just the nature of the asset mix has changed. But assets have an expected lifetime, and we still want to be able to offset the expenditure against our tax bill. So we can depreciate the cost of that asset over its lifetime. Let’s say it has a three year lifetime, and we expect it to be worth nothing after three years. In that case, we can depreciate it by 33% each year. This depreciation can be claimed against our tax, but it’s being spread out over three years.\nOK, but why does this matter? Let’s look at a vastly contrived example: Assume that we have an internal service we deliver, and it costs us $300k to set up, and then $20k/year to operate. A comparable cloud-based service costs $80k/year. Over a three year period, the internal service will cost $360k, while the cloud-based service will cost $240k. Yes, I am ignoring Cost of Capital for now.\nSo that looks pretty good, right? Overall we spent less, and we got to spread out our cash outflow across the three years, rather than having a large upfront payment. But hang on a second. Let’s introduce EBITDA (Earnings Before Interest, Taxes, Depreciation and Amortization). EBITDA is\n\u0026hellip;widely used when assessing the performance of companies.\nIt\u0026rsquo;s one of the measures people look at it to see what a company might be worth. Note the D there, for Depreciation. So we\u0026rsquo;re excluding Depreciation, and therefore Capital Expenditure from EBITDA. But high OpEx will negatively affect EBIDTA. Another wrinkle: When looking at company performance, people are often more concerned with the trajectory, rather than the absolute numbers - report flat EBITDA, and the share price goes down, even though the cash position might be improving.\nLet’s say we went ahead with that move from an internal service to a cloud-hosted one. What happens to our finances? Overall, our cash outlay drops. But what does our EBITDA do? Our costs have moved from CapEx to OpEx. We don’t have the Depreciation any more, and our OpEx has increased, so our EBITDA drops: Even though we’re actually in a better cash position. If you’re in management, and EBITDA is one of your key metrics, what happens to you? No bonus for you, I’m afraid. Interesting, isn’t it? What’s the incentive for management to move to cloud-based models? Really, you want to move as much expenditure to Capital Expenditure as possible, so you can improve EBITDA. The very opposite of moving to cloud-based services.\nIf\u0026rsquo; we\u0026rsquo;re progressively moving expenditure from CapEx to OpEx, then after a few years things will level out again, and our EBITDA should start increasing again, and all will be well. But we might have flat to negative EBITDA for a few years, and that will look ugly. Just another thing to be aware of when proposing solutions: Organisations have many drivers, and you need to be aware of what those are.\nPersonally I’m on Warren Buffett’s side, when he asks:\nDoes management think the tooth fairy pays for capital expenditures?\n","permalink":"https://lkhill.com/accounting-and-cloud/","summary":"\u003cp\u003eEveryone talks about how moving to Cloud-based services can reduce CapEx, and that you only “pay for what you need.” People seem to assume this is a Good Thing, and to my mind, it probably is. But many businesses are obsessed with reducing OpEx, not CapEx. In fact, they will use all manner of tricks to move expenditure to the CapEx bucket. Why is that, and what might it mean for “Pay as you go” models?\u003c/p\u003e","title":"Accounting Models and Cloud Service"},{"content":"HP IMC is great at backing up your switch configurations, but it can be very frustrating when it doesn\u0026rsquo;t work. Here\u0026rsquo;s a list of steps I go through when debugging device backups:\nWhat specific vendor and model device? Are these supported by IMC, or do we need a custom adapter? I\u0026rsquo;ll write a post in future that walks through developing a custom adapter. Otherwise, go on with the next steps. Note the Login Type (Telnet or SSH, set on Device Details page). Note the file transfer mode - IMC has a default mode, and a per-device mode that overrides the default. Options for both are TFTP, FTP, SFTP and SCP. If your device can do SFTP or SCP, it probably needs extra configuration - e.g. \u0026ldquo;ip scp server enable\u0026rdquo; on Cisco devices. IMC File Transfer mode is set at Service -\u0026gt; Configuration Center -\u0026gt; Options. Note the file transfer direction - if you use TFTP or FTP, the device pushes the config to the IMC server. If you use SCP or SFTP, IMC pulls configuration from the device. Login to the IMC server via RDP or SSH. Go to /server/bin. Run \u0026ldquo;telnet \u0026quot; or \u0026ldquo;plink \u0026quot; and try and connect to your device. This step is testing that ACLs and routes between IMC and the device are correctly configured. Check that IMC has the right credentials for your device. Go to System -\u0026gt; System Configuration -\u0026gt; System Settings, and enable Plain Text display of passwords. Go to the Device Details page, check the Login Type is correct, and look at the SNMP/Telnet credentials to make sure they are correct. Note that if you need an enable password on a Cisco device, this is called \u0026ldquo;Super/Manager Password\u0026rdquo;. Is your device configured for SNMP read-write? If it\u0026rsquo;s not, then delete the SNMP Read-Write Community String on the Device Details page. For most devices, this is not required, but if you\u0026rsquo;ve set a Read-Write string in IMC, but not on the device, it will just slow it down while it first tries SNMP set commands, and waits for it to timeout. If you\u0026rsquo;re using Telnet, run Wireshark on the IMC server, and capture the traffic between IMC and the device. Trigger a backup, and look to see that the session flow is what you expect. Other tips: If at all possible, move to SCP or SFTP. There\u0026rsquo;s fewer moving parts to this, and it is generally more reliable, as well as more secure. If you must use FTP, then make sure that the FTP server is running on the IMC server, that the home directory is set to /server/tmp, and actually try to upload a file. Don\u0026rsquo;t get caught out by incorrect folder permissions. If you\u0026rsquo;ve gone through all of those, and it still doesn\u0026rsquo;t work, you should look at \u0026lt;IMC\u0026gt;/server/conf/log/imccfgbakdm*, to see what\u0026rsquo;s going on.\nGoing through those steps will cover most backup failures. The next step is to start looking into the adapters themselves, and understanding their traffic flow. That\u0026rsquo;s for another post, along with developing custom adapters.\nRemember, if you\u0026rsquo;re having troubles, try posting something at www.netopscommunity.net - we can probably help.\n","permalink":"https://lkhill.com/hp-imc-troubleshooting-device-backup-problems/","summary":"\u003cp\u003eHP IMC is great at backing up your switch configurations, but it can be very frustrating when it doesn\u0026rsquo;t work. Here\u0026rsquo;s a list of steps I go through when debugging device backups:\u003c/p\u003e","title":"HP IMC: Troubleshooting Device Backup Problems"},{"content":"I\u0026rsquo;ve been reading more about OpenFlow recently, and something that was pointed out to me was that OpenFlow offers features that could give us deeper insights into our traffic flows, without necessarily modifying them. Whilst not being a full replacement for NetFlow/sFlow, it would be far better than just guessing at what an application is doing. I\u0026rsquo;m pretty excited about the possibilities.\nHere\u0026rsquo;s some relevant parts of the OpenFlow v1.3.2 specification:\n4.5 Reserved Ports: \u0026ldquo;Optional: NORMAL: Represents the traditional non-OpenFlow pipeline of the switch\u0026rdquo; - this means the packet is sent to \u0026ldquo;normal\u0026rdquo; L2/L3 processing 5.8 Counters: \u0026ldquo;Counters are maintained for each flow table, flow entry, port, queue\u0026hellip;\u0026rdquo; Counters Per Flow Entry include Received Packets, Received Bytes, Duration. If we put those together, it means that we could use OpenFlow to push out a rule to our switches that identified traffic we were interested in - e.g. matching on src/dst IP - without actually change any forwarding behaviour. By identifying traffic in a specific rule, we can collect statistics on specific traffic volumes. So now we\u0026rsquo;ve got a distributed statistics collection system. The analysis is already done at the switch level - the reporting should be relatively straightforward, with simple processing on your management system.\nThis isn\u0026rsquo;t the same as traditional NetFlow/sFlow, where I export all flows, and have heavy-lifting systems to analyse that data and report on traffic. We have to know what traffic we want to report on, and push a rule to collect statistics. It won\u0026rsquo;t tell me what happened last week, if I wasn\u0026rsquo;t collecting statistics at that time. But on the flipside, I can push this out to any switch in the network - it\u0026rsquo;s not like NetFlow or sFlow where the traffic must be passing through one of the points in the network where I\u0026rsquo;m collecting Flow data. Currently NetFlow/sFlow processing requires reasonably heavy CPU/disk to parse and store the data. But if we\u0026rsquo;re pulling simple statistics, in a similar way to collecting SNMP data, that\u0026rsquo;s orders of magnitude easier to collect and store.\nTo make informed decisions about controlling network flows, it helps to have good information about what\u0026rsquo;s actually happening on your network. OpenFlow statistics aren\u0026rsquo;t a panacea, but it might just help us get that visibility, in a simple, scalable way. In that case, I\u0026rsquo;m all for it. What else might OpenFlow bring us?\n","permalink":"https://lkhill.com/openflow-implications-for-network-monitoring/","summary":"\u003cp\u003eI\u0026rsquo;ve been reading more about OpenFlow recently, and something that was pointed out to me was that OpenFlow offers features that could give us deeper insights into our traffic flows, without necessarily modifying them. Whilst not being a full replacement for NetFlow/sFlow, it would be far better than just guessing at what an application is doing. I\u0026rsquo;m pretty excited about the possibilities.\u003c/p\u003e","title":"OpenFlow implications for network monitoring"},{"content":"How much monitoring should I do for services that I’ve outsourced? This question comes up frequently with my clients. They’ve paid someone else to manage a service for them, and they’re wondering if they should just leave all monitoring to the service provider. They’re paying for it, so why have a dog and bark yourself? This applies to all sorts of outsourcing agreements - it might be for a simple SaaS-based service, or it might be a complex network environment that you designed and built, and then handed over to a third party to manage.\nI paid for it, didn’t I? The general thinking is that you’ve outsourced the service, and you have contractual agreements for the provider to perform specified monitoring, with SLAs, escalation procedures, and all that tedious stuff in place. So if the outsourcer is doing all that, and I’m paying an eye-watering amount for it, why should I need to do any monitoring myself? Isn’t that all covered? Don’t they respond to faults, and provide me monthly reports? Yes, but…\nTrust, but verify Mostly the provider does things well, and you have a certain amount of trust in them. But trust alone isn’t enough. Things can change - people come and go, the new platform gets oversubscribed, etc. You still need some verification that things are working, at least at a basic level. If you’re a typical organisation, you will have multiple applications and services provided by a variety of external organisations. But you’re still running the internal Service Desk, which is the first port of call for your users. You want to get some early notification if there are issues. Looking at the (usually outdated) “network status page” doesn’t help. You want to get some basic notification in your own alerting tools if there’s any major problems.\nThe other thing to keep in mind is that if you’ve purchased some standard service at $50/year…well that gives you a pretty good idea of just how much the provider cares. Even SLAs might not help you - a provider can decide it’s more cost-effective to breach their SLAs, rather than resolve the issue in time. They might calculate that it costs $x, and they can sustain it, but for your business it could be catastrophic. You need some ammunition to know how they’re performing, so if you need to change providers, it’s an informed business decision.\nBy performing basic user simulation testing, you can get an idea of A) Is the service up and responding, and B) Has the performance changed significantly? The only way you can truly rely on this data is if you’re collecting it yourself. This doesn’t have to be done from your own systems - e.g. there’s plenty of cloud-based web monitoring solutions you can use, at a fairly low cost.\nDon’t go overboard All that said, don’t go overboard. Don’t expect to monitor every component of the provided service - you shouldn’t care about it. I’ve seen people want to get deep infrastructure monitoring for a SaaS service they’ve purchased. Don’t waste your time. It’s not up to the provider to give you that level of access, and nor should they have to. You’re not paying for a specific CPU utilisation maximum - you’re paying for a working service. How they do it is up to them. Your only real concern is the end-user experience.\nSummary: Don’t try and second-guess everything your provider is doing. There’s a reason you paid them to look after this, right? But don’t completely absolve yourself of responsibility - you need to keep an eye on them to make sure they’re still delivering for you. At the least, you’ll know if things are seriously broken, before the provider gets around to telling you.\n","permalink":"https://lkhill.com/monitor-service-provider/","summary":"\u003cp\u003eHow much monitoring should I do for services that I’ve outsourced? This question comes up frequently with my clients. They’ve paid someone else to manage a service for them, and they’re wondering if they should just leave all monitoring to the service provider. They’re paying for it, so why have a dog and bark yourself? This applies to all sorts of outsourcing agreements - it might be for a simple SaaS-based service, or it might be a complex network environment that you designed and built, and then handed over to a third party to manage.\u003c/p\u003e","title":"Should I Monitor My Service Provider?"},{"content":"The default logging style for Cisco IOS-based devices is to insert the system uptime in the log entry. This makes it basically useless. Here\u0026rsquo;s some typical log output:\n1 28w2d: %SYS-5-CONFIG_I: Configured from console by admin on vty1 (10.1.11.11) This is the offending part of the configuration:\n1 2 service timestamps debug uptime service timestamps log uptime If a switch has been up for a few hours, then it\u0026rsquo;s not too bad, as it will give you an indication to the nearest minute. But once a device has been up for more than a few days, it starts only telling you to the nearest day. After a year, it will tell you to the nearest week. So you can\u0026rsquo;t tell if that port flapped 5 minutes or 5 days ago. Hopeless. You need to put these lines into your configuration:\n1 2 service timestamps debug datetime msec localtime service timestamps log datetime msec localtime Now your log entries will look like this:\n1 Aug 2 14:22:20.033: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (10.1.11.11) Isn\u0026rsquo;t that so much better? If you haven\u0026rsquo;t configured NTP correctly, you will see a * at the start of the line - this indicates that the time is not externally synchronised. Another option you might like to include is show-timezone which will add NZST to your logs. Quite useful if you work with devices using a variety of timezones.\nHP Comware devices have some related options for displaying date/time with log entries - but luckily they take a more sane approach of defaulting to displaying date/time with the log. Here\u0026rsquo;s some of the options:\n1 2 3 4 5 6 7 8 9 10 [Comware]info-center timestamp ? debugging Set the time stamp type of the debug information log Set the time stamp type of the log information loghost Set the time stamp type of the information to loghost trap Set the time stamp type of the alarm information [Comware]info-center timestamp loghost ? date Information time stamp of date type iso Information time stamp of format in ISO 8601 no-year-date Information time stamp of date without year type none None information time stamp So you can choose what format to display the date in (or not to display it), and you can insert different timestamps in different log destinations. You might want to display timestamps on locally buffered logs, but remove the date from logs sent to the syslog server, since syslog servers will generally insert their own date. Typical output might look like this:\n1 %Jul 18 22:04:12:926 2013 COMWARE LLDP/6/LLDP_DELETE_NEIGHBOUR: -Slot=2; Neighbor deleted on Port GigabitEthernet2/0/15 (IfIndex 17825806), Chassis ID is 10.1.1.253, Port ID is 0060-b9ee-da45. As for Procurve devices? Well, they don\u0026rsquo;t offer granularity in log format. They do have an interesting option for viewing buffered logs though. Typical show log output will look like this:\n1 2 I 05/26/13 06:17:41 00636 ssh: sftp session from 10.1.11.11 W 05/26/13 21:02:09 03362 auth: User \u0026#39;manager\u0026#39; login from 10.1.11.11 But if you enter show log -b it shows the timestamps as time since the switch rebooted:\n1 2 I 0000:00:06:00.56 00636 ssh: sftp session from 10.1.11.11 W 0000:00:06:06.64 03362 auth: User \u0026#39;manager\u0026#39; login from 10.1.11.11 I don\u0026rsquo;t really know why they offer that option, but didn\u0026rsquo;t implement any other controls around syslog format. At least they default to a reasonable log display format.\n","permalink":"https://lkhill.com/service-timestamps/","summary":"\u003cp\u003eThe default logging style for Cisco IOS-based devices is to insert the system uptime in the log entry. This makes it basically useless. Here\u0026rsquo;s some typical log output:\u003c/p\u003e","title":"Service Timestamps - make your log timestamps readable"},{"content":"A good customer of mine needs to replace their Service Desk system. Having a fair idea of their requirements, I asked them if they had looked at $(insert very well-known player here).\nYeah, we tried to, but we just couldn\u0026rsquo;t get hold of anyone. We tried and tried, but we could never actually get them to respond to calls, or anything. The product looks good, but if I can\u0026rsquo;t get any response from their sales team, how can I pursue it?\nI ran into a similar problem a few years ago, when investigating web proxy systems. It took me weeks to get a response from the vendor, and even then it was very patchy. I presume it was because we were still small at that time. Better outfits would have looked at our growth potential, and realised how important it would be to get involved early on, and scale with us. They missed out on a lot of business there.\nNormally it\u0026rsquo;s the follow-up service that you\u0026rsquo;re worried about. Flash a bit of cash about, and salesmen in shiny suits and fancy cars are beating a path to your door. Once the cheque\u0026rsquo;s been signed, they disappear, and you\u0026rsquo;re on your own. But what does it say if the initial sales approach is non-existent, or impossible to engage with? What can I expect for follow-up service then?\nOf course, a medium-large company here is just a small branch office to USA-based vendors. It\u0026rsquo;s easy to brush us off.\nOnly $20k commission for me? Not worth getting out of bed.\nOK, I get that. I don\u0026rsquo;t particularly like it, but that\u0026rsquo;s why you have a network of partners and resellers. Can\u0026rsquo;t/won\u0026rsquo;t deal with us direct? Then push our enquiries towards your partners. Periodically follow up with your partners, to see how things went - make sure that your partners are representing you well. If they\u0026rsquo;re not, change them. Don\u0026rsquo;t force your partners to only represent your products, if it means you get stuck with one partner that\u0026rsquo;s doing a poor job.\nIf you want your business to grow, you have to make it easy for potential customers to buy your products. You may push smaller accounts towards partners - but make sure that process works! If we\u0026rsquo;ve got to battle to figure out how to give you money, then we\u0026rsquo;re going to go somewhere else. You\u0026rsquo;re not the only vendor in town.\n","permalink":"https://lkhill.com/help-me-do-business/","summary":"\u003cp\u003eA good customer of mine needs to replace their Service Desk system. Having a fair idea of their requirements, I asked them if they had looked at $(insert very well-known player here).\u003c/p\u003e","title":"Help Me Do Business With You"},{"content":"Cisco made some announcements about SDN certifications at Cisco Live US, in June this year. These didn\u0026rsquo;t seem to get a lot of attention at the time, perhaps due to little detail being available. A few more things have started to come out, but it\u0026rsquo;s still not full released. What might these SDN certifications be like, and will they be in demand?\nDuring the Technology Keynote, at around 1:15:00, they said that there will be an \u0026ldquo;array of training and curriculum\u0026rdquo; being released in August. It will be the \u0026ldquo;same as we did for Voice and Security\u0026rdquo;, and will address job roles such as \u0026ldquo;Network Application Architect\u0026rdquo; and \u0026ldquo;SDN Developer.\u0026rdquo; They didn\u0026rsquo;t go into the deeper details, but it was just a Keynote speech.\nIn late June they published a new blog post on the Cisco Education blog. This had a little bit more detail, but not much. Some market-speak was accompanied by a video that talked more about their plans. (Aside: What was the point in doing that segment as a video? What was gained by it? Why not just publish it as text, so it can be searched?). A few key points:\nSDN will mean \u0026ldquo;a whole slew of new troubleshooting skills that you\u0026rsquo;ll need to know at a CCIE level\u0026rdquo; Cisco\u0026rsquo;s intention is to provide a full curriculum, job roles, and a pathway for existing certification holders There will be a complete education program, covering \u0026ldquo;best practices\u0026rdquo; - how do we know what those are, when we\u0026rsquo;re still figuring out what any form of \u0026ldquo;industry practice\u0026rdquo; might look like? So it looks like they\u0026rsquo;re getting very serious about this, but they\u0026rsquo;re still trying to figure out the full details. Cisco\u0026rsquo;s not always first cab off the rank, but they do have enormous resources, and if they commit to something, they can do it in a big way.\nWhat form might these certifications take? What will Cisco expect students to know, and how will they expect them to demonstrate it? Presumably we will see Cisco use their usual model of Associate, Professional and Expert-level certifications, and the usual mix of multi-choice, simulators and lab exams. But rather than an IOS console, will we be working with Eclipse, and writing code? How do you fully test code? Sure, you can focus on core functional tests - but what if the code doesn\u0026rsquo;t scale, or is insecure? How will we test that in an automated fashion? I have no idea. How much of the material will be specific to Cisco\u0026rsquo;s onePK, and how much will cover generic open standards and projects, such as OpenFlow and OpenDaylight? Will it be focused on languages and implementation, or architectures and design? It looks like that could be split across the two tracks - Architecture and Developer. Architecture might suit someone like me better than Developer - my coding is very rusty.\nI think that part of the reason that Cisco certifications have been so popular is because they serve as a good grounding to networking in general. Sure, all syntax is Cisco-specific, but they spend a lot of time on protocols, and networking basics, such as subnetting. Other vendors tend to make their certifications very specific to their systems. That\u0026rsquo;s why CCNA can serve as a good base before going on to do Juniper or HP certifications. Cisco will need to be careful that their SDN-related materials retain that balance. If it just becomes a Cisco marketing brochure, people will mostly avoid it, and it end up like the various specialisations, only taken by partners because they\u0026rsquo;re forced to do it.\nWill this program become successful, and sought after? There\u0026rsquo;s two parts to that:\nWill there be demand for it? and Will it represent a useful indicator of knowledge? The demand comes from two areas: Hiring managers making it a job requirement, and engineers seeing both technical and financial value in pursuing the certification. SDN strategies and requirements are in too much of a state of flux right now, and it\u0026rsquo;s hard to see these certifications appearing on job descriptions any time soon. There\u0026rsquo;s certainly the interest from engineers who can see the technical value. But it\u0026rsquo;s only a useful indicator of knowledge if Cisco strikes the right balance between Cisco-specific, and Industry-standard (whatever those standards end up being). If it doesn\u0026rsquo;t get much traction amongst hiring managers, there will be little financial incentive, and it may languish.\nI, for one, welcome our new SDN overlords I don\u0026rsquo;t know how this will work out for Cisco. But I\u0026rsquo;m very interested in what they\u0026rsquo;re doing here, and I\u0026rsquo;m looking forward to this month\u0026rsquo;s announcements. If I like the look of it enough, maybe I\u0026rsquo;ll stop trying to decide between CCDE and another CCIE, and go for the new SDN certifications?\n","permalink":"https://lkhill.com/how-long-before-ccie-sdn/","summary":"\u003cp\u003eCisco made some announcements about SDN certifications at Cisco Live US, in June this year. These didn\u0026rsquo;t seem to get a lot of attention at the time, perhaps due to little detail being available. A few more things have started to come out, but it\u0026rsquo;s still not full released. What might these SDN certifications be like, and will they be in demand?\u003c/p\u003e","title":"How Long Before CCIE SDN?"},{"content":"Microsoft patches are released on a (mostly) monthly cycle, and other vendors have started following suit. When this first happened, people treated it like a major event. But I think that it is now treated as \u0026ldquo;Business As Usual\u0026rdquo;, and maybe it\u0026rsquo;s time for the headline-writers to realise this.\nTen years ago, patching was a big drama. We didn\u0026rsquo;t have good systems for managing rollouts, a lot of manual work was required, and testing was problematic. As a result, many businesses did very little patching, sometimes with catastrophic results - I have had to deal with major worm outbreaks due to patches not being applied in a timely fashion by $outsourcer, and it\u0026rsquo;s not a lot of fun. The longer you leave patching, the more changes are required, and the higher the risk. So you put it off further\u0026hellip;which just makes things worse.\nI\u0026rsquo;m not sure exactly when Microsoft starting bundling their patches into a monthly \u0026ldquo;Patch Tuesday\u0026rdquo;, but since at least 2005, most patches from Microsoft have been released on a monthly cycle. This has led to a monthly cycle of news reporting on the patch bundles, often with sometimes hysterical headlines:\n\u0026ldquo;Nightmare Edition\u0026rdquo; \u0026ldquo;Microsoft patches IE with record-setting updates\u0026rdquo; \u0026ldquo;Microsoft Smashes Patch Tuesday Record With Massive Update\u0026rdquo; \u0026ldquo;Next week\u0026rsquo;s Patch Tuesday could prove to be a real headache for sysadmins\u0026rdquo;\nISC also publishes a list of updates released and criticality ratings, with recommendations like \u0026ldquo;PATCH NOW\u0026rdquo;, \u0026ldquo;Critical\u0026rdquo; or \u0026ldquo;Less Urgent\u0026rdquo;. The idea is that you use this information to decide which updates you should be testing and roll out now, which ones can wait, and which ones you can skip. Headline writers also like to imply that a larger than usual number of patches means sysadmins are extra busy, testing out each individual patch, and every possible combination of patches.\nThis might have been relevant in the early days, but I just don\u0026rsquo;t see it working that way now. Most organisations I talk to just roll out all the security updates, every month, not long after they get released. They\u0026rsquo;ve got good internal tools to manage that patching (WSUS, SCCM, etc), and it\u0026rsquo;s no great drama. Typically there will be a test group of machines that gets all the updates straight away, and the rest get them soon after. Systems are designed with redundancy, and clusters/pairs get split over a couple of patch cycles - e.g. patch one DC tonight, the other DC in a couple of days. There\u0026rsquo;s even a recurring Change Request filed to reboot the servers every month.\nIt\u0026rsquo;s just not a big deal any more. Microsoft has invested enormous sums in patch testing systems, and by and large, it seems to be working well. We don\u0026rsquo;t see the wide-scale pandemonium people once forecast from applying patches, and the default position for people now is to patch, rather than leave it.\nThe monthly patch cycle has become a frequent, repeatable process that everyone\u0026rsquo;s used to, and it\u0026rsquo;s no longer a big drama. Just like all IT changes should be.\nMaybe it\u0026rsquo;s time for the journalists to start toning down the language, and recognise this is just business as usual?\n","permalink":"https://lkhill.com/black-tuesday-business-as-usual/","summary":"\u003cp\u003eMicrosoft patches are released on a (mostly) monthly cycle, and other vendors have started following suit. When this first happened, people treated it like a major event. But I think that it is now treated as \u0026ldquo;Business As Usual\u0026rdquo;, and maybe it\u0026rsquo;s time for the headline-writers to realise this.\u003c/p\u003e","title":"'Black Tuesday' - Isn't it Just Business as Usual?"},{"content":"Juniper recently released 12.1X45-D10 for the SRX-110. The key new feature for me was DHCPv6 Client support - finally! It\u0026rsquo;s still new, and buggy, and I wouldn\u0026rsquo;t rush it into production, but if you need DHCPv6 client support, it\u0026rsquo;s here. These are my notes on how I\u0026rsquo;ve configured it to get it working.\nBackground: The SRX-110 is a small ADSL router/firewall, aimed at the SOHO market. 8x100Mbit ports, and one ADSL2+/VDSL POTS interface. Earlier this year I purchased one, to help with learning JunOS. It\u0026rsquo;s a work in progress. I run it as my primary router at home, so I do have to be careful about any self-induced Internet outages. Wife SLA can be very demanding.\nMy ISP offers native IPv6 connectivity by default to all customers. Not many do. So I thought I would be in great shape with the SRX - I would be able to get up and running with this IPv6 thing. So far all my IPv6 experience has been in books and labs. Time to make it real! Nope. Not so fast. SRX didn\u0026rsquo;t support DHCPv6 client. Supported pretty much every other IPv6 feature, but not that. A DHCPv6 client is needed for Prefix Delegation (PD). This is used by ISPs to allocate a /48 IPv6 prefix to a CPE. When your modem connects to the ISP, as part of the negotiations, it sends an IA_PD request, which the ISP responds to with a prefix delegation. It will then route to that /48 via the CPE. The CPE can then decide how to split that /48 up, and allocate it to internal clients. You might have say several /64 prefixes you use internally.\nThere\u0026rsquo;s a few moving parts here. One is that the CPE needs to request, and receive a prefix. This is the DHCPv6 client part. It then needs to have a way to break up that prefix, and tell internal clients what prefix to use. The SRX can either use RA (Router Advertisements), or it can act as a DHCPv6 server, to allocate addresses to internal clients. So we\u0026rsquo;ve got a device acting as both a DHCPv6 client and a DHCPv6 server. Obviously there also needs to be a mechanism to pass the received prefixes from the client to the server. 12.1X45-D10 promised to deliver all this functionality.\nFirst, let\u0026rsquo;s look at the relevant bits of the config:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 root@srx01\u0026gt; show configuration interfaces at-1/0/0 unit 0 family inet6 dhcpv6-client client-type statefull; ## ## Warning: IA-NA identity association is required for ia-pd ## client-ia-type ia-pd; rapid-commit; client-identifier duid-type duid-ll; root@srx01\u0026gt; show configuration security forwarding-options family { inet6 { mode flow-based; } } root@srx01\u0026gt; show configuration routing-options rib inet6.0 { static { route ::/0 next-hop at-1/0/0.0; } } static { route 0.0.0.0/0 next-hop at-1/0/0.0; } root@srx01\u0026gt; show configuration security zones security-zone untrust screen untrust-screen; interfaces { at-1/0/0.0 { host-inbound-traffic { system-services { dhcpv6; } } } } root@srx01\u0026gt; Couple of things to note here: Firstly, note the warning about not enabling \u0026ldquo;client-ia-type ia-na\u0026rdquo;. At first, I was unable to get the config to commit without that option. While it now lets me commit that config, I have heard that it may not successfully reboot. Yikes. The problem was that if I did enable it, then my DHCPv6 client session never completed, because my ISP does not hand out IA_NA responses. So the SRX would stay stuck in INIT:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 root@srx01\u0026gt; show dhcpv6 client binding detail Client Interface: at-1/0/0.0 Hardware Address: 54:e0:32:d0:b3:3f State: INIT(DHCPV6_CLIENT_STATE_INIT) ClientType: STATEFULL Bind Type: IA_NA IA_PD Client DUID: LL0x1-54:e0:32:d0:b3:3f Rapid Commit: On Server Ip Address: ::/0 Update Server Yes Client IP Address: ::/0 Client IP Prefix: 2406:e000:b33f::/48 root@srx01\u0026gt; Support suggested using client-type autoconfig but you must use client-type statefull if you want to do PD. Probably the other key point here is ensuring that you allow inbound dhcpv6. Otherwise it won\u0026rsquo;t get anywhere. Now, we can see the prefix successfully delegated to us:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 root@srx01\u0026gt; show dhcpv6 client binding detail Client Interface: at-1/0/0.0 Hardware Address: 54:e0:32:d0:b3:3f State: BOUND(DHCPV6_CLIENT_STATE_BOUND) ClientType: STATEFULL Lease Expires: 2013-08-08 05:17:36 NZST Lease Expires in: 55301 seconds Lease Start: 2013-08-07 05:17:36 NZST Bind Type: IA_PD Client DUID: LL0x1-54:e0:32:d0:b3:ef Rapid Commit: On Server Ip Address: :: Update Server Yes Client IP Prefix: 2406:e000:b33f::/48 DHCP options: Name: server-identifier, Value: VENDOR0x00000a4c-0x4531b33f root@srx01\u0026gt; OK, so how do we hand that out to internal clients? Here\u0026rsquo;s what I\u0026rsquo;ve done, using RA:\n1 set interfaces at-1/0/0 unit 0 family inet6 dhcpv6-client update-router-advertisement interface vlan.0 That tells the SRX to advertise the received prefix out vlan.0, using RAs. Note that if I had any configuration at all under protocols router-advertisement the configuration would not pass commit check. Let\u0026rsquo;s take a look at my Mac, and see if it\u0026rsquo;s worked:\n1 2 3 4 5 6 7 8 9 lhill$ ifconfig en0 en0: flags=8863\u0026lt;up,broadcast,smart,running,simplex,multicast\u0026gt; mtu 1500 ether 04:0c:ce:99:99:99 inet6 fe80::60c:ceff:fe99:9999%en0 prefixlen 64 scopeid 0x4 inet6 2406:e000:5555:1:60c:ceff:fee2:9999 prefixlen 64 autoconf inet6 2406:e000:5555:1:1117:ed56:d253:b33f prefixlen 64 autoconf temporary inet 192.168.100.100 netmask 0xffffff00 broadcast 192.168.100.255 media: autoselect status: active So it works! With that setup, I\u0026rsquo;m able to access IPv6-only content. Running Wireshark and looking for IPv6 traffic, sadly most of it seems to be web banner ads. But it\u0026rsquo;s a start. I would like to make this work with the DHCPv6 server functionality on the SRX, but I have been unable to get it working. The clients send DHCPv6 SOLICIT messages, but the SRX drops them all pre-authentication, without really telling me WHY it drops them. I am still dealing with support on this. I will post a follow-up if I can get that working.\n[UPDATE 2013-01-15] Juniper released 12.1X46-D10.2 in December 2013. This now allows client-ia-type ia-pd without requiring client-ia-type ia-na. See more here.\n","permalink":"https://lkhill.com/dhcpv6-client-srx/","summary":"\u003cp\u003eJuniper recently released \u003ca href=\"http://www.juniper.net/techpubs/en_US/junos12.1x45/information-products/topic-collections/release-notes/12.1x45/index.html\"\u003e12.1X45-D10 for the SRX-110\u003c/a\u003e. The key new feature for me was \u003ca href=\"http://www.juniper.net/techpubs/en_US/junos12.1x45/information-products/topic-collections/release-notes/12.1x45/index.html?topic-72762.html#jd0e458\"\u003eDHCPv6 Client\u003c/a\u003e support - finally! It\u0026rsquo;s still new, and buggy, and I wouldn\u0026rsquo;t rush it into production, but if you need DHCPv6 client support, it\u0026rsquo;s here. These are my notes on how I\u0026rsquo;ve configured it to get it working.\u003c/p\u003e","title":"DHCPv6 Client on Juniper SRX-110"},{"content":"IMC has a predefined list of over 6,000 devices. This list maps sysOIDs to devices, so when you add a new device to IMC, it will say \u0026ldquo;this is a Cisco Catalyst 3560 Switch\u0026rdquo;, or a \u0026ldquo;HP MSM 760 Wireless Controller\u0026rdquo;, etc. Here\u0026rsquo;s a sample of what that list looks like:\nDevice Model List\nNote the \u0026ldquo;Type\u0026rdquo; column displays \u0026ldquo;System-Defined\u0026rdquo; for most entries. These are defined when you install IMC. If you add your own sysOID mapping, it will list it as \u0026ldquo;Custom-Defined.\u0026rdquo;. You can change any settings for Custom-Defined sysOIDs. But what if you need to change a System-Defined entry?\nIt seems that you can go directly into the database, and update the display name. To do this, use your favourite DB management tool, and go into the config_db DB. Look for the imc_config.tbl_dev_type table. Find the row that has sysobject set to the sysOID you want to change. Update the dev_type_name field, and set it to whatever you like. Now IMC will display the updated name!\nThis will almost certainly be overwritten by the next update, and of course if you break it, you get to keep the pieces. But if it\u0026rsquo;s important to you to change that display name, it\u0026rsquo;s easy enough to do. One thing to be clear on: This only affects the display name - it does not affect any other IMC behaviour.\n","permalink":"https://lkhill.com/imc-changing-definitions/","summary":"\u003cp\u003eIMC has a predefined list of over 6,000 devices. This list maps sysOIDs to devices, so when you add a new device to IMC, it will say \u0026ldquo;this is a Cisco Catalyst 3560 Switch\u0026rdquo;, or a \u0026ldquo;HP MSM 760 Wireless Controller\u0026rdquo;, etc. Here\u0026rsquo;s a sample of what that list looks like:\u003c/p\u003e","title":"IMC - Changing Predefined Device Model Definitions"},{"content":"The most interesting talk I attended at HP Discover in Las Vegas this year was Ken Gott\u0026rsquo;s talk on \u0026ldquo;Management of Software Defined Networks and Hybrid Environments with HP IMC.\u0026rdquo; This talk outlined the architecture for how HP plans to manage hybrid network environments using IMC, and gave us a quick demo of the code.\nThis is the HP Marketing view of the overall architecture:\nHP\u0026rsquo;s SDN Architecture.\nSDN applications, such as HP\u0026rsquo;s Sentinel, or Lync integration, will communicate with the SDN controller, using APIs. The SDN controller will use OpenFlow to push forwarding rules to the underlying network infrastructure. IMC sits along the right-hand side, talking at all levels to the other components. It communicates with the applications running on the SDN controller, the SDN controller itself, and the underlying infrastructure. It can be used to close the feedback loop from the network, using real-time network data to tell the SDN controller to change forwarding decisions.\nHP hasn\u0026rsquo;t published the slides from the presentation, but here\u0026rsquo;s my recollection of how the layers communicate:\nIt\u0026rsquo;s all about the API\nNote that the other applications on the right could be anything - these could be other HP-developed systems, or they could be custom-developed.\nKey Features HP talked about some interesting features that they plan on releasing:\nAll network devices, showing topologies, configuration, performance and faults in one place - whether OpenFlow-enabled or not. Flow-based Topology view of the network in IMC - choose to see paths across network based on flow. This is very cool. Includes integrated link status/utilisation information. View and control of device management status - traditional, hybrid, pure OpenFlow, all in one place. Change ports from one mode to another, within IMC. Classic network monitoring information and statistics, gathered through SNMP, NetFlow, NQA are all still there - but now with added OpenFlow-specific information. Application \u0026ldquo;Library\u0026rdquo; managed from IMC, which can be used to deploy applications to the SDN controller, and then control them. Management functions will include license management. Networks can have multiple controllers, and IMC can show forwarding rules implemented on a device per-controller. (I don\u0026rsquo;t really understand how a switch can have multiple controllers pushing rules to it at once, but they tell me this is possible). Backup and Restore Controller Configuration. Troubleshooting options for tracing a flow across the network. If this works well, it will become a crucial part of the modern network engineer\u0026rsquo;s toolkit. IMC Configuration Management tools could use CLI, etc. to provision and configure new device, enable OpenFlow, and make it available to the controller. Note this list is based upon my notes from the session, not official HP statements. It may be inaccurate, and besides, what they end up shipping may not exactly match what they\u0026rsquo;d like to ship.\nWhat about Licensing? I don\u0026rsquo;t know exactly what the licensing models are going to look like. My guess is that the IMC SDN module will be just another licensed module, at a reasonable price. But what I\u0026rsquo;m not too happy about was hearing that IMC will have functions for managing SDN application licensing. I understand that companies are looking to get a return on investment for any SDN applications they write, but I worry that great products will get killed with onerous licensing schemes.\nIt would be a terrible shame if applications were licensed in a way that could get out of hand as networks grow, or just have such a convoluted scheme that no-one can understand it, and they give up. Hopefully we see some sane, understandable licensing models, that allow companies to control cost, and get clear value.\nAnd other Controllers? HP stated that their intention is to have an \u0026ldquo;Open\u0026rdquo; platform, that can integrate with other SDN controllers, provided they have some form of standardised API. There\u0026rsquo;s a lot of flux in the industry at the moment, so initially HP will be developing for their own controller. Beyond that they will be watching the market to see which controllers gain dominance. If say Open Daylight gains significant market traction, then they will offer integration with that. I suppose in theory it could become like SNMP - offer a standardised interface, but let Enterprises extend it in a way that others can integrate with.\nThere was one comment that made me a bit nervous during this discussion: Someone was talking about how the HP OpenFlow controller will be fully compatible with OpenFlow 1.3 devices\u0026hellip;but that HP has some of their own extensions to OpenFlow 1.3 (emphasis mine) that they use between HPN gear and their controller. This sort of thing disturbs me. I don\u0026rsquo;t know the full details of what those extensions are. I understand that OpenFlow is a developing standard, and it may not yet fully define everything required for future applications. I just hope that this is primarily a timing issue, and that we will see those HP extensions become part of the next version of OpenFlow.\nWhen can I get my hands on it? HP is planning on releasing this later this year. The code is in alpha right now, and I\u0026rsquo;ve seen some tightly controlled demonstrations, so it\u0026rsquo;s not completely vapourware. As I understand it, it is being beta-tested in live customer networks too. Unfortunately not in any networks I have access too!\nI\u0026rsquo;m pleased to see that HP is trying to create a vision that encompasses SDN within a broader Enterprise network environment. I see SDN initially being used in pockets of the network, so having a pure-SDN management system makes little sense. The value comes from integrating it into your overall service management systems. I\u0026rsquo;m very keen to see this product ship - I hope they can execute on the vision.\nNote: N.B. HP covered my costs to attend HP Discover. There was no direct monetary compensation. They did not seek to unduly influence what I write. ","permalink":"https://lkhill.com/managing-hybrid-networks/","summary":"\u003cp\u003eThe most interesting talk I attended at HP Discover in Las Vegas this year was Ken Gott\u0026rsquo;s talk on \u0026ldquo;\u003ca href=\"http://h30614.www3.hp.com/Discover/OnDemand/LasVegas2013/SessionDetail/c0f06c65-e4ec-4f64-9be5-1aed2d396786#.UfOSVGRga2w\"\u003eManagement of Software Defined Networks and Hybrid Environments with HP IMC\u003c/a\u003e.\u0026rdquo; This talk outlined the architecture for how HP plans to manage hybrid network environments using IMC, and gave us a quick demo of the code.\u003c/p\u003e","title":"Managing Hybrid Networks"},{"content":"Timezones can be complicated things - every country has its own set of rules around how to decide what time it currently is - and those rules change, frequently. Modern Operating Systems have systems in place for handling those changes. Give it a location, it will deal with the rest. Unfortunately, network devices don\u0026rsquo;t have those systems, and we need to explicitly tell them how to work out what the current local time is, and when to change it to Daylight Savings Time. Here\u0026rsquo;s how to do that for Cisco IOS, HP ProVision, and HP Comware systems.\nFor our examples below, we\u0026rsquo;re going to use New Zealand, for no better reason than that\u0026rsquo;s where I live. In New Zealand, our regular timezone is NZST, or \u0026ldquo;New Zealand Standard Time\u0026rdquo;. This is UTC+12:00. During summer, we switch to NZDT, or \u0026ldquo;New Zealand Daylight Time\u0026rdquo;. This is UTC+13:00. We change from NZST to NZDT on the last Sunday in September at 2:00, and we change back on the first Sunday in April at 3:00.\nWarning: Note: I\u0026rsquo;m in the Southern Hemisphere, so my start and end months for DST are flipped, as compared to most readers, who are in the Northern Hemisphere. Pay close attention when you\u0026rsquo;re configuring this for your own timezone A quick background on timezones: computers store their time in seconds since the epoch, or seconds since January 1, 1970. This is the number that is used when synchronising systems with NTP. They then use a set of rules to work out what that time converts to in your local time. Based upon the date, they can also work out if you\u0026rsquo;re currently in normal time, or daylight savings time. On multi-user systems, you can even define individual timezones for users - it doesn\u0026rsquo;t matter, since the time that users see is simply an interpretation of the underlying system time. As long as you\u0026rsquo;re using the right rules for that user, it will display a human-readable time, in the timezone they expect. Changing the timezone rules just changes what\u0026rsquo;s displayed - it doesn\u0026rsquo;t really change the underlying time.\nIOS Timezone Configuration IOS will default to UTC time. We need two commands - the first will set the name our of normal timezone, and our offset from UTC. Note you don\u0026rsquo;t need to use \u0026ldquo;+\u0026rdquo; if it\u0026rsquo;s a positive offset. The second command defines the name of our summer timezone, and provides rules on when this timezone applies. Here\u0026rsquo;s how it looks on my system:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Cisco#show clock 00:25:31.275 UTC Sat Jul 27 2013 Cisco#conf t Enter configuration commands, one per line. End with CNTL/Z. Cisco(config)#clock timezone ? WORD name of time zone Cisco(config)#clock timezone NZST ? Hours offset from UTC Cisco(config)#clock timezone NZST 12 ? Minutes offset from UTC Cisco(config)#clock timezone NZST 12 Cisco(config)#clock summer-time NZDT ? date Configure absolute summer time recurring Configure recurring summer time Cisco(config)#clock timezone NZDT recurring last Sun Sep 2:00 first Sun Apr 3:00 Cisco(config)#^Z Cisco#show clock 12:25:51.341 NZST Sat Jul 27 2013 A few points to note:\nThe actual timezone name is a free-form text field. You can call it whatever you like. Some people use lower case here. I like consistency and accuracy, so I will always use the official timezone names. You can specify partial-hour offsets, but you don\u0026rsquo;t have to enter anything if it\u0026rsquo;s a whole hour offset. Summer Time rules can be set as a once-off (using \u0026ldquo;date\u0026rdquo;), or they can be recurring. You can\u0026rsquo;t mix these though! Some countries have had once-off changes - e.g. NSW, Australia during the 2000 Summer Olympics. You can specify once-off rules, but IOS will remove the \u0026ldquo;recurring\u0026rdquo; line. OSes like Windows and Linux allow much more complex rules, so you can have different rules in each year. With IOS, you\u0026rsquo;ll just need to push out new rules using your config management tools. No big deal, right? If you\u0026rsquo;re really keen, your summer time can be an offset of any number of minutes between 1 and 1440. The default is 60. I don\u0026rsquo;t know any timezones that actually implement rules where they change by more than one hour. All up, it\u0026rsquo;s pretty simple to configure - you just need to figure out what rules apply to your area. The ability to specify rules like \u0026ldquo;first Sunday\u0026rdquo; make it straightforward, as that is usually how it will be written in local legislation.\nProcurve Configuration HP Procurve systems have a slightly different configuration method. You can specify your location, if you\u0026rsquo;re in the US. The other 6.5 Billion of us need to specify our offset in minutes from UTC. You don\u0026rsquo;t specify the timezone name either, just the offset in minutes. The summer time rules are a little different too - it tries to give you options for various locations, but you can\u0026rsquo;t really trust these. Better to define the rules manually:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Procurve(config)# clock set Set current time and/or date. summer-time Enable/disable daylight-saving time changes. timezone Set the number of hours your location is to the West(-) or East(+) of GMT. Procurve(config)# clock timezone gmt Number of hours your timezone is to the West(-) or East(+) of GMT. us Timezone for US locations. (config)# clock timezone gmt +12:00 Procurve(config)# show run | inc timezone time timezone 720 Procurve(config)# time daylight-time-rule none alaska continental-us-and-canada middle-europe-and-portugal southern-hemisphere western-europe user-defined Procurve(config)# time daylight-time-rule user-defined begin-date The begin date of daylight savings time MM/DD[/[YY]YY] New date end-date The end date of daylight savings time HH:MM[:SS] New time timezone The number of minutes your location is West(-) or East(+) of GMT sw01pi(config)# time daylight-time-rule user-defined begin-date 09/24 end-date 04/01 It\u0026rsquo;s a little annoying that \u0026ldquo;show time\u0026rdquo; on Procurve doesn\u0026rsquo;t display the local timezone. Note that I could define the local timezone and the DST rules in one line, but I\u0026rsquo;ve split it in two for readability. It will split in two for the displayed configuration too. You can also see in the above output that there are few different ways of defining the local time - either using time timezone or with the clock timezone command.\nThe really frustrating part of Procurve timezone configuration is its very limited capabilities for defining summer time. You can\u0026rsquo;t specify a rule like \u0026ldquo;last Sunday\u0026rdquo; - only an exact date. What the switch then does is look for the \u0026ldquo;first Sunday on or after that date\u0026rdquo; - so to be the first Sunday of the month, you can specify 04/01, as I have. To be the last Sunday of the month, you need to specify the date that is \u0026ldquo;number of days in the month - 6\u0026rdquo;. You can\u0026rsquo;t specify a time of day either - it will always change at 2:00, which is not always correct. Very poor. Note that if you use the predefined rules for the Southern Hemisphere, it will use the last Sunday in October to start, and the first Sunday in March to end. Not much use in New Zealand.\nComware Timezone Configuration Comware configuration looks more like Cisco configuration. Surprise, surprise. Here\u0026rsquo;s a typical setup:\n1 2 3 4 5 6 7 dis clock 13:23:49 NZDT Sat 07/27/2013 Time Zone : NZDT add 12:00:00 Summer-Time : NZDT repeating 02:00:00 2012 September last Sunday 03:00:00 April first Sunday 01:00:00 dis cur | inc clock clock timezone NZDT add 12:00:00 clock summer-time NZDT repeating 02:00:00 2012 September last Sunday 03:00:00 April first Sunday 01:00:00 The rules are pretty similar to IOS - you have the same level of flexibility. You can specify one-off rules if required. Note you need to specify a year for the repeating rules, but after that it will apply for every year.\nSo there we have it: How to configure the right timezone settings across IOS, Comware and Procurve. Obviously you\u0026rsquo;ll need to figure out the exact settings for your local timezone, but now there should be no excuse for displaying the wrong timezone. Coming up: Using NTP to make sure you\u0026rsquo;ve got the right underlying time, and making your logs actually show the timestamp, not \u0026ldquo;1y4w\u0026rdquo;.\n","permalink":"https://lkhill.com/configuring-timezones/","summary":"\u003cp\u003eTimezones can be complicated things - every country has its own set of rules around how to decide what time it currently is - and those rules change, frequently. Modern Operating Systems have systems in place for handling those changes. Give it a location, it will deal with the rest. Unfortunately, network devices don\u0026rsquo;t have those systems, and we need to explicitly tell them how to work out what the current local time is, and when to change it to Daylight Savings Time. Here\u0026rsquo;s how to do that for Cisco IOS, HP ProVision, and HP Comware systems.\u003c/p\u003e","title":"Configuring Timezones on IOS, ProVision and Comware"},{"content":"I\u0026rsquo;d just like to clear up a little confusion that people have about HP IMC templates, and how they are used. Templates can be used to define credentials for different access methods - SNMP, Telnet, SSH, WMI, PowerShell, SOAP. You can define multiple templates for each access method, and they can have a range of options - e.g. Username/Password, Username/Password + enable password, Private Key + enable password, SNMPv3-Priv-Aes128-Auth-Sha, etc.\nEach credential combination you create has a name. When adding a new device to IMC, or configuring a discovery schedule, or modifying a new device, you can set the access credentials from your list of previously saved templates. This is tremendously useful if you have some horrendously long password that is used across multiple devices. Rather than re-entering it on each device, you can just choose it from a list of templates. That\u0026rsquo;s all well and good.\nThere\u0026rsquo;s two area of confusion around this that I see. The first is that some people think that you have to use templates. This is only true for SNMPv3. Any other credential (SNMPv2, SSH, Telnet) can be manually entered, if that suits you. This is fine if you\u0026rsquo;ve got a one-off device, not so clever if you\u0026rsquo;ve got common community strings across your systems.\nThe second area of confusion is around changing a template. People assume that if you change a template, it will affect all currently configured devices. Again, this is only true for SNMPv3. For all other template types, they are only used when the device is discovered or modified. Future updates to SSH, Telnet or SNMPv1/v2 templates will NOT automatically update the saved passwords IMC has for those devices. Future updates to SNMPv3 templates WILL affect devices using those templates.\nOh. But what if I do want to update the saved passwords for all devices? This is where you can use \u0026ldquo;Batch Operations.\u0026rdquo; Go to Resource -\u0026gt; Batch Operation. Click on one of \u0026ldquo;SNMP Settings\u0026rdquo;, \u0026ldquo;Telnet Settings\u0026rdquo; or \u0026ldquo;SSH Settings\u0026rdquo; - you can then pick a template, and devices to re-apply it to. That will update the saved passwords. Of course, it won\u0026rsquo;t actually update the device itself - you can do that through either Device Configuration, or my preferred method of using the Configuration Center.\nTemplates will certainly make your life easier, and I highly recommend using them. Just be aware of what they can and can\u0026rsquo;t do.\n","permalink":"https://lkhill.com/imc-misconceptions-templates/","summary":"\u003cp\u003eI\u0026rsquo;d just like to clear up a little confusion that people have about \u003ca href=\"http://h17007.www1.hp.com/us/en/networking/products/network-management/IMC_SS_Platform/index.aspx\"\u003eHP IMC\u003c/a\u003e templates, and how they are used. Templates can be used to define credentials for different access methods - SNMP, Telnet, SSH, WMI, PowerShell, SOAP. You can define multiple templates for each access method, and they can have a range of options - e.g. Username/Password, Username/Password + enable password, Private Key + enable password, SNMPv3-Priv-Aes128-Auth-Sha, etc.\u003c/p\u003e","title":"IMC - Clearing up Misconceptions about Templates"},{"content":"Auto-discovery can help you populate your NMS, and keep it up to date. HP IMC supports several methods of adding devices - either by manually adding them, or getting IMC to automatically discover them. Here\u0026rsquo;s an overview of the options available to us:\nManually add a single Device Batch Import From CSV From NNMi Auto Discovery - Basic Auto Discovery - Advanced Routing-Based ARP-Based IPsec VPN-Based Network Segment-Based PPP-Based Let\u0026rsquo;s take a quick look at what each of the options does, and when you would use each one. Note that for all discovery options there are common options - SNMP credentials, Login type (Telnet/SSH/None), and Login Credentials. You can use Templates to speed the entry of credentials. NB: Templates only take effect when initially applied to a device - if you update the template later, it won\u0026rsquo;t change that device.\nWarning: Each discovery you run (scheduled or manual) can only try a single SNMP Community string. If you want to try multiple strings, you need to run multiple discoveries. Other tools can try multiple strings as part of a single discovery schedule. You can configure discovery to ignore SNMP failures, and add the device anyway, but you\u0026rsquo;ll probably end up with a lot of irrelevant objects if you do that. Add a Single Device To get here, go Resource -\u0026gt; Add Device. This takes one IP address, and SNMP/Login credentials. It adds a single device - this is best for when you\u0026rsquo;ve got a single device to add, and/or it has some unusual characteristics. Fill in an IP address, SNMP community strings, and Login Credentials. After filling in the details, IMC will go and try to discover the device. It will probe it using ICMP and SNMP, and decide if it can be added.\nThere is one little shortcut you can use if you\u0026rsquo;ve got a couple of similar devices to add - once you\u0026rsquo;ve added one, click \u0026ldquo;Clone to Add\u0026rdquo; - this will keep all the previous settings - you just need to set the new IP address. You might be tempted to use this option if you\u0026rsquo;ve got a few devices to add - but you\u0026rsquo;re probably better off running a discovery against a range of IP addresses.\nBatch Import If you have a large list of nodes to add, and you know the details for all those nodes, you can import a CSV file. This method is most appropriate if you maintain excellent documentation about all your devices, or perhaps you can easily extract a list from your current NMS. Go Resource -\u0026gt; Import/Export Device -\u0026gt; Import. Check the Online help for details on how to format the CSV file. As a quick alternative, you can export your current list to get an idea of the formatting. You\u0026rsquo;ll need IP addresses, and SNMP credentials. Note you can\u0026rsquo;t specify login credentials for this sort of import - you\u0026rsquo;ll need to change it later individually, or across groups of devices using Resource -\u0026gt; Batch Operation.\nIf you have an NNMi server that has already discovered the network, theoretically you can import devices from NNMi. Go Resource -\u0026gt; Import/Export Device -\u0026gt; Import Devices from NNMi. This may work for some networks, but in my testing, it did not work for networks using DNS for hostname mapping. It\u0026rsquo;s also of limited value if you want to configure integration between IMC and NNMi - for that to work, nodes must be added to IMC first, then discovered in NNMi through the integration.\nAutomatic Discovery - Basic The above methods are fine if you\u0026rsquo;ve got one node, or a well-defined list. But what if you\u0026rsquo;re like most larger networks, and the documentation can\u0026rsquo;t be fully relied upon, and the network is in a state of flux anyway? Most organisations don\u0026rsquo;t have the operational discipline to ensure all new devices are added to documentation and monitoring systems, so we need to make sure we can discover all devices automatically - both for initial setup, and ongoing maintenance. IMC offers several methods of automatically discovering the network. All of these can be run as a once-off, or can be scheduled. You can configure multiple schedules, including different types of discovery.\nA \u0026ldquo;Basic\u0026rdquo; discovery takes one or more ranges of IP addresses. It will go through each address in the range, trying to poll it, to see if it responds. Any addresses that respond successfully will be added to IMC. To get here, go Resource -\u0026gt; Auto Discovery, and then click \u0026ldquo;Go to Basic\u0026rdquo; if required. Note that you can only configure a login type \u0026ldquo;Telnet\u0026rdquo; for a Basic discovery - that\u0026rsquo;s one of the reasons I recommend using Advanced discovery options.\nAutomatic Discovery - Advanced Going to Resource -\u0026gt; Automatic Discovery -\u0026gt; Go to Advanced will give you five options for running discoveries. These are much more flexible than the basic discovery methods.\nRouting-Based: This method takes a list of seed devices. It uses SNMP to look at the routing table on each device, and tries to discover those gateway IP addresses. It will keep doing this, up to a maximum hop count (1-7, default 3). Good for dynamically routed non-Ethernet networks, particularly where you transit provider networks.\nARP-Based: Again, uses a list of seed devices, but this time looks at the ARP cache using SNMP, and tries to discover those IP addresses. Again, rinse and repeat, up to the maximum hop count. Works well for Ethernet networks. Note you might miss devices not currently in ARP caches, so this should be run multiple times.\nIPsec VPN-Based: Looks at IPsec VPNs on a seed device, and tries to discover any encryption peer IP addresses. I think that the problem here is that you probably don\u0026rsquo;t allow SNMP management via the peer IP - normally it\u0026rsquo;s filtered to only allow SNMP to the loopback. You can specify a maximum hop count, just in case you\u0026rsquo;ve got a really complex VPN setup.\nNetwork Segment-Based: Simple here - take a list of IP addresses, and work through each one, trying to find devices you can manage. Simple, but often good enough. You may well just want to start with this, particularly if you only have a few subnets, or well-defined management networks.\nPPP-Based: This is interesting - find PPP connections on routers, and assume that the IP at the other end of the link is one you can try to discover. Problem is, not many people have a lot of PPP connections in their networks these days. Still, it works where ARP-based discovery can\u0026rsquo;t. Needs one or more \u0026ldquo;Seed\u0026rdquo; devices. Can specify maximum hop count.\nWhich Method(s) should I use? It depends. For a simple network, if you\u0026rsquo;re all connected via Ethernet, then ARP-Based will work OK. But you\u0026rsquo;re probably more complex than that. If you\u0026rsquo;ve got a solid IP addressing layout, with a defined management network at each site, then just add that to Network Segment-based discovery, and run with that. If you don\u0026rsquo;t have a clean IP address layout, you\u0026rsquo;re probably going to have to run a mix of ARP-Based, Routing-Based, Network Segment-Based and ad-hoc manual discovery. Ugh.\nWhat I\u0026rsquo;d really like to do is configure more complicated discovery methods - a mix of Routing-Based and ARP-Based should do the trick. Find neighbours through both routes and ARP cache, discover them, interrogate them for neighbours, rinse, and repeat. Limit by networks, not by hops. Actually, what I really want is the power of HP NNMi\u0026rsquo;s spiral discovery in IMC. Come on HP, you\u0026rsquo;re all one company, surely you can share some code?\n","permalink":"https://lkhill.com/imc-network-discovery-methods/","summary":"\u003cp\u003eAuto-discovery can help you populate your NMS, and keep it up to date. HP IMC supports several methods of adding devices - either by manually adding them, or getting IMC to automatically discover them. Here\u0026rsquo;s an overview of the options available to us:\u003c/p\u003e","title":"IMC - Network Discovery Methods"},{"content":"HP IMC has an optional add-on module for NetFlow/sFlow Analysis called \u0026ldquo;Network Traffic Analyzer (NTA).\u0026rdquo; This comes in 10-, 20- or 50-node license packs. Based on the license names, you might think that it\u0026rsquo;s as simple as counting up the number of NetFlow-generating devices in your network, and purchasing sufficient licenses. Not quite so fast.\n[UPDATE 10/10/13: This licensing policy has changed - as of IMC 7.0, it is purely node-based licensing. The restrictions highlighted here have been removed. Well done HP for seeing some sense.]\nTurns out that it is not only licensed on number of nodes, but also on the volume of traffic. Each NTA node license counts for 5Mb/s of traffic. This is cumulative, and the traffic distribution can be unequal. So if you have a 10-node license, you\u0026rsquo;re allowed to report on up to 50Mb/s of traffic. That could be all from one node, or it could be evenly distributed across 10 nodes. If you\u0026rsquo;re using more than your licensed rate, you need to purchase more node packs - even if you don\u0026rsquo;t actually need any more nodes.\nNote that the data rate that counts is the volume of traffic that NetFlow is reporting on - not the actual NetFlow data itself. So if you\u0026rsquo;ve configured a router to collect NetFlow data on all traffic flowing across it, licensing will be based on the volume of traffic through the router. But if you use sampling, then the license count is based on the sampled data. So if you\u0026rsquo;ve got 100Mb/s going through your router, and you\u0026rsquo;re sampling 1 packet in 100, you\u0026rsquo;ll be using around 1Mb/s of your licensing.\nHP publishes more information about this licensing, along with some worked examples here: \u0026ldquo;HP IMC Network Traffic Analyzer (NTA) License and Device Sampling Rate Explained.\u0026rdquo; I strongly recommend reading this document if you\u0026rsquo;re planning on using IMC to analyse NetFlow data. I particularly like this quote:\nIt is difficult, if not impossible, to predict how much NTA traffic speed is likely to be in a given network\nErrr\u0026hellip;so why do you license it that way then?\nThe actual setup of of NTA is reasonably easy, except for a couple of tiny bits that can really frustrate you. Save yourself the pain - just watch this video on NTA configuration. It will make your life a lot easier.\nNote: For reference, HP NNMi NetFlow analysis (iSPI Traffic) is licensed on the number of interfaces generating data, and the type of flow data (NetFlow is more expensive than sFlow). Solarwinds NetFlow Traffic Analyzer needs to have a license that matches your NPM license - so it assumes that all nodes you have managed could be generating flow data. ","permalink":"https://lkhill.com/imc-nta-licensing/","summary":"\u003cp\u003eHP IMC has an optional add-on module for NetFlow/sFlow Analysis called \u0026ldquo;\u003ca href=\"http://h17007.www1.hp.com/us/en/networking/products/network-management/IMC_NTA_Software/index.aspx\"\u003eNetwork Traffic Analyzer (NTA)\u003c/a\u003e.\u0026rdquo; This comes in 10-, 20- or 50-node license packs. Based on the license names, you might think that it\u0026rsquo;s as simple as counting up the number of NetFlow-generating devices in your network, and purchasing sufficient licenses. Not quite so fast.\u003c/p\u003e","title":"IMC NTA Licensing - Watch the Fine Print"},{"content":"The Windows WMI repository can become corrupted on Windows 2008 R2 servers being used with XenApp. WMI corruption can cause problems for monitoring systems, and potentially some applications. You can rebuild the repository, but that may lead to other issues, and it doesn\u0026rsquo;t fix the underlying problem.\nThe problem occurs on systems that have many people logging into them, and hence a large amount of GPO logging. This logging affects the WMI repository, causing it to grow considerably, and sometimes get corrupted.\nYou can check to see if WMI is working properly by running wbemtest.exe. Click \u0026ldquo;Connect\u0026rdquo;, leave everything at default, and hit Enter. Click Query, and enter Select * from Win32_Process Run that, and you should get a list of all processes running. If that doesn\u0026rsquo;t work, you\u0026rsquo;ve probably got an issue with WMI. If you think it\u0026rsquo;s caused by GPO logging, here\u0026rsquo;s how to disable it:\nEdit a GPO that gets applied to this server. Go to Computer -\u0026gt; Administrative -\u0026gt; System -\u0026gt; Group Policy. Enable the setting \u0026ldquo;Turn off Resultant Set of Policy Logging.\u0026rdquo; Apply that, and you should get no corruption in future. This won\u0026rsquo;t fix any existing corruption though - I\u0026rsquo;d be inclined to just rebuild the server if you can, but an alternative is to rebuild the repository by stopping the WMI service, renaming C:\\Windows\\System32\\wbem\\repository to something else, and restarting WMI. You can also try running winmgmt /repairrepository. Note you can also check your repository state with winmgmt /verifyrepository This won\u0026rsquo;t make any changes, but will tell you if there are any known issues.\n","permalink":"https://lkhill.com/wmi-corruption-on-citrix-xenapp-servers/","summary":"The Windows WMI repository can become corrupted on Windows 2008 R2 servers being used with XenApp. WMI corruption can cause problems for monitoring systems, and potentially some applications. Here\u0026rsquo;s how to fix the issue.","title":"WMI Corruption on Citrix XenApp Servers"},{"content":"HP Operations Manager has been around a long time in the Enterprise server management space. I first started working with it around 2001, and I\u0026rsquo;ve always had a soft spot for it, but I\u0026rsquo;m ready to declare it abandoned. HP has failed to develop the product, and they now seem to be actively working on a viable alternative.\nHP Operations Manager (HP OM) is an agent-based server monitoring system. Agents are installed on monitored systems. Monitoring policies are defined at the central server, and pushed to agents. This keeps the bulk of the processing local, as agents only need to raise exceptions. It also makes agents very powerful - they can do anything on a managed node - check processes, monitor logfiles, run actions, etc. HP OM can also act as a Manager-of-Manager, receiving and consolidating events from other systems - e.g. HP SIM, NNMi, Storage Essentials, SiteScope, etc. It has been around in some form or another since 1993. It\u0026rsquo;s had a few name changes over the years - OpenView Operations, ITO, VantagePoint Operations, and now just Operations Manager. It has Windows and Unix versions (abbreviated to OMW and OMU/OML respectively). The Windows and Unix variants use the same agents, and can share policies, but the administrative and operator interfaces are completely different.\nDevelopment for HP Operations Manager appears to have stalled recently. The last update for OMW (9.0) was in September 2010, and the last update for OML/OMU (9.10) was in November 2010. Since then we have seen further releases for the underlying Operations Agent, and some small patches for Operations Manager, but no real enhancements. HP OM has increasingly ill-suited to modern dynamic environments, and unsurprisingly I hear that sales are well down. Crucially, support renewals are dropping significantly.\nHP OM has not adapted well to modern demands. It does not deal well with VMs being deployed at a high rate. It does not offer service monitoring capabilities. It does not offer any way to connect to cloud provider APIs. The agents have continued to be unstable. The administrative interface for OML/OMU looks like something I wrote over a weekend, based on a dodgy PHP shopping cart. It does not look like a piece of software that costs tens of thousands of dollars. Or actually maybe it does - Enterprise software in general tends to be ugly. HP didn\u0026rsquo;t even develop it themselves - they licensed the admin interface from Blue Elephant Systems. The Java GUI for OML/OMU was a disgrace in 2002 - and it hasn\u0026rsquo;t changed since.\nJava GUI circa 2002\nJava GUI circa 2012\n(OK, so I cheated, those images are the same - but that\u0026rsquo;s because it hasn\u0026rsquo;t changed).\nI can only assume this lack of development was because they lost out politically, and could not secure the necessary funding and resources. I believe the turning point for HP Operations Manager was the 2006 purchase of Mercury Interactive. This completely reshaped the HP Software division. That portfolio included SiteScope, an agent-less server monitoring system. OM\u0026rsquo;s design and architecture just didn\u0026rsquo;t fit into this model. Efforts to integrate them have been derisory - e.g. the system for using HP OM to manage policies across multiple SiteScope servers is the sort of poor code that I might do as a quick hack. It does not meet the marketing message of \u0026ldquo;fully integrated.\u0026rdquo;\nAlso consider this diagram showing how Operations Manager should fit into your overall architecture:\nImage from www.softpanorama.net\nNote how everything feeds into Operations Manager, which then feeds into Operations Manager i (OMi)? To the uninitiated: OMi is a different product, in spite of the near-identical name. When you look at that, you ask yourself - what\u0026rsquo;s the point in HP OM there? Why not just feed directly into OMi?\nSo what\u0026rsquo;s the future of OMW/OMU? Let\u0026rsquo;s try reading between the lines - look at the recent announcement by HP about OMi Monitoring Automation. This separates monitoring policies (configuration, thresholds, etc) from implementation (agent-based, agentless). It bypasses the OM server requirement, with agents directly managed by the OMi server. I haven\u0026rsquo;t seen enough of the implementation details yet to confirm that OM has been completely replaced, but it\u0026rsquo;s clear enough to me what the future direction is. Development has continued for Operations Agent, but clearly Operations Manager is surplus to requirements. Well maybe it all makes sense - why the hell did they ever have two separate products, one named \u0026ldquo;Operations Manager\u0026rdquo;, and another named \u0026ldquo;Operations Manager i\u0026rdquo;?\nWhat future for HP OM then? It now only makes sense as a Manager-of-Managers for organisations that are too small to commit to the whole HP BSM suite. Even those organisations need to re-think their use of OM though, as it can\u0026rsquo;t handle a dynamic environment, and stands little chance of being able to integrate proper APM, or cloud service monitoring. There are other products out there that are better suited to modern medium-sized organisations.\nTo the HP people reading this: Obviously you can\u0026rsquo;t publicly confirm any of this. You\u0026rsquo;ve promised ongoing support to those still paying their annual support fees. But if I\u0026rsquo;m wrong, then show me the code. Deliver some updates to the product, and show us that it is being actively developed. Vague promises of continued commitment mean nothing without shipping code. To customers using HP OM: My advice is to start planning your migration away from it, if you haven\u0026rsquo;t already. To customers considering purchasing it: Don\u0026rsquo;t, unless you\u0026rsquo;re buying it as part of an overall BSM/OMi implementation, and the salesfolk have guaranteed you can change your licensing over at no cost in future.\n[UPDATE 2015/05/21] If you\u0026rsquo;re still running HP OM, you should actively be migrating to OMi - HP recommends it, and has plans in place to help:\nBut now with the introduction of OMi 10, HP has released the first version intended to replace HPOM for Windows, HP-UX, Solaris or Linux.\nAlthough there is no need to immediately move to OMi, it can be considered the successor of HPOM and I think the benefits of its additional features make a compelling case to make the move.\n","permalink":"https://lkhill.com/abandoned-operations-manager/","summary":"\u003cp\u003eHP Operations Manager has been around a long time in the Enterprise server management space. I first started working with it around 2001, and I\u0026rsquo;ve always had a soft spot for it, but I\u0026rsquo;m ready to declare it abandoned. HP has failed to develop the product, and they now seem to be actively working on a viable alternative.\u003c/p\u003e","title":"Has HP Abandoned Operations Manager?"},{"content":"NNMi can use LDAP for authenticating users, with or without SSL. Recently a customer changed the SSL certificate used on their LDAP server, which broke NNMi authentication. NNMi trusts one specific certificate for verifying SSL connectivity to the LDAP server, so changing the certificate broke the chain of trust. To save me time when this comes around again, I\u0026rsquo;ve documented the steps for fixing this:\nGet a copy of the public part of the certificate used on the LDAP server. This should be in DER format. Copy it to the NNMi server. NNMi uses Java keystores for storing certificates. Two files are used - nnm.keystore for storing keys used for SSL for the NNMi web interface, and nnm.truststore for storing trusted certificates. Both are stored in /var/opt/OV/shared/nnm/certificates. For LDAP connection verification, NNMi looks in the nnm.truststore file for a certificate with an alias of nnmi_ldap You must use this alias. Check currently stored certificates with this command: 1 /opt/OV/nonOV/jdk/nnm/bin/keytool -list -v -keystore /var/opt/OV/shared/nnm/certificates/nnm.truststore -storepass ovpass Note: You must use the right version of keytool to examine/update these stores. The default keytool in your path on a Linux server may not work - use the NNMi-provided copy of keytool. Make a backup copy of nnm.truststore, then remove the existing key with alias nnmi_ldap: 1 /opt/OV/nonOV/jdk/nnm/bin/keytool -delete -alias nnmi_ldap -keystore /var/opt/OV/shared/nnm/certificates/nnm.truststore -storepass ovpass Import your new certificate 1 /opt/OV/nonOV/jdk/nnm/bin/keytool -import -alias nnmi_ldap -file ~/mynewcert.crt -keystore /var/opt/OV/shared/nnm/certificates/nnm.truststore -storepass ovpass restart NNMi with: 1 2 ovstop ovstart LDAP authentication should now be working again. You can use \u0026ldquo;nnmldap.ovpl -diagnose \u0026rdquo; to verify this.\nWarning: It\u0026rsquo;s not enough to update the certificate, and run nnmldap.ovpl -reload - you MUST restart NNMi for the new certificate to take effect. ","permalink":"https://lkhill.com/nnmi-replacing-ldap-ssl-certificate/","summary":"\u003cp\u003eNNMi can use LDAP for authenticating users, with or without SSL. Recently a customer changed the SSL certificate used on their LDAP server, which broke NNMi authentication. NNMi trusts one specific certificate for verifying SSL connectivity to the LDAP server, so changing the certificate broke the chain of trust. To save me time when this comes around again, I\u0026rsquo;ve documented the steps for fixing this:\u003c/p\u003e","title":"NNMi - replacing LDAP SSL Certificate"},{"content":"This is a companion post to my review of the technical differences between NNMi and IMC. That one tried to stay focused on technical matters, but this post is more opinion-based. It is intended to help potential customers decide which one is right for them. I am not going to directly compare them to the many other NMS products on the market - let’s keep this to a straight HP vs HP discussion.\nNote: Note: When I refer to NNMi below, I am referring to the overall NNMi suite, including iSPIS (for performance, NetFlow, etc) and NA (for configuration management). NNMi splits the various functions out into different applications, while IMC integrates more functionality into the base system. Target/Ideal Customer The products come from very different backgrounds, and had very different target markets. But as IMC has rapidly added features, and the NNMi team have better integrated their individual components, the lines have gotten blurred.\nIMC: The classic IMC customer that I see is an organisation that has decided to migrate from Cisco to HPN equipment. They’re looking for a network management tool that will deal with fault, performance and configuration, and will do it happily across Cisco and HP equipment. The friendly HPN salesman can do a good deal on IMC if you’re buying a lot of HPN equipment. Network sizes can vary, but will tend to be small-medium networks - let’s say up to 1,000 nodes. A typical IMC customer will be an engineer, not a manager. They will also be more inclined to configure it themselves, not using consultants. (I of course would recommend engaging consultants, at least for initial setup :D)\nThe new customer I see for IMC is organisations that are using HP wireless equipment, and want to implement a BYOD strategy. The future target/ideal customer will be organisations using HP’s SDN Controller, as that will heavily tie in to IMC.\nTypical competitor products an IMC customer might look at: Solarwinds, Whatsup Gold, Cisco Prime LMS.\nNNMi: There’s three typical NNMi customers:\nLarge, dynamic networks, with complex requirements. 20,000+ devices, with far more happening on the network than a regular admin can keep up with. They are drawn to NNMi for its scalability, advanced discovery capabilities, and policy-driven framework. With the right discovery, grouping and monitoring policies in place, NNMi can scale well across very large networks. Organisations have committed to the HP BSM suite. NNMi fits reasonably well into this, and ticks most boxes in an RFP. Note that often in these cases, the choice of NNMi is effectively forced down from management, and NNMi struggles for acceptance by the network engineers. People who were using the original OpenView back in the day dot, and have followed along with upgrades and migrations over the years. They probably still refer to it as OpenView, although that name was dropped several years ago. Mind you, no-one told the developers either, so we’ll let it pass. One common point is that NNMi customers will be more inclined to use consultants to help with setup, configuration and ongoing maintenance. NNMi tends to be more “consultant-friendly” - this may or may not fit in with your organisation’s general culture.\nTypical competitor products an NNMi customer might look at: CA Spectrum, IBM Tivoli, BMC Entuity.\nKey Points that Tip it Either Way OK - we’ve seen the typical customers. But what if you’re somewhere in between? Maybe you’ve got 10,000 devices, but a low rate of change. Where would you fit in? Here’s some of the key areas that might tip your decision one way or the other:\nBSM - if you’re committed to BSM, NNMi is the best choice, as NNMi will forward the necessary topology information to BSM. Wireless - NNMi does not currently offer support for controller-based wireless networks. There are some workarounds, but you get very limited information, and it doesn\u0026rsquo;t tie in with the rest of the Root Cause Analysis. IMC supports HP wireless controllers. If you are using HP wireless controllers, you should probably use IMC. If you are using autonomous APs, you could use either product. BYOD - if you want to use HP’s BYOD strategy across your wired and wireless network, you will need IMC. You could use NNMi for monitoring, and IMC just for the BYOD component, but this creates a fair bit of overlap. Integrations - NNMi (in one form or another) has been around a long time, and it has far more integrations supported out of the box. Many vendors will have documentation for integrating with NNMi. IMC currently doesn’t offer any standard integrations into other systems, although it can forward traps, or send emails. I expect this will change in time. SDN - you want to start using OpenFlow across your network, and you’re going to use HP’s SDN controller. In this case, you must go with IMC. RFPs - If you\u0026rsquo;re in the habit of issuing very large, very detailed RFPs, NNMi will probably check more boxes. If you instead choose products by trying them out, IMC will look better. This is due to the different product philosophies - NNMi focuses on ticking off a list of capabilities, IMC focuses more on product look and feel, and usability. Both are valid approaches, but they are different target customers. Maybe I\u0026rsquo;m using the wrong product? Should I migrate? Probably not. As a general rule, all management systems suck, in their own way. Ultimately the best system is the one that you pay attention to, and properly feed and water. If you just let the last system sit in the corner gathering dust, don’t expect a new tool to solve all your problems. That said, I can think of a few situations where you might move between NNMi and IMC (in either direction)\nYou’re running NNM 7.50. That’s a legacy architecture, and moving to 10.00 is a massive change in approach, so it is worth doing a re-evaluation of your overall NMS approach, and not just upgrading. You should evaluate all alternatives, including non-HP ones. You’re currently running NNMi for fault and maybe performance monitoring, but you really need configuration management capabilities. You could add in licenses for HP NA (Network Automation), but the price scares you. If you’re not committed to BSM, and you’re purchasing some HP Networking equipment, you could probably move to IMC for less than the cost of your NNM support renewal. You’re using NNMi with the BSM suite, but it’s just not delivering for you, and you find yourself using only NNMi, and not the rest of BSM. If your organisation has had enough of BSM, and moves away, then it may be worth looking at IMC. You’re using IMC, but you want to tie into the broader BSM suite, to get greater correlation of events across all domains - network, servers, applications. If that’s where your company is going, you should look at migrating to NNMi. Be aware that full correlation of all events across all domains is not easy, and it may take a lot of time and effort to get the desired outcomes. It’s a noble goal, but not one that is easily achieved. You’re using IMC, and your network is getting very large, with a high rate of change. You’re finding that you’re doing too many manual tasks, and you need the ability to set policies to dynamically group objects and apply monitoring policies. If you’re large enough, the benefits of those policies can outweigh the overhead of defining and configuring them. What about running the two of them together? Maybe I should use NNMi for discovery and fault monitoring, but IMC for configuration management for my HPN equipment? It\u0026rsquo;s probably a lot cheaper than buying Network Automation licenses, right? As of NNMi 9.22, there is a supported integration between IMC and NNMi. In my testing, this did not work well. IMC can theoretically import nodes from NNMi, but it fails if you use DNS. NNMi can import nodes from IMC, and cross-launch from NNMi into IMC. Theoretically this works, but in reality you hit limitations - all nodes must be discovered in IMC, and added to NNMi via the integration - not discovered by NNMi. This is frustrating, since NNMi has a far better discovery engine. Also, all IMC nodes are added to NNMi as individual Custom Seeds - this will get impractical for large networks. Summary: You can do it, but don’t expect it to work well. Maybe in future.\nConclusion: Both systems are very capable, and they both have their place. Product choice will depend on your overall company strategy - if you’re committed to HP BSM, then choose NNMi. If your network is small-medium sized, IMC is a better choice for ease of use and base product functionality. If your network is very large and very dynamic, NNMi+iSPI+NA might work better due to its policy-driven functionality.\nNote: Last updated: 18th November 2014 ","permalink":"https://lkhill.com/imc-nnmi-which-one/","summary":"\u003cp\u003eThis is a companion post to my \u003ca href=\"/imc-vs-nnmi/\"\u003ereview of the technical differences between NNMi and IMC.\u003c/a\u003e That one tried to stay focused on technical matters, but this post is more opinion-based. It is intended to help potential customers decide which one is right for them. I am not going to directly compare them to the many other NMS products on the market - let’s keep this to a straight HP vs HP discussion.\u003c/p\u003e","title":"IMC or NNMi - Which One is For Me?"},{"content":"HP NNMi and HP IMC are both very capable network management products. But to an outsider, it can be a bit hard understanding the differences between the products - why does HP offer two overlapping products? I can\u0026rsquo;t answer that fully, but I can try to show some of the technical differences between the products, to help you understand the similarities and differences.\nUpdate: I\u0026rsquo;ve posted a follow-up piece that\u0026rsquo;s more opinion-based, and tries to answer the question: \u0026ldquo;So which one should I choose?\u0026rdquo;\nOverview NNMi IMC Summary High-end network monitoring system, for very large networks. Focuses on policies, automatic rules, capabilities above ease of use or look and feel Mid-range network monitoring system, for a range of network sizes, ideal for monitoring and managing mixed-vendor networks. Simpler to use, with nicer look and feel, but at the expense of some capabilities. History NNMi is the modern successor to HP OpenView - one of the first network management tools on the market, many years ago. Completely rewritten in 2008, with a new name (NNMi), interface, discovery and polling engine. R\u0026amp;D team based in the US, with development and support teams in India. It is part of the HP Software group, and has strong ties to HP\u0026rsquo;s BSM Software suite. Current version of NNMi is 10.00. IMC was originally developed by 3Com, for managing large 3Com/H3C networks in China. After the HP acquisition, it was brought into the HP fold, but has stayed with the HP Networking group (as opposed to HP Software). It now supports HP ProCurve systems, and a variety of other vendors, including Cisco. R\u0026amp;D, development and support are done from China. Current version is 7.1 Standard Features NNMi IMC Fault Management Yes - with Root Cause Analysis, hardware monitoring for supported systems, etc. Yes - but limited Root Cause Analysis or default hardware monitoring (can be configured). Network Discovery Yes - extensive options with continuous spiral discovery Yes - standard options for scheduled discovery (route-based, ARP cache, ping sweep, etc) Topology Mapping Yes - L2 or L3 connectivity maps. Manual links require CLI configuration. Yes - including rack/datacentre layout. Manual links can be added via GUI. Performance Reporting Yes, with iSPI Performance for Metrics add-on. More reporting now integrated into main product, making it easier to use. Advanced reporting is possible, but still challenging. Yes - in base platform. Far simpler to and quicker to use, but with limitations - can\u0026rsquo;t do deep, advanced reporting. Configuration Management - Backup, Deploy Yes, with HP Network Automation (HP NA) add-on. Yes - in base platform. Firmware Management Yes, with HP Network Automation (HP NA) add-on. Yes - in base platform. Syslog No, but can integrate with HP Arcsight. Yes - in base platform. (nb: this is not a full syslog management solution) NetFlow With iSPI Performance for Traffic add-on. With NTA add-on. VMware/Hyper-V Integration No. Yes - discovery/mapping of VMs and vSwitch in base platform. VAN add-on for policy integration. Wireless Controller Integration No. Yes - with WSM add-on. HP, Cisco and Aruba controllers. Integration Packs Standard integrations for HP OM, BSM, Netcool, CiscoWorks LMS, IMC, HP SIM, HP SiteScope, HP UCMDB. No standard integration packs, other than NNMi integration. Integration Capabilities SNMP traps, custom scripts. Email, SNMP traps. Device Support Broad, well documented. Does not appear to favour HPN gear. Supporting new devices may need HP support. Broad support, but not well documented (publicly). Aims to be open, but tends to support HPN gear first, followed by Cisco, then others. Can easily add support for new devices. Scalability Supports hierarchical model with GNM license. Known to manage networks over 60K nodes. Supports hierarchical model with Enterprise license. Known to manage networks over 20k nodes. Advanced Features NNMi IMC Custom Reporting Yes, using Cognos. Yes - using Crystal Reports (ugh) Configuration Compliance Yes, with HP NA. Yes - base platform. MPLS With iSPI for MPLS add-on. With MPLS VPN Manager module. BYOD No. With UAM module. TACACS/RADIUS No. With TAM add-on. API Yes. Included with Enterprise License, or add-on to Standard License. Multicast With iSPI for Multicast add-on. No. Telephony With iSPI for Telephony. Multi-vendor. With Voice Services Manager module - HP only. Routing Analytics With RAMS add-on. No. Automated Actions (Runbook Automation) Yes, with iSPI NET or HP NA. Limited capabilities with SCC. Policy-Driven Capabilities Extensive options for grouping devices/interfaces based on characteristics (e.g. sysLocation, IP address, interface description, device model). Fault/Performance/Escalation policies can then be applied to these groups. With the right rules in place, most monitoring policies are automatic. Problem is that ad-hoc changes are difficult. Limited abilities, but improving. No ability to automatically apply policies to groups of interfaces. Easy to apply ad-hoc changes though - e.g. manage/un-manage interface, add performance polling, etc. Note: Last updated: 18th November 2014 ","permalink":"https://lkhill.com/imc-vs-nnmi/","summary":"It can be hard to understand the differences between HP\u0026rsquo;s NNMi and IMC. Both offer a great range of network management capabilities. Here I outline the technical similarities and differences between the products.","title":"HP IMC vs HP NNMi - Technical Differences"},{"content":"People in IT often need/want to obtain certifications throughout their career. But few put much thought into what is required to renew those certifications, and many let them lapse. I think that\u0026rsquo;s a mistake. Recently a colleague found himself looking for a new job, and he realised his CCNP had expired. He\u0026rsquo;s got the right amount of experience, but he\u0026rsquo;s finding you need a CCNP to get past the HR filter. He would have no trouble proving his knowledge, but suddenly he\u0026rsquo;s looking at sitting 4-5 exams to get the CCNP again, instead of 1 to renew it.\nThere are many certifications across the IT industry, with many different requirements for obtaining and renewing them. Some vendors, such as Cisco, let you renew all certifications when you pass an exam at the same or higher-level. Others require you to re-sit an updated exam - e.g. VCP5. CISSP has a very different approach, where you need to show proof of continuing professional education. One common theme is that renewing is less effort than obtaining the certification - e.g. you only need to pass one CCNP-level exam to renew it, vs taking 4-5 exams to obtain it. Very few certifications are like University degrees, which never expire.\nRenewal timelines can vary too. 3 years is common. CCIE is only two years, while other programs are based on product release dates. Before starting any certification, you need to investigate the renewal requirements. Otherwise you end up with an enormous amount of work just to keep up to date. Personally I have CCIE, CCDP, RHCE, CISSP, CCSE, VCP5, HP MASE, ITIL 2011 - and that\u0026rsquo;s just what I keep up to date. You can do the maths to work out what means for exams just to stay current. I let my HP-UX certification lapse some time ago.\nWhen it comes around to re-certification time, these are the sorts of thoughts going through people\u0026rsquo;s heads:\nI can\u0026rsquo;t be bothered, it\u0026rsquo;s too much effort. The exam\u0026rsquo;s just pointless trivia questions, it doesn\u0026rsquo;t mean anything in my day-to-day job. You only need certs when looking for a new job, and I\u0026rsquo;m not going anywhere. I\u0026rsquo;ve got plenty of experience now, I don\u0026rsquo;t need a certificate to prove anything. Nothing - i.e. the expiry date passed by without a thought, because you didn\u0026rsquo;t track it, or you used an old work email address, and never received notification of expiry. The qualification is no longer relevant (typically stated by Novell cert holders). It\u0026rsquo;s no longer relevant to my career, or where I want to go. Of those, only the last two are truly valid reasons. If those apply, and you\u0026rsquo;ve properly thought it through, then go ahead and let it lapse. But make sure you actually do give it some thought.\nWarning: Even if you think you\u0026rsquo;ll stay in your current job until you retire, you can\u0026rsquo;t be sure of what will happen. You could get laid off, or your current boss gets replaced by a jerk, and you find yourself needing a new job. Regardless of what you think of the importance of certifications, there are many places that won\u0026rsquo;t even look at you without those pieces of paper. It\u0026rsquo;s a lot easier to maintain a certification, than obtain it in the first place, so do yourself a favour, and renew it. And hey - you never know - you might just learn something while doing it. After all, the vendors want you to update to learn about the latest features, not just to give them some more money.\n","permalink":"https://lkhill.com/certifications-should-i-renew-them/","summary":"Getting a certification isn\u0026rsquo;t like a degree - it expires. Each renewal cycle, you need to decide if it\u0026rsquo;s worth putting in the effort to renew it. My advice: Think carefully, and don\u0026rsquo;t just casually let them lapse.","title":"Certifications - Should I Renew Them?"},{"content":"Recently I upgraded an HP SIM system from 7.1 to 7.2 on Windows 2008 R2. After the upgrade, SNMP discovery and data collection failed for all systems - servers, switches, blade enclosures, etc. WMI monitoring/discovery of Windows-based systems was working, and SNMP traps were being received, but SNMP polling was failing. Here\u0026rsquo;s how I diagnosed and fixed it.\nDuring the upgrade, I manually upgraded to the latest SQL Server 2008 Service Pack. I then ran the SIM upgrade tool, and it completed without error. Once that had completed, I restarted the server, and tested it out. I found that System Identification tasks were having errors - SIM was saying that it could not communicate with devices via SNMP. I knew that this had worked before, and had the logs to prove it. I could also see that SNMP identification/discovery was working after the DB was upgraded, but before the application was upgraded.\nIntrigued, I did what any good network engineer would do, and brought out Wireshark. Looking at the SNMP traffic, I could see requests going out, with the correct community string, and replies being received. So if it\u0026rsquo;s not the community string or ACLs, and clearly routing is working, then what\u0026rsquo;s going on? Looking at the timestamps, I saw that SIM was sending out an SNMP get-request, waiting 5s, repeating the request, waiting another 5s, then moving on to the next task. Looking at the protocol settings, this is the default for SIM - wait 5s, and retry once. All requests had matching replies being received, why was SIM not processing them?\nI started to wonder about issues such as firewalls, but the Windows firewall was disabled on this system. I guessed it had to be some change based upon the upgrade, so I started digging into it. I came across another issue where all inbound SNMP traps were creating XML files in the /traps directory. I had over 20,000 XML files already. This is apparently addressed by a hotfix that has just been released, but it does not address my SNMP problem.\nSNMPv3 support was introduced with SIM 7.2, so I wondered if this was related. I hadn\u0026rsquo;t configured any SNMPv3 credentials, but it could still have been an issue. So I disabled SNMPv3 support, but no change.\nI had taken a backup of the SIM install directory before starting, so I had something to fall back on. The first thing I did was to look at the main configuration file - globalsettings.props. I compared the original and upgraded files. There were a few new entries - as could be expected with the new features. But one changed line got my attention - the value of JavaSNMPStack changed from false to true when upgraded. I couldn\u0026rsquo;t find any documentation anywhere that explained what this did. But I tried changing it back to false, and restarting SIM. Bingo! SNMP polling starting working again.\nI have since received confirmation from support that this was the right course of action. Hopefully it doesn\u0026rsquo;t happen again with the next upgrade!\nUPDATE: I have just applied the May Hotfix to SIM. After this, JavaSNMPStack was set back to true - but this time it seems to be working. Applying this hotfix should be your first course of action now. Also note that you need to edit globalsettingsupd.tpl to make changes to globalsettings permanent across patches.\n","permalink":"https://lkhill.com/hp-sim-7-2-snmp-fails/","summary":"Recently I upgraded an HP SIM system from 7.1 to 7.2 on Windows 2008 R2. After the upgrade, SNMP discovery and data collection failed for all systems - servers, switches, blade enclosures, etc. WMI monitoring/discovery of Windows-based systems was working, and SNMP traps were being received, but SNMP polling was failing. Here\u0026rsquo;s how I diagnosed and fixed it.","title":"HP SIM 7.2 Upgrade - SNMP polling fails"},{"content":"I attended HP Discover in Las Vegas this year as a blogger and speaker, courtesy of HP. HP Discover is HP\u0026rsquo;s main technology conference. It\u0026rsquo;s held once a year in Las Vegas, and covers everything that HP does. It\u0026rsquo;s a big conference, with a lot going on, and I only had time to cover a small part of it. This means my take on it may be quite different to another attendee\u0026rsquo;s. I\u0026rsquo;ve broken up my thoughts into three key areas - people, vision, and technology. Ultimately they are all related - the right people, with the right vision, will develop the right technology.\nTip: Favourite announcement of the week: The next version of IMC will not use client-side Java! HTML5 all the way! This is a big deal - better security, no annoying pop-ups, and much wider client device support. People I said the other day that it\u0026rsquo;s all about the right people. I had access to a range of highly knowledgeable people - developers, architects and those with the ability to set future product direction. The conversations you can have with people who actually write code are worlds apart from those you have with marketers. The biggest thing I have noticed this year is that HP staff are actively reaching out to people like me, and seem genuinely interested in what I have to say. We\u0026rsquo;ll see just what that turns into, but I appreciate the fact that they are making a genuine effort. A couple of years ago it seemed that HP didn\u0026rsquo;t want to talk about anything beyond the next week, but now people are seeking engagement on products that won\u0026rsquo;t ship until next year. I see this as hugely positive.\nOne other thing is around executive leadership. It\u0026rsquo;s no secret that HP\u0026rsquo;s had many problems over the last 10-15 years, that stemmed from the Board and CEO.\nTalking to engineers on the ground, people seem happy with what Meg Whitman\u0026rsquo;s doing. There\u0026rsquo;s no great theatrics, no great gestures, or searching for miracle products. Instead she\u0026rsquo;s starting from the basics: Don\u0026rsquo;t **** it up. And people like that.\nCertainly some teams are struggling with reduced numbers, but overall there appears to be an appreciation you need funding to deliver the research and development required to sustain this company. The earlier cuts of Mark Hurd went deep, and some areas of the business are still struggling to recover - e.g. I have my doubts about the long-term direction and sustainability of some business units. But that\u0026rsquo;s for another post.\nVision Companies don\u0026rsquo;t just make purchasing decisions based upon what you can deliver today - they want to know if you are going to be able to deliver over the next 5 years. So I\u0026rsquo;m not just interested in what HP can deliver today, but where do they think the market is going, and can they deliver on it? From my discussions with various groups, I felt that there are some excellent ideas and people, but teams still operate too independently. Working together as a whole still seems too hard - easier to focus on making your product better, and not on working well as a unit.\nI see some good vision around core infrastructure management. I like HP\u0026rsquo;s direction around monitoring of servers up to the VM level, and network management, integrating SDN, wired and wireless management. This is coming from the hardware side of the business. I see some interesting point solutions from the HP Software group around Service Management. But what I still don\u0026rsquo;t see is any good vision on bringing this together in a cohesive way, in a way that real organisations can implement. I should have one consolidated view, from the underlying hardware up to the services being delivered on top of it. In theory HP should be able to pull this all together, across SaaS, PaaS, IaaS and local infrastructure - but I just don\u0026rsquo;t see the wider vision, and it disappoints me.\nTechnology HP has some interesting things happening on the technology front. Areas I was interested in were SDN \u0026amp; Network Management, and Moonshot systems.\nI was in a \u0026ldquo;Coffee Talk\u0026rdquo; with two of the key people behind Moonshot. Last year this was in the Lab section of the showroom floor - this year it\u0026rsquo;s very much front and centre, as it\u0026rsquo;s shipping now. The product is an interesting one, but people need to understand that this is about addressing specific use-cases. It is not about general workloads, like a typical x86 system. Strategically it\u0026rsquo;s crucial for HP. The large server consumers - e.g. Facebook, Google - have moved to directly sourcing systems from manufacturers, bypassing HP, Dell, etc. For some reason, Bing has stuck with Dell and HP, but for how long? The large consumers have moved away, and it\u0026rsquo;s unlikely they\u0026rsquo;ll come back. So HP needs to look at other markets. They\u0026rsquo;re targeting specific types of workloads. The key to Moonshot is that it can be adapted to deliver new types of systems that target specific workloads. Critically, they can do this with much shorter turnaround times than normal hardware design, development, testing life cycles.\nNote: If HP can be flexible, and quickly adapt to new requirements, they can stay one step ahead of the market, and avoid the margin-destroying march of commoditization. So far I\u0026rsquo;ve seen little of how we might integrate Network Management with SDN. Sure, it\u0026rsquo;s great to be able to direct flows around my network - but I still need to get instrumentation of how devices and links are performing, so that we make the right decisions about how to manage those flows. I also believe we\u0026rsquo;re going to see hybrid networks in the enterprise, so we\u0026rsquo;ll still need many of the traditional management approaches - at least for the next 5 years.\nKen Gott presented HP\u0026rsquo;s vision of how they\u0026rsquo;re going to integrate SDN management with IMC, their existing network management product. They intend to have IMC communicate via APIs with HP\u0026rsquo;s SDN controller, and continue to communicate with the underlying network devices via SNMP and CLI. The actual pushing of OpenFlow commands will be done via the SDN controller - not via IMC. But IMC will have full visibility of the network, and will be able to make changes, via the SDN controller. IMC will also be used to manage SDN applications that run on top of the SDN controller.\nThis will ship later this year. Initially it will only work with HP\u0026rsquo;s SDN controller, but the expressed intention is that it will be able to integrate with other controllers that have open APIs. This will probably be determined by market demand - e.g. if Open Daylight takes off, then we could probably expect to see it supported. This fits in with IMC\u0026rsquo;s broader vision of being open, and working with multiple vendors. I\u0026rsquo;m pretty excited about this - it\u0026rsquo;s great to see a working (demo) product showing how we might combine management of legacy and SDN networks. I will be writing more on this as I get more details.\nConclusion HP is an important company, with a huge influence across the industry. They\u0026rsquo;ve had some challenges over the last few years, and the next few years will continue to be difficult. Talking to people at HP, I get the feeling that they feel they may have turned the corner. It\u0026rsquo;s still a lot of uphill, but they feel they\u0026rsquo;re moving in the right direction. They\u0026rsquo;re not swaggering, but there does seem to be a solid underlying confidence. If they can execute well, keep getting the little things right, and avoid the blunders of the past, they might just make it through. I just wish there was a bit more cohesiveness across departments, and broader vision across service management.\nNote: Disclaimer: HP paid for my flights to HP Discover in Las Vegas, my accommodation, and for some meals. They did not pay me, nor did they specifically ask me to write anything. ","permalink":"https://lkhill.com/hp-discover-thoughts/","summary":"\u003cp\u003eI attended \u003ca href=\"http://www.hp.com/go/discover\"\u003eHP Discover\u003c/a\u003e in Las Vegas this year as a blogger and speaker, courtesy of HP. HP Discover is HP\u0026rsquo;s main technology conference. It\u0026rsquo;s held once a year in Las Vegas, and covers everything that HP does. It\u0026rsquo;s a big conference, with a lot going on, and I only had time to cover a small part of it. This means my take on it may be quite different to another attendee\u0026rsquo;s. I\u0026rsquo;ve broken up my thoughts into three key areas - people, vision, and technology. Ultimately they are all related - the right people, with the right vision, will develop the right technology.\u003c/p\u003e","title":"HP Discover Thoughts"},{"content":"I spoke at HP Discover in Las Vegas this year, on IMC Customisation, with Chris Young, Aaron Paxson, and Rick Kauffman. Overall I felt it was OK, but we could have done better. Here\u0026rsquo;s a few of the lessons learnt.\nOur talk covered three areas - adding device adapters to IMC for configuration management, adding custom functions, and using the eAPI. I handled the first part, Aaron spoke about custom functions, and Chris and Rick spoke about the eAPI. One of the interesting challenges was in organisation - we all live in different parts of the world, making scheduling a problem. Dividing the talk into three clearly defined areas helped get around some of those problems.\nThe intention was to cover the technical details behind the configurations, then do a live walk-through of the real configuration. By using real-world examples, we hoped to show that it is straightforward to extend IMC, but there are a few gotchas. We wanted to be able to pass on some of the things we\u0026rsquo;ve discovered about IMC, to make it easier for others in future.\nThe session was only a small one - around 18 places - but it was full. It was a little surprising to see quite that much interest in a niche topic. Later we realised that this was partly because some people who were at the session didn\u0026rsquo;t realise just how niche it would be. It wasn\u0026rsquo;t a session for learning about IMC, but perhaps we didn\u0026rsquo;t make that clear enough in the session abstract.\nThere\u0026rsquo;s a few areas I\u0026rsquo;d like to improve on, should we do it again.\nLessons Learned Know your audience - and make sure they know you: Our session was a deep(ish) technical session. It was not an introduction to the product. It was for those already using it. But we had some people there who had never seen IMC before. At the start of the session, I should have spent more time gauging participant knowledge levels - and giving people a chance to leave early! Minimise the chance of demo gremlins: We had a local demo environment, with a laptop and several network devices. Things had checked out the previous night. But shortly before kick-off, we had some systems refusing to start. Fall-back systems had the wrong versions of software, and we also ran into issues with display adapters. As I was starting the session, Chris was still trying to get things running. This meant a bit of on-the-fly reshuffling of content. Hopefully I covered it well enough. In future I\u0026rsquo;d rather have a semi-permanent remote demo lab up and running, ready to go. Then all that is required is decent Internet access - oh and of course a video to fall back on (Yes Chris, you were right about that). Ensure the content flows well: The concepts and code for configuring device adapters and custom functions are closely related. We didn\u0026rsquo;t do enough to stress these similarities, and to minimise overlap between different parts of the presentation. This probably came about because of the way we each developed our own sections. Keep the audience engaged: Two hours of looking at XML and TCL files can get a bit tough, both for presenters and attendees. We needed to figure out a way to get participants doing some hands-on tasks, so they keep engaged. It\u0026rsquo;s also easier for people to look at code and logfiles on a screen in front of them, rather than in tiny letters on a big screen. Overall I\u0026rsquo;m happy with the session - it could have been a complete disaster, but it wasn\u0026rsquo;t too bad, given the demo challenges. The key problem to address is keeping people engaged over a longer session. Hopefully we get a chance to run the session again, and make it much tighter.\nYou can read the session presentation here (warning PDF). Any further questions, feel free to get in touch.\nNote: Disclaimer: HP paid for my flights to HP Discover in Las Vegas, my accommodation, and for some meals. They did not pay me, nor did they specifically ask me to write anything. ","permalink":"https://lkhill.com/public-speaking-could-do-better/","summary":"I spoke at HP Discover in Las Vegas this year, on IMC Customisation, with Chris Young, Aaron Paxson, and Rick Kauffman. Overall I felt it was OK, but we could have done better. Here\u0026rsquo;s a few of the lessons learnt.","title":"Public Speaking - Could Do Better"},{"content":"In an age of instant world-wide communications, some might ask why we still need IT conferences. It turns out that no matter what people say, nothing beats being in the same place as a large number of people with similar interests. The learnings and interactions go well beyond anything you get from reading a manual or watching a webcast. Casual interactions with people in the hallway will vastly broaden your horizons, and help build up useful network connections that may help for the rest of your career. For vendors, the showroom floor offers great opportunities to introduce customers to your products and establish new connections.\nSome vendors get it very wrong, using \u0026ldquo;booth babes\u0026rdquo; to promote their products. Women (booth babes are always women) get hired for their looks, to lure socially insecure men into the booth, to be handed over to an engineer, or just put on some marketing list. These women have no connection with the product, no technical knowledge, and the promotion of them does a great disservice to the many intelligent women who do work in this industry.\nOther vendors use purely marketing staff. Sure, they know a bit about the product, and they can rattle a few keywords. But as soon as you start to dig into product specifics, they can\u0026rsquo;t answer your questions, or they try and brush off legitimate concerns.\nThe best setup is when you start talking to the person staffing the booth, asking about some deep technical detail, and their response is \u0026ldquo;Oh yeah - I wrote the original version of that code, and here\u0026rsquo;s why it works this way\u0026hellip;\u0026rdquo; That\u0026rsquo;s the sort of interaction I\u0026rsquo;ve been having this week at HP Discover. Not brush-offs, not marketing buzzwords, but real hard technical detail on how products work, and why certain decisions were made. You can also have a different interaction with a developer - once you\u0026rsquo;ve established that neither of you needs to stick to the normal script, you can have a wide-ranging off the record discussion. Well done HP for putting those people in front of customers and partners.\nVendors, take note: Staff your booths with highly knowledgable people, and you will get good results. You\u0026rsquo;ll have better informed customers, happier with the product and its direction, and they\u0026rsquo;ll be more likely to use and recommend your systems. And hey, the developers will probably appreciate getting out of the cave in front of customers too.\n","permalink":"https://lkhill.com/the-right-people/","summary":"\u003cp\u003eIn an age of instant world-wide communications, some might ask why we still need IT conferences. It turns out that no matter what people say, nothing beats being in the same place as a large number of people with similar interests. The learnings and interactions go well beyond anything you get from reading a manual or watching a webcast. Casual interactions with people in the hallway will vastly broaden your horizons, and help build up useful network connections that may help for the rest of your career. For vendors, the showroom floor offers great opportunities to introduce customers to your products and establish new connections.\u003c/p\u003e","title":"The Right People"},{"content":"I\u0026rsquo;ve just passed the HP0-Y45 exam, which means I have completed the requirements for \u0026ldquo;HP ASE - Network Architect v1.\u0026rdquo;\nNote: This certification validates that you can work on both traditional network designs as well as integrate those designs into a flatter, simpler network that supports virtualized, converged and cloud environments. As I have previously completed HP Master ASE - Network Infrastructure, I only had to pass one exam to complete this certification. I\u0026rsquo;m at HP Discover in Las Vegas this week, and since you get a few free exams included, I decided to give this one a go.\nFirst up, the administrative details:\nQuestions: 60 Time: 115 minutes (why not just 2 hours?) Cost: Included with HP Discover entrance fee. Would normally be $245NZD. Passing score: 70%. Can move backwards within questions: Yes Question style: Multi-choice, drag \u0026amp; drop, select from drop-down. No simulators Topics Covered The exam preparation guide tells you these are the topics covered:\n8% - Networking architecture and technologies 13% - Networking solutions and technologies 19% - Server and storage technologies and products 10% - Traffic volumes, topologies, paths and applications 8% - Customer policies and requirements 12% - Customer business and technical requirements 30% - HP Networking solutions planning and design As with other HP exams I\u0026rsquo;ve taken, this is spot-on - no surprises, they ask you questions about exactly what they say they\u0026rsquo;re going to.\nQuestion Quality The questions were generally of good quality, with only one diagram that I couldn\u0026rsquo;t quite understand. That might be my fault though, not the exam writer\u0026rsquo;s. It was a wide range of topics covered, going from OSPF design to storage arrays to product selection. This can be a bit jarring when you\u0026rsquo;re rapidly switching focus! But you\u0026rsquo;ll have no problems with understanding what they\u0026rsquo;re asking, as long as you know the technologies.\nPreparation Method I didn\u0026rsquo;t do any significant preparation for this exam. I ran out of time with all the other things going on around HP Discover. All I did was read the exam preparation guide, and some VirtualConnect overview information. That doesn\u0026rsquo;t mean I was completely unprepared though - it\u0026rsquo;s not long since I finished HP MASE, and I\u0026rsquo;ve had at least some exposure to many of the technologies. There are some questions about things like organisational structure, and change windows - you don\u0026rsquo;t need any specific study here, you just need to have worked in the Real World for a while.\nYou need to be familiar with HP\u0026rsquo;s technologies - e.g. IRF, VirtualConnect, Wireless, etc. You don\u0026rsquo;t need to know deep specifics of them, but you should understand what they do, and what a network design using those technologies would look like. I don\u0026rsquo;t have a huge amount of knowledge about all the options around MSM wireless design, and that caused me some troubles. If you\u0026rsquo;ve deployed those, you\u0026rsquo;ll be fine though.\nSummary If you\u0026rsquo;ve got a few years experience in networking, and you\u0026rsquo;ve had exposure to HP Networking solutions, it should be easy enough to pass. But is it worth doing? I\u0026rsquo;m not sure. You\u0026rsquo;ll need to be the judge of that. It depends where you\u0026rsquo;re at with your career, and what experience you have. For me personally, I probably wouldn\u0026rsquo;t have bothered, if it wasn\u0026rsquo;t for the free exam. If you\u0026rsquo;re regularly consulting on HP Networking products, it might be worth it for you, to help establish credibility. I would complete \u0026ldquo;HP MASE - Network Infrastructure\u0026rdquo; first though. I would not take this exam without real-world exposure to HP systems.\nNote: Disclaimer: HP is covering my flights and accommodation costs for attending HP Discover. I\u0026rsquo;m grateful for that, as I wouldn\u0026rsquo;t be able to be here otherwise. But they have not specifically asked me to write anything, or attempted to unduly influence my opinion. ","permalink":"https://lkhill.com/hp-ase-network-architect-v1/","summary":"\u003cp\u003eI\u0026rsquo;ve just passed the \u003ca href=\"http://h17007.www1.hp.com/docs/training/epg/HP0-Y45_EPG.pdf\"\u003eHP0-Y45 exam\u003c/a\u003e, which means I have completed the requirements for \u0026ldquo;\u003ca href=\"http://h10120.www1.hp.com/expertone/data_card/HP_ASE_Network_Architect_V1.html\"\u003eHP ASE - Network Architect v1\u003c/a\u003e.\u0026rdquo;\u003c/p\u003e","title":"HP ASE - Network Architect v1"},{"content":"HP has recently released a free version of HP NNMi. This gives you a perpetual license to run NNMi, with some limitations. It’s not completely crippled freeware, and may be worth a look if you want basic fault monitoring in a lab or small network.\nNNMi (Network Node Manager i) is HP’s flagship network monitoring and management product, for very large networks, with very deep pockets. It’s a descendant of the legacy HP OpenView suite, something many engineers have less than fond memories of. The product was completely rewritten a few years ago, and looks nothing like the old product. NNMi is the base network discovery and fault polling system. HP sells add-on “Smart Plug-Ins” or SPIs, to add features such as performance data collection \u0026amp; monitoring, NetFlow analysis, IP SLA monitoring, etc. There is also a partially integrated Configuration Management product called “Network Automation.” Theoretically, NNMi is meant to tie into the rest of HP Software’s BSM product line, which pulls together all the disparate monitoring tools across servers, network and applications. None of this product suite is to be confused with HP IMC, which is another network management product sold by HP, with a completely different ancestry (It came via the 3Com acquisition).\nInclusions: The free version gives you full network discovery, and most fault monitoring capabilities of NNMi. Give it some SNMP strings, and network ranges, and NNMi will auto-discover your network, learn the interconnections, and give you fault monitoring for all nodes, hardware components, and interfaces (Up/Down status). You can layout your devices on a map, and configure basic alerting. Note that you will need to spend the time to learn how to configure node groups and monitoring policies. Monitoring interfaces that are not connected to other SNMP-capable devices can be a bit challenging to figure out if you’re not used to NNMi.\nLimitations: This version is limited to 25 nodes, and does not include any “Advanced” features, or support for Smart Plug-Ins. This means no VRRP/HSRP monitoring, no LAG monitoring, and no integration of other products. None of those are overly significant for only 25 nodes, but crucially, no SPIs means no performance monitoring. No threshold alerting for any monitored metrics, and no fault or performance monitoring of custom OIDs. There’s also a limit of 3 concurrent users - probably not a big deal if you’ve only got 25 devices under management! Note that it probably doesn’t include any IPv6 capabilities either - that is an “Advanced” feature with the normal product.\nShould I try it? NNMi installs with a 60-day trial license, that allows full access to all features, with a limit of 250 nodes. If you’re evaluating NNMi, I strongly recommend that you install this trial license, and take the time to get to know the product, to make an informed decision as to if it’s the right fit for your network. With the advent of the free version, I continue to recommend using this trial license. But if you need to have a semi-permanent lab, and you only need the basic features, this could work well. I wouldn’t recommend using this as a learning tool - if you’re looking to learn about Network Management, SNMP, NetFlow, etc., then you really need to have all features available to you. Configuring custom OID monitoring is an important part of learning about SNMP, and you won’t be able to do that with the free version. Either use the demo license, or look for other tools.\nI’m happy that HP is making moves like this to make their HP Software products more accessible, but I’m not convinced that the move makes sense. There’s a big jump in price between this version and the paid product, especially when you add on the SPIs that make it useful. How many people are going to use this free product for an extended period, then decide that they want to make that jump, and can get the budget to do it?\n","permalink":"https://lkhill.com/nnmi-free-edition/","summary":"\u003cp\u003eHP has recently released a \u003ca href=\"http://www8.hp.com/us/en/software-solutions/software.html?compURI=1170657\u0026amp;jumpid=ex_r11374_us/en/large/eb/go_nnm#tab=TAB2\"\u003efree version of HP NNMi\u003c/a\u003e. This gives you a perpetual license to run NNMi, with some limitations. It’s not completely crippled freeware, and may be worth a look if you want basic fault monitoring in a lab or small network.\u003c/p\u003e","title":"NNMi Free Edition"},{"content":"Update: We\u0026rsquo;re getting closer to an official announcement, and this post is attracting a lot of hits - you probably want to read my latest post, which contains more info.\nIt\u0026rsquo;s been over four years since the last change to the CCIE R\u0026amp;S blueprint. Version 4 was announced in April 2009, and went live in October 2009. Everyone thinks that the blueprint is due for an update, and soon. Here\u0026rsquo;s my take on what changes might be coming up, and what I\u0026rsquo;d like to see.\nPreparing for the CCIE lab takes a long time - 18 months is quite typical. Some take more, a few take less. Cisco publishes a \u0026ldquo;blueprint\u0026rdquo; of topics to study, and it\u0026rsquo;s a very long list - something like 300+ lines in the extended version. Good candidates closely study this list, and make sure that they know every single topic on it, cold.\nBecause of the length of time involved, all candidates go through a phase of worrying \u0026ldquo;What if the blueprint changes?\u0026rdquo; People worry that they will get 80% of the way through, then find out there\u0026rsquo;s a new list of topics to study. The longer it has been since a blueprint change, the more people worry.\nI\u0026rsquo;ve been following a few forums, and watching a bit of the chatter. I\u0026rsquo;ve got some of my own opinions on what might change. Most of these are pure speculation, but first I\u0026rsquo;m going to let you in on a secret:\nNote: STP, OSPF, BGP, IPv6, Multicast will all be on the v5 blueprint. Same with at least 80% of what you\u0026rsquo;re studying now. Core protocols don\u0026rsquo;t change. That\u0026rsquo;s right folks, remember you read that here first. Now, on to the speculation:\nTiming Hottest prediction: Announcement at Cisco Live US on June 23-27 this year. If I was announcing it, I would probably do it at TECCCIE-8000.\nCisco gives 6 months notice between announcing a new version, and it going live. It would probably get rounded up to a launch date of January 1 2014.\nHardware With version 4, Cisco introduced a virtualised environment, running IOU (IOS on Unix) for the troubleshooting section (TS). Using a virtualised environment gave Cisco tremendous flexibility to rapidly release updates, and just the sight of 30+ devices was enough to scare off those who\u0026rsquo;d only ever configured a small lab network.\nThe rumour for Version 5 is that they will also virtualise the Configuration part of the lab. People like Narbik (Micronics Training) have been suggesting that the new blueprint will have 10+ routers. The only realistic way to achieve this is with virtualisation. With the public release of products like the CSR-1000V, I see this as very likely. It gives Cisco enormous scope for reconfiguring the lab at will, delivering many lab variations.\nThe question then becomes: Do you fully virtualise the switching portion too? Or do you keep real hardware switches? I\u0026rsquo;m undecided on this. I suspect they would like to be able to virtualise everything, but I also think that they may want to keep some real switches. After all, they are still very much a hardware company (despite protestations to the contrary).\nIf Cisco does keep real switches in the lab, I\u0026rsquo;d love to see the 3850 used. IOS-XE, MQC QoS, and plenty of spare processing capacity. This would be a forward-looking move, as the 3850 is clearly going to be Cisco\u0026rsquo;s go-to switch in that segment for the next 5 years. I\u0026rsquo;m not convinced we will see it though, since it was only released earlier this year. I think the lab team needs time to thoroughly test kit/IOS, so they know that students won\u0026rsquo;t hit bugs. (Aside: If you think you\u0026rsquo;ve found an IOS bug during your CCIE lab, you might want to double-check your config). I also suspect that the CCIE team doesn\u0026rsquo;t get the budget to buy all new switches like that. More likely to use 3560-X switches, if they keep real switches.\nYou might also be asking: If Cisco virtualises everything, what does it mean for my home lab, or my rack rentals? If they\u0026rsquo;ve got a virtual platform, will they sell it to me? Either on a time-based access basis, or give me the software to run at home? Or will it leak? Yes, your lab of 1841s and 3560s will drop in value - but it\u0026rsquo;s still not worthless. There will only be some parts of the blueprint that you can\u0026rsquo;t study on older gear.\nIOS Versions Currently Cisco uses 12.4(15)T on the routers, and 12.2(46)SE on the switches. These are very old - 12.4(15)T went End of Software Maintenance in January 2012.\nUsing newer hardware (virtualised or not), I would expect to see 15.2 on routers, and 15.0 on switches (if they use them). This will clean up a lot of niggles and annoying limitations, and will mean that technologies like PfR are much more practical. Better IPv6 support across features too.\nThere will be a lot of problems for those using GNS3. Licensing and emulation will become very difficult. GNS3 users know this day has been coming for a while.\nTechnology Changes Rumours I\u0026rsquo;ve heard include:\nFrame Relay replaced with NHRP/DMVPN, but with no crypto. Simple point-to-point IPSec VPN. More PfR. IPv6 everywhere, including IPv6 Security. No more RIPv2. I see the last two as most plausible. IPv6 should be completely integrated, not a separate section. The upcoming CCNA changes are dropping RIPv2, so it will probably be dropped here too. Cisco might say that having EIGRP is enough to cover distance vector protocols.\nFrame Relay can feel like an anachronism, but it\u0026rsquo;s useful for creating complicated network topologies that challenge your thinking about routing protocols. I would like to see it stay, but only for basic topology setup reasons - don\u0026rsquo;t test any advanced features. One clue that it might not be going is that Frame Relay remains in the recently announced CCIE Voice v4 Collaboration track.\nSimple DMVPN and basic IPSec would make useful additions, given that CCIEs are highly likely to come across them, but do they need to be here? A good CCIE should be able to learn the basics of what they need to know. If they want more, there\u0026rsquo;s always the Security track.\nPfR is tough to love with 12.4(15)T, but it is apparently much more reliable, with many more features in IOS 15. Expect to see more of it.\nQuestion Styles/Exam Layout I think the Troubleshooting section will stay. Candidates without strong Operational experience get very nervous about this section. I\u0026rsquo;ve seen many good engineers crack up under time pressure. It\u0026rsquo;s like everything falls out of their head when they see a ticking clock. I think it helps to separate CCIEs from CCNPs.\nIf the Configuration Section does get virtualised, with many more devices, I think we\u0026rsquo;ll see less basic setup, and more configuration of advanced features. So less configuring IP addresses, and more configuring/tweaking routing protocols and QoS, Multicast, PfR, etc. Some vendor labs in particular put a lot of time into configuring interfaces, but really, do you need a CCIE to type in 255.255.255.0 again and again? This sort of thing can make the exam harder though - if you build it yourself from the ground up, you have a better understanding than if you come in and work with a half-built network.\nWhat I\u0026rsquo;d Like to See I would like to see some \u0026lsquo;real\u0026rsquo; servers and clients added to the mix. DHCP clients, SNMP servers, syslog servers. traffic generating systems, etc. Some things are hard to simulate using routers and switches. With a virtualised lab, it would be possible to add small Linux VMs to use to simulate real-world traffic.\nI would also like to see more EEM and TCL tasks. I think it\u0026rsquo;s not enough for network engineers to just be fast at the CLI - I think you should also be able to do some basic scripting.\nWhat Should Candidates Do? Firstly, don\u0026rsquo;t panic. Even if there is a new blueprint announced next week, you\u0026rsquo;ll still have 6 months to sit the lab. Seats will get tough to book. If you\u0026rsquo;re well into your studies, book the lab as soon as you can, and hopefully you\u0026rsquo;ll pass. If you\u0026rsquo;re early on in your studies, make a note of the huge overlap that will exist, and just study those things for a while, until the vendors (INE, IPExpert, etc) release updated materials. Note that the vendors are already thinking about likely changes coming up - they won\u0026rsquo;t be taken by surprise.\nWarning: Don\u0026rsquo;t Panic. Routing \u0026amp; Switching will still be Routing \u0026amp; Switching. But isn\u0026rsquo;t this just all Speculation? Yup. And you should take it all with a very large grain of salt. I\u0026rsquo;ll be closely watching upcoming announcements at Cisco Live - let\u0026rsquo;s see how far off the mark I am!\n","permalink":"https://lkhill.com/ccie-rs-v5-rumours/","summary":"\u003cp\u003e\u003cstrong\u003eUpdate: We\u0026rsquo;re getting closer to an official announcement, and this post is attracting a lot of hits - you probably want to read my \u003ca href=\"/ccie-version-5-update/\"\u003elatest post\u003c/a\u003e, which contains more info.\u003c/strong\u003e\u003c/p\u003e","title":"CCIE R\u0026S v5 Rumours and Speculation"},{"content":"Greg Ferro, of Etherealmind.com fame, has published a book on blogging: \u0026ldquo;The Arse First Method of Technical Blogging.\u0026rdquo; This covers his\n\u0026hellip;very special “arse-first” writing method that makes short form technical writing easier \u0026amp; achievable for anyone.\nIt\u0026rsquo;s a good concise read that covers these key parts of technical blogging:\nWhy should I blog? What do I blog about? How do I publish content? What\u0026rsquo;s the simplest method for quickly creating content? What are some tips for writing content that other technical people will want to read? The book is published via Leanpub - this means that the book is not a one-off, final effort. Instead it means that the book will get updated via iterative processes, regularly updated, and you get free access to all updates. It is distributed as DRM-free PDF, ePub and Mobi versions. Make sure you enter your email address so you get notification when updates get released - they\u0026rsquo;re free.\nIf you\u0026rsquo;re thinking about starting a technical blog, I recommend buying this book. It will answer some of your basic setup questions, and give you a sound process for quickly writing blog posts. If you\u0026rsquo;re already blogging, you might still find a few useful tips and tricks to streamline your writing and publishing processes.\nDisclaimer: I purchased this book myself. I have given Greg some feedback on typos, etc. I\u0026rsquo;m happy to do that, because it\u0026rsquo;s one small way I can give back to say thanks for Greg\u0026rsquo;s writing and podcasting efforts.\n","permalink":"https://lkhill.com/review-arse-first/","summary":"\u003cp\u003eGreg Ferro, of \u003ca href=\"http://etherealmind.com\"\u003eEtherealmind.com\u003c/a\u003e fame, has published a book on blogging: \u0026ldquo;\u003ca href=\"https://leanpub.com/Technical-Blogging-Writing-Arse-First\"\u003eThe Arse First Method of Technical Blogging\u003c/a\u003e.\u0026rdquo; This covers his\u003c/p\u003e","title":"Review: Arse First Guide to Technical Blogging"},{"content":"Many network faults I see are quite preventable, or could have been fixed far sooner, if basic network \u0026lsquo;hygiene\u0026rsquo; had been maintained. Major faults are often the result of multiple small faults. Fix the small problems, and you won\u0026rsquo;t get as many of the big problems. It\u0026rsquo;s not glamorous, and you won\u0026rsquo;t be seen as a hero for solving that production problem, but you will sleep better, and the network will run smoother. Here\u0026rsquo;s my top 10 tips on maintaining good network hygiene:\nGet your naming standards sorted out. Doesn\u0026rsquo;t matter what standard you use, as long as the name conveys useful information - e.g. what type of device, where it physically is, and perhaps something about where it is logically in your network - DMZ, management network, or internal corporate network. Basic monitoring and alerting: At a minimum, ensure you have basic availability monitoring of all devices in place. Add in CPU and memory monitoring, and throughput monitoring for key interfaces - generally on all switch-switch, switch-server, and WAN links. Yes, we\u0026rsquo;d all like to be able to run Statseeker and have reports for every single interface, but it\u0026rsquo;s not practical for most of us. So do what you can. Generally you don\u0026rsquo;t need advanced correlation capabilities either - use your common sense and understanding of the network. Collecting historical data will also help immensely when trying to deal with \u0026ldquo;the network\u0026rsquo;s running slow\u0026rdquo; tickets. Automate your backups. Get some tool to do it - doesn\u0026rsquo;t need to be anything fancy, but make sure that you have regular backups of all your configs. This is not just about recovering from device failure - it also lets you see what\u0026rsquo;s changed in your network. If you don\u0026rsquo;t have any money, use RANCID. If you\u0026rsquo;ve got a bit of money to spend, use tools like SolarWinds NCM or HP IMC. Bonus marks: Once you do have configurations in one place, you can start analysing them - e.g. check that they have correct SNMP settings. Using grep to search through a directory of text files is a lot easier than logging into 100+ devices. NTP. It costs you nothing, but gives you so much. Enable it, and make sure you set consistent timezones across all devices. Some companies prefer to keep everything in UTC, personally I prefer the local timezone. Doesn\u0026rsquo;t matter, just configure it and be consistent. This will help enormously when trying to track down when events occurred. It\u0026rsquo;s impossible to correlate events when the Cisco syslog says the event happened at 1y4w. Logs and traps: Ensure all devices send syslogs and traps to a central location, and listen to them. They tell you interesting things. Don\u0026rsquo;t ignore them. Consider what it means to receive an STP Topology Change trap: It means you\u0026rsquo;ve either got an inter-switch link flapping, or you didn\u0026rsquo;t configure a port properly as an edge port. Either you\u0026rsquo;ve got a faulty link, or you\u0026rsquo;re frustrating your users. Fix it. Some of my strategies for log review: Start with a full dump of your logs. Filter out the known, valid entries. You\u0026rsquo;ll find you need to iterate through this several times to reduce the noise. Do this again and again, until you get down to a handful of \u0026ldquo;unknown\u0026rdquo; log entries. These need investigating. You should also be looking for the most common entry pattern, and most common source. These either indicate something abnormal (link repeatedly flapping), or something that can be filtered at the source - e.g. do you need to have every switch send a syslog message for every access port? Probably not. Duplex mismatches still exist. Learn the signs to watch for - monitor your interfaces for errors, and act on them. Related to this: Use auto-negotiate. Fixing speed/duplex made sense 10 years ago, but it doesn\u0026rsquo;t any more. Gigabit links must use auto-negotiate, except in very specific circumstances. If you\u0026rsquo;ve got a policy of fixing speed/duplex, change it. I don\u0026rsquo;t think I\u0026rsquo;ve seen a network yet that is completely free of duplex mismatches. Quietly fix these issues, and you\u0026rsquo;ll get a few less complaints about the network being slow. Doesn\u0026rsquo;t cost you anything. Standardise Firmware versions. All your 3750s should run the same IOS version. All your 2920s should run the same ProVision version. Keep them reasonably up to date too. You don\u0026rsquo;t need to upgrade simply for the sake of it, but you should read the release notes for new versions, and make an informed decision as to whether you need to update or not. The worst mistake I see people do is to take equipment out of the box, put it in the rack, and never even consider what firmware it might be running. The version they installed at the factory is rarely the one you want. Use the same versions everywhere, and all your features and commands will work consistently. Less hassle for you. It\u0026rsquo;s also particularly embarrassing to have a major fault caused by known issues that were fixed years ago. Interface Descriptions. Decidedly unsexy yes, but trust me, putting descriptions on ports will save you in future. Not every single port, but every \u0026lsquo;interesting\u0026rsquo; port - e.g. server-facing switchports, inter-network device links, etc. Some people maintain this information in other locations, but when you\u0026rsquo;re dealing with a fault, the only useful location for that data is on the switchport right in front of you. Templates and Fancy Features. Chances are you\u0026rsquo;re using Cisco kit, and chances are you paid a lot of money for that device - so why use it in the same way you\u0026rsquo;d use a $100 D-Link device? Modern equipment has many interesting features that can help protect the network and improve service quality. Why not take advantage of them? But don\u0026rsquo;t go overboard - just develop some useful base templates for your configurations that use the key features, and roll out those templates everywhere. Be Disciplined. When you see something that needs tidying up, take it upon yourself to fix it. If you can\u0026rsquo;t fix it immediately, at least make a note of it, so it doesn\u0026rsquo;t get forgotten about. I see far too many engineers who say \u0026ldquo;Oh yeah, I know about that bit being broken\u0026rdquo; - but they\u0026rsquo;re too lazy to actually do something about it. No big deal right now, because everything\u0026rsquo;s working. But what if it\u0026rsquo;s a backup link that\u0026rsquo;s misconfigured? Now when you have a fault on your primary link, it goes from being inconvenient, to a major problem. The ultimate health of your network depends on you. You either put in the steady work, constantly improving things - or you relax for a while, and have it all come crashing down. Do the basics well, and you\u0026rsquo;ll find those big problems stop happening so often.\n","permalink":"https://lkhill.com/top-10-network-management/","summary":"\u003cp\u003eMany network faults I see are quite preventable, or could have been fixed far sooner, if basic network \u0026lsquo;hygiene\u0026rsquo; had been maintained. Major faults are often the result of multiple small faults. Fix the small problems, and you won\u0026rsquo;t get as many of the big problems. It\u0026rsquo;s not glamorous, and you won\u0026rsquo;t be seen as a hero for solving that production problem, but you will sleep better, and the network will run smoother. Here\u0026rsquo;s my top 10 tips on maintaining good network hygiene:\u003c/p\u003e","title":"Top 10 tips for Network Management"},{"content":"I\u0026rsquo;ve posted a review of ScienceLogic EM7 up at Packet Pushers: Review: ScienceLogic - One Tool to Rule Them All.\nSo, Is It Any Good? Yes. On balance, I do think it’s a good tool. It’s not perfect, but nothing is.\nNot my best writing, but it was starting to get a bit long. Check it out, leave comments, and browse some of the other great PacketPushers content while you\u0026rsquo;re there.\n","permalink":"https://lkhill.com/review-sciencelogic/","summary":"\u003cp\u003eI\u0026rsquo;ve posted a review of ScienceLogic EM7 up at \u003ca href=\"http://packetpushers.net\"\u003ePacket Pushers\u003c/a\u003e: \u003ca href=\"http://packetpushers.net/review-sciencelogic-one-network-management-tool-to-rule-them-all/\"\u003eReview: ScienceLogic - One Tool to Rule Them All\u003c/a\u003e.\u003c/p\u003e","title":"Review: ScienceLogic"},{"content":"Watch out if you have HP NNMi integrated with HP Operations Manager, and you\u0026rsquo;re upgrading to the latest Operations Agent. I have a customer using HP Network Node Manager 9.22, with HP Operations Manager for Windows 9.0. Both of those systems are running the latest publicly released patches. They are integrated using the Operations Agent method, where NNMi sends SNMP traps to the local Operations Agent on port 5162, which then forwards NNMi incidents as Operations Manager messages.\nPreviously we were running Operations Agent 11.03. I wanted to upgrade to the current Operations Agent version, 11.11. Should be all good, right? Because surely if I\u0026rsquo;m using the latest versions of everything, and using the recommended integration methods, it will all work, right? Sadly no.\nThe agent install went fine, but shortly after that we started getting errors about the opctrapi process restarting. After a certain number of automated restarts, Operations Manager refuses to restart it. This process is the one that listens for SNMP traps. On our system, it listens for SNMP traps on port 5162. NNMi forwards traps to this port on the NNMi server.\nLooking in HP\u0026rsquo;s knowledge base (support.openview.hp.com), I found several references to opctrapi instability with the latest agent. Talking to support, there are hotfixes available. Of course, you can\u0026rsquo;t just have one hotfix - no, once you request that, you find that it\u0026rsquo;s dependent upon yet another hotfix. More hassle than I care to deal with. Managing multiple hotfixes becomes a configuration nightmare, and is just one of the reasons I\u0026rsquo;m \u0026lsquo;over\u0026rsquo; agent-based monitoring. That\u0026rsquo;s a subject for another time anyway.\nDigging further, I found that this system was set to use SNMP_SESSION_MODE NNM_LIBS It turns out that the Operations Agent can use several different methods to listen for SNMP traps. It can use NNM libraries, it can use Net-SNMP libraries, or it can subscribe to the Windows SNMP trap service. Why on earth they have so many different methods is beyond me. You can find out what you\u0026rsquo;re using with ovconfget eaagt\nTurns out this system was using NNM_LIBS - this tells the agent to try and subscribe to the NNM 7.5 PMD daemon. This server has never run the 7.5 version of NNM, so I\u0026rsquo;m a little surprised this even worked in the first place. I didn\u0026rsquo;t set this one up myself, so I don\u0026rsquo;t know the history. But it did try and use an old method, and it doesn\u0026rsquo;t work with the newest agents. I changed it to use NETSNMP, with ovconfchg -ns eaagt set SNMP_SESSION_MODE NETSNMP I then restarted the trap interceptor with ovc -start opctrapi\nSo far, the processes have been stable, and I can avoid having to apply hotfixes. This makes my life easier, but it\u0026rsquo;s one of those things that makes you wonder about our whole monitoring approach. HP sells these products as \u0026ldquo;fully integrated\u0026rdquo;, but when you actually dig into it, there\u0026rsquo;s a bunch of manual steps you have to carry out, and it\u0026rsquo;s just SNMP traps underneath it all. The same thing we were using 20 years ago, hidden a bit, and dressed up, but still just plain old SNMP traps. Customers shouldn\u0026rsquo;t have to configure any of this - they should just tick a box, and say \u0026ldquo;yes, I have Operations Manager at this address.\u0026rdquo; Or even better, just have one system to monitor network and servers, not separate tools for everything. How can you get true event correlation, when you have fundamentally different tools monitoring storage, servers, network, applications, etc? A topic for more discussion another day.\n","permalink":"https://lkhill.com/nnmi-and-operations-manager-integration-issues/","summary":"\u003cp\u003eWatch out if you have HP NNMi integrated with HP Operations Manager, and you\u0026rsquo;re upgrading to the latest Operations Agent. I have a customer using HP Network Node Manager 9.22, with HP Operations Manager for Windows 9.0. Both of those systems are running the latest publicly released patches. They are integrated using the Operations Agent method, where NNMi sends SNMP traps to the local Operations Agent on port 5162, which then forwards NNMi incidents as Operations Manager messages.\u003c/p\u003e","title":"NNMi and Operations Manager integration issues"},{"content":"If you have a strong Cisco background, then you immediately think of Spanning Tree Protocol when you think of Layer 2 loop protection. Or if you\u0026rsquo;re keeping abreast of the newest developments, you think of TRILL and SPB. But there are other mechanisms for helping detect loops at layer 2. Here\u0026rsquo;s one I came across while studying for HP Master ASE: HP Procurve Loop-Protection.\nAccording to the documentation:\nLoop protection provides protection against loops by transmitting loop protocol packets out of ports on which loop protection has been enabled. When the switch sends out a loop protocol packet and then receives the same packet on a port that has a receiver-action of send-disable configured, it shuts down the port from which the packet was sent.\nSo it\u0026rsquo;s not doing anything fancy - just using its own protocol packet to detect loops back to the switch itself. Note this is different to Cisco\u0026rsquo;s loopback detection, which will detect a switchport looped back on itself - e.g. due to faulty wiring - but will not detect a cable run from one port to another on the same switch. Configuration is quick and easy, and it seems to work well. It should work well in any situation where you have edge ports that users might connect together, possibly via a \u0026lsquo;dumb\u0026rsquo; switch that doesn\u0026rsquo;t forward STP BPDUs. These loop protection frames should be forwarded.\nLet\u0026rsquo;s take a quick look at the configuration and operation on my lab switch, an HP 2910al-24G Procurve switch, running W.15.08.0012. The default configuration is for loop-protection to be disabled:\n1 2 3 4 5 6 7 8 9 10 11 12 13 sw01pi# show loop-protect Status and Counters - Loop Protection Information Transmit Interval (sec) : 5 Port Disable Timer (sec) : Disabled Loop Detected Trap : Disabled Loop Loop Loop Time Since Rx Port Port Protect Detected Count Last Loop Action Status ---- ------- -------- ------ ----------- ------------ -------- sw01pi# In my lab, I\u0026rsquo;ve run a cable between ports 21 and 22, so we can simulate a loop. Currently both ports are shut down. Spanning-tree is disabled on this switch, so if I enable those ports, we\u0026rsquo;ve got a loop, and things will get messy. Let\u0026rsquo;s configure loop protection, and then enable the ports:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 sw01pi# conf t sw01pi(config)# loop-protect disable-timer Specify the number of seconds to wait before re-enabling a disabled port.The default is 0, which will prevent automatically re-enabling the port [ethernet] PORT-LIST Specify the ports that are to be added to/removed from loop protection. transmit-interval Set time between packet transmissions. trap Specify loop protection traps that are to be enabled/disabled. sw01pi(config)# loop-protect 21-22 sw01pi(config)# loop-protect trap loop-detected sw01pi(config)# interface 21-22 sw01pi(eth-21-22)# enable OK, let\u0026rsquo;s take a look at what\u0026rsquo;s happened with our ports:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 sw01pi# show loop-protect Status and Counters - Loop Protection Information Transmit Interval (sec) : 5 Port Disable Timer (sec) : Disabled Loop Detected Trap : Enabled Loop Loop Loop Time Since Rx Port Port Protect Detected Count Last Loop Action Status ---- ------- -------- ------ ----------- ------------ -------- 21 Yes No 0 send-disable Down 22 Yes Yes 1 2s send-disable Down sw01pi#show log -r ---output truncated--- I 05/18/13 17:13:31 00077 ports: port 21 is now off-line I 05/18/13 17:13:31 00077 ports: port 22 is now off-line I 05/18/13 17:13:30 00898 ports: Loop Protect(62) has disabled port 22 I 05/18/13 17:13:30 00884 loop-protect: port 22 disabled - loop detected. I 05/18/13 17:13:30 00076 ports: port 22 is now on-line I 05/18/13 17:13:30 00076 ports: port 21 is now on-line Pretty simple hey? One of the ports has been shut down, as expected. It has been logged, and an SNMP trap (OID: 1.3.6.1.4.1.11.2.14.11.5.1.12.1.5.6.1) has been generated. We\u0026rsquo;ve got the \u0026ldquo;Port Disable Timer\u0026rdquo; at the default of \u0026ldquo;Disabled\u0026rdquo; - this means that the port will stay shut down until we take manual action. We\u0026rsquo;d like it to re-enable after 10s, so we configure this:\n1 sw01pi(config)# loop-protect disable-timer 10 Now if we keep an eye on the output of show loop-protect we can see the Loop Count incrementing, as the port gets re-enabled, detects a loop, and shuts down again:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 sw01pi# show loop-protect Status and Counters - Loop Protection Information Transmit Interval (sec) : 5 Port Disable Timer (sec) : 10 Loop Detected Trap : Enabled Loop Loop Loop Time Since Rx Port Port Protect Detected Count Last Loop Action Status ---- ------- -------- ------ ----------- ------------ -------- 21 Yes Yes 0 send-disable Down 22 Yes No 5 6s send-disable Down sw01pi# So now you can set a disable timer, and once users remove the loop, their network ports will come back up, without needing any input from the local network admin. All up, this is an easy feature to configure, and should be used on all edge ports on Procurve switches.\nComware has a very similar feature, called loopback-detection. Currently I don\u0026rsquo;t have any Comware-based devices in my lab though\u0026hellip;unless someone wants to donate some?\n","permalink":"https://lkhill.com/loop-detection-without-stp/","summary":"\u003cp\u003eIf you have a strong Cisco background, then you immediately think of Spanning Tree Protocol when you think of Layer 2 loop protection. Or if you\u0026rsquo;re keeping abreast of the newest developments, you think of TRILL and SPB. But there are other mechanisms for helping detect loops at layer 2. Here\u0026rsquo;s one I came across while studying for HP Master ASE: \u003cstrong\u003eHP Procurve Loop-Protection\u003c/strong\u003e.\u003c/p\u003e","title":"Loop detection - without STP"},{"content":"Recently I was upgrading an HP 2910al switch from 14.70 to 15.08.0012. I used IMC to load the new firmware, rebooted the device, waited\u0026hellip;and nothing. Device went offline, and never came back. Ruh roh. It was only a lab switch, but still, it meant I needed to go and hook up a console cable, to see what was going on. Luckily the fix wasn\u0026rsquo;t too difficult, and I got things back up and running quickly.\nLogging in via the console, I saw this:\n1 =\u0026gt; Hmm. Not good. What happens if I type \u0026lsquo;boot\u0026rsquo; ?\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ROM information: Build directory: /sw/rom/build/samrom(ec_samrom_t4a) Build date: Jul 15 2011 Build time: 00:07:56 Build version: W.14.06 Build version: W.14.06 Build number: 47506 Error, /cfa0/boot.ini corrupted; please reboot to console and repair. Could not open Image file Bad code in FLASH Flash memory needs reprogramming or chassis could be faulty. Use a PC as the console and perform the update procedure by serial Xmodem download of the current Switch Image. If unsuccessful w/ downloading, then try replacing chassis. =\u0026gt; Ugh. That looks really nasty. Luckily this was a known issue , and it wasn\u0026rsquo;t too tricky to get things running again. Using lshw cfa0 I could see I had a btm.swi_$TmP$ file. I removed this with rm cfa0/btm.swi_$TmP$ This gave me more space, but did not resolve the problem with corrupted boot.ini. I removed /boot.ini and then the switch was able to boot (using the old software version). Unfortunately this resets your config. There are other ways of solving this, but for me the easiest way to fix it was just to restore a backup from IMC. Once this was done, I tried updating again, and now it\u0026rsquo;s working well, running the new firmware.\nNote: The script referenced in the HP KB article is supposed to be on an FTP server, but the username/password for that FTP server no longer works. I didn\u0026rsquo;t actually need to use that script though, and I didn\u0026rsquo;t have the Trash-Nebeker directory on my switch anyway. ","permalink":"https://lkhill.com/hp2910al-fails-to-boot-due-to-corrupt-boot-ini/","summary":"\u003cp\u003eRecently I was upgrading an HP 2910al switch from 14.70 to 15.08.0012. I used IMC to load the new firmware, rebooted the device, waited\u0026hellip;and nothing. Device went offline, and never came back. Ruh roh. It was only a lab switch, but still, it meant I needed to go and hook up a console cable, to see what was going on. Luckily the fix wasn\u0026rsquo;t too difficult, and I got things back up and running quickly.\u003c/p\u003e","title":"HP2910al - fails to boot due to corrupt boot.ini"},{"content":"I have just passed the HP exam \u0026ldquo;HP0-Y37: Migrating and Troubleshooting Networks.\u0026rdquo; This means I I have now passed all required exams for \u0026ldquo;HP Master ASE - Network Infrastructure 2011.\u0026rdquo; This is a run-through of my impressions of the exam, and what I used to study for it.\nOverall Impressions: This was a good, challenging exam. It made me think about the questions they were asking. Not just simple \u0026ldquo;How many gigawotsits in a flopsy?\u0026rdquo; questions, but instead questions that made me think, analyse the situation, and choose the right answer. Well, OK some of them you just had to know certain protocol rules, but they were the sort of thing you should have to know if you\u0026rsquo;re working in this field.\nThe quality seemed good, apart from a few variations in diagram style. I didn\u0026rsquo;t pick up any typos, and they have resolved the issue I had previously with 403 errors with some exhibits. I still don\u0026rsquo;t like having to click up to four links for pop-up exhibit detail. Gets a bit crowded on the typical monitor seen in testing centres.\nTopics Covered/Exam Objectives: HP publishes a detailed breakdown of the exam objectives:\n7% - IRF - Intelligent Resilient Framework 14% - RRPP - Rapid Ring Protection Protocol 13% - BGP 5% - MPLS L3 VPNs 4% - MASE Networking Experience 18% - Migrating a Cisco Network to Open Standards 10% - Migrating Edge Devices 21% - Migrating and Expanding the Distribution Layer with HP Devices 8% - Migrating BGP This is a pretty accurate list. When you\u0026rsquo;re studying, go through that list, and ensure you understand what they\u0026rsquo;re going to ask you. They\u0026rsquo;re pretty clear about what they want. If you\u0026rsquo;re like me, you might find some topics challenging - e.g. RRPP. I\u0026rsquo;ve never come across that in production networks, and to be honest, I\u0026rsquo;d be quite happy to never see it. It\u0026rsquo;s not that bad, as far as protocols go, but I don\u0026rsquo;t really need to learn a proprietary L2 loop prevention mechanism. I\u0026rsquo;d rather be learning TRILL or SPB.\nResources used: HP Practice Exam PRA-Y37 - this is an online exam, with a similar format to the actual exam. The ordering process for this is very odd - you first buy a voucher, which varies in price depending on your country. The voucher takes a day or two to arrive (really? manual processing of an electronic voucher?). You can then use the voucher up to 5 times to \u0026ldquo;pay\u0026rdquo; for a web-based exam, taken through the PearsonVue website. The actual exam is quite useful, and I would recommend using it. The look/feel is very similar to the real thing. Each question has a breakdown of why a specific answer was chosen. Interface is a bit annoying at times though - you can\u0026rsquo;t go back, and it doesn\u0026rsquo;t tell you how far through you are. Cost $50USD for me. HP MASE Network Infrastructure Official Certification Guide (Exam HP0-Y37). I used the Kindle version of this. This is a pretty good book, and covers most of what you need, but don\u0026rsquo;t expect to pass on this alone. You need to do extra reading. If you\u0026rsquo;ve got a CCIE background, and/or you work with HP + Cisco kit regularly, you won\u0026rsquo;t need too much more. This book includes a practice test. Note that the book contents don\u0026rsquo;t line up exactly with the exam requirements - e.g. the book includes a section on MPLS L2VPNS, but these are not covered in the exam. My errata notes are here (RTF). Cost me $70USD. HP Whitepapers on RRPP and IRF (Freely available, use Google). I created my own flashcards using Mental Case as I went through various resources. I then set these to Long Term Repetition mode, and studied them as directed by Mental Case. \u0026hellip;plus lots of previous CCIE study I didn\u0026rsquo;t much in the way of specific practical learning for this exam. I have access to Cisco and ProCurve equipment, and periodically I get some access to Comware kit too. You don\u0026rsquo;t need a lot of practical experience, but it will certainly help. You will want to have some Cisco experience for this exam. It\u0026rsquo;s not a huge part of it, but when the exam deals with migrating from Cisco-proprietary technologies, you do need to understand those technologies, and their configuration.\nAdministrative detail: Cost: $245NZD. Questions: 52 Pass mark: 67% Time: 1 hour 45 mins One important point to note about the exam is that it is presented in 10 \u0026ldquo;blocks\u0026rdquo; of questions. Each block has between 2 and 9 questions, generally focusing on one particular area. Within a block, you can move back and forth. But once you complete that block, you can\u0026rsquo;t go back. You get told how many questions are in your current block, and which block number you\u0026rsquo;re up to, but you don\u0026rsquo;t know how many questions you\u0026rsquo;ve completed overall.I was keeping my own tally of completed questions - I recommend you do the same, so you can manage your time. I thought I was moving through at a reasonable pace, but I was starting to feel a little rushed towards the end, and I ended the exam with around 10 minutes to spare.\nHP provides a very detailed score report - it\u0026rsquo;s broken down into 21 sections, and tells you exactly how many questions were in each section, along with your score. So you can tell exactly which questions you got right/wrong. Don\u0026rsquo;t ask me for my exact breakdown\u0026hellip;I passed and that\u0026rsquo;s all that matters!\nWas it worth it? That\u0026rsquo;s always the tricky one. I don\u0026rsquo;t do hands-on networking all day - it\u0026rsquo;s more of a peripheral thing to what I do. I won\u0026rsquo;t directly get a pay rise for this, nor will I even get the costs covered by my employer. I did it more for the personal challenge, especially since I come across a lot of HP networking kit these days. If you\u0026rsquo;ve already completed CCIE, then it\u0026rsquo;s fairly straightforward to achieve HP MASE. You only need to do two exams. If you don\u0026rsquo;t hold any Cisco certifications, I think it might be as many as 5 exams to achieve HP MASE.\nIf you are a junior engineer, working with both Cisco and HP equipment, then I would recommend completing CCNA and CCNP first, simply due to wider market demand. But then I would cross over to the HP certifications, before moving on to CCIE. You\u0026rsquo;ll need to put some time into it, but it\u0026rsquo;s not overly taxing. Certainly not like the levels of effort you need for CCIE. You could also complete HP MASE before moving to CCIE.\nIf you\u0026rsquo;ve already achieved CCIE R\u0026amp;S, and you\u0026rsquo;re looking for something a little different, I would recommend going to HP MASE. Your customers are probably going to be asking about HP networking gear soon, if they\u0026rsquo;re not already, simply due to the price/quality point. You might as well get some experience with it now.\n","permalink":"https://lkhill.com/hp-master-ase-hp0-y37/","summary":"\u003cp\u003eI have just passed the HP exam \u0026ldquo;\u003ca href=\"http://www.certificationexplorer.com/Documents/HP0-Y37.pdf\"\u003eHP0-Y37: Migrating and Troubleshooting Networks\u003c/a\u003e.\u0026rdquo; This means I I have now passed all required exams for \u0026ldquo;\u003ca href=\"https://www.hpe.com/certification/data_card/HP_MASE_Network_Infrastructure_2011.html\"\u003eHP Master ASE - Network Infrastructure 2011\u003c/a\u003e.\u0026rdquo; This is a run-through of my impressions of the exam, and what I used to study for it.\u003c/p\u003e","title":"HP Master ASE: HP0-Y37"},{"content":"Recently I\u0026rsquo;ve been doing more VMware work. It\u0026rsquo;s been a while, but it makes a nice change. At this site, we have 100+ hosts, and thousands of VMs. Recently we were making some changes to the physical networking of some of the hosts, and we needed to evacuate all VMs from a host. But when we went to migrate the VMs, we got this warning:\nWhat\u0026rsquo;s it telling us? It\u0026rsquo;s saying that we can\u0026rsquo;t move that VM to that other host, because the CPU is incompatible. Apparently we need to use a cluster with Enhanced vMotion Compatibility (EVC) enabled. But this cluster already has EVC enabled.\nWhat\u0026rsquo;s going on? And just what is EVC all about anyway?\nEnhanced vMotion Capability (EVC) Intel and AMD regularly update their CPUs. In the past it was all about clock speed, now it\u0026rsquo;s all about how many cores on one die. But it\u0026rsquo;s not just speeds that change - new features and new CPU instructions get released with each generation. Some of these features are fairly esoteric, but others are enormously important - e.g. the Virtualisation extensions. Operating systems and applications that can access the new instructions may be able to perform previously complex operations far more efficiently, or they may be able to access previously unavailable features. When a VMware ESXi host has newer CPUs, it can pass those capabilities on to any VMs hosted on that server. All older instructions and features are still supported, but newer ones can be exposed.\nBut what happens if you\u0026rsquo;ve got a VMware cluster with mixed CPUs? What happens if a guest is running on a newer server, and you vMotion it across to the older server? How can the guest OS handle it if the CPU suddenly changes?\nThat\u0026rsquo;s where EVC comes into play. Basically ESXi pretends that it has an older CPU. You choose what EVC mode you want, and what CPU architecture to pretend to have. All hosts in the cluster pretend to have the same CPU architecture - the only proviso is that all hosts must be able to support the same level. Then when a VM is launched, it will use that older CPU mode. It no longer matters which host in the cluster it runs on - they all support exactly the same features. No-one can use the new features, but at least you can move guests around the cluster. The idea is that you can now stagger your host upgrades. Once all hosts are running newer CPUs, you can change the EVC cluster mode if you wish.\nWhen you change the cluster mode, it doesn\u0026rsquo;t affect any VMs until they are powered off, and restarted. Rebooting a guest OS is not sufficient - the VM must be stopped, then started. Any new VMs will immediately use the new mode. If you change the overall cluster mode, you can only raise the level if there are any VMs currently powered on, and using the current level. It\u0026rsquo;s easy to raise the level, but going back down is a pain, as all VMs need to be stopped. See this VMware KB article for more info.\nSo why did I see an error? This was the odd thing. Our cluster was running in Nehalem mode. The CPU architecture supported Westmere (slightly newer). Given that the cluster was running in Nehalem mode, there should have only been VMs running in Nehalem or older modes (Penryn, Merom). Looking through the list of VMs, we had one running in Merom mode, over 100 running in Nehalem\u0026hellip;and somehow we had 17 running in Westmere mode. Huh? How did we end up with VMs running in a newer mode than the cluster supported? I thought we only had backwards compatibility, not forwards compatibility?\nWe don\u0026rsquo;t know how we ended up in this scenario. Best guess is that these VMs were started at some point when the cluster was not using EVC. EVC was later enabled, and for some reason VMware let it get enabled, even though it could never work properly for those VMs. Because the underlying CPU architecture supported it, VMware let things keep running. It only got annoyed when we went to migrate the VMs. It never should have let us get into this position.\nSolution - raise the EVC mode All hosts in this cluster supported Westmere. We\u0026rsquo;re not planning on introducing any older hosts. The two options we had were either to stop and start each of those 17 VMs - painful, as they\u0026rsquo;re production systems - or to raise the overall cluster EVC mode. We went with the second option. As long as you\u0026rsquo;re raising the mode, it works without any problems. No outage to any systems. Only change is that those 17 VMs can now be migrated, as the destination host has the right EVC mode. Any new VMs will run with Westmere. Any existing VMs will just keep on running fine, with Nehalem mode. Since the new mode only takes effect on a full stop/start of the VM, they\u0026rsquo;ll probably continue running with that mode for years to come.\nNo restarts needed, with no outage == WIN.\n","permalink":"https://lkhill.com/vmware-evc-mode/","summary":"\u003cp\u003eRecently I\u0026rsquo;ve been doing more VMware work. It\u0026rsquo;s been a while, but it makes a nice change. At this site, we have 100+ hosts, and thousands of VMs. Recently we were making some changes to the physical networking of some of the hosts, and we needed to evacuate all VMs from a host. But when we went to migrate the VMs, we got this warning:\u003c/p\u003e","title":"VMware EVC Mode"},{"content":"When developing IMC adapters, sometimes you have problems with parsing the output correctly. Adapters that use the CLI to retrieve a backup will have extra lines that creep in, such as the show run command. You may also have some lines you wish to strip out - e.g. you might want to remove the ntp clock-period line from Cisco devices, as it triggers false positives indicating a configuration has changed, when it really hasn\u0026rsquo;t.\nThe parsing is handled by a Perl script - usually something like RouterOS_Cleanup_Parser_Script.pl. This perl script contains subroutines that get called by IMC, to do the parsing. Normally the subroutine will be named something like cleanupConfiguration.\nWhen you\u0026rsquo;re testing out your adapter, it can be tiresome to make a change, then run through the whole backup process again. What you really want to do is isolate the parsing function, so you can just focus on that, running lots of rapid tests, without having to wait for the rest of the backup process. Here\u0026rsquo;s a quick and dirty way to do it:\nFirst get some sample output you want to test with. One way is to login to the IMC server, cd to C:\\Program Files\\iMC\\server\\bin, and run plink user@IP. This will connect to the remote device. Enter credentials, and then run the show run (or equivalent) command. Capture the entire output of this session, and save it to a text file.\nNext copy the RouterOS_Cleanup_Parser_Script.pl file to a temporary location. At the end of this file, add this line: 1; You must add this, or the next stage will get an error like RouterOS_Cleanup_Parser_Script.pl did not return a true value at tester.pl line 7.\nNow create a little test Perl script called imcParser.pl that looks like this:\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/usr/bin/perl -w use strict; # Usage: perl imcParser.pl input_file # Quick tester script for checking out parser scripts for IMC. # Whatever parser is called here MUST end with \u0026#34;1;\u0026#34; require \u0026#39;RouterOS_Cleanup_Parser_Script.pl\u0026#39;; # These two lines remove the line terminator, so the input gets read into # one big string, rather than an array my $holdTerminator = $/; undef $/; my $config = \u0026lt;\u0026gt;; my $cleanedConfig = cleanupConfiguration($config); print $cleanedConfig; The require line must specify the name of the Parser script you want to test. The rest of the script reads in your sample file from stdin, runs it through the parser subroutine, and prints the output. You can call it like this:\n1 perl imcParser.pl mikrotik.txt (where miktrotik.txt is the saved output from step 1).\nThis will print out the parsed output that IMC will store when running a backup. Now you can tweak your Perl script, and quickly test it, without needing to go through the whole IMC backup process. You\u0026rsquo;ll also get better error reporting if you\u0026rsquo;ve got any syntax problems in your Perl script.\nThere\u0026rsquo;s probably more elegant ways of doing this, but it gets the job done.\n","permalink":"https://lkhill.com/imc-test-script-cleanup_parser/","summary":"\u003cp\u003eWhen developing IMC adapters, sometimes you have problems with parsing the output correctly. Adapters that use the CLI to retrieve a backup will have extra lines that creep in, such as the \u003ccode\u003eshow run\u003c/code\u003e command. You may also have some lines you wish to strip out - e.g. you might want to remove the \u003ccode\u003entp clock-period\u003c/code\u003e line from Cisco devices, as it triggers false positives indicating a configuration has changed, when it really hasn\u0026rsquo;t.\u003c/p\u003e","title":"IMC - test script for Cleanup_Parser"},{"content":"I\u0026rsquo;ve written basic versions of Device Adapters for IMC, to allow configuration backup of Miktrotik RouterOS-based systems, and Citrix Netscaler-based systems. I\u0026rsquo;ve also posted a modified Juniper adapter, with a couple of modifications so it now works with SRX-110 devices.\nThese are both fairly rough, but they do the job. For the Miktrotik adapter, it uses the \u0026ldquo;export\u0026rdquo; command to grab the backup. This only works via CLI. The output needs some cleanup - there is some extra stuff left in there, and I\u0026rsquo;d like to re-join the long lines that get split up. Any volunteers? Note that this was tested out using the cx option - add that to the username when logging in, and the Mikrotik disables colour output.\nThe Netscaler adapter only works via CLI. I would like to find a way to save the running configuration as a separate file, so I could then retrieve both running and saved configurations via SCP or SFTP. If I retrieved the saved configuration using SFTP, it failed to pull the running config via CLI. It works if you only use CLI, for both startup and running. Again, the output needs a little bit of a tidy-up. The most useful thing would be to remove the date from the running configuration, as it triggers false positives for backup change alarms.\nThese have been uploaded to the GitHub repository we\u0026rsquo;re using for NetOps: github.com/NetOpsCommunity/imc-netops. If you\u0026rsquo;re using IMC and either Netscaler or RouterOS devices, please try these out. There is more work to be done, but they will at least give you a basic backup of your configuration.\n","permalink":"https://lkhill.com/imc-adapters-mikrotik-netscaler/","summary":"\u003cp\u003eI\u0026rsquo;ve written basic versions of Device Adapters for IMC, to allow configuration backup of Miktrotik RouterOS-based systems, and Citrix Netscaler-based systems. I\u0026rsquo;ve also posted a modified Juniper adapter, with a couple of modifications so it now works with SRX-110 devices.\u003c/p\u003e","title":"IMC - Device Adapters for Mikrotik and Netscaler"},{"content":"I\u0026rsquo;ve spent a lot of time on technical and non-technical forums over the last 10+ years. I\u0026rsquo;ve written thousands of posts on places like CPUG, CPshared, Thorntree, Packetpushers, NetOps, HP Support Forums, IEOC, etc. I\u0026rsquo;ve never received any financial gain for it, not even so much as a free T-shirt. No jobs, no promotions, nothing. But I believe that participation in technical forums is an important part of developing your career - you learn something technically, and maybe you\u0026rsquo;ll learn a bit about people along the way. I\u0026rsquo;ve also learnt a few things about the \u0026ldquo;right\u0026rdquo; way to participate in forums. I think I can sum them up as:\nWe\u0026rsquo;re not mind readers You get what you pay for You get out what you put in We\u0026rsquo;re Not Mind-Readers We know nothing about your network. Nothing. You work on it every day, but we have had zero exposure to it. We know as much as you tell us, and nothing more. If you don\u0026rsquo;t tell us about the specifics of your topology, we don\u0026rsquo;t know it. If you don\u0026rsquo;t tell us exactly what the error message says, we can\u0026rsquo;t guess. So don\u0026rsquo;t hide things. When you\u0026rsquo;ve got a problem, tell us all the relevant information - what version are you running? On what OS? What changes did you make recently before it broke? What\u0026rsquo;s the full scope of what you\u0026rsquo;re trying to achieve? The last point in particular is important. I see people asking how to solve some very specific technical issue, without revealing the overall context - but then later when they do tell you, it turns out that their whole approach is flawed, and they\u0026rsquo;re never going to solve the issue that way. So tell us: What\u0026rsquo;s the overall problem you\u0026rsquo;re trying to solve, what steps have you taken to resolve it, and what results have you seen?\nYou Get What You Pay For Almost all support forums are free. Volunteers like me get nothing for participating. We\u0026rsquo;re also quite probably in a different timezone to you. So don\u0026rsquo;t post a question, then 4 hours later post \u0026ldquo;No-one can help me??????? Plzzzzzzzzzzz it\u0026rsquo;s really urgent, my boss says I have to fix it!!!!! Waaaaaaaaaaaa!\u0026rdquo; We\u0026rsquo;re not paid support. If you need that, get a support contract. Hey, if you\u0026rsquo;ve got a support contract, you should be logging a case through there too. If there hasn\u0026rsquo;t been any answers after a few days, it\u0026rsquo;s either because no-one knows the answer, or you haven\u0026rsquo;t given it enough time. No need to bump it. We\u0026rsquo;ve seen your post, and we\u0026rsquo;re not ignoring you - well unless you\u0026rsquo;re being obstructive with providing information, or have proven difficult to help in the past.\nYou Get Out What You Put In You get out what you put in - don\u0026rsquo;t just expect to take. You need to put in something too, or people will stop answering your questions. You will frustrate people if you seem unwilling to do ANY work yourself. If you just post \u0026ldquo;Help my boss gave me this project and I don\u0026rsquo;t know anything\u0026rdquo; people aren\u0026rsquo;t so willing to help. You have to do some work yourself. Show us that you\u0026rsquo;ve tried something, you\u0026rsquo;ve tested some hypothesis, and you\u0026rsquo;ve collected some results, but you\u0026rsquo;re still confused. People are much more willing to help if you\u0026rsquo;ve made an effort yourself.\nIf you want to really frustrate those who try to offer advice, the most annoying thing you can do is abandon your question. Many, many times I answer a question, or at least propose some possible solutions, only to never hear back from the original poster. If I\u0026rsquo;ve taken the time to respond, the least you can do is let us know if it helped or not. But if you want to really, really annoy people for years to come, you post a complex problem, maybe get some answers, then later respond with \u0026ldquo;Oh don\u0026rsquo;t worry, it\u0026rsquo;s fixed now\u0026rdquo;\u0026hellip;and leave us hanging! Remember, people are going to come across this years into the future. Do them a favour, and let them know what the fix was. If you really don\u0026rsquo;t know why it works now, then at least say that. It\u0026rsquo;s OK. We\u0026rsquo;ve had those bugs too. But don\u0026rsquo;t imply you\u0026rsquo;ve done something to fix it, but hoard that knowledge. Pay back the help you get.\nDon\u0026rsquo;t Be Afraid to Jump in Forums are great. There\u0026rsquo;s an amazing amount of knowledge freely shared. But there\u0026rsquo;s also a lot of dross. Jump in and help out. Answer questions. You might not know a lot about the technology, but if there\u0026rsquo;s a question you can answer, then start there. You\u0026rsquo;ll grow, and maybe you\u0026rsquo;ll just make someone else\u0026rsquo;s day that bit better.\n","permalink":"https://lkhill.com/asking-questions-the-right-way/","summary":"\u003cp\u003eI\u0026rsquo;ve spent a lot of time on technical and non-technical forums over the last 10+ years. I\u0026rsquo;ve written thousands of posts on places like \u003ca href=\"http://cpug.org\"\u003eCPUG\u003c/a\u003e, \u003ca href=\"http://cpshared.com\"\u003eCPshared\u003c/a\u003e, \u003ca href=\"http://thorntree.lonelyplanet.com\"\u003eThorntree\u003c/a\u003e, \u003ca href=\"http://forum.packetpushers.net\"\u003ePacketpushers\u003c/a\u003e, \u003ca href=\"http://www.netopscommunity.net\"\u003eNetOps\u003c/a\u003e, \u003ca href=\"http://h30499.www3.hp.com/t5/Network-Management-Openview-NNM/ct-p/sws-NNM\"\u003eHP Support Forums\u003c/a\u003e, \u003ca href=\"http://ieoc.com\"\u003eIEOC\u003c/a\u003e, etc. I\u0026rsquo;ve never received any financial gain for it, not even so much as a free T-shirt. No jobs, no promotions, nothing. But I believe that participation in technical forums is an important part of developing your career - you learn something technically, and maybe you\u0026rsquo;ll learn a bit about people along the way. I\u0026rsquo;ve also learnt a few things about the \u0026ldquo;right\u0026rdquo; way to participate in forums. I think I can sum them up as:\u003c/p\u003e","title":"Asking Questions on Forums the Right Way"},{"content":"Years ago, I was working at a large bank. It was a large site, with a lot of employees, so there was a staff member working full-time in the mail room. Occasionally I would receive a delivery of replacement parts. I\u0026rsquo;d get a phone call letting me know there was a package to pick up, so off I\u0026rsquo;d go to retrieve my parcel. Sometimes it would get brought up to me, depending on what it was.\nThe entire transaction could be completed in a few minutes - receive phone call, walk to mail room, find package, sign form, walk out. A simple transaction, and pretty hard to get wrong. Yet someone, somewhere in this bank had decided that we should be measuring performance, so we can improve it! So each delivery would also mean I would be given a paper survey form to fill in, rating how the mail room had performed. Note: This was the performance of the local mail room staff being rated, not the performance of the courier company. I could rate them on friendliness, efficiency, overall satisfaction, etc. It was all utterly, gloriously pointless. As an added bonus, the paper forms resulted in more pointless data entry.\nYet someone, somewhere, decided we needed to measure things, to improve them. No-one was exempt. I presume even the receptionists had to randomly sample some of the site visitors. I wondered what would happen if I put a negative rating in a survey, or filled in some nonsense. I didn\u0026rsquo;t want the poor mailman to get a pay cut though, so I never dared try it. I always gave him top marks. I hope he got a pay rise out of it. They probably laid him off when management drove the company into the ground. I don\u0026rsquo;t think they surveyed senior management on what they were doing to the company. Or maybe they did, and knew just how big a hole they were digging? But no-one acted on the information, and they went broke anyway? But I digress\u0026hellip;\nPointless surveys in an electronic world I spend a lot of time on HP\u0026rsquo;s websites, as part of my job. I\u0026rsquo;m often searching through the knowledge base, updating cases, or downloading software and manuals. It depends on the client I\u0026rsquo;m working for, but on a bad day, I might be visiting their site several times every hour. I\u0026rsquo;ll also be using at least 2, sometimes 4 different systems to reach their site.\nAs anyone who has used HP\u0026rsquo;s website in the last decade knows, the website is a complete and utter disaster, and whoever maintains it should just give up. Admittedly, they\u0026rsquo;re trying to drag some parts of it into the 20th century, but there are still vast swathes of it that haven\u0026rsquo;t changed since I was a junior engineer. Large sections don\u0026rsquo;t even render properly with IE8, and the concept of human-readable URLs seems to have completely passed them by. When they designed the website for 640x480 screens, it wasn\u0026rsquo;t the modern mobile they had in mind - it was the 14\u0026quot; monitors we all used to use.\nSo it drives me mad when I get pop-ups like this: If you\u0026rsquo;re paying attention, you\u0026rsquo;ll see that it says that choosing \u0026ldquo;no\u0026rdquo; will stop this form from re-appearing for at least 3 months. The kicker is this part though \u0026ldquo;we cannot guarantee that you will never see this pop-up window again.\u0026rdquo; Not only can they not guarantee it, they seem to wilfully disregard any actions I take, and spring it on me several times a day. I can guarantee that I will see it at least once a day, usually more like 5 times.\nAfter weeks of this - clicking \u0026ldquo;No\u0026rdquo; multiple times a day - I gave in, and decided \u0026ldquo;What the hell, I\u0026rsquo;ll fill in your damn survey form.\u0026rdquo; So I entered my email address, and got\u0026hellip;nothing.\nHmm. So I tried again. And again. I\u0026rsquo;m determined to fill in the damn form, and you don\u0026rsquo;t even want to send it to me? Eventually they relented, and sent me a survey form. Complete waste of time, just the usual basic questions about how wonderful and useful their site is. Total waste of time. No useful medium for me to submit feedback, and no way to even complain about the survey pop-ups. What was particularly annoying was that they wanted me to enter an email address, on a web page, so they can send me a link to a form. Does the market research team have no idea how the World Wide Web is supposed to work?\nThe whole thing makes you wonder what\u0026rsquo;s going on. Who is asking for this research, and what do they do with the results? Is it like those mailroom surveys I filled in, probably carefully filed, never to be looked at again? Why is it that the feel they need to constantly ask for feedback? My current working theory is that it was like the fatwa issued against Salman Rushdie - someone in marketing ordered the survey forms, but they later got sacked, and since then, no-one\u0026rsquo;s been able to rescind the order.\nIt\u0026rsquo;s not just HP to blame It\u0026rsquo;s very easy, but I don\u0026rsquo;t want to pick on HP here. They\u0026rsquo;re not the only ones doing this. Many of the sites I visit constantly seek my feedback, yet what do I get in return? Nothing. So if there\u0026rsquo;s nothing on offer, why should I bother with the survey forms? OK, so maybe I\u0026rsquo;ll stop filling them in. Ever. So now how valid are your statistics, if huge swathes of your user base never fill them in?\nFor that matter, what are you hoping to achieve with surveys, if nothing changes with your site, and it continues to be difficult to navigate, with poor rendering on modern browsers? Do people in marketing enjoy filling out surveys, so they think nothing of bombarding their users with forms? Or is it an ITIL-based process that seeks measurement of everything, even when effort would be better spent on fixing obviously broken systems?\nI really don\u0026rsquo;t know.\nBut I do know that instead of \u0026ldquo;Do Not Track\u0026rdquo; in my browser, I\u0026rsquo;d like a \u0026ldquo;Do Not Survey\u0026rdquo; option.\n","permalink":"https://lkhill.com/web-survey-make-it-stop/","summary":"\u003cp\u003eYears ago, I was working at a large bank. It was a large site, with a lot of employees, so there was a staff member working full-time in the mail room. Occasionally I would receive a delivery of replacement parts. I\u0026rsquo;d get a phone call letting me know there was a package to pick up, so off I\u0026rsquo;d go to retrieve my parcel. Sometimes it would get brought up to me, depending on what it was.\u003c/p\u003e","title":"Website Survey Popups - Please Make it Stop"},{"content":"If you currently hold Cisco CCNA, CCNP or CCIE certification, you can use this as credit towards HP AIS, ASE and Master ASE certifications.\nYou need to submit this:\nYour full name, company name, contact information and your HP Learner ID; Title of the HP certification or service qualification toward which you are applying the credit; Scanned copy of certificate or exam, showing date of completion. See this page for more details, and email contact addresses. For some reason, you have to click on a PDF for each region, which then just reiterates the information above, and gives you an email address to use. I cannot understand why they don\u0026rsquo;t just show the email addresses on the page. This is a consistent failing of the HP website, where they repeatedly use PDFs when a simple HTML page would have sufficed.\nI submitted my request on a Sunday night, and I got a response within 72 hours. If you go into the Learning Center, you can \u0026ldquo;Assign\u0026rdquo; a certification to your account. It then shows you what you need to do to complete the certification. For the HP Master ASE - Network Infrastructure Fast Track path I am following, it now shows that I have completed two of the requirements - CCIE R\u0026amp;S, \u0026amp; HP0-Y32. Now I just need to pass HP0-Y37, and I will have completed the requirements for HP Master ASE - Network Infrastructure.\n","permalink":"https://lkhill.com/hp-submit-proof/","summary":"\u003cp\u003eIf you currently hold Cisco CCNA, CCNP or CCIE certification, you can use this as credit towards HP AIS, ASE and Master ASE certifications.\u003c/p\u003e","title":"HP: Submit Proof of Certification"},{"content":"A few weeks ago, I commented on Twitter that I was thinking about migrating from one product to a newly released product. It\u0026rsquo;s the sort of thing you do all the time, right? You wonder aloud: \u0026ldquo;Ooh, new product X looks interesting - I wonder if it would solve my problems better than product Y?\u0026rdquo; No big deal.\nSo I was a little surprised to receive an email from the first vendor, within 24 hours, wanting to talk more about why their product was great, and why I should stick with them. I had no previous contact with them, and at that time I hadn\u0026rsquo;t launched this site. Presumably they looked at my Twitter profile, found northlandboy.com, went there and found my contact details. It\u0026rsquo;s not like I keep my identity a secret - hey if you want to email me, go right ahead.\nI would like to make clear that I don\u0026rsquo;t have a problem with this company\u0026rsquo;s approach, it was entirely reasonable - but I still found it all slightly weird. I had not deliberately reached out to them, as I sometimes do on Twitter. I had simply mentioned them in passing. But they were paying attention to various social media outlets, monitoring for any mention of their company and products. They were then actively investigating the people making those comments, finding who they were, who they worked for, what they did, and how to get in contact with them.\nFundamentally it\u0026rsquo;s a reminder of something we should all know about the Internet: You are being watched. Not only are your actions broadcast for all to see, they are recorded for anyone to look at, anytime they choose. We\u0026rsquo;d best pay attention to what we say, and make sure we can back things up. I\u0026rsquo;d also better make sure I have a good story in place should I end up working for one of the companies I\u0026rsquo;ve publicly disparaged in the past. Now that could get awkward\u0026hellip;\n","permalink":"https://lkhill.com/you-are-being-watched/","summary":"\u003cp\u003eA few weeks ago, I commented on \u003ca href=\"https://twitter.com/northlandboy\"\u003eTwitter\u003c/a\u003e that I was thinking about migrating from one product to a newly released product. It\u0026rsquo;s the sort of thing you do all the time, right? You wonder aloud: \u0026ldquo;Ooh, new product X looks interesting - I wonder if it would solve my problems better than product Y?\u0026rdquo; No big deal.\u003c/p\u003e","title":"You Are Being Watched"},{"content":"When Apple launched the Mac App Store, I was quite interested in how it would work out. The App Store for iOS has been hugely successful, even if it is at times somewhat frustrating for developers. I\u0026rsquo;m also undecided on the censorship aspects - I should be able to have a wobbly boob app if I want - but I was prepared to give it a chance.\nThe Promise The promise of the App Store is that it makes it easy to find, buy and install applications for OS X. Rather than searching across many different company websites, you can find apps in one place. No need to hand out your credit card details to twenty different companies either - Apple handles all payments.\nFrom a developer\u0026rsquo;s perspective, the App Store works out pretty well if you have a small app - the 30% commission Apple charges is pretty reasonable. For high value applications, the 30% is not so good, but for $1.99 apps? It\u0026rsquo;s a good deal.\nIt\u0026rsquo;s not just about finding and buying apps either - it\u0026rsquo;s also about keeping them up to date. From a user perspective, application updates are handled through the same system as operating system updates. Apple also enforces minimum standards around quality, and there is strong enforcement of security controls, and use of restricted APIs.\nApplication licensing is also interesting - if I buy the applications, then go and sign in on another computer, I can download my apps again. This isn\u0026rsquo;t the same as buying the \u0026ldquo;family pack\u0026rdquo; that some products offer, but it\u0026rsquo;s a workable solution for a household with several Macs. This should make things a little easier when I upgrade computers too.\nI come from a RedHat Linux background, so I\u0026rsquo;m well used to the concept of a package repository. Certainly there are very clear differences between package repositories used by Linux distributions, and the App Store, but they have much in common. Obviously the biggest single difference is that with a Linux distribution, nothing stops you changing repositories. You don\u0026rsquo;t have that choice with Apple, but I figured that they seemed to be doing OK with the iOS App Store.\nSo I started moving towards using the App Store. If I can find the app on want via the App Store, my preference has always been to buy it from there. Easy to find, buy, and update. Should be all good right? So why do I think I should start moving away from that model?\nSo What Went Wrong? For simple transactions, and cheap applications, the App Store works well. For environments like iPads/iPhones, the App Store is the only way we\u0026rsquo;ve ever had for finding, purchasing and managing applications. But in the OS X world, there\u0026rsquo;s a long history of independent developers selling software. Nothing has ever restricted the software you could install, or the locations you could get it from.\nAs soon as a developer had tested out a patch, they could release it to the wild. Most OS X app support integrated version checking, and will notify users of new releases. If a developer released a major new version, they could choose to offer it for free to existing customers, charge a nominal upgrade fee, or if they were feeling grumpy, make all customers pay the same price.\nThe App Store doesn\u0026rsquo;t have this flexibility. Even small patches to existing applications need to go through the review process, which may take time. Apple may choose to not allow the application any more, even though it previously passed muster. Critically, there is no way to offer upgrade pricing to existing customers. 1Password tried to work around this last year when they released a new version for iOS - they offered it at 50% off for EVERYONE for a limited time. Not just for existing customers, but also for new customers. They had to do something to appease their loyal fan base, and that was the best they could manage.\nThe Omni Group is working on a new version of OmniFocus. Their plan is to offer a 50% discount to existing users. But - and this is crucial - they have no way of offering this discount via the App Store. Instead, I\u0026rsquo;ll need to buy the upgrade direct from them. I\u0026rsquo;m not sure how they\u0026rsquo;ll verify that I\u0026rsquo;m an existing user, but I guess they\u0026rsquo;ll come up with some method. All future upgrades and purchases will be through them.\nI\u0026rsquo;m also a DevonThink user. They have three versions of DevonThink - Personal, Pro and Pro Office. You can buy any version direct from them, and they have upgrade pricing for moving between versions. But via the App Store they only offer the Personal version. They have no way of offering multiple versions on the App Store, while allowing upgrade pricing. The only way they could do it would be by making you buy the whole product again. If you buy the App Store version (as I have), and you want to upgrade, you have to change to direct purchasing. They fully support this, which is great, but it\u0026rsquo;s much more hassle than it needs to be.\nThe delays in new releases can be frustrating - several times I\u0026rsquo;ve been aware that bugs have been fixed upstream, and updated versions are available for download if you\u0026rsquo;ve purchased direct, but I have to wait for my updates via the App Store. I was particularly annoyed when the CCIE Flashcards program I used on my iPhone was crashing at startup, and the fixed version was being held up because Apple was now unhappy with the look/feel of the app.\nFixes coming? I\u0026rsquo;m vaguely hopeful that some of these issues will be resolved at WWDC this year, but I\u0026rsquo;m not sure I should hold my breath. If they could at least introduce upgrade pricing, I would be happy.\nFor now, I think I\u0026rsquo;ll move away from using the App Store, at least for higher value purchases. Back to handing out my credit card number to many different companies, and hoping their app supports auto version checking (Shame on you Dropbox for not supporting this!). If they can work out some of the issues, then I\u0026rsquo;ll look at returning. Until they can get some flexibility in their processes, I can\u0026rsquo;t see them ever getting items like VMware Fusion, or Microsoft Office for Mac into the App Store. And as long as the App Store doesn\u0026rsquo;t have pretty much every major app, it\u0026rsquo;s of limited value. Shame.\n","permalink":"https://lkhill.com/apples-mac-app-store-change-needed/","summary":"\u003cp\u003eWhen Apple launched the \u003ca href=\"http://www.apple.com/osx/apps/app-store.html\"\u003eMac App Store\u003c/a\u003e, I was quite interested in how it would work out. The App Store for iOS has been hugely successful, even if it is at times somewhat \u003ca href=\"http://arstechnica.com/apple/2009/11/respected-developers-fleeing-from-app-store-platform/\"\u003efrustrating for developers\u003c/a\u003e. I\u0026rsquo;m also undecided on the censorship aspects - \u003ca href=\"http://gizmodo.com/5116493/nsfw-boob-app-on-the-iphone-is-obviously-called-iboobs-obviously-not-approved\"\u003eI should be able to have a wobbly boob app if I want\u003c/a\u003e - but I was prepared to give it a chance.\u003c/p\u003e","title":"Apple's Mac App Store - Change Needed"},{"content":"HP Discover is HP\u0026rsquo;s showcase technology conference, bringing together speakers, presentations, partners and products from right across HP\u0026rsquo;s product line. It covers everything from laptops to servers and software. It\u0026rsquo;s held twice a year, in Las Vegas in June, and in Europe in late November/early December. If you work with HP products or services in any form, it\u0026rsquo;s a great place to find out more about what\u0026rsquo;s happening, what\u0026rsquo;s coming up, and how to make the most out of your systems.\nI was lucky enough to go last year, and had a fabulous time, filling my days talking to interesting HP staff, partners and fellow attendees. It was also my first trip to Las Vegas, which was quite unlike any city I\u0026rsquo;d visited before.\nI\u0026rsquo;ve just found out that this year I\u0026rsquo;m going again, but with a twist: I\u0026rsquo;m going to be speaking. I made a submission to talk about HP\u0026rsquo;s IMC, and it got accepted. One problem: My talk only exists as an abstract - now I need to turn it into a full session. I won\u0026rsquo;t be alone though - Aaron will be joining me. The talk will be a fairly low-level technical talk, diving into some very specific bits of implementation, customisation and extension. So content won\u0026rsquo;t be a problem - the challenge will be in whittling it down to fit the time limit, but still impart practical information.\nAssuming I\u0026rsquo;m allowed to, I will later publish the presentation here.\nThe conference will be held on June 11-13, at the Venetian in Las Vegas. I\u0026rsquo;m also going to take my wife with me this year - it\u0026rsquo;s a fair way to travel, so we might as well make a little holiday out of it. Hoping to add in a couple of days in San Francisco on the way.\n","permalink":"https://lkhill.com/speaking-hp-discover/","summary":"\u003cp\u003e\u003ca href=\"https://www.hpe.com/events/discover/\"\u003eHP Discover\u003c/a\u003e is HP\u0026rsquo;s showcase technology conference, bringing together speakers, presentations, partners and products from right across HP\u0026rsquo;s product line. It covers everything from laptops to servers and software. It\u0026rsquo;s held twice a year, in Las Vegas in June, and in Europe in late November/early December. If you work with HP products or services in any form, it\u0026rsquo;s a great place to find out more about what\u0026rsquo;s happening, what\u0026rsquo;s coming up, and how to make the most out of your systems.\u003c/p\u003e","title":"Speaking at HP Discover 2013"},{"content":"HP Software recently released 6 free network utilities and tools. Free stuff is good right? We all like free. But HP doesn\u0026rsquo;t do things out of the goodness of its heart - what\u0026rsquo;s the angle for them to make money? I can\u0026rsquo;t work it out. Recently I tried out these tools, and I can\u0026rsquo;t understand their strategy.\nThe six tools are:\nPing Your Network - pings in each host in a given subnet Network Port Scanner - scan an IP, tell you open/closed ports VM Reporter - connect to vCenter, show hosts, VMs and relationships Network Device Configuration Inspector - pull Cisco device configuration. Can compare two devices User Registrations Viewer for Microsoft Lync - show currently connected Lync users, client versions, etc. Network Flow Analytics - simple NetFlow data analysis and reporting Product Test Drive I had a few moments to try the first four of these recently. Overall I was not impressed, and I don\u0026rsquo;t understand what HP is doing with these. None of them have any obvious tie-in to HP\u0026rsquo;s commercial products, no similarities with interfaces, and all of them are feature-limited, some so much so as to be unusable.\nPing Your Network: This is pretty basic. It\u0026rsquo;s quite slow, serially pinging each IP in a subnet. It doesn\u0026rsquo;t even discard the subnet and broadcast IP addresses. The returned data is only useful if you export it to CSV, as you can\u0026rsquo;t manipulate/re-order the data in the GUI. GUI looks nothing like any other HP product that I\u0026rsquo;ve seen.\nHP Ping Your Network\nNetwork Port Scanner: Gave up on this after 15 minutes scanning one IP. Still hadn\u0026rsquo;t completed. Can only define a single IP, and a port range. Doesn\u0026rsquo;t do any fingerprinting. Doesn\u0026rsquo;t even list the results in numerical order. There is absolutely no reason for any engineer to use this product, when there are exceptional free products available like Nmap.\nHP Network Port Scanner\nVM Reporter: This tool does what it says - it shows you the data centers, hosts and VMs defined in vCenter, and the relationships between them. It also shows you any current alerts. But you look at this tool, and ask yourself: When would I use this? I need login access to vCenter. Why not just login? It doesn\u0026rsquo;t save me any time, or give me any extra information. What am I getting out of it?\nHP VM Reporter\nNetwork Device Configuration Inspector: This tool was perhaps the most disappointing. On starting this, you get a command shell, where you can enter commands. First you define your editor (e.g. Notepad++), then your configuration comparison tool (e.g. WinDiff). You then define credentials, and tell it to either show you a single configuration, or compare configurations. You can only compare two different devices - you can\u0026rsquo;t compare versions of the same device. It ONLY works with Cisco devices, and ONLY works with Telnet and TFTP. Give me a useful GUI, and maybe I\u0026rsquo;ll use it for looking at device configurations. But otherwise, it\u0026rsquo;s just as easy to open a Putty session to a router. If needed, I can slap a couple of configs into WinDiff. I don\u0026rsquo;t really need a tool just to pull configs for me, unless it\u0026rsquo;s got a bunch of automation associated with it. No picture for this one, since you\u0026rsquo;ve all seen Notepad and WinDiff before.\nNone of these tools use any GUIs consistent with the commercial products, nor do they offer any obvious tie-in/upgrade path. The other issue is that the sort of person who downloads a free product probably can\u0026rsquo;t afford the enormous prices HP charges for some of its Network Management products. What is the strategy here?\nContrast with Virtualization Performance Viewer Compare this approach with HP\u0026rsquo;s \u0026ldquo;Virtualization Performance Viewer (vPV)\u0026rdquo; - this is a tool for performance management and diagnostics for VMware and Hyper-V. Gives you a quick overview of your VMs, and identifies any that may have performance problems. The free version is limited to 200 VMs, only retains data for 1 day, and doesn\u0026rsquo;t support authorization or reporting. But it\u0026rsquo;s the same tool, and you can quickly see what it does, try it out, and if you like it, there\u0026rsquo;s a clear path to the full version. This is the sort of strategy I can understand.\nConclusion It seems like someone in the marketing department decided HP should offer free tools, to entice people into their mega-expensive products. Maybe that\u0026rsquo;s a good strategy, maybe it\u0026rsquo;s not. Some groups within HP understood the strategy, and released something that made sense (vPV). The NMC group decided they didn\u0026rsquo;t want to miss out on the fun, so they rushed something out - but they just didn\u0026rsquo;t think it through properly.\n","permalink":"https://lkhill.com/hps-free-network-utilities-why/","summary":"\u003cp\u003eHP Software recently released \u003ca href=\"http://www8.hp.com/us/en/software-solutions/software.html?compURI=1171412\u0026amp;jumpid=ex_r11374_us/en/large/eb/go_nmc#tab=TAB2\"\u003e6 free network utilities and tools\u003c/a\u003e. Free stuff is good right? We all like free. But HP doesn\u0026rsquo;t do things out of the goodness of its heart - what\u0026rsquo;s the angle for them to make money? I can\u0026rsquo;t work it out. Recently I tried out these tools, and I can\u0026rsquo;t understand their strategy.\u003c/p\u003e","title":"HP's Free Network Utilities - Why?"},{"content":"HP IMC was originally offered in two editions - Standard and Enterprise. As of v5.2, there is also a \u0026ldquo;Basic\u0026rdquo; edition. The new \u0026ldquo;Basic\u0026rdquo; edition is feature-limited, aimed at smaller customers with limited network management requirements.\n[UPDATE April 13 2015: Prices and node counts have been updated]\nThe main goal of Basic is to put PCM+ out to pasture. It comes in two flavours:\nIMC Basic Software Platform IMC Basic WLAN Manager Software Platform - same as Basic, with added Wireless Management capabilities There is plenty of information published on each edition, but HP does not seem to have a table showing a side-by-side comparison of the editions. This can make it a little hard to work out which edition you should choose. Here\u0026rsquo;s my stab at bringing this information together:\nFeature Basic Standard Enterprise Managed SNMP Nodes 50 (Max) 50 (base, expandable) 50 (base, expandable) Managed Wireless APs 50 with Basic WLAN Manager Expandable. 0 base, need license for WSM 0 base, need license for WSM Fault Management Yes Yes Yes Performance Mgmt Yes Yes Yes Reporting Yes (Basic) Yes (Basic, custom reporting requires iAR license) Yes (Basic, custom reporting requires iAR license) Config Mgmt Basic, no compliance mgmt Yes Yes WLAN Monitoring Yes with WLAN version With WSM license With WSM license NetFlow/sFlow sFlow only, max 24 hours data 0 base, can add NTA license 5 nodes base, can add more with NTA license Embedded DB Yes, Windows only Yes, Windows only No External DB Yes - SQL Server, MySQL, Oracle Yes - SQL Server, MySQL, Oracle Yes - SQL Server, MySQL, Oracle Syslogs No Yes Yes Service Monitor No Yes Yes Security Control Centre No Yes Yes ACL Management No Yes Yes Virtual Connect No Yes Yes Customised Functions No Yes Yes Virtual Network Mgmt No Yes Yes Hierarchical Monitoring No Can be lower tier Yes eAPI No With license Yes Additional Modules Available None UAM, NTA, EAD, VSM, QoS, MPLS, UAM, SHR, IPSec VPN, WSM, eAPI, TAM, APM, VAN, RSM, iAR UAM, EAD, VSM, QoS, MPLS, UAM, SHR, IPSec VPN, WSM, TAM, APM, VAN, RSM, iAR Target Market Small HP wired/wireless networks. PCM+ replacement. Most medium-sized businesses, that don\u0026rsquo;t need hierarchical monitoring. Large, distributed networks with many sites, needing hierarchical monitoring Price (at cdw.com) $1,529.99, or $4,221,99 (WLAN version) $3,066.99, additional 50 nodes $2,299.99 $11,499.99, additional 50 nodes $2,299.99 Note that you can get upgrade pricing from PCM+ to IMC.\nWarning: The inability to expand the Basic edition beyond 50 SNMP nodes, along with limited configuration management capabilities, means it should only be considered for small networks, that are extremely unlikely to grow. I don\u0026rsquo;t know if Basic customers can upgrade to Standard or Enterprise. Note: This information was collected from publicly available sources. Do not take it as official - there may be some things I have missed. Errors will be updated as I become aware of them. Prices were obtained from CDW.com on April 13, 2015, and are in USD. I\u0026rsquo;ve published these prices for comparative purposes - you can probably get a bigger discount, particularly if you\u0026rsquo;re buying HPN kit. ","permalink":"https://lkhill.com/hp-imc-edition-comparison/","summary":"\u003cp\u003e\u003ca href=\"https://www.hpe.com/networking/imc\"\u003eHP IMC\u003c/a\u003e was originally offered in two editions - \u003ca href=\"https://www.hpe.com/us/en/product-catalog/networking/networking-software/pip.hp-intelligent-management-center-standard-software-platform.4176535.html\"\u003eStandard\u003c/a\u003e and \u003ca href=\"https://www.hpe.com/us/en/product-catalog/networking/networking-software/pip.hp-intelligent-management-center-enterprise-software-platform.4176520.html\"\u003eEnterprise\u003c/a\u003e. As of v5.2, there is also a \u0026ldquo;\u003ca href=\"https://www.hpe.com/us/en/product-catalog/networking/networking-software/pip.hp-intelligent-management-center-basic-software-platform.5333786.html\"\u003eBasic\u003c/a\u003e\u0026rdquo; edition. The new \u0026ldquo;Basic\u0026rdquo; edition is feature-limited, aimed at smaller customers with limited network management requirements.\u003c/p\u003e","title":"HP IMC - Edition Comparison"},{"content":"I have to pass two exams to complete HP Master ASE - Network Infrastructure. I recently passed the first of these, \u0026ldquo;HP0-Y32: Designing and Troubleshooting Open Standard Networks.\u0026rdquo;\nPreparation I did not attend any official training. I read the official HP Press Study Guide for this exam. I spent around 3-4 weeks reading this in my spare time. As I went through each chapter, I made flashcards covering items that seemed important to me. Depending on your background, you\u0026rsquo;ll need to pay more attention to specific areas - e.g. you may need to pay extra attention to Comware configuration if you haven\u0026rsquo;t used it before.\nI set the flashcards in Mental Case to \u0026ldquo;Long Term Study\u0026rdquo; mode. Every day, I would flip through whichever cards Mental Case said were due.\nEach chapter had practice questions that I went through after reading the chapter. The only other preparation was completing the Sample Test of 74 questions at the end of book.\nI didn\u0026rsquo;t worry too much about any other specific labs or practice. I completed CCIE R\u0026amp;S last year, so most routing/switching concepts were fairly fresh. I did do some small labs with a ProCurve platform I have access to. I have managed Comware-based platforms in the past, so I\u0026rsquo;m generally familiar with their configuration. This is not a test of speed configuration (like the CCIE lab), so I didn\u0026rsquo;t feel the need for large amounts of hands-on time. The ideal setup for this lab would be to have two of each of Cisco, Comware and ProVision switches, so you could try out all kinds of weird and wonderful interoperability scenarios.\nWarning: I didn\u0026rsquo;t find any other useful blogs out there about this exam. Sadly, if you plug the exam code into your favourite search engine, 99% of the results are from cheating sites. Hopefully this blog will put at least a bit of legitimate info out there. I also read several free PDFs from HP, covering IRF Configuration, ACL \u0026amp; QoS Configuration, and PVST+/MSTP interoperability.\nTopics/Coverage HP is pretty explicit about what the exam covers. The exam blueprint says that the questions are split like this:\n44% - Troubleshooting HP Networks - covers Layers 1-4. 49% - Interoperability - VLAN management, Link Aggregation, STP/MSTP/PVST+, IRF, Layer 3 Redundancy, OSPF and NAT 7% - HP Network Design Principles I can assure you that the exam was pretty much just as advertised. At first it felt like I was getting hammered on Interoperability questions, but then it rounded out with more troubleshooting.\nThe troubleshooting section is a little harder to study for, as most of this comes from experience. If you understand the underlying protocols, and have experience working in real networks, you will be fine. It\u0026rsquo;s not going to go incredibly deep into a specific protocol, but you should be able to look at a problem description and symptoms, and be able to make an educated guess about where the problem might lie.\nNote: As an example, consider a problem description that shows an interface in down/down state: The answer is not going to be an ACL issue! (Not a question on the real exam, of course) Interoperability is probably easier to study for. They tell you what areas to focus on, and it\u0026rsquo;s not that big a list. E.g. STP - you need to know what the capabilities are of each platform, and what it means when Cisco switches run PVST+, and your HP switches don\u0026rsquo;t talk PVST+. You need to understand what will happen when you introduce standards-based equipment into your \u0026ldquo;Cisco-enhanced\u0026rdquo; standards-based network. There\u0026rsquo;s a limited number of possible combinations here, so you should make sure you understand what they are, and how different vendors behave. Understanding the underlying protocols is key here. If you understand how STP actually operates, you should be able to work through any possible combination. The challenge I have with STP is that sometimes I\u0026rsquo;m a bit slow working through the process. Know the rules, and you can work through any topology.\nDon\u0026rsquo;t expect to pass this exam with just Comware/ProVision knowledge - at least one question was entirely Cisco-based! A bit odd for an HP exam, but acceptable for what they are trying to test with this exam. Don\u0026rsquo;t worry though, it was not a deep technical Cisco question. Anyone with experience of mixed platforms would be fine.\nDifficulty This was not an easy exam. It was not over the top in difficulty, but I found that many of the questions needed a bit of reading and thinking. I knew I had 2 minutes per question, and after half an hour I was getting a bit concerned about time management. Luckily I got a few shorter questions, and I made up some time. I still only had around 15 minutes left at the end for review. This was a lot less than I would like to have, for a 2:30 exam.\nNone of the questions seemed to be trying to deliberately catch you out - most of them seemed to be trying to make you think. The number of quick \u0026ldquo;easy\u0026rdquo; questions felt pretty low. Maybe that was just me though!\nThe questions all seemed fair, with few \u0026ldquo;trivia\u0026rdquo; questions. One thing that pleased me was that several of the questions were the sort of thing that any experienced network engineer should be able to solve, with a little thought. But if you didn\u0026rsquo;t have any real-world experience, you might come unstuck. That\u0026rsquo;s a good exam to me.\nExam Quality All the diagrams were clear. No problems with fuzzy pictures. There was at least one question where I am certain that there was a typo that affected the answer (well\u0026hellip;unless I went completely wrong here!) Generally the wording was clear, although it could be a lot to take in for some questions. Many of the questions had a separate pop-up link to show more detailed output. After two hours, the pop-ups stopped working. Any attempt to open a pop-up gave me a 403 error. My guess is that there was a two-hour timeout on the authentication. Most testing wouldn\u0026rsquo;t pick up the problem, and those candidates who are quicker than I am won\u0026rsquo;t come across the issue. Since I couldn\u0026rsquo;t read all the information, I had to take a guess at what they were trying to ask me, and pick one of the most plausible answers. With multiple choice questions, you can usually discount at least one or two of the answers. I have fed this back to the exam team, so they\u0026rsquo;re aware of the issue. [EDIT: See comments below - this issue has now been resolved.] Your blueprint tells you your score for each of the 15 sections, and it also tells you exactly how many questions there were in each of those questions. I quite liked this - I don\u0026rsquo;t think anyone else does it. Other vendors I\u0026rsquo;ve tested for (Cisco, Check Point, etc) give you a percentage for each section, but some sections are 3 questions, others are 20 questions. Conclusion It\u0026rsquo;s been well over a decade since I last took an HP exam (HP-UX, no less). It was pleasing to me to see a generally good quality exam, with a somewhat different feel to Cisco exams. I\u0026rsquo;m undecided if the exam should include simulations - that\u0026rsquo;s not really what they\u0026rsquo;re aiming for with this exam. Possibly they should, to deter the dumpers.\nIf you have a solid networking background, with experience across HP and Cisco platforms, you should be fine. You can choose if you want to pay for the study guide or not. If you have a lot of experience with configuring mixed networks, you will probably be OK. But make sure you actually understand the underlying protocols.\nIf your networking background is weaker, you may be better off attending some of the Instructor Led Training run by HP. They run Fast Track courses for those with Cisco experience - these might be more appropriate if you\u0026rsquo;ve only ever configured Cisco kit.\n","permalink":"https://lkhill.com/hp0-y32-exam-review/","summary":"\u003cp\u003eI have to pass two exams to complete \u003ca href=\"/hp-master-ase-network-infrastructure/\"\u003eHP Master ASE - Network Infrastructure\u003c/a\u003e. I recently passed the first of these, \u0026ldquo;\u003ca href=\"http://www.certificationexplorer.com/Documents/HP0-Y32.pdf\"\u003eHP0-Y32: Designing and Troubleshooting Open Standard Networks\u003c/a\u003e.\u0026rdquo;\u003c/p\u003e","title":"HP0-Y32 Exam Review"},{"content":"I’ve had a couple of questions come up about how I organise my life around work/study. I can’t promise all the answers, but I can relate what I’ve done over the last 18 months. Pretty much all the other certifications I’ve studied for were trivially easy compared to CCIE, or I was studying full-time, as in the case of my degree. This one was different. Far more time-consuming, and I had to organise things better if I was going to get through it. The other challenge I had was changing jobs about a year ago. Previously I was working at one place, so I had one list of tasks to do. Now I work in more of a consulting role, and I’m often in quite short-term engagements. That means multiple lists of tasks, for multiple clients. My previous methods weren’t keeping pace.\nFirst piece of advice: Find a partner that will support you in everything you do, and make sure that you discuss your plans with them. If you’re going to invest a lot of time in something, you need to make sure that those around you understand when you will be busy, and when you will be available. Without their support, it doesn’t matter what else you do – it will end in tears.\nTask Management - OmniFocus Now for some specifics around managing tasks. I worked out that my challenges came down to keeping track of all the things I promised I would do, and making sure I was getting through my study plans. So I started looking around to see what was out there in terms of A) Strategies, and B) Software that could help.\nAfter a bit of investigation, I settled on using a version of the Getting Things Done system by David Allen, also known as GTD. I certainly don’t follow all his steps exactly – I use a modified version, based in good part upon the writings at Asian Efficiency. These writings proved extremely helpful, both in providing general strategies, and specific instruction around how to use the software package I settled on – OmniFocus.\nYou can have a read of the strategies at Asian Efficiency yourself, but some of them I try to use are Eat That Frog, and the Pomodoro Technique. The first one means: That task you don’t want to do? Get it done first thing, and then the rest of the day is easier. The second one is about how to divide your time into manageable chunks of time, with scheduled breaks. Another strategy I’m working on (not always successfully) involves not checking your email first thing, but spending the first part of the day doing things like exercise, and planning your day. They have a series of posts on how to use OmniFocus, and how to integrate it into your life.\nI chose OmniFocus for its reputation for power and quality, and because it works across the systems I use – MacBook Air, iPad, iPhone. OmniFocus is a tool for “staying on top of all the things you need to do.” It works well with the GTD system, and it has clients for OS X and iOS. These all synchronise, so updates on my phone show up on my laptop. The only problem is the price – it’s not cheap, especially if you buy all three of the apps – one for OS X, one for iPhone and one for iPad. But I’ve gone down the path of using it, and I think it’s helping.\nAny new tasks that come up get added to OmniFocus. Initially they’re not sorted – that gets done once per day. Tasks are grouped by various projects – e.g. each of the customer projects I’m working on, or CCIE study. They can also have a “context” applied – so I can quickly find all the tasks for a specific project, or all the specific types of tasks – e.g. chores around the house. Tasks can also be set to recurring. I can add a task for getting a haircut, and set it to re-occur 4 weeks after it is completed. The task comes up as due, I get a haircut, mark it as complete, then it disappears for 4 weeks. You can play around with how things re-occur too – some will come up again every week, regardless of if you completed it last week or not – e.g. paying rent. Others will only come up again a specific period after you completed it. Haircuts fall into that category – if you leave it a couple of weeks, then the next one is due 4 weeks from when it actually got done, not 4 weeks from when it should have been done. Tasks can have start times, and/or due times. They may not have any specific due date. Some things I note down simply because it’s something I would like to do one day, but there’s no pressing timeframe. That way it doesn’t get forgotten.\nAn example of the way I use these systems is that I have recurring tasks set up, where every morning I need to review my calendar, and choose my most important tasks for the day. This ensures that I don’t forget the meeting I scheduled weeks ago, and that I go through my list of tasks, and give myself 3-4 to do that day. Now I have a plan of attack, and I know where I’m going to spend my time that day. As I finish tasks, they get marked complete in OmniFocus. Every evening, I check to see what tasks I’ve added during the day, and make sure they get correctly categorised.\nIt does sound like a bit of work, and it is a bit, but you can do the steps pretty quickly. It’s no more time than would be spent on managing paper lists, but this is far more flexible, since I can assign dates to things, re-categorise them, shuffle them about, etc. And since it’s synchronised across my iDevices, it means I can almost always readily access my list of things to do.\nUsing OmniFocus for Study When studying, I would add separate tasks for each of the sections I wanted to study. I would also have daily tasks set up for reviewing flashcards. This made it far less likely that things would slip. By having everything written down, it also takes it out of your head, and means you’ve got one less thing to worry about.\nI guess it’s just another one of those ways that CCIE study has changed me – it’s not about the technologies, it’s about the methods, the strategies, the techniques – these are things I can apply to anything else I do in life.\nMore Efficiency Overall? Am I an Efficient Asian? Perhaps not yet, but it’s a work in progress, and I continually aim for better. I actually need to sit down and see how far my current practices have diverged from the recommended ways of doing things. Anyone have any thoughts they’d like to share on how they manage their life?\nOne more thing to add about productivity – I have been Facebook-free for some time now. Very liberating.\n","permalink":"https://lkhill.com/maintaining-order-tools-and-tips/","summary":"\u003cp\u003eI’ve had a couple of questions come up about how I organise my life around work/study. I can’t promise all the answers, but I can relate what I’ve done over the last 18 months. Pretty much all the other certifications I’ve studied for were trivially easy compared to CCIE, or I was studying full-time, as in the case of my degree. This one was different. Far more time-consuming, and I had to organise things better if I was going to get through it. The other challenge I had was changing jobs about a year ago. Previously I was working at one place, so I had one list of tasks to do. Now I work in more of a consulting role, and I’m often in quite short-term engagements. That means multiple lists of tasks, for multiple clients. My previous methods weren’t keeping pace.\u003c/p\u003e","title":"Maintaining Order: Tools and Tips"},{"content":"As part of my preparation for the \u0026ldquo;HP0-Y32: Designing and Troubleshooting Open Standard Networks\u0026rdquo; exam, I used the official study guide from HP Press: \u0026ldquo;HP ASE Network Infrastructure Official Certification HP0-Y32 Exam Guide.\u0026rdquo;\nHP0-Y32 Study Guide\nI used the Kindle version of this book. My preference would have been a non-DRMed format, but the only alternative electronic version as an Adobe-restricted file, and there was no way I would buy that.\nContent Roughly, the book is divided into two sections. The first section covers the topics of switch management, Spanning-Tree, Layer 3 Redundancy and Routing. It looks at how each of the topics is configured for ProCurve, Comware and Cisco systems. For spanning tree in particular, it focuses on the interoperability gotchas and caveats when deploying a mixed network. Ultimately it can\u0026rsquo;t go too deep in any one topic, since it has to cover a range of topics, for three different operating systems.\nThe second section of the book covers the troubleshooting processes, from Layer 1 to 4. From a process perspective, this will be nothing new for anyone who has done much troubleshooting. You will pick up some HP commands, if you haven\u0026rsquo;t had much exposure to those.\nEach chapter has a set of practice questions, and the book ends with a complete sample test of 74 questions. I like this format, as having to go through questions regularly helps ensure I\u0026rsquo;m actually taking in some of what I\u0026rsquo;m reading. None of the questions were overly taxing though - personally I found the real exam questions a bit trickier and more time-consuming. But the sample questions were sufficient for ensuring you are paying attention to your reading.\nErrata After reading so much while studying for CCIE, I take a slightly more critical eye to textbooks now. There were many minor technical and typographical errors in this book. Nothing major, but they are quite jarring to me. I suspect that the Kindle version may be worse, as there were many layout/formatting issues. Basic things like a table of contents didn\u0026rsquo;t work when reading the book on my iPad using the Kindle app. Overall, I wasn\u0026rsquo;t particularly impressed with using Kindle for reading technical texts. Maybe it would work better if the book had been laid out with Kindle in mind, and not just pasted in.\nAfter the first couple of chapters, I started noting down the errors. I created two separate files for errata - one for technical errors, and one for layout/typo issues. These have been submitted to the publisher, but I don\u0026rsquo;t know when they will be integrated into future editions. (Files are in RTF format).\nHP0-Y32 Technical Errata HP0-Y32 Typographical Errata Overall Recommendation Would I buy this book again? If you\u0026rsquo;re planning on studying for the HP0-Y32 exam, then yes, I would buy the book. It covers most of what you need to know, and is not too onerous to read. Would I buy it purely as a reference? No, you can probably get by with the various free publications and references HP has, such as:\nHP Networking and Cisco CLI Reference Guide - note you can buy the physical book for $21.95, or download the PDF for free HP 5920 ACL and QoS Configuration Guide PVST Interoperability Guide HP 5920 IRF Configuration Guide ","permalink":"https://lkhill.com/hp0-y32-study-guide-review-and-errata/","summary":"\u003cp\u003eAs part of my preparation for the \u0026ldquo;HP0-Y32: Designing and Troubleshooting Open Standard Networks\u0026rdquo; exam, I used the official study guide from HP Press: \u0026ldquo;\u003ca href=\"https://h30590.www3.hp.com/product/HP\u0026#43;ASE\u0026#43;Network\u0026#43;Infrastructure\u0026#43;Official\u0026#43;Certification\u0026#43;HP0-Y32\u0026#43;Exam\u0026#43;Guide-Hardcover-864\"\u003eHP ASE Network Infrastructure Official Certification HP0-Y32 Exam Guide\u003c/a\u003e.\u0026rdquo;\u003c/p\u003e","title":"HP0-Y32 Study Guide - Review and Errata"},{"content":"What is the \u0026ldquo;HP Master ASE - Network Infrastructure\u0026rdquo; certification? HP has certification tracks covering most of its offerings - Servers, Storage, Software, Blades, Networking, etc. Within each track, there are up to three levels of certification - AIS, ASE and Master ASE. These roughly map to Cisco\u0026rsquo;s CCNA, CCNP and CCIE certification levels. There are three Networking-related tracks - Network Infrastructure, Network Architect, and Wireless Networks Implementer. These approximately map to Cisco\u0026rsquo;s Routing \u0026amp; Switching, Design, and Wireless tracks, respectively.\nI\u0026rsquo;ve decided to pursue the \u0026ldquo;HP Master ASE - Network Infrastructure\u0026rdquo; certification. According to HP:\nThis certification validates that the technical professional is capable of designing, implementing and troubleshooting enterprise level network solutions, using established core and backbone Layer 2 and Layer 3 technologies such as MPLS and BGP4. This certification also validates that the technical professional can successfully migrate proprietary protocols to open-standard protocols using strategies that reduce risk and downtime.\nWho is it for? The main target is engineers who work on combined HP/Cisco networks, and have at least 5 years experience. The Master ASE level is aimed at around CCIE level, although with no lab requirement (see below), it will always be considered below CCIE/JNCIE.\nYou could maybe argue that the main focus at this stage is HP employees and partners, not direct customers. I don\u0026rsquo;t (yet) see job ads that require HPN certification, nor am I aware of any partner requirements for minimum numbers of certified employees. If HP could get to more like 33% market share, then perhaps we would see a shift towards companies specifically requiring HP certifications.\nOne of the things they are strong on is interoperability, not just being able to configure \u0026amp; troubleshoot HP equipment. I\u0026rsquo;m sure they\u0026rsquo;d like to be able to focus on HP, but they\u0026rsquo;re realistic about modern networks. Most people implementing HPN equipment will either have a Cisco background, or they will be migrating their current network from Cisco to HP. This certification will suit them.\nHow do I get it? HP has tiers of certifications. The lowest level is \u0026ldquo;AIS - Accredited Integration Specialist.\u0026rdquo; The mid-tier is \u0026ldquo;ASE - Accredited Systems Engineer.\u0026rdquo; The top level is the \u0026ldquo;Master ASE - Master Accredited Systems Engineer.\u0026rdquo; Each level has specific exams that must be passed, before being able to move on to the next level. All exams are the typical multi-choice proctor-run exams, held at Pearson Vue centers worldwide. There are no lab exams.\nBut if you already hold Cisco certifications, you may be eligible to go through the \u0026ldquo;Fast Track\u0026rdquo; program. See this flow diagram:\n)\nFast track pathways to HP Certification source\nSince I already hold the CCIE R\u0026amp;S certification, I don\u0026rsquo;t need to go through the lower levels. I can go direct to the highest level. It\u0026rsquo;s also a slightly different set of exams I have to pass. HP\u0026rsquo;s philosophy is \u0026ldquo;You\u0026rsquo;ve already proven you know these technologies - we only need to test you on the specifics of using the technologies on HP equipment.\u0026rdquo;\nI need to pass these two exams:\nHP0-Y32: Designing and Troubleshooting Open Standard Networks HP0-Y37: Migrating and Troubleshooting Enterprise Networks Both of these exams are multi-choice exams, around 2-3 hours long.\nI also need to submit proof that I have passed CCIE R\u0026amp;S.\nWhy am I doing it? I don\u0026rsquo;t do hands-on network configuration these days. But as I work more with network configuration management tools (rather than just network monitoring tools), I need to be able to keep up with element configuration across a variety of vendors and platforms. Several of my customers are in the process of migrating from Cisco to HP network platforms, and I expect this to continue. The price differential in both up-front and support costs for HP vs Cisco is too great to ignore.\nPlus I\u0026rsquo;ve got all this time on my hands now, post-CCIE. I\u0026rsquo;m ready for some more study, and a different challenge. The fact that HP gives me credit for my CCIE study is the icing on the cake.\nAs I work through the exams over the next couple of months I\u0026rsquo;ll post more specific details, along with a review of the exams. Hopefully I\u0026rsquo;ll be able to pass both of these exams within the next three months.\nResources I have not found any blogs out there covering achieving this certification. Hopefully my series of posts will go some way to improving the situation.\nI have also not been able to find anyone offering rack rental for HP equipment, or any legitimate simulators. There are rumours of a Comware simulator, but there is nothing official. There\u0026rsquo;s not a huge amount of current second-hand HP equipment available either - luckily the price of new kit is not too high.\nThe only study guides available are official HP press titles. Good thing there\u0026rsquo;s a few familiar authors there - some of them are written by Richard Deal, who wrote the CCNA book I used way back in 2004.\nMain HP Certification page HP Master ASE - Network Infrastructure main page HP Press - study guides HP0-Y32 exam guide HP0-Y37 exam guide ","permalink":"https://lkhill.com/hp-master-ase-network-infrastructure/","summary":"\u003ch2 id=\"what-is-the-hp-master-ase---network-infrastructure-certification\"\u003eWhat is the \u0026ldquo;HP Master ASE - Network Infrastructure\u0026rdquo; certification?\u003c/h2\u003e\n\u003cp\u003eHP has certification tracks covering most of its offerings - Servers, Storage, Software, Blades, Networking, etc. Within each track, there are up to three levels of certification - AIS, ASE and Master ASE. These roughly map to Cisco\u0026rsquo;s CCNA, CCNP and CCIE certification levels. There are three Networking-related tracks - Network Infrastructure, Network Architect, and Wireless Networks Implementer. These approximately map to Cisco\u0026rsquo;s Routing \u0026amp; Switching, Design, and Wireless tracks, respectively.\u003c/p\u003e","title":"HP Master ASE - Network Infrastructure"},{"content":"Recently I was involved in a discussion on HP\u0026rsquo;s IMC Forum, where MohammadH needed help with IMC. One of the problems he had was switch backups not working properly. It can be a bit of a chore tracking down the source of the problem, but the best place to start is usually \u0026lt;IMC install dir\u0026gt;\\server\\conf\\log\\imccfgbakdm.\u0026lt;current_date\u0026gt;.log.\nThis logfile is a bit tricky to read, but there is a huge amount of information on the processes that IMC has gone through when trying to back up a device. In this case, we came across these lines in the logfile:\n1 2 2013-02-04 08:14:10.344 [INFO (0)] [THREAD(2580)] [CTclExecutor::exec_impl()] Begin to exec: spawn telnet 192.168.0.17 2013-02-04 08:14:10.361 [ERROR (1)] [THREAD(2580)] [CTclExecutor::exec_impl()] Failed to exec cmd: spawn telnet 192.168.0.17, error message: The system cannot find the file specified. This is a problem that I\u0026rsquo;ve come across a couple of times, where IMC can\u0026rsquo;t find the telnet.exe binary it uses for device backup. IMC should use its own copy, located at \u0026lt;IMC install dir\u0026gt;\\server\\bin\\. But what I\u0026rsquo;ve seen is that if Telnet Client is disabled on Windows 2008 R2 (as it is by default), then IMC never installs its own copy of telnet.exe. Enabling the Windows Telnet Client, and manually copying that binary over doesn\u0026rsquo;t work either - you must use the version that IMC expects.\nThe easiest way to find it is to use the original IMC installation files. Look in windows\\install\\components\\common\\server\\commonserver_win.zip. Extract telnet.exe, and copy it to server\\bin\\. Backups should now work.\nNote: If you use SSH or SNMP read-write, you probably won\u0026rsquo;t notice this issue.\nFor a more in-depth look at tracking down problems with a device backup script, and how to fix it, check out my Packetpushers post - \u0026ldquo;HP IMC: Backup Cisco ASAs via SSH\u0026rdquo;\n","permalink":"https://lkhill.com/imc-backups-telnet/","summary":"\u003cp\u003eRecently I was involved in a discussion on \u003ca href=\"https://community.hpe.com/t5/IMC/bd-p/network-management-a-series-forum\"\u003eHP\u0026rsquo;s IMC Forum\u003c/a\u003e, where MohammadH \u003ca href=\"https://community.hpe.com/t5/IMC/Help-with-IMC/m-p/5952971\"\u003eneeded help with IMC\u003c/a\u003e. One of the problems he had was switch backups not working properly. It can be a bit of a chore tracking down the source of the problem, but the best place to start is usually \u003ccode\u003e\u0026lt;IMC install dir\u0026gt;\\server\\conf\\log\\imccfgbakdm.\u0026lt;current_date\u0026gt;.log.\u003c/code\u003e\u003c/p\u003e","title":"IMC - Backups not working via Telnet?"},{"content":"For HP exams, you need a \u0026ldquo;Learner ID.\u0026rdquo; Apparently your HP Passport account is not enough, and they like to maintain separate databases. Just to confuse things. You will need a Learner ID to get access to the HP Learning Center (where there is some free content), and to schedule exams.\nIt can take a few days to sort out access, and there are different processes for customers, partners and students. If you intend to pursue any HP certification, I highly recommend you get onto this part of the process early. You don\u0026rsquo;t want to be ready to schedule your exam, then get lost in the quagmire that is HP bureaucracy. So do it now! Go to \u0026ldquo;HP Learner ID - HP ExpertOne\u0026rdquo; and click the appropriate Customer/Partner/Student link.\nNote that HP employees use their Employee ID for their Learner ID.\n","permalink":"https://lkhill.com/hp-learner-id/","summary":"\u003cp\u003eFor HP exams, you need a \u0026ldquo;Learner ID.\u0026rdquo; Apparently your HP Passport account is not enough, and they like to maintain separate databases. Just to confuse things. You will need a Learner ID to get access to the \u003ca href=\"http://h20507.www2.hp.com/Saba/Web/Main\"\u003eHP Learning Center\u003c/a\u003e (where there is some free content), and to schedule exams.\u003c/p\u003e","title":"HP Learner ID"},{"content":"This is from my post on northlandboy.com, shortly after passing the CCIE R\u0026amp;S lab on my second attempt:\nOn September 21st 2012, in Sydney, I took the CCIE R\u0026amp;S lab for the second time. The first time I wasn’t fast enough, nor did I have a sufficient depth of knowledge at my fingertips. This time, through a combination of hundreds of hours of practice, revised study techniques, and a little luck, I proved good enough to pass the lab. The average number of attempts is around 2.7, and right back at the start I said I’d be happy to pass it in two attempts. Well guess what? I am happy aboutThere’s a reason you haven’t heard much from me in the last couple of months, and that’s because I’ve had to become very narrowly focused, eliminating all distractions. I couldn’t afford to take a month off work, so instead I needed to use all the available time I had outside work for study. That meant I have done very little other than work and study for the last couple of months, since I got back from LA. Most nights and usually both days at the weekend I could be found stuck in the office. Time on the bus wasn’t wasted – I would be reading flashcards on my phone, or maybe flipping through Ruhann’s Routing-Bits handbook. When I was doing a long drive, I’d put on the INE audio boot camp, to listen to Scott Morris talking about MPLS, BGP and PfR. Not surprisingly, this was only on those trips when I was alone in the car.\nAll this work started to take it’s toll. I now have a handful of grey hairs I didn’t have when I started. I started getting RSI from all the time spent at the keyboard. I put on a bit of weight from the reduced activity levels. It placed a bit of stress on my marriage, as Anna only had me around for limited times, and I was always studying. But she did everything within her power to help me succeed. She looked after me, gave me support, and gave me space when I needed it. Without her love and support I would not have been able to do this. I have no idea how people who have young children manage to get through it.\nLast year, I didn’t feel like I was all that far off passing. I passed the Troubleshooting section, and only two questions were (I felt) unanswerable. I’d gone in with a strategy of “know the basics well, and know where to look in the documentation for the remaining sections if you get stuck.” That wasn’t good enough. The CCIE lab exam has moved from being a logic test to more of a speed test. You need to be able to rattle off a wide range of configurations. You just don’t have time to go looking for things in the documentation. As far as I can tell, they also seem to deliberately slow down access to the docs too, making it a painful process searching for content. Or maybe it’s just that they use an old version of Internet Explorer? Regardless, I needed to improve on my speed.\nPreparing for the Second Attempt So this year I took a different approach. Rather than working on multi-protocol labs, where you configure a range of technologies, with weird and wonderful interactions, I instead focused on individual areas. Work through all the options for a technology, then move on to something else. I also signed up for Narbik’s bootcamp in LA. This gave me access to new materials, and a new way of looking at things.\nThe other big change to my study techniques was the move to using flash cards. These have come a long way from when people would write out hundreds of cards, and carry them around. Now we can use tools like Mental Case. You still need to type out your cards, but now you can synchronise them with your phone. It can also track them, remembering which ones you got right and wrong, and using “spaced learning” techniques to decide which cards you should study, when. As I worked through different technologies, I would add to my set. I particularly focused on small snippets of configuration. Each day, I aimed to flip through 30-50 cards. You get sick of them after a while, but I think this really helped, especially with the “non-core” technologies, where you don’t configure them as often.\nIn the last few weeks, I took a couple of practice exams, and scored reasonably well. Every evening, Saturday and Sunday, and all the last week, I booked time on labs of real equipment. I took the last week off work, and used that time to really drill into the topics I didn’t want to see on the lab. After a while, I would have been quite happy to see them on the lab, as I felt I had a good understanding. Cisco seemed to know that though, and so they didn’t ask many questions on those areas!\nI flew over to Sydney the day before the exam. I used up one of my free upgrades to get bumped up to Business class. A bit of a waste for a short-haul (3 hour) flight, but I had to use it up soon anyway. That gave me more space, lounge access, etc. Worth it. Only did a bit of study the day before though. I wanted to feel relaxed, not stressed about cramming in content.\nThe Lab On the day of the lab itself, it took me about 10 minutes to get into the rhythm of it. At first you’re a bit stressed, but then you start answering questions, and things fall into place. Around the middle of the day I thought to myself “You’ve got a damn good chance of passing today, if you don’t mess it up.” But there was still a lot of work ahead of me. All I could do was keep plugging away at it, and not get bogged down with anything. With around 45 mins to go, I went back and checked over my work. Found a couple of stupid mistakes, which would have cost me at least 10%. I believed I’d answered everything, but I couldn’t be certain I hadn’t missed any key details. I also could have broken some restrictions (some of the wording was a little unclear). Not much I could do about it though.\nAfterwards Just tried to relax for the evening, have a couple of beers, watch some TV. I had hoped for results before I went to sleep, but it wasn’t until early the next morning they came through. They don’t just email you the results, they send you an email telling you to login to check your results. Quickly try to login, try to make sense of their 1990s-style website, and there’s the result: PASS. I am now CCIE #36708! I didn’t jump up and down (It was 6am and I was still in bed), but I was pretty happy. I’d put so much more effort into it this time around, and I knew I was so close, so it would have been extremely disappointing if I had missed out. First thing to do was to let Anna know. She was probably more nervous waiting than I was.\nOn the way home, I had lounge access at Sydney airport, so could have had free beer and wine. But it was only 9am, and I was just too drained to bother. When I got home, Anna and I had a rather expensive bottle of champagne. No great celebrations though – we were both tired, and quiet night on the couch was just what we needed.\nI haven’t worked out exactly how much I’ve spent over the last 18 months. Probably somewhere between $15 and $20,000NZD. God knows that the time cost. All going well, it will be repaid over the course of my career. Having a CCIE doesn’t quite guarantee you a job like it once did, but it gives you opportunities. It doesn’t mean that I will move jobs, but it does mean that if/when I do want to move, there’s more doors open to me.\nThe Future? I haven’t decided exactly what I’ll do next. For the next few weeks I’m just going to take it easy. Even now, over a week after the exam, I’m not quite back to normal. I was tired for days afterwards, having been under so much stress. For now, I’ll just do jobs around the house and relax. But in future…Narbik thinks I should take on another CCIE. He says I’m young, why WOULDN’T I do it? I’m also tempted to do HP’s Master ASE certification (much easier cross-over now I have CCIE), and maybe CCDE. Will have to have some negotiations with Anna first. Right now it’s my turn to look after her, and help her get through her exams this year. She deserves some payback for all she’s done for me.\nReference My success story at IEOC had more technical detail, if you\u0026rsquo;re that way inclined.\n","permalink":"https://lkhill.com/ccie-success/","summary":"\u003cp\u003eThis is from my post on northlandboy.com, shortly after passing the CCIE R\u0026amp;S lab on my second attempt:\u003c/p\u003e","title":"CCIE: Success!"},{"content":"From an earlier post on northlandboy.com, this was my review of the boot camp I attended as part of my CCIE study.\nI’m currently sitting in the Air New Zealand Lounge at LAX, waiting for my flight back to Auckland. I’m still feeling a little shell-shocked, after what was a full-on week of CCIE training. I’ve just completed a 5 day CCIE boot camp with the well-known Narbik Kocharians, of Micronics Training. I’ve been on all sorts of training courses over the years, and I can tell you that I have never been on one like this.\nNew Micronics training location in Glendale - see arrow\nTraining isn’t always easy - normally I end up going to training in the day, and then doing my “normal” work in the evening. It makes for days that are a bit longer than normal, but nothing excessive. This was different. For this course, I deliberately had my phone off all week, and never even looked at my work email. There simply wasn’t time. Training courses are normally much more relaxed affairs, usually no more than 6-7 hours per day. Not so for Narbik. We’d start around 9am, and just push on and on. Class would finish around 9-10pm, and then you’d go back to your hotel to work on labs for another hour or two. Except on Thursday. Then I stayed working on labs until 4:15am. That’s right, we were in class until 4:15 in the morning. Another hour and it would be getting light again. And I wasn’t the last to leave.\nIt wasn’t hard to pay attention though. Narbik won’t let you drift off. No Powerpoint presentations. No projector in use at all. I know other instructors will regularly demonstrate things on live routers, but Narbik sticks with the whiteboard. Technologies broken down, diagrams and tables built, then he just reels off Cisco IOS commands, and all their options, simply by writing them up on the board. It’s one thing to know the configs off the top of your head, that’s quite another when you can list all the options a command has. He says that he’s getting older, and his memory is not so good, but then he goes and lists 30 or 40 RTP Payload types and codes. This is all done in a highly engaging style. Apparently Cisco routers are run by little green guys, who are pissed off at everyone else for being taller than them, and this explains why IOS has so many inconsistencies and bizarre implementation details. Oh and apparently working on BGP labs is good for your cholesterol.\nAnd then when he’s done talking about something, he’s got complete workbooks with hundreds and hundreds of pages of labs, with full explanations. These are not chances to show off all sorts of devious little IOS tricks - instead each lab focuses on a technology, and covers it from all angles. Everything outside of the technology is simplified, so that you can focus on exactly what you need to. Rather than being told “OK, do lab 1.1, 1.2 and 1.3 and then I’ll review your progress,” things worked a bit differently here - Narbik would suggest working on say BGP labs. It was then up to you to work out how much you wanted to do, and where to focus your attention. This recognises that everyone takes a different journey towards the CCIE, and making everyone do the same set of tasks doesn’t make sense. Some people were early on in their preparations, some had attempted the lab multiple times. Some are strong in MPLS, others have only vaguely heard of it. Ideally you already need a strong foundation before attending this course - it’s not for beginners. To get the most out of it, you need to have a pretty good idea of the fundamentals before you get there. But what if you do find it’s too much for you at this stage? No problem - Narbik offers a policy of free re-takes. I’ve never seen this before with training courses. You can keep coming back as many times as you like. No problem at all. In fact he encourages it.\nThis is another thing that is different - Narbik is genuinely concerned with helping people achieve their potential. Need to call him because you’re stuck on something? No problem - here’s his mobile number. Having a problem with something a few weeks down the track, and a quick back and forth with email isn’t helping? No problem - he’ll do a Skype session with you. For free. The other thing he’ll do is give you an honest assessment of how ready you are for the CCIE lab. You might not like it, but he’s got no problem with telling you that you’re not ready. He’s been training CCIEs for a while, and he can fairly quickly gauge where you’re at. If he think’s that you are ready, then it doesn’t mean you’ll definitely pass - but you probably will on your next attempt, and almost certainly within 2 attempts.\nThe other thing about this course was the people. Rather than a bunch of people who’d been told by the boss they had to attend some dull course for compliance reasons, this course was all people who had decided they wanted to become CCIEs. Many were paying for the course out of their own pockets, so you’ve got a bunch of committed people, all intelligent engineers with a strong networking focus. You just don’t regularly get 20 of those in one room. Many were staying for the full 12 days too, which goes deeper into the non-core technologies. Due to time and money, I only did the first part, which focuses on core technologies, and is the basis of Narbik’s traditional 5-day boot camp. That’s OK, I’ve got plenty of labs to work through the rest of the material, and I know Narbik will offer advice if I get stuck.\nWe were the first class to run in the new training facility in Glendale, CA. Narbik holds courses all around the world, held in hotels and the like, but now he’s got his own dedicated space, in his hometown. There’s a few minor items still being sorted out, but nothing that caused us any problems. I thought there was plenty of light already, but he wants even more lights put in, so there’s absolutely no chance of anyone falling asleep. Not that you were likely to anyway. Well maybe on Friday.\nI stayed at Extended Stay Hotels, which was just down the road from the training centre. An easy walk, maybe 5-10 minutes. This was probably the best option, as it’s cheaper than the Hilton, and you don’t waste any time getting to or from the training centre. Trust me, this is a good thing when you’re heading home well after dark. You don’t want to muck around with transport, when you\u0026rsquo;re trying to get to bed. Free Wi-Fi too. Perhaps not as nice a place as the Hilton, but you get a usable kitchen and good-sized fridge. Another useful thing when you might be eating at strange times, and/or you’re trying to keep costs down. Narbik will also pick you up from here or the Hilton if needed, as it’s on the way to/from his house.\nThe only problem I had with the hotel was…bedbugs. Again. But not in Singapore for once! It’s funny really, considering the places I’ve slept in - shady hotels, restaurants, garages, ditches, brothels, couches, floors, police checkpoints, abandoned buildings… Yet I’ve only had bedbugs in very clean Singapore, and now in a perfectly respectable hotel in California. I can’t really fault the hotel though. These things happen, with large numbers of people moving around it’s just too easy for them to spread. It wasn’t nice finding 3 bedbugs around my pillows, fat with my blood. Only around 10-15 bites though. Far fewer than some earlier attacks, where I’ve had 10 in just one line of bites. The hotel moved me to another room, and I saw that they got professional pest control in to treat the room. It was undeniably bedbugs, as I’d preserved some of the evidence (squashed bedbug). The hotel staff even moved my luggage to a new room while I was at training, even hanging up the shirts. No big deal, but I could have done without a few hours of lost sleep, during a tough week.\nThe area itself is a very pleasant suburb. Tree-lined streets, nice houses, that sort of thing. Obviously a bit better part of town, which was just as well since I was regularly walking home late at night. There’s a good-sized supermarket directly opposite the training centre, and a Starbucks. This being the USA, there’s a lot of fast-food around. Within a few blocks, there was McDonalds, Burger King, Del Taco, El Pollo Loco, Pizza Hut, Jack in the Box, In-N-Out Burger, KFC, and probably some others I missed. Most major intersections had fast food chains on at least 2 or 3 corners. After a few blocks, the chains started repeating themselves. America is strange sometimes. Oh and if you want any Armenian-related supplies, you’re in luck - this area has a large Armenian population.\nFinally, I quite enjoyed flying Premium Economy last week. Possibly a bit too much. As I settled into my (relatively) large, secluded space, I thought yes, this is the life for me. Then the FA brought glasses of bubbles around, along with hot towels. Dinner was several courses, served with multiple sets of real cutlery, on real crockery. Wine was in proper glasses, in large measures. A beanbag to rest my feet on? A blanket that does more than cover my knees? Plenty of space around me to spread papers, laptop, iPad, etc? Yes, this could just be the life for me. I wasn’t quite as prepared as the girl sitting next to me, who changed into pyjamas after takeoff. That’s organisation, that is. See, when you can carry on more luggage, you’ve got plenty of room for the sleepwear.\nIt already had me thinking about a long haul trip with Anna, working out if we can afford the centre pair of seats. They’re well suited for a couple, as you can even have dinner facing each other. I guess we’ll just have to see how business goes over the next year or two. I was thinking that I wasn’t looking forward to going back to the back of the plane for the return trip…but I just found out, 4 hours before takeoff, that I’ve been upgraded for the trip home. Thank you Air New Zealand! Now how am I ever going to return to my regular seat of 56K?\nOh and the most random out of context quote from Narbik during the week:\nDon\u0026rsquo;t run like that man, it makes it look like you shit your pants\n","permalink":"https://lkhill.com/ccie-study-narbik-bootcamp/","summary":"\u003cp\u003eFrom an earlier post on northlandboy.com, this was my review of the boot camp I attended as part of my CCIE study.\u003c/p\u003e","title":"CCIE Study: Narbik Bootcamp"},{"content":"This is from a post on northlandboy.com, shortly after my failed first CCIE lab attempt:\nYou haven’t heard much from me recently for a very good reason. I have had no life. None whatsoever. No biking, no going out, no watching TV, nothing. All my spare time has revolved around one thing: CCIE study. This year I set myself a challenge, of becoming a CCIE (Cisco Certified Internetworking Expert). This is a top-level networking certification, highly respected within the industry.\nBecoming CCIE certified involves passing a written exam, taken at any one of hundreds of testing centres around the world. That part needs a bit of study, but it’s straightforward. That then qualifies you to register for the real meat of it – the 8 hour practical exam, taken at a limited number of lab locations around the world. These have limited seats available, and depending on where you are, it can be tricky getting seats. Luckily my nearest location is Sydney, which is usually not too tricky to get space at.\nBecause of other rather important things going on in my life – i.e. I’m getting married next week – I had to schedule my first lab attempt for this week. I always knew that it was a bit tight to get ready by this time, but I thought I could just about do it. I don’t do any hands-on work with Cisco equipment these days, so all the practice I get is in my time, on my dime. I’ve mostly been using training materials from INE in my study program. These give me some structure to work from, as I try to cover the enormous range of topics covered in CCIE Routing and Switching these days.\nAlmost every night I’m either reading, or practising scenarios on rented routers and switches. At least one whole weekend day is taken up with practice lab scenarios. Closer to lab time, this was both weekend days. My iPod has audio lectures loaded on it. When I’m driving to and from Tauranga for work, this is usually what I’m listening to. Some people keep track of the total hours they spend studying. I don’t, but trust me, it’s a lot. I really don’t know how Anna puts up with it all, I really don’t. She has been amazingly supportive though.\nAll this work, but it turns out that I’m not quite there yet. Close, but just not quite there. Recently I tried a couple of practice labs from Cisco 360 program. These offer a pretty reasonably simulation of what you might expect from the lab. One of them I was just below passing, the second one I passed. Note: There are two parts to it, troubleshooting and configuration, and you need 80% in both parts to pass. So I knew I was on track. Not certain to pass, but certainly in the frame.\nThis week I travelled to Sydney, for my first lab attempt. Things started out reasonably well, and I was reasonably sure I would pass the first part, troubleshooting. Sometimes candidates know they’ve failed the first part, and so they don’t make a proper effort in the configuration part. But I thought I was doing OK, and I thought I was going OK for time. I wasn’t rushing, I spent a bit of time reading through the questions, looking at the diagrams, getting a feel for what’s going on. The last thing you want is to find that a question near the end of the exam completely changes how you should have done something at the start. It’s a classic Cisco trick, to have something late in the day that breaks everything you thought you’d configured earlier.\nI started working my way through the configuration section. I could understand pretty much all the core stuff, but the problem was time. After a couple of hours, I realised I just wasn’t moving through the marks fast enough. I also got tripped up by the deliberate mistakes Cisco had inserted. I was prepared for a misconfiguration, I wasn’t ready for something added that would actively break things. That took a little longer than it should have to track down and fix. At lunch time I was OK, but only just.\nAfter lunch, I worked my way through the rest of the items, all except for 3. Two of them were on a complex, but niche topic, and would have required a huge amount of work for the marks. One was dependent on the other, so I chose to skip those questions, as it didn’t affect anything else. The third thing I could have worked it out, but I was running out of time, and didn’t want to risk breaking other things. I took too long configuring things, and I didn’t have the time to properly verify everything, other than full connectivity. Provided I got every other section right, I could just scrape through, even with the missing sections. So I wasn’t certain I’d failed, but it would be tough to pass.\nThis morning I got my score report. Passed troubleshooting (the section that trips up most candidates), but failed configuration. No CCIE number for me today. I think the thing that got me was three little words: “No partial credit.” If a question has 5 requirements, and it’s worth 3 marks, it means you need to get everything working correctly to get any points. You can’t get 4 things working, and get 2 out of 3. So what they’ll do is have 4 straightforward requirements, and one to catch you out. Clearly I’d made a few little mistakes along the way, because I lost too many points to pass. If I’d been faster, I would have had more time to verify, and maybe I would have picked up those mistakes.\nAm I down about it? I’d be lying if I said I wasn’t down, at least a bit. I’ve put in a lot of work, but I’ve still got more to go. But I need to keep this in context – the numbers I’ve heard are that there is a 10% passing rate for first timers, and overall about a 26% passing rate. So I’m in good company. It’s not wasted effort either. It’s not cheap, taking a week off work, flying to Sydney, paying $1650USD for an exam, and coming away empty-handed. I’ve spent thousands on training materials too. But this is all good experience, and I know I can pass this exam. It’s just going to take a bit more work. I know I deserve to be there attempting it – passing the troubleshooting part proves that. But first things first, I need to take a break. I’m getting married in just over a week, then I can take a good holiday. Hopefully I don’t forget too much while I’m away! Next attempt will be around April/May I think. Have to negotiate with Anna…\n","permalink":"https://lkhill.com/ccie-first-lab/","summary":"\u003cp\u003eThis is from a post on northlandboy.com, shortly after my failed first CCIE lab attempt:\u003c/p\u003e","title":"CCIE - First Lab Attempt Experience"},{"content":"If you implement a proxy server for security reasons, you must implement SSL Intercept, or anyone can waltz on past your anti-virus, filtering, and content restrictions. For a previous employer, I needed to configure squid to support SSL Intercept. At the time, it was not well documented, and had a few issues. Hopefully this helps someone out.\nEnvironment: Squid proxy server running on RedHat EL 5.x Clients using Firefox and Safari, on Macs and Linux Mac OS X Server providing authentication services ICAP A/V scanning This environment was previously using NTLM authentication with Squid, but it is a poor experience. NTLM authentication on Mac OS X is unstable if you\u0026rsquo;re also doing Time Machine backups, and users get far too many authentication popups. We had been planning on moving to Kerberos authentication for a long time, but never quite got around to it. We also wanted to enable SSL Interception, using DynamicSslCert, so we can properly log and scan SSL traffic.\nThe default Squid package that ships with RHEL 5.x is 2.6.x. This is getting a bit long in the tooth. DynamicSslCert has recently gone into the 3.1.12.x RC series, so it\u0026rsquo;s very close to mainstream. Here\u0026rsquo;s the steps I followed to get SSL interception, and Kerberos authentication working:\nCreate a binary RPM from Squid 3.1.12.2. Squid-3.1.12.3 does not compile with ICAP enabled. You will probably want to get the Squid spec file used for Fedora, and use that as a base. Add --enable-ssl-crtd and build the package. On your Mac OS X Server, create the required Kerberos principal, and export it to a keytab file: 1 2 sudo kadmin.local -q \u0026#39;add_principal -randkey HTTP/FQDN\u0026#39; sudo kadmin.local -q \u0026#39;ktadd -k squid.keytab -norandkey HTTP/FQDN\u0026#39; Where FQDN is the fully qualified hostname of your proxy server\nInstall your new Squid RPM on the Proxy server Copy your squid.keytab file to /etc/squid/squid.keytab. Ensure it is readable by the squid user Edit /etc/init.d/squid, to add this chunk near the top: 1 2 KRB5_KTNAME=/etc/squid/squid.keytab export KRB5_KTNAME Create the SSL cert DB with /usr/lib64/squid/ssl_crtd -c -s /var/spool/squid/ssl_crtd/ Ensure that directory, and those below it are owned by Squid. Create an intermediate CA certificate on your root CA. I\u0026rsquo;ve used the Mac OS X CA, but you can use whatever CA you have. Copy the key and certificate to /etc/squid/ssl_cert/ - you\u0026rsquo;ll need to create that directory. Ensure squid can read the cert and keys. Update /etc/krb5.conf. Ensure it has your realm set to your Mac Server. If you want to do NTLM fallback, enable the winbind service, and use net join -W -S -U to join the domain. Configure authentication in squid.conf with something like this - this will use Kerberos/Negotiate first, with an NTLM fallback: 1 2 3 4 5 6 auth_param negotiate program /usr/lib64/squid/squid_kerb_auth -s HTTP/ auth_param negotiate children 10 auth_param negotiate keep_alive on auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp --domain= \\ auth_param ntlm children 12 acl auth proxy_auth REQUIRED Your http_access line must now specify auth\nEnable icap with: 1 2 3 icap_enable on icap_service service_avscan_resp respmod_precache bypass=0 icap://127.0.0.1:1344/av_scan adaptation_access service_avscan_resp allow all Configure SSL Dynamic cert generation with config like this: 1 2 3 4 5 6 7 sslcrtacl sslbumpbypass dstdomain \u0026#39;/etc/squid/whitelist.https\u0026#39; d_program /usr/lib64/squid/ssl_crtd -s /var/spool/squid/ssl_db -M 4MB sslcrtd_children 5 http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_cert/ key=/etc/squid/ssl_cert/ always_direct allow all ssl_bump deny sslbumpbypass ssl_bump allow all sslproxy_cert_error deny all Any domains added to /etc/squid/whitelist.https will NOT be intercepted. You probably want to put banking sites in here, or any other sensitive sites where you do not want to ever be accused of looking at the content.\nModify SELinux. You\u0026rsquo;ll need to run semanage -a -t http_port_t -p tcp 1344 to allow Squid to connect to ICAP. You\u0026rsquo;ll also need to configure a local SELinux policy to allow Squid to read/write the temporary files that squid_kerb_auth puts into /tmp. Use audit2allow, and your audit logs to work out what you need here. You will need to configure both Firefox, and the System Keychain on your Macs to trust the Intermediate CA used by Squid. Unfortunately it doesn\u0026rsquo;t pass the whole keychain, including the root CA, so just trusting the root CA is not enough. Hopefully the ability to pass the whole chain will come in later releases - then your clients will only need to trust the root CA.\nFor client sensitivity reasons, I don\u0026rsquo;t want to publish full configs, but this should be enough to get you started. Any specific questions, fire them this way, and I\u0026rsquo;ll try to help.\nNote: Safari and Mail.app do not support Kerberos authentication. They fall back to NTLM happily enough.\n","permalink":"https://lkhill.com/squid-with-dynamic-ssl-cert/","summary":"\u003cp\u003eIf you implement a proxy server for security reasons, you must implement SSL Intercept, or anyone can waltz on past your anti-virus, filtering, and content restrictions. For a previous employer, I needed to configure squid to support SSL Intercept. At the time, it was not well documented, and had a few issues. Hopefully this helps someone out.\u003c/p\u003e","title":"Squid with Dynamic SSL Cert and Kerberos Authentication"},{"content":"I wrote a review of HP\u0026rsquo;s Intelligent Management Center (IMC), at Packetpushers.net. I like the product, but it was not all glowing:\nIMC has a lot of good features, at what I consider a reasonable price\u0026hellip;There’s also a lot of development going on, with multiple significant new features released in the last year. But at times it feels like IMC has just escaped from the lab – some parts are very well documented, other bits are quite unclear. Occasionally it feels like it was an internal-only tool, but the developers have been told to dress it up and publish it. There’s still a few rough edges, and things like the support process don’t seem to be as slick as they should be, for a company with as much software support experience as HP.\nI later followed it up with a review of the 5.1 SP1 update. Interesting changes included Cisco Backups via SSH, KVM support, Display Tiling (big screen views), and Virtual Application Networks. Summary:\nIf you’re an existing customer, you should probably upgrade.\nReferences: Main IMC page Review at PacketPushers.net 5.1 SPI Update review ","permalink":"https://lkhill.com/hp-imc-review/","summary":"\u003cp\u003eI wrote a review of HP\u0026rsquo;s \u003ca href=\"https://.www.hpe.com/networking/imc\"\u003eIntelligent Management Center\u003c/a\u003e (IMC), at \u003ca href=\"http://packetpushers.net/review-hp-imc-intelligent-management-center/\"\u003ePacketpushers.net\u003c/a\u003e. I like the product, but it was not all glowing:\u003c/p\u003e","title":"HP IMC 5.1 Review"},{"content":"I recently passed the ITIL 2011 Foundation Certification. After all the stress and time-suckage that was CCIE study, this was remarkably pain-free. Ridiculously easy really - most of the study done over a long weekend, and I didn\u0026rsquo;t even need to leave the house to sit the exam! Read on for more\u0026hellip;\nLet me start by saying I\u0026rsquo;m no great fan of ITIL. I\u0026rsquo;m of the general opinion that most implementations of it are poor - too focused on incident/change/problem management - and we end up with CAB meetings that are\u0026hellip;\nA roomful of obstructive techs and burned users meeting weekly to demonstrate their manhood through the exercise of power and to defend the stability of their silo\u0026hellip;\u0026quot;\n(From Rob England, aka The IT Skeptic).\nBut sometimes the boss decrees that All Staff Shall Receive The ITIL Blessing! Well, don\u0026rsquo;t worry too much about it. Just put your head down, study for a bit, take the exam, and it\u0026rsquo;s easily taken care of. ITIL has several levels of certification, but the only one that most people will have to do is the Foundation Certificate. This:\n\u0026hellip;enables people to understand the terminology used within ITIL. It focuses on foundation knowledge with regard to the ITIL Service Support and Service Delivery sets as well as generic ITIL philosophy and background.\nSo it\u0026rsquo;s just about understand terminology, and getting a handle on the processes. This is actually not a bad thing, as it ensures some consistency of terminology across different organisations.\nExam Preparation The IT Skeptic has a post on How to Pass ITIL V3 Foundation. This post covers free study and testing resources, and the steps you should go through. He\u0026rsquo;s updated it to list new options and pricing, and to cover the ITIL 2011 Update. The main resource I used was the training + exam package from Thought Rock. For $175USD, I got:\nFlash-Based video/audio course content. This is online-only content, broken up into modules. They estimate that including the time you need to stop and read/digest the content, it will take around 26 and a half hours to get through all this. This is around four times the length of listening to the talking, as sometimes you\u0026rsquo;ll need to stop, take notes, etc. Study notes - these are the sorts of notes you might make yourself when going through the content. This is useful for review Two Mock Exams of 40 questions each. These were of a similar standard to the real exam. Voucher to sit the exam Glossary of ITIL Terms ITIL Foundation Certificate Syllabus The study content was pretty good, although I\u0026rsquo;m not a huge fan of video content. The main problem I have is that video only really runs at one pace. I found I would often skip ahead through sections, if I was just waiting for the voice to read out the slide content. I\u0026rsquo;m better at learning from reading and doing. Other people learn better by listening to the content. It\u0026rsquo;s up to you really. I would like the option to run the video at double-speed at least.\nThe mock labs were handy to go through. I also found some practice questions, from the links given by IT Skeptic, and worked through some of those.\nThe other thing I did was to download some Flashcards from flashcardexchange.com, using Mental Case. Search for \u0026ldquo;ITIL 2011\u0026rdquo; - I found a reasonable set of cards, to use as a starting point. They needed a bit of tidying up, but they suited my purposes. Normally I\u0026rsquo;d prefer to write them all out myself, but in this case, I was just looking to get the exam over quickly.\nI didn\u0026rsquo;t put a huge amount of time into this - a couple of nights, a bit of time during a long weekend, and then I decided I wasn\u0026rsquo;t too far off passing, so I might as well give the exam a go. I felt I could have done a bit more review, but it\u0026rsquo;s that cheap, that it would be no big deal to sit it again.\nExam Impressions The first, most obvious difference for me was that I could schedule and sit this exam at home. I\u0026rsquo;ve always had to go into an official testing centre in the past. But for this exam, you just book a time that suits, any time of day or night. Then when you go to take the exam, you connect to a proctor somewhere, and they take over your computer. They enable the webcam, and make you show them that the desk around you is clear. They then supposedly monitor you during the exam. The webcam keeps recording the entire time. Nothing special needed on your end, just a computer with a webcam and microphone, and a browser that runs Flash. I used my MacBook Air, and this was fully supported, with no problems.\nThe real exam has 40 multi-choice questions, and you only need to get 26 right - i.e. 65%. You get 60 minutes to take the exam, which is far more than you need. I\u0026rsquo;d gone through the questions in around 15 minutes, and could have passed then. But I thought I should at least go back through everything, so spent another ten minutes doing that, then ended the exam. I passed with 37/40, so it was pretty comfortable.\nThe questions were almost all quite straightforward, as long as you understand ITIL terminology. No tricky language, nothing difficult trying to trip you up. This was a far easier exam than most I do - that\u0026rsquo;s probably why there is such a high pass rate of around 90%. No need to spend a lot of time studying. Anyone who has worked in an IT Operations environment will probably know the answers to half the questions without any study.\nConclusions A few days of watching some videos, go over some practice exams, and you\u0026rsquo;ll easily pass the exam. It won\u0026rsquo;t take too much effort from you, and you\u0026rsquo;ll be able to tick that box.\nHere\u0026rsquo;s the real crux of it though: Should you sit the exam if you don\u0026rsquo;t have an immediate need to? No, I wouldn\u0026rsquo;t bother. If you are applying for jobs, it may be worthwhile, to get past the screening. If the boss wants it done, then get it done. But don\u0026rsquo;t expect to take this course and exam, and expect to properly understand typical modern-day IT practices - i.e. not just the ivory tower view, but the real on the ground view. For that, as always, you need experience.\n","permalink":"https://lkhill.com/itil-2011-foundation-certification/","summary":"\u003cp\u003eI recently passed the ITIL 2011 Foundation Certification. After all the stress and time-suckage that was CCIE study, this was remarkably pain-free. Ridiculously easy really - most of the study done over a long weekend, and I didn\u0026rsquo;t even need to leave the house to sit the exam! Read on for more\u0026hellip;\u003c/p\u003e","title":"ITIL 2011 Foundation Certification"},{"content":"I used to be on Twitter as northlandboy. More likely to be on LinkedIn now. You can also email me at lindsay.k.hill@gmail.com. GitHub profile is LindsayHill.\nI am a Network Engineer at AS32590, where I work on all manner of things vaguely-related to networking. Run an eyeballs network, and looking to peer? Get in touch.\nIn May 2015, I joined Brocade as a Product Manager. In October 2017, my Business Unit at Brocade was sold to Extreme Networks. In July 2019 I left Extreme Networks.\nPrior to joining Brocade, I worked in a variety of roles, covering network design and architecture, network management, security, and HP-UX/Linux system administration. This covered a range of organisations, from small development shops, to large financial institutions and telecommunications giants.\nI am CCIE Emeritus #36708 (R\u0026amp;S), and used to hold CISSP, HP Master ASE, VCP, RHCE, and most Check Point certifications.\nThis website covers my technical writing. I also contribute to the following forums and blogs:\nPacketpushers.net - Home of the Packet Pushers podcast. My articles are at packetpushers.net/author/lindsay-hill\nCPUG - Check Point User Group - this one is older than CPshared. I was a very regular poster there, and although I hardly ever post anything now, I\u0026rsquo;m still the number 2 poster - look at northlandboy\u0026rsquo;s posts\nI used INE materials when studying for CCIE. I found their online forums very helpful, and used to post there regularly.\nThere\u0026rsquo;s probably a few other forums you\u0026rsquo;ll see me pop up on, as either LindsayHill, or northlandboy.\nI have also travelled widely - my writings on travel, and less serious topics, are at www.northlandboyandhisgirl.com.\nDisclaimer This is my general disclaimer, and applies to all my posts. Should I have anything more specific to add in relation to any specific post, I will add it to that post.\nI used to work for Brocade, then got acquired by Extreme Networks. I no longer work for Extreme, but I may still be constrained in what I can say about Brocade and/or Extreme.\nI have never been paid for anything I write on this site, nor have I been unduly influenced by any vendor. Of course, this does not mean that vendors have not tried their best to ensure that I see their products in a favourable light! I am grateful for the assistance I have been given, and help in trying to answer my questions.\nHP covered my costs to attend HP Discover in 2012 (Las Vegas), 2013 (Las Vegas \u0026amp; Barcelona) and 2017 (Las Vegas). They also gave me a few miscellaneous small items - e.g. an external USB drive, and power pack for charging portable devices.\nJuniper gave me an electronic copy of \u0026ldquo;Juniper SRX Series.\u0026rdquo;\nThe sponsors of Network Field Days 8 and 9 indirectly covered my travel and miscellaneous costs to attend those event. Some of those presenters also gave me some branded items. They do not place any obligation upon to me to write anything, favourable or otherwise.\nSome vendors give me early access to software, or they share future roadmaps with me. That may mean that I have access to some information that is not yet in the public domain. I respect that, and in all such instances, I will withhold publication until official announcements are made.\nMake sure you do your own research before making major purchasing decisions based upon my opinions. Similarly, do your own research before making changes to production systems based upon something you read here. I do my best, but I make mistakes too.\n","permalink":"https://lkhill.com/about.html","summary":"\u003cp\u003eI used to be on Twitter as \u003ca href=\"https://twitter.com/northlandboy\"\u003enorthlandboy\u003c/a\u003e. More likely to be on \u003ca href=\"https://www.linkedin.com/in/nz-lindsay-hill\"\u003eLinkedIn\u003c/a\u003e now. You can also email me at \u003ca href=\"mailto:lindsay.k.hill@gmail.com\"\u003elindsay.k.hill@gmail.com\u003c/a\u003e. GitHub profile is \u003ca href=\"https://github.com/LindsayHill\"\u003eLindsayHill\u003c/a\u003e.\u003c/p\u003e","title":"About"},{"content":"Some of you may know me from my writings at northlandboyandhisgirl.com. That site works well for my travel writing, but right now I want to do a lot more technical writing. To make things easier for my readers, I\u0026rsquo;ve decided to split the content up. From now on, technical content will appear here, while non-technical content will remain at northlandboyandhisgirl.com.\nI also often write posts on other blogs and forums, and I\u0026rsquo;d like to be able to pull those together. I won\u0026rsquo;t directly reproduce my other content here, but if I think it\u0026rsquo;s interesting and relevant, I\u0026rsquo;ll link to it from here. Generally, the technical writing will be around the areas that I work and study in. Right now, that\u0026rsquo;s things like Network Management, HP Networking, and maybe a little bit of Cisco Security study.\nExpect to see the look and feel change around a bit in the next few weeks, as I nail down the layout and theme. More content should begin to flow too.\n","permalink":"https://lkhill.com/technical-writing-home/","summary":"\u003cp\u003eSome of you may know me from my writings at \u003ca href=\"http://northlandboyandhisgirl.com\"\u003enorthlandboyandhisgirl.com\u003c/a\u003e. That site works well for my travel writing, but right now I want to do a lot more technical writing. To make things easier for my readers, I\u0026rsquo;ve decided to split the content up. From now on, technical content will appear here, while non-technical content will remain at \u003ca href=\"http://northlandboyandhisgirl.com\"\u003enorthlandboyandhisgirl.com\u003c/a\u003e.\u003c/p\u003e","title":"Technical Writing Home"},{"content":"","permalink":"https://lkhill.com/2013/","summary":"","title":"2013"},{"content":"","permalink":"https://lkhill.com/2014/","summary":"","title":"2014"},{"content":"","permalink":"https://lkhill.com/2015/","summary":"","title":"2015"},{"content":"","permalink":"https://lkhill.com/2016/","summary":"","title":"2016"},{"content":"","permalink":"https://lkhill.com/2017/","summary":"","title":"2017"},{"content":"","permalink":"https://lkhill.com/2018/","summary":"","title":"2018"},{"content":"","permalink":"https://lkhill.com/2019/","summary":"","title":"2019"},{"content":"","permalink":"https://lkhill.com/2020/","summary":"","title":"2020"},{"content":"","permalink":"https://lkhill.com/2021/","summary":"","title":"2021"},{"content":"","permalink":"https://lkhill.com/2023/","summary":"","title":"2023"},{"content":"","permalink":"https://lkhill.com/2024/","summary":"","title":"2024"},{"content":"","permalink":"https://lkhill.com/2025/","summary":"","title":"2025"},{"content":"","permalink":"https://lkhill.com/categories.html","summary":"","title":"Categories"},{"content":"","permalink":"https://lkhill.com/page10/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page11/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page12/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page13/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page14/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page15/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page16/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page17/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page18/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page19/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page2/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page20/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page21/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page22/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page23/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page24/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page25/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page26/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page27/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page28/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page3/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page4/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page5/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page6/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page7/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page8/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/page9/","summary":"","title":"Home"},{"content":"","permalink":"https://lkhill.com/tags.html","summary":"","title":"Tags"}]