Home > Archive > CCNP > June 2002 > Alias File





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Alias File
imran1430

2002-06-24, 11:37 am

I am willing to share my Alias file.. Please let me know if there are any other common commands that I am missing.. Thanks

en
config term
hostname r1


alias exec sr show run
alias exec sir show ip route
alias exec cir clear ip route *
alias exec rust copy running-config startup-config
alias exec stru copy startup-config running-config
alias exec ct configure terminal
alias exec siib show ip int brief
alias exec ua u all
alias exec sip show ip protocols
alias exec diq2 debug isdn q921
alias exec diq3 debug isdn q931
alias exec sis show isdn status
alias exec dd debug dialer
alias exec sd show dialer
alias exec sdm show dialer map
alias exec sia sh isdn active
alias exec die0 debug inter ether 0/0
alias exec dis0 debug inter seria 0/0
alias exec dib0 debug inter bri 0/0
alias exec dil0 debug inter loop 0
alias exec sis0 sh int ser 0/0
alias exec sib0 sh int bri 0/0
alias exec sie0 sh int ethe 0/0
alias exec sil0 sh int loop 0
alias conf ib0 inter bri 0/0
alias conf is0 inter ser 0/0
alias conf ie0 inter ether 0/0
alias conf il0 inter loop 0
alias exec sfm show frame map
alias exec sfp show frame pvc
alias exec sfl show fram lmi
alias exec dir debug ip rip
alias exec sion sh ip ospf neigh
alias exec siod sh ip ospf databa
alias exec sioi sh ip ospf interface
alias exec diie debug ip igrp events
no ip domain-lookup
line con 0
logging synchr
no exec-time

end
exit
exit

exit
cahillrobert

2002-06-24, 12:11 pm

Words of Caution.

Going from device to device you'll need or want to copy your ailas commands. Not all Cisco devices use the same syntax to achieve the same result.

Other co-workers may find then incompatible.

You may loose touch with the real commands that IOS uses.

As you go from test to test you'll need to know which command and exact syntax to use. The exams will not give you points for "sh" or "sho" when the actual command is "show"; "config t" when it really is "configure terminal".

Now if you plan to stay at the same job for a while probably this will work for you and your co-workers. Once you leave you may kick yourself.

I am not trying to be a downer, what you've done is neat, and I can see the benefit. However real-world experience sees some danger and confusion.
imran1430

2002-06-24, 12:25 pm

Point well taken. This comes from my Cisco class where we only deal with 26xx series routers and all the commands work with the 26xx series.


I do agree with everything you said.. I was just wondering if anyone else has more commands that I can add to my list.

Thanks
abonam

2002-06-24, 2:28 pm

Hi,

cool idea, but with the alias command your risk is overriding the IOS command.
Here a sample on my 2500, his name is gino


gino(config)#alias exec dir debug ip rip
gino(config)#end
gino#
00:35:54: %SYS-5-CONFIG_I: Configured from console by console
dir
RIP protocol debugging is on
gino#conf t
Enter configuration commands, one per line. End with CNTL/Z.
gino(config)#no alias exec dir debug ip rip
gino(config)#end
gino#
00:36:21: %SYS-5-CONFIG_I: Configured from console by console
gino#dir
Directory of flash:/

1 -rw- 5257379 <no date> c2500-js-mz

16777216 bytes total (11518820 bytes free)
gino#


So as u can see, when the alias is active, the original IOS dir command got overriden by the alias one and you might get in trouble if you use scripts or anything else that modify the config uf ur machine.

Thanks,
-Andrea
imran1430

2002-06-24, 4:07 pm

Wow.. That's good to know =)
MadChef

2002-06-25, 5:00 am

I used aliases in the lab, mainly because it kept me from getting frustrated because I just misspelled conf t 3 times in a row. The lab is like 50% technical knowledge, 50% experience and 50% psychological. I think it helped.
Mine were very limited in scope, though. Just a half dozen or so like c = conf t, w = wr mem, i = sh ip rou, n = sh ip o n.
In the lab this was fine, but I'd never do this in a production environment.

MadChef
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2009 examnotes.net