From: Michael Snyder (msnyder@xxxxxxx)
Date: Sat May 11 2002 - 15:01:39 GMT-3
Hi Tim,
Some people use alias and some don't. I don't want to restart this old
thread. I just wanted to give something to the list.
Four points,
1) Aliases do increase speed. Even with the time it takes to enter
them. It's a cut and paste operation.
2) If a person can't remember 30 lines of code, I don't believe that
person
has what it takes to be a CCIE.
3) Cisco uses alias. Do a show alias on a router without a config, you
will see that p* = ping. That's a cisco alias for ping. If it's good
enough for cisco, etc.
Aliases (from Cisco)
h help
lo logout
p ping
r resume
u undebug
4) My listing has enhancements that the IOS doesn't have. My show ip
route removes the 7 line header that I'm sure the people on CCIE
Groupstudy don't need to see.
Think about it. If you do a show ip route 100 times during the lab,
that's 700 lines of useless text you have wasted your time looking at.
Thanks Tim for your worry, but I assure you that I can make it in the
real world, with or without aliases. I just want some speed on lab day.
BTW, the last four lines of my last email ran together. It should have
read:
alias exec cdp show cdp neighbors detail
alias exec sbn show ip bgp neighbors | include BGP neighbor
alias exec sbs show ip bgp neighbors | include BGP state
alias exec sip show ip protocols
-----Original Message-----
From: Tim O'Brien [mailto:tobrien@cinci.rr.com]
Sent: Saturday, May 11, 2002 12:41 PM
To: Michael Snyder; ccielab@groupstudy.com
Subject: RE: Add the find command to your IOS.
I passed my CCIE lab without ever using an alias command. Do you really
find
that they save that much time? Having to memorize 30!?! of them??? What
happens when you get your CCIE and you are out working on customer
routers?
Do you bring your alias list to all of their equipment also? I think
there
are a lot better ways to develop speed than the list of alias commands
below.
Tim
CCIE 9015
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Michael Snyder
Sent: Saturday, May 11, 2002 1:09 PM
To: ccielab@groupstudy.com
Subject: Add the find command to your IOS.
Got your attention didn't I.
Really it's just an exec alias I've been using, that I like a lot.
Thought I would share it with the Groupstudy Listonians.
'alias exec f show running-config | begin'
I used a single keystoke 'f' for find. Try it.
f aux, f router, f access-l, f vty, etc.
Below is my complete alias list, version 3. I have weaned it down to
less than 40 commands; version 1 had some 70 commands about two months
ago.
I had two opposing goals with my alias lists. Single or double
keystrokes for quick use and some kind of pattern that could be
remembered. Ashame that you can't send in your alias list to the lab,
and have it waiting for you on test day. Anyway, I think I have
something that is very useful, and that can be remembered.
For example.
'si' is show ip route
'di' is debug ip routing
'ci' is clear ip routing
Another example,
'sb' is show ip bgp
'db' is debug ip bgp
'cb' is clear ip bpg
Note, some of the alias are not complete, they need additional
parameters. For example, 'db' should be used as 'db update' for debug
ip bgp updates. This is how I reduced the total number of aliases.
Some I didn't reduce just because I just like using them. For example,
I really like the config mode 'b' command. It is used as in 'b 2' to
enter router bgp 2. Saves a lot of typing and fat finger mistakes.
Others don't need to be remembered. I use 'x' for exit in every common
mode I use. Exec, Config, Interface, Sub Interface, and Router.
The single exec keystroke of 's' is very sweet. It's the most common
command I use. It does a show ip int brief and filters out any unused
interfaces. Other enhancements are in the 'si' command, it does a show
ip route command then filters out that damn 7 line header I have seen a
billon times. The 'sr' command does a show run, then filters out the
alias list. Why look at 40 lines of alias code every time you do a show
run?
Good Luck,
Michael
config t
alias configure b router bgp
alias configure e router eigrp
alias configure h ip host
alias configure i interface
alias configure o router ospf
alias configure r router rip
alias configure xr ipx router
alias configure x exit
alias interface i ip address
alias interface ns no shutdown
alias interface x exit
alias subinterface i ip address
alias subinterface x exit
alias router x exit
alias exec c config t
alias exec f show running-config | begin
alias exec s show ip interface brief | e unass
alias exec x exit
alias exec cb clear ip bgp *
alias exec ci clear ip route *
alias exec co clear clear ip ospf process
alias exec cx clear ipx route *
alias exec db debug ip bgp
alias exec do debug ip ospf
alias exec dp debug ip packet 199 detail
access-list 199 permit icmp any any
alias exec di debug ip routing
alias exec nd undebug all
alias exec sb show ip bgp
alias exec sc show startup-config | e alias
alias exec sd show dialer
alias exec se show ip eigrp
alias exec sf show frame-relay
alias exec si show ip route | e -
alias exec so show ip ospf
alias exec sr show running-config | e alias
alias exec sx show ipx route
alias exec cdp show cdp neighbors detail
alias exec sbn show ip bgp neighbors | include BGP neighbor
alias exec sbs show ip bgp neighbors | include BGP state
alias exec sip show ip protocols
alias exec sis show isdn status
exit
wr
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:54 GMT-3