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

Reply via email to