From: Mahmud, Yasser (YMahmud@Solutions.UK.ATT.com)
Date: Sun Mar 30 2003 - 14:24:39 GMT-3
Nigel,
Thks for the correction,
I've been using the distance command without the command <distance x> on
it's own and instead to match everying else I use
distance x 0.0.0.0 255.255.255.255 (I thought they would be equivalent but
reading the documentation they are not the same)
Have tested again, if you don't use the <distance x> command but use
distance 0.0.0.0 255.255.255.255 then the distance comamnds are scanned
sequentially from top to bottom for a match and distance set accordingly.
Yasser
-----Original Message-----
From: Nigel Taylor [mailto:nigel_taylor@hotmail.com]
Sent: Sunday, March 30, 2003 3:40 PM
Cc: ccielab@groupstudy.com
Subject: Re: Clarification on DISTANCE command
Mahmud,
Here's the link, I forwarded earlier which does provide a
clear definition of how the command is interpreted. I believe it's somewhat
different that you'd suspect.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr
rp_r/ind_r/1rfindp1.htm#1017503
watch the line wrap..
HTH
Nigel
----- Original Message -----
From: "Mahmud, Yasser" <YMahmud@Solutions.UK.ATT.com>
To: "'cebuano'" <cebu2ccie@cox.net>
Cc: <ccielab@groupstudy.com>
Sent: Sunday, March 30, 2003 5:47 AM
Subject: RE: Clarification on DISTANCE command
> Hi,
> As far as I remember when doing it previosuly that the multiple distance
> commands are scanned by the router sequentially
> so for the 1st example the distance of all ospf routes learned will be 255
> and hence not in the routing table, thus the next 2 distance commands are
> not used
>
> In the 2nd example distance 90 for all routes from router with router-id
> a.b.c.d (mask w.x.y.z), distance 120 for all routes from router with
> router-id e.f.g.h (mask w.x.y.z) and distance 255 for all other ospf
routes
> learned from all other routers.
>
>
> Yasser
>
> -----Original Message-----
> From: cebuano [mailto:cebu2ccie@cox.net]
> Sent: Sunday, March 30, 2003 4:12 AM
> To: ccielab@groupstudy.com
> Subject: Clarification on DISTANCE command
>
>
> Hi group.
> Can someone eloquently explain the practical difference between these
> two?
>
> Example 1:
> Router ospf 1
> Net a.b.c.d
> Distance 255
> Distance 90 a.b.c.d w.x.y.z
> Distance 120 e.f.g.h w.x.yz
>
> Example 2:
> Router ospf 1
> Net a.b.c.d
> Distance 90 a.b.c.d w.x.y.z
> Distance 120 e.f.g.h w.x.y.z
> Distance 255
>
> TIA.
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:46 GMT-3