That is correct, 136.10.4.4/32 is originated by a different rotuer and yes your explaination is consistent with what I am seeing. No mention of this in the command reference guide and can't think of an explanation why this should be the case, but it seems to be. Would be nice to understand why. That means that if a task states to prefer on router A routes from Router B in a scenario where we have three OSPF routers on a LAN, routers A, B and C with routers B and C being the WAN routers, it cannot be solved with the admin distance. I need to think about if it can be solved differently. Btw, this is part of ipexpert task 6.3 lab 17 volume 2 and the DSG shows the distance command as solution, it does not show the verification of the task. Fulvio
From: [email protected] To: [email protected]; [email protected] Date: Mon, 15 Oct 2012 12:51:50 -0500 Subject: RE: [OSL | CCIE_RS] OSPF distance command Looks at your OSPF database. 136.10.4.4/32 I bet this route is not originated from this router your pointing to. I believe this command will only effect routes originated from 136.10.5.5 I can lab this latter tonight if your still having trouble. From: Fulvio allegretti [mailto:[email protected]] Sent: Monday, October 15, 2012 1:44 PM To: Bodnar, Edward; [email protected] Subject: RE: [OSL | CCIE_RS] OSPF distance command Thanks Edwarad, very good articles. I am not trying to filter prefixes, I am trying to prefer a path by use of admin distance (I know we can use admin distance to filter). So if I apply the distance command under the router process Cat2#conf t Enter configuration commands, one per line. End with CNTL/Z. Cat2(config)#router ospf 1 Cat2(config-router)#distance 109 136.10.5.5 0.0.0.0 Cat2(config-router)#do sh ip route ospf 136.10.0.0/16 is variably subnetted, 19 subnets, 6 masks O IA 136.10.6.6/32 [110/2] via 136.10.56.6, 00:00:12, Vlan56 O IA 136.10.5.5/32 [109/2] via 136.10.56.5, 00:00:12, Vlan56 O IA 136.10.4.4/32 [110/130] via 136.10.56.6, 00:00:12, Vlan56 [110/130] via 136.10.56.5, 00:00:12, Vlan56 Note that the admin distance of 136.10.5.5/32 has changed but he admin distance for 136.10.4.4/32 has not. That's what I am struggling with. Fulvio > From: [email protected] > To: [email protected]; [email protected] > Date: Mon, 15 Oct 2012 11:51:52 -0500 > Subject: RE: [OSL | CCIE_RS] OSPF distance command > > R U filtering routes intra area or inter area ? there different methods. > > Try these posts. > > http://ardenpackeer.com/tutorials/routeswitch/tutorial-filtering-routes-in-o > spf-part-1-filtering-within-an-area/ > > http://ardenpackeer.com/tutorials/routeswitch/tutorial-filtering-routes-in-o > spf-part-2-filtering-between-areas-using-area-filter-list/ > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Fulvio allegretti > Sent: Monday, October 15, 2012 12:41 PM > To: [email protected] > Subject: [OSL | CCIE_RS] OSPF distance command > > The ip address in the distance command is the router-id (I do think the > command reference guide could be better there). > > My issue is now, can I affect the distance of prefixes I receive from more > than 1 neighbor with the same metric, with the distance command so that he > admin distance of the prefixes from 1 of the two neighbors is different? I > can't get it to work. > here is the example I am working with: > > Cat2#sh ip route ospf > 136.10.0.0/16 is variably subnetted, 19 subnets, 6 masks > O IA 136.10.6.6/32 [110/2] via 136.10.56.6, 00:00:20, Vlan56 > O IA 136.10.5.5/32 [110/2] via 136.10.56.5, 00:00:20, Vlan56 > O IA 136.10.4.4/32 [110/130] via 136.10.56.6, 00:00:20, Vlan56 > [110/130] via 136.10.56.5, 00:00:20, Vlan56 > > I would like to change the admin distance of 136.10.4.4 to 109 when received > by 136.10.56.5 router-id 136.10.5.5 > > Thanks > fulvio > > _______________________________________________ > 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 > _______________________________________________ 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
