Tag Archives: IOS

Redirecting Cisco Show Command Output

Have you ever issued a diagnostic command on a Cisco device and wish you could keep the output to review off line at a later time? There actually is a way to do this! (without copying and pasting, etc). I recently was asked to send the results of “show tech-support” to Cisco’s TAC to get help with an issue. To my dismay the result of this command overran the length of the terminal window’s buffer. Rather than changing things on my side I knew this was the opportunity I needed to make my life easier. To send output directly you … Continue reading

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

Cisco Wireless AP LED Commands

In the networking realm of things I typically get to play with new and sophisticated technology. Sometimes, however, even the most sophisticated technology requires some really simple changes for some really simple reasons. For example. the other day I was approached about disabling the LEDs on our Cisco access points. Since I was working in the healthcare world at the time it made sense that a request would come through about this particularly since many patient rooms had APs mounted in them. After some quick looking around online I found the answer: Log into the controller and issue the following … Continue reading

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

Cisco Configuration “Expect” Backup Script

I was recently tasked with backing up switch configurations automatically. No problem, right? Wrong. There was nothing to spend on this project so it was up to me and whatever I could do with a script. I had made a telnet script in the past but was not crazy about passwords flying around in plain text. I really have very little scripting experience so many of you will find this very easy to understand and follow since there is nothing complicated about my scripting skills.
Continue reading

Posted in Networking, Scripts, Shell | Tagged , , , , , | 3 Comments

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