Alvaro,

>From your table, we see that all routes for which the next hop is
150.100.1.3 have a distance of 200 instead of 170.

If my souvenirs from my tests are still OK, the IP address that you
specifies is the next hop/advertising router for which the distance will
be applied.

In the doc, it is stated that this command can be used to "dis-qualify"
routes learned from a router outside your administrative area

The access list can be used to filter which routes from that router will
have the specified distance.

If you wanted to put a weight 88 to any routes matching ACL 33 and
coming from anywhere, you would configure:

distance 88 0.0.0.0 255.255.255.255 33

I checked the command reference, and to say the least, it is either
misleading or completely wrong ;-)



Regards,

Michel

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/np1_r/1rprt1/1rindep.htm#xtocid2115214



"Riera, Alvaro (4152)" wrote:
> 
> Anybody has experimented with the EIGRP Distance commad. I'm using it to
> change the AD for updates received from a certain neighbor but for some
> reason it only works for me with internal updates.
> I'm using the following configuration
> 
> router eigrp 100
>  network 150.100.0.0
>  distance 200 150.100.1.3 0.0.0.0 50
>  no auto-summary
> !
> access-list 50 permit any log
> 
> as you can see in the sh ip route below this is working for the internal
> updates but no for the external.
> 
> r1#sh ip route
> Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
> * - candidate default, U - per-user static route, o - ODR
> P - periodic downloaded static route
> 
> Gateway of last resort is 150.100.1.2 to network 0.0.0.0
> 
> 169.11.0.0/24 is subnetted, 1 subnets
> D EX 169.11.1.0 [170/2218752] via 150.100.1.3, 01:54:55, Serial0/0.1
>    147.10.0.0/24 is subnetted, 1 subnets
> C 147.10.1.0 is directly connected, Dialer0
>    148.10.0.0/24 is subnetted, 1 subnets
> C 148.10.1.0 is directly connected, Dialer1
> 150.100.0.0/16 is variably subnetted, 15 subnets, 4 masks
> D 150.100.250.0/28 [190/2297856] via 150.100.1.2, 01:55:44, Serial0/0.1
> D 150.100.254.0/26 [190/2297856] via 150.100.1.2, 01:55:44, Serial0/0.1
> D 150.100.250.16/28 [190/2297856] via 150.100.1.2, 01:55:45, Serial0/0.1
> D 150.100.254.64/26 [190/2297856] via 150.100.1.2, 01:55:45, Serial0/0.1
> D 150.100.100.0/24 [200/2681856] via 150.100.1.3, 01:54:55, Serial0/0.1
> D 150.100.105.0/24 [190/2195456] via 150.100.1.2, 01:55:45, Serial0/0.1
> D 150.100.32.0/30 [190/2297856] via 150.100.1.2, 01:55:46, Serial0/0.1
> D 150.100.32.4/30 [190/2297856] via 150.100.1.2, 01:55:46, Serial0/0.1
> D 150.100.32.8/30 [190/2297856] via 150.100.1.2, 01:55:46, Serial0/0.1
> D 150.100.22.0/24 [200/2297856] via 150.100.1.3, 01:54:57, Serial0/0.1
> D 150.100.20.0/24 [200/2297856] via 150.100.1.3, 01:54:57, Serial0/0.1
> D 150.100.21.0/24 [200/2297856] via 150.100.1.3, 01:54:57, Serial0/0.1
> D 150.100.24.0/24 [200/2195456] via 150.100.1.3, 01:54:57, Serial0/0.1
> C 150.100.2.0/24 is directly connected, FastEthernet0/1
> C 150.100.1.0/24 is directly connected, Serial0/0.1
> D*EX 0.0.0.0/0 [170/2218752] via 150.100.1.2, 01:54:57, Serial0/0.1
>                       [170/2218752] via 150.100.1.3, 01
> 
> Thanks
> 
> Alvaro Riera
> CCIE 6826, CCNP+Voice Access+Security, CCDP
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to