Avoiding arthritis by using Cisco IOS Alias commands

Isn’t that too real on subject? I hope! cisco_logo.gif

I believe that at least some of you guys agree with me here. If someone is preparing for CCIE lab exam, more than few hours typing same commands all over again. I don’t want to use too many alias commands, but 5~10 alias for essential commands would be really help. You should try it.

Here is aliases I am using it.

s = show ip int brief
si = show run int
sr = show ip route
r = show run
proc = show processes cpu | excl 0.00%__0.00%__0.00%

 

 

To apply above alias

Cisco Alias#
Cisco Alias(config)# alias exec s show ip interface brief
Cisco Alias(config)# alias exec si show run interface
Cisco Alias(config)# alias exec sr show ip route
Cisco Alias(config)# alias exec r show run
Cisco Alias(config)# alias exec proc = show processes cpu | excl 0.00%__0.00%__0.00%

ex)

Cisco Alias# r | inc interface
interface FastEthernet0/0
interface FastEthernet0/1
alias exec s show ip interface brief
alias exec si show run interface
Cisco Alias#
 

 

Also, you might want to disable "ip domain-lookup", simple type-o takes 15sec locking your prompt.

 

Cisco Alias(config)# no ip domain-lookup

 

##                                                                 ##
## Copy and paste below commands ##
##                                                                ##


conf t
alias exec s show ip interface brief
alias exec si show run interface
alias exec sr show ip route
alias exec r show run
no ip domain-lookup
line con 0
logging syn
no exec-timeout
end

 

Leave a Reply