RE: All about "distance" command - compact summary.

From: Jim Newton (jnewton@xxxxxxxxxxxxxxx)
Date: Wed Mar 06 2002 - 19:07:00 GMT-3


   
You can change the distance on routes from a certain router with this
command

>From CD:
http://127.0.0.1:8080/cc/td/doc/product/software/ios121/121cgcr/ip_c/ipcprt2
/1cdindep.htm#xtocid1497127

In the following example, the router igrp global configuration command sets
up IGRP routing in autonomous system 109. The network router configuration
commands specify IGRP routing on networks 192.31.7.0 and 128.88.0.0. The
first distance router configuration command sets the default administrative
distance
to 255, which instructs the router to ignore all routing updates from
routers for which an explicit distance has not been set. The second distance
command sets the
administrative distance to 90 for all routers on the Class C network
192.31.7.0. The third distance command sets the administrative distance to
120 for the router
with the address 128.88.1.3.

router igrp 109
 network 192.31.7.0
 network 128.88.0.0
 distance 255
 distance 90 192.31.7.0 0.0.0.255
 distance 120 128.88.1.3 0.0.0.0

You can do this with OSPF too, but instead of using the interface IP you
need to use the router ID. Doyle Vol 1 page 790-793.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of Manny
Gonzalez
Sent: Wednesday, March 06, 2002 3:49 PM
To: Lab Candidate
Cc: Jaeheon Yoo; ccielab
Subject: Re: All about "distance" command - compact summary.

I can think of one quick and dirty way to do this.

Run a SEPARATE OSPF process on both these routers and place the
interfaces between them into this new process. Do whatever you want with
the distance there. Then, redistribute process x (with the modified
distance) into process y and condition the distance there during the
redistribution to keep it the same as what you are injecting from.

I may be off a bit on this and see no reason for adjusting the distance
PER NEIGHBOR but this may work. There are a lot of other options in the
OSPF process as well as in the ROUTEMAPS you may want to fiddle with.
Get creative :-))

Lab Candidate wrote:
>
> Jaeheon,
> This is nice, but the problem is by doing this you have to change AD on
all the routes coming from
> a single router, how can you change AD on individual routes coming from a
certain router. I
> personally don't think it's doable, but would like to know any
suggestions.
>
> ---
>
> Hi, all.
> I've summarized all about "distance" command that I can find out through
my own lab.
> I think this summary may be helpful to some of you.
> Any comments will be welcomed, And please correct me if I'm wrong.
>
> Jaeheon,



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:55 GMT-3