GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: Problem with Distance in OSPF posted 09/20/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Works fine.  In OSPF though, the item you put in the "distance" command line
as route source is NOT your directly connected peer.  It's the router-id of
the advertising router.  In other words, that value needs to match the
information in "show ip ospf database" and it'll work great.

HTH,

 
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE-M
#153, CISSP, et al.
CCSI/JNCI-M/JNCI-ER
VP - Technical Training - IPexpert, Inc.
IPexpert Sr. Technical Instructor
 
A Cisco Learning Partner - We Accept Learning Credits!
 
smorris@xxxxxxxxxxxx
 
Telephone: +1.810.326.1444 
Fax: +1.810.454.0130
http://www.ipexpert.com
 

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of
Shine Joseph
Sent: Thursday, September 20, 2007 5:23 AM
To: 'Ajay Prakash'; ccielab@xxxxxxxxxxxxxx
Subject: RE: Problem with Distance in OSPF

Ajay,

I think you are referring to a IE scenario. There was a discussion about
this about few weeks back. You would be able to dig that from the archives.

Changing of OSPF AD for selected prefixes doesn't, apparently, work for all
IOS versions.

Regards,
Shine

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of Ajay
Prakash
Sent: Thursday, 20 September 2007 6:01 PM
To: ccielab@xxxxxxxxxxxxxx
Subject: Problem with Distance in OSPF

Hello,

 

I have some problems with changing the AD in OSPF. I am trying to change the
distance or some routes learned by a neighbor to 109. However when I see the
routing table, it seems that the AD is changed only for one network (which
is directly connected to neighnor). Please help me understand this behavior.

 

 

Rack1R5#sh run | s ospf

router ospf 1

 router-id 150.1.5.5

 log-adjacency-changes

 network 139.1.15.5 0.0.0.0 area 1

 network 139.1.25.5 0.0.0.0 area 1

 distance 109 150.1.1.1 0.0.0.0 FROM_R1   ---------------> I want to change
distance for specific networks learned from this neighbor. 150.1.1.1 is the
router id of neighbor

 

Rack1R5#sh access-lists 

Standard IP access list FROM_R1

    40 permit 139.1.11.0 (3 matches)

    10 permit 139.1.2.0 (3 matches)

    50 permit 139.1.0.0 (3 matches)

    20 permit 139.1.6.0 (3 matches)

    30 permit 139.1.7.0 (3 matches)

 

Rack1R5#sh ip ospf neigh

 

Neighbor ID     Pri   State           Dead Time   Address         Interface

150.1.2.2         0   FULL/  -        00:00:38    139.1.25.2
Serial0/0.52

150.1.1.1         0   FULL/  -        00:00:30    139.1.15.1
Serial0/0.51    --------------> This neighbor is connected by a point to
point frame relay sub-interface

 

 

Rack1R5#sh ip route ospf

     139.1.0.0/16 is variably subnetted, 14 subnets, 2 masks

O IA    139.1.11.0/24 [109/65] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    139.1.13.0/24 [110/128] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    139.1.2.0/24 [110/65] via 139.1.25.2, 00:00:15, Serial0/0.52

O IA    139.1.0.0/24 [110/138] via 139.1.25.2, 00:00:15, Serial0/0.52

                     [110/138] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    139.1.6.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52

                     [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    139.1.7.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52

                     [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    139.1.23.0/24 [110/128] via 139.1.25.2, 00:00:15, Serial0/0.52

     150.1.0.0/16 is variably subnetted, 8 subnets, 2 masks

O IA    150.1.7.7/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52

                     [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51

O IA    150.1.6.6/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52

                     [110/139] via 139.1.15.1, 00:00:17, Serial0/0.51

O IA    150.1.3.3/32 [110/129] via 139.1.25.2, 00:00:17, Serial0/0.52

                     [110/129] via 139.1.15.1, 00:00:17, Serial0/0.51

O       150.1.2.2/32 [110/65] via 139.1.25.2, 00:00:17, Serial0/0.52

O       150.1.1.1/32 [110/65] via 139.1.15.1,

_______________________________________________________________________
Subscription information may be found at: 
http://www.groupstudy.com/list/CCIELab.html

_______________________________________________________________________
Subscription information may be found at: 
http://www.groupstudy.com/list/CCIELab.html