« PIX Syslog | Main | Cisco SAFE Documentation »

January 9, 2006

Three handy alias commands

From global config:

alias exec s show ip interface brief (the ol' standby)
alias exec traffic sh ip nbar protocol-discovery stats bit-rate top-n 10 (shows top 10 protocols using your interfaces)
alias exec proc show proc cpu | excl 0.00%__0.00%__0.00% (shows only processes using CPU)

Posted by JC at January 9, 2006 3:26 PM

Trackback Pings

TrackBack URL for this entry:
http://www.cioara.org/cgi-bin/mt-tb.cgi/38

Comments

alias exec ctraffic
is there any command if then what it will do

Posted by: prasenjit at April 3, 2007 3:56 AM

I know its an old thread but have a quick question - What is the point of using alias exec commands?

I've seen people referring to it but have no idea what the logic is behind them. Just as i have no idea what a MIB is or does or how to apply such things..Would appreciate some brief explanations.

Thanks,
Bret
Very Inexperienced CCNA

p.s The tips on the nbar where excellent.

Posted by: Bret at September 4, 2007 7:43 AM

Doesn't look like you got an answer to this yet... so, here goes.
Using an alias to call a lengthy command just saves time. It's like a nickname for the longer string. Rather than dealing with critical outage AND trying to remember the syntax with all the switches, you use the nickname to execute this custom report. When you're not dealing with critical problems you set up little shortcuts like this for yourself and your team to streamline future diagnostics activities.

Posted by: Matt at November 14, 2007 9:46 AM

Post a comment




Remember Me?

(you may use HTML tags for style)