RE: distance cli in ospf not working ?

From: Daniel Kutchin (daniel@kutchin.com)
Date: Wed Jan 28 2009 - 04:16:41 ARST


Guarav -

You hit bug CSCeh46993 with the distance command -
 "distance should not affect ospf path
selection within a single process".

-
Daniel

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
GAURAV MADAN
Sent: Dienstag, 27. Januar 2009 16:08
To: Cisco certification
Subject: distance cli in ospf not working ?

Hi group

I have following topo :

                       R5
                     / \
                    / \
                  / \
                / \
             R3 ---------- R4

The ethernet netw 142.1.34.0/24 betwwen R3 and R4 is learnt on R5 via R3 as
well as R4 ( R3,R4,R5 is hub and spoke FR .. all using physical interfaces )
.
I want to learn via R4 only . Not via R3

Prior to config :

Rack1R5(config)#do sh ip route os
     142.1.0.0/16 is variably subnetted, 7 subnets, 2 masks
O 142.1.0.4/32 [110/64] via 142.1.0.4, 00:00:52, Serial0/0/0
O 142.1.0.3/32 [110/64] via 142.1.0.3, 00:00:52, Serial0/0/0
O 142.1.34.0/24 [110/65] via 142.1.0.4, 00:00:52, Serial0/0/0
<<<<<<<<<
                      [110/65] via 142.1.0.3, 00:00:52,
Serial0/0/0 <<<<<<<<<
O 142.1.89.0/24 [110/2] via 142.1.58.8, 00:00:52, FastEthernet0/1
     150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks
O 150.1.4.4/32 [110/65] via 142.1.0.4, 00:00:52, Serial0/0/0
O 150.1.3.3/32 [110/65] via 142.1.0.3, 00:00:52, Serial0/0/0

Now I configure

Rack1R5(config)#do sh ip access-li
Standard IP access list 1
    10 permit 142.1.34.0, wildcard bits 0.0.0.255 log

outer ospf 10
 router-id 150.1.5.5
 log-adjacency-changes
 network 142.1.0.5 0.0.0.0 area 345
 network 142.1.5.5 0.0.0.0 area 5
 network 142.1.58.5 0.0.0.0 area 0
 network 150.1.5.5 0.0.0.0 area 345
 distance 255 142.1.0.3 0.0.0.0 1 <<<<<<<<<
 !

But I still see route learnt via both the neighbors .
Can someone point out to problem

Just FYI : R3 R4 R5 share common area .. I know of "distance" and
"distribute list" as tool to do intra-area filtering . Havent dist list ..
just want to know why my sol didnt worked

Thnx
Gaurav Madan.

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:40 ARST