From: ahmed badr (eng.ahmedbadr@gmail.com)
Date: Wed May 21 2008 - 18:39:29 ART
It's a matter of "WHO" advertised the route to this router. try doing "show
ip ospf database" and find the "advertising" router of the route that you
want then you should put it in the source field of the distance command.
2008/5/21 Luan Nguyen <luan.m.nguyen@gmail.com>:
> Hello,
> Anyone know why the distance command doesn't work for me?
>
> router ospf 1
> router-id 10.5.1.2
> log-adjacency-changes
> redistribute bgp 7046 subnets route-map BGP>OSPF
> network 10.5.1.2 0.0.0.0 area 0
> distance 19 10.5.1.250 0.0.0.0
>
> PIPSpokeSite5CE#show ip route ospf
> 10.0.0.0/24 is subnetted, 12 subnets
> O IA 10.5.11.0 [110/2] via 10.5.1.250, 00:00:45, FastEthernet0/0
> O E2 10.5.111.0 [110/20] via 10.5.1.250, 00:00:45, FastEthernet0/0
> O*E2 0.0.0.0/0 [110/1] via 10.5.1.1, 00:00:45, FastEthernet0/0
>
> it still shows 110 instead of 19? clear ip ospf process, reload
> router...etc won't help.
>
> Thanks.
>
> -lmn
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART