From: Scott Morris (swm@emanon.com)
Date: Sat Apr 08 2006 - 16:58:40 GMT-3
In RIP, your theory would work, because the IP listed in the distance
command line would be the advertised neighbor (aka next-hop).
In EIGRP, it's basically the same thing although we call it the feasible
successor.
In OSPF, though, it's different! The IP address you list is NOT your
next-hop router, it's the advertising router within your OSPF Area. So
you'll need to look at "show ip ospf database" to find the route you want
and then the advertising router associated with it. That's what you'll put
in place of "142.7.0.3 0.0.0.0"
HTH,
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
#153, CISSP, et al.
CCSI/JNCI
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
swm@emanon.com/smorris@ipexpert.com
http://www.ipexpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Roberto Fernandez
Sent: Saturday, April 08, 2006 3:58 PM
To: Cisco certification
Subject: Distance command under OSPF process
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