Automation & Tools

An Essential Alias for Forgetful Engineers Like Myself (updated)

Tony Mattke · 2009.07.20 · 1 min read

How many times a day do you issue a show command from configuration mode ? If you’re anything like me, its enough to get annoying. Luckily Cisco has given us the ability to user define aliases, here is a simple solution to this issue.

text
Router(config)#alias configure show do show

While this fixes part of the issue, you’ll need to configure additional aliases for each configuration mode that you wish to use this in. I would certainly at least setup interface and router. Are there any handy alises you use every day? Comment below to share them with us!

Update: I had to update this article to include another alias I’ve configured recently on our Nexus gear. NX-OS has eliminated the wr command to write memory, forcing you to use copy running-config startup-config or a shortened version like copy run start. Either way, I always forget at least once a day. Using the following alias we can restore that functionality!

text
N7K(config)#cli alias name wr copy running-config startup-config
More in Automation & Tools
comments powered by Disqus

Related Posts

Routing

BGP Tips! multipath load balancing

Previous thoughts on load balancing BGP were that it is not a load balancing protocol and in order to achieve any sort of balanced traffic you would have to perform some sort of …

2010.10.14 · 3 min
Routing

HSRP, VRRPd, and GLBP Compared

In the world of first hop redundancy, we have plenty of choices. In order to make the right decision for your network you should know the basics regarding all three.

2010.10.21 · 5 min
Homelab & Misc

Snow Leopard – The What It Broke Edition (updated)

Snow Leopard was released on August 28th, and at 1:37pm I received my copy and proceeded to install it like a well trained puppy.

2009.09.04 · 2 min