Monthly Archives: May 2012

Parsing Cisco Show Command Output

If you have done even the basics in networking you have probably used a “show” command at some point on a Cisco networking device. Show commands give us insight into the configuration, performance and issues that face that device. One issue with show commands, however, is that they can be very verbose. Many commands give you way more information than you are looking for and are difficult to get through quickly. Luckily for you and I there are output modifiers to help us parse the output.
I will attempt to teach this short lesson with an example. Say you want to look at all interfaces and see what access lists are applied to them. You could do “show run” and read all of the output until you find what you are looking for.
Continue reading

Posted in Networking | Tagged , , , , | 1 Comment

Discovering a Cisco Network with CDP (Part 3)

This is part 3 of the series on network discovery using CDP. If you have not read the first or second parts you can find them HERE and HERE. So far we have looked at mapping the infrastructure with CDP as well as actually mapping hosts (by MAC address) to switch ports. I wanted to take the opportunity, in this write up, to step away from the Cisco command line and look at another product that leverages CDP: VMware. As you already know CDP is simply a packet emitted from physical ports of Cisco devices. Anything that cares to listen … Continue reading

Posted in Networking | Tagged , , , | Leave a comment