Rich, I am pretty much sure one can change the AD for a single advertising neighbor. To start with pick up a single prefix may be a /32 and do a show ip route to it or look it up in the database to see which router is originating it. Apply the distance command on the basis of the router-id of the originating router ... it should work. To further confirm my understanding, I digged up and found this link:
https://learningnetwork.cisco.com/thread/34133 It could be a bug. Regards, Samir Idris. On Tue, Dec 4, 2012 at 6:10 AM, Rich Meraz <[email protected]> wrote: > I ran across a task that asked the following: > > Cat2 will always prefer OSPF routes from R5 (... over R6) > > > > The DSG has the following solution: > > Cat2 > > config t > > access-list 63 permit any > > router ospf 1 > > distance 109 136.10.5.5 0.0.0.0 63 > > > > Whenever I tried, though, the administrative distance was changed to 109 to > ALL advertising routers. I did some research online and this seems to be > the normal behavior in which you cannot change the distance for just a > single OSPF advertising neighbor. I wanted to verify this with anyone else > who may have encountered the same issue. > > > > > > S2(config-router)#do sh ip route ospf > > 136.10.0.0/16 is variably subnetted, 9 subnets, 5 masks > > O IA 136.10.24.2/32 [109/65] via 136.10.56.6, 00:11:09, Vlan56 > > [109/65] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.10.25.0/30 [109/65] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.10.24.4/32 [109/129] via 136.10.56.6, 00:11:09, Vlan56 > > [109/129] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.10.100.6/32 [110/1] via 136.10.56.6, 00:11:09, Vlan56 > > O IA 136.10.100.5/32 [109/1] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.10.100.2/32 [109/65] via 136.10.56.6, 00:11:09, Vlan56 > > [109/65] via 136.10.56.5, 00:11:09, Vlan56 > > 136.16.0.0/16 is variably subnetted, 7 subnets, 2 masks > > O IA 136.16.6.6/32 [110/2] via 136.10.56.6, 00:11:09, Vlan56 > > O IA 136.16.5.5/32 [109/2] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.16.4.4/32 [109/130] via 136.10.56.6, 00:11:09, Vlan56 > > [109/130] via 136.10.56.5, 00:11:09, Vlan56 > > O IA 136.16.2.2/32 [109/66] via 136.10.56.6, 00:11:10, Vlan56 > > [109/66] via 136.10.56.5, 00:11:10, Vlan56 > > > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com <http://www.platinumplacement.com/> > > http://onlinestudylist.com/mailman/listinfo/ccie_rs > -- Samir Idris _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
