Re: IOS output display for displaying routes learned from

From: Tom Kacprzynski <tom.kac_at_gmail.com>
Date: Fri, 20 Jan 2012 12:23:35 -0600

....and if you really want to get lazy or fancy you could use a regex to
filter just for the routes.

R1>sh ip cef gi0/2 | i ^[0-9]
10.0.0.0/8
10.0.0.0/11
10.0.0.0/16
10.0.0.0/19
10.0.0.0/28
10.0.0.24/30
10.0.0.32/28
10.0.0.48/30
10.0.0.52/30
10.0.0.56/30
..

On Fri, Jan 20, 2012 at 11:29 AM, Rocco Romeo <roccor21_at_hotmail.com> wrote:

> Thanks Tom!
>
>
>
>
>
>
> > Date: Fri, 20 Jan 2012 11:10:04 -0600
> > Subject: Re: IOS output display for displaying routes learned from
> specific
> interface
> > From: tom.kac_at_gmail.com
> > To: roccor21_at_hotmail.com
> > CC: ccielab_at_groupstudy.com
> >
> > Try this command:
> >
> > show ip cef TenGigabitEthernet2/1
> >
> >
> > that should show you only the routes for that interface.
> >
> > Hope that helps.
> >
> > Tom Kacprzynski
> >
> >
> > On Fri, Jan 20, 2012 at 10:16 AM, Rocco Romeo <roccor21_at_hotmail.com>
> wrote:
> >
> > > Hi guys, I'm trying to remember if there's a way in IOS to only show
> OSPF
> > > routes learned from a specific interface. When I | (pipe) include it
> will
> > > only
> > > show the interface and next hop learned from but will not include the
> > > actual
> > > route/prefix in the output.
> > >
> > > labrouter_a#sho ip route ospf | i TenGigabitEthernet2/1
> > > [110/1035] via 1.1.1.1, 1d13h, TenGigabitEthernet2/1
> > > [110/1035] via 1.1.1.1, 1d13h, TenGigabitEthernet2/1
> > > [110/1033] via 1.1.1.1, 1d13h, TenGigabitEthernet2/1
> > >
> > > I need to see the route prefix in this display.
> > > I use SCRT and have played around with terminal emulation by increasing
> > > columns to 132 but no luck.
> > >
> > > thanks
> > >
> > >
> > > Blogs and organic groups at http://www.ccie.net
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Fri Jan 20 2012 - 12:23:35 ART

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 11:52:51 ART