Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Month Year
Home||Table of Contents||2008 Back Issues||2009 Back Issues||Contact the Editor||Contact the Webmaster||

Tracking Key Interface State

Technical : Terry Slattery


Bookmark and Share

Terry Slattery

Terry Slattery

Articles : Blog

{insert_year} {insert_month}

The Baltimore-Washington area has been hit with several significant snow storms this winter and those storms have impacted the operations of a large metropolitan area network. Problems range from power outages at some sites to link problems between sites. The result is that a large number of interface up/down messages were recorded by syslog.

Syslog is probably the first notification that a network team receives when an unexpected failure occurs, so watching it is a useful way to stay in touch with what is happening on the network. When a well-connected site goes down, the neighboring devices report link failure to the down site. The NOC then needs to determine what caused the failure. Is it due to power or did the link die?

If you see all the links to a site go down, you can guess that it is a power problem and be right a large percentage of the time. If at least one link stays up to the site, you know that it isn't a power problem. I'm assuming that you have diverse routing to a site if it has more than one link. If the site isn't connected by links that use diverse paths, then a single cut cable (tree falling or too much ice on an aerial line) looks the same as a power outage.

The interesting problem came to me after the last snow (24-36 inches). One of the network team asked me if there was a way to verify that all the interfaces that were operational before the snow had been restored to service. With the redundancy built into the network, we could have a site that was running with a single connection because the backup connection was still out. None of my tools, including NetMRI, could tell me that directly.

But I was able to figure out a way to get that information using data that NetMRI had collected. There are two issues in NetMRI regarding down interfaces: Router Interface Down and VLAN Trunk Port Down. The idea is that if you have cleaned up your network, any infrastructure interface that is in the up/down state should be up. An infrastructure interface is one that connects network equipment to each other. By looking at router interfaces and trunking interfaces, NetMRI determines nearly all of the important interfaces in that interconnect infrastructure devices, even if you have disabled useful protocols like CDP.

I was able to export the CSV data from each of these issues for the day before the snow and the day after the snow. I then spent some time massaging the data with Excel and a script to generate a list of interfaces that were up on the day before the snow and were down after the snow. I found two interfaces. While this process took me a couple of hours, there was no way to obtain that information from any of the other data sources we had.

The data we had available could be used to show the interfaces that had been up sometime in the last month and we could use it to determine interfaces that are currently down while having been recently active. This approach could still result in a few interfaces that have been down for more than 30 days but no one noticed. However, that's a much better result than not knowing about a down interface.

-Terry


BIO
Terry Slattery, CCIE #1026, is a senior network engineer with decades of experience in the internetworking industry. Prior to joining Chesapeake NetCraftsmen as a full time consultant, Terry was the founder and CTO of Netcordia, and inventor of NetMRI, a suite of network management products. Terry started Netcordia as a consulting company in 2000 and transitioned to a network management product company in 2003.

During the consulting days, he used his network design and implementation skills to lead a team in the design and implementation of a high availability network at a brokerage clearing house. Terry is the former President and founder of Chesapeake Computer Consultants, Inc., a networking and computer systems training and consulting company.

He co-invented and patented the vLab(tm) internet-based remote lab system. He is co-author of the McGraw Hill text Advanced IP Routing in Cisco Networks. Terry led the team that developed the current Cisco IOS user interface under contract to Cisco Systems. Terry is experienced in the design and installation of large TCP/IP based networks and is a successful network protocol instructor. He is the second Cisco Certified Internetworking Expert (CCIE) #1026 and the first outside of Cisco. He enjoys membership on the Vanderbilt University Engineering School’s Industrial Advisory Board and the IEEE.


Netcordia Logo


Return to the top of 'Tracking Key Interface State'. |»«| Send Feedback |»«| Contact the Editor |»«| Contact the Webmaster