RE: order in sh ip route

From: Brian Dennis (brian@xxxxxx)
Date: Tue Aug 20 2002 - 11:08:11 GMT-3


   
You can do a "sho ip rout list <access-list>"

Here's an example with an access-list for all class "A" addresses:

R4#sho ip rout list 10
     10.0.0.0/24 is subnetted, 1 subnets
D 10.1.1.0 [90/2297856] via 172.16.5.1, 00:02:50, Serial0/0
R4#sho access-list 10
Standard IP access list 10
    permit 0.0.0.0, wildcard bits 127.255.255.255

Here's one for all routes with a /24 mask.

R4#sho ip rout list 100
     172.16.0.0/24 is subnetted, 5 subnets
I 172.16.4.0 [100/1600] via 172.16.1.1, 00:00:22, Ethernet0/0
C 172.16.5.0 is directly connected, Serial0/0
C 172.16.1.0 is directly connected, Ethernet0/0
I 172.16.2.0 [100/1600] via 172.16.1.1, 00:00:22, Ethernet0/0
I 172.16.3.0 [100/1600] via 172.16.1.1, 00:00:22, Ethernet0/0
     10.0.0.0/24 is subnetted, 1 subnets
D 10.1.1.0 [90/2297856] via 172.16.5.1, 00:03:32, Serial0/0
D 192.168.0.0/24
R4#sho access-list 100
Extended IP access list 100
    permit ip any host 255.255.255.0 (18 matches)
R4#

Brian Dennis, CCIE #2210 (R&S/ISP Dial)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ccie candidate
Sent: Tuesday, August 20, 2002 5:06 AM
To: Colin Barber; Luis Miguel Gil
Cc: ccielab@groupstudy.com
Subject: RE: order in sh ip route

good question :)))

unfortunetaly you can not translate that to "sorted lookup "

lol

--

On Tue, 20 Aug 2002 10:08:47 Luis Miguel Gil wrote: >and what is a "efficient lookup" ? > >thanks, >Luis Miguel. > >-----Original Message----- >From: Colin Barber [mailto:Colin.Barber@telewest.co.uk] >Sent: Tuesday, August 20, 2002 9:49 AM >To: 'Luis Miguel Gil' >Subject: RE: order in sh ip route > > >It's meant to be the way the IOS has ordered the table to provide the most >efficient lookups. I wish you could have a numerical ordered display, I use >show ip cef if I need that. > >Colin. > >-----Original Message----- >From: Luis Miguel Gil [mailto:lmgil@intecno.net] >Sent: 20 August 2002 08:20 >To: ccielab@groupstudy.com >Subject: order in sh ip route > > >Hi all, >just curious, but I think it is quite important. >When you have a complex topology, the routing table is quite big. >Does anyboy know how the routes in the routing table are displayed when you >do a sh ip route ? > > >Thanks in advance, >Luis Miguel.



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:30 GMT-3