From: Djerk Geurts (djerk@djerk.nl)
Date: Thu Aug 09 2007 - 12:50:23 ART
I use the following to see routing config:
"Alias exec srr sh run | s ^router"
Or if the section option is not available:
"Alias exec srr sh run | b ^router"
Sr is already taken for "show run"
Makes life so much easier. Mind you that you can still add stuff to aliasses
so the following is still possible:
Sr int f0/0 << sh run int f0/0 which is the same as "show run | section
net0/0"
Djerk
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Andy
> Sent: donderdag 9 augustus 2007 16:18
> To: Ben
> Cc: Leigh Harrison; CCIEDAVITO CCIEDAVITO; ccielab@groupstudy.com
> Subject: Re: show command
>
> hows about, when on the switch and you want to see the
> routing configs,
> acls etc (bypassing the long interfaces section), do a "sh
> run | beg 24", or
> if you have a 48 port switch then "sh run | beg 48".
>
> -A
>
>
> On 09/08/07, Ben <bmunyao@gmail.com> wrote:
> >
> > Thats a good one Leigh
> >
> > Thanks
> > Ben
> >
> > On 8/9/07, Leigh Harrison <ccileigh@gmail.com> wrote:
> > >
> > > Have you seen the "section" commands?
> > >
> > > Try something along the lines of:-
> > >
> > > show run | section eigrp
> > > (presuming you're running eirgp....)
> > >
> > > Check this:-
> > > C1#
> > > C1#sh run | section router rip
> > > router rip
> > > version 2
> > > no auto-summary
> > > !
> > > address-family ipv4 vrf network12
> > > redistribute bgp 100 metric 5
> > > network 172.16.0.0
> > > no auto-summary
> > > version 2
> > > exit-address-family
> > > C1#
> > > C1#
> > > C1#
> > > C1#
> > >
> > > Enjoy!!
> > >
> > > LH
> > > #15331
> > >
> > >
> > > CCIEDAVITO CCIEDAVITO wrote:
> > > > just found a great command to verify configuration per
> interface.
> > > >
> > > > show run int s 0/0
> > > >
> > > > or
> > > >
> > > > show run int f 0/0
> > > >
> > > >
> >
> ______________________________________________________________
> _________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> ______________________________________________________________
> _________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> ______________________________________________________________
> _________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> ______________________________________________________________
> _________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:10 ART