RE: ospf distance command not working

From: Salau, Yemi (yemi.salau@siemens.com)
Date: Wed May 21 2008 - 18:41:24 ART


Guys,
 
The short answer to this is that, Luan should use Router-ID as opposed to interface IP seen within Sh ip route.
 
To fortify what Ahmed said, OSPF uses RouterID to identify who sent the route, but RIB uses interfaceIP the route was received on.
 
Many Thanks
 
Yemi Salau

 
________________________________

From: nobody@groupstudy.com on behalf of ahmed badr
Sent: Wed 21/05/2008 22:39
To: Luan Nguyen
Cc: Cisco certification
Subject: Re: ospf distance command not working

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