From: Ouellette, Tim (tim.ouellette@eds.com)
Date: Fri Mar 14 2003 - 04:07:15 GMT-3
I find it easy to do the following..
alias exec o sh ip ospf
That way I can do a "o n" for "sh ip ospf neighbor" or "o d" for "sh ip ospf
data" etc.
the same works for.
alias exec b sh ip bgp
whereas "b s" means "sh ip bgp summary" or "b n" means "sh ip bgp neighbor"
I find them timesaving when you can save typing a couple of words..
Tim
-----Original Message-----
From: Michael Snyder [mailto:msnyder@revolutioncomputer.com]
Sent: Thursday, March 13, 2003 2:49 PM
To: 'Voss, David'
Cc: ccielab@groupstudy.com
Subject: RE: Alias Commands
I see your set, and raise you a set.
I'm proud of the si which gets rid of the 7 line header of the show ip
route, and sr which gets rid of the alias commands in the show run. 'Se
to de' shows the eigrp tags. 'so n' shows ospf neighbors, etc
config t
alias exec c config t
alias exec s show ip interface brief | e unass
alias exec cb clear ip bgp *
alias exec ci clear ip route *
alias exec co clear ip ospf process
alias exec ce clear ip eigrp neighbors
alias exec sb show ip bgp
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 sbs show ip bgp neighbors | include BGP state
alias exec sbn show ip bgp neighbors | include BGP neighbor
exit
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Voss, David
Sent: Thursday, March 13, 2003 10:45 AM
To: ccielab@groupstudy.com
Subject: Alias Commands
I've seen quite a few alias commands but have found the following to
work
very well for me and save a lot of time. Just an FYI on an approach you
may
be interested in.
i= ip route table
o= ospf
e= eigrp
b= bgp
x= clear
alias exec i show ip route
alias exec ii show ip int brief
alias exec xi clear ip route *
alias exec o show ip ospf nei
alias exec oo show ip ospf database
alias exec ooo sh run | b router ospf
alias exec xo clear ip ospf process
alias exec e show ip eigrp nei
alias exec ee show ip eigrp top
alias exec eee show run | b router eigrp
alias exec xe clear ip eigrp nei
alias exec b show ip bgp sum
alias exec bb show ip bgp
alias exec bbb show run | b router bgp
alias exec xb clear ip bgp * soft
alias exec w write mem
alias exec c config t
alias exec ia show isdn active
alias exec is show isdn status
alias exec span show spanning-tree
alias exec spand show spanning-tree detail
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:39 GMT-3