Tracking Key Interface State

Author
Terry Slattery
Principal Architect

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

_____________________________________________________________________________________________

Re-posted with Permission 

NetCraftsmen would like to acknowledge Infoblox for their permission to re-post this article which originally appeared in the Applied Infrastructure blog under http://www.infoblox.com/en/communities/blogs.html

infoblox-logo

Leave a Reply