Distance command under OSPF process

From: Roberto Fernandez (rofernandez@us.telefonica.com)
Date: Sat Apr 08 2006 - 16:58:03 GMT-3


Friends,

First thanks for the good inputs on the RSPAN subject, now a new
question.

It's there some caveat or limit to use the "distance" command under OSPF
process?

I've tried different variants and the only that seems to work is when I
change the distance for all routes. When I try to filter based on the
route source/access-list pair, it doesn't work for me. I'm posting my
configuration in hope someone finds a mistake, since this looks straight
forward...

*****************************************************************

***Routing table***

Rack7R5(config)#do sh ip ro os
     142.7.0.0/16 is variably subnetted, 6 subnets, 2 masks
O 142.7.0.3/32 [110/64] via 142.7.0.3, 00:00:24, Serial0/0
O 142.7.0.4/32 [110/64] via 142.7.0.4, 00:00:24, Serial0/0
O 142.7.34.0/24 [110/74] via 142.7.0.4, 00:00:24, Serial0/0
                      [110/74] via 142.7.0.3, 00:00:24, Serial0/0
     150.7.0.0/16 is variably subnetted, 4 subnets, 2 masks
O 150.7.8.8/32 [110/11] via 142.7.58.8, 00:00:24, Ethernet0/1
O 150.7.4.4/32 [110/65] via 142.7.0.4, 00:00:24, Serial0/0
O 150.7.3.3/32 [110/65] via 142.7.0.3, 00:00:24, Serial0/0

***OSPF process***

router ospf 7
 router-id 150.7.5.5
 log-adjacency-changes
 network 142.7.0.0 0.0.0.255 area 345
 network 142.7.58.0 0.0.0.255 area 0
 network 150.7.5.0 0.0.0.255 area 345
 distance 111 142.7.0.3 0.0.0.0 11

***access-list***

access-list 11 permit 142.7.34.0 0.0.0.255

************************************************************************
****

Any input welcomed...



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:56 GMT-3