RE: OSPF Distance command - not working!

From: Ajay Prakash (ajay.prakash@networkpeople.co.in)
Date: Tue Oct 02 2007 - 14:05:02 ART


I had faced this similar issue and I believe you are doing the same IE lab
where I got stuck.

The one prefix for which you see the command working is actually originating
from R1. You need to mention the router-id or the router originating the
prefix with the distance command and not your directly connected neighbor.
If the prefix is originating in a different area, then you need to mention
ABR's router-id with the distance command.

This is what I have understood after my problem. If I am wrong at this,
please correct me.

Thanks
Ajay

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sadiq Yakasai
Sent: Tuesday, October 02, 2007 9:45 PM
To: Cisco certification
Subject: OSPF Distance command - not working!

Hey Guys,

I am sure we have discussed this over and over here, excuse me for
that! But this thing here is driving me nuts!!!

It just doesnt work quite well....some ppl have suggested some IOS
versions dont exactly work, if I remember correctly....???

SO this is the situation:

R5 ------------R1
 |
 |-------------R2

All links to R5 from both R1 and R2 are point-point FR subinterfaces

But the distance command on R5 only affects one of my prefixes
(139.1.11.0) and doesnt affect the rest...

Please see below....does anyone have a clue wats happening?

Thanks

R5#sh run | b router ospf
router ospf 100
 router-id 150.1.5.5
 log-adjacency-changes
 network 139.1.15.5 0.0.0.0 area 1
 network 139.1.25.5 0.0.0.0 area 1
 distance 109 150.1.1.1 0.0.0.0 OSPF
!
!
ip access-list standard OSPF
 permit 139.1.11.0
 permit 139.1.2.0
 permit 139.1.0.0
 permit 139.1.6.0
 permit 139.1.7.0

R5#sh ip os da summar

            OSPF Router with ID (150.1.5.5) (Process ID 100)

                Summary Net Link States (Area 1)

  Routing Bit Set on this LSA
  LS age: 67
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.0.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0x9143
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 65

  Routing Bit Set on this LSA
  LS age: 229
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.0.0 (summary Network Number)
  Advertising Router: 150.1.2.2
  LS Seq Number: 80000006
  Checksum: 0x7C52
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 65

  Routing Bit Set on this LSA
  LS age: 91
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.2.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0xFD94
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 129

  Routing Bit Set on this LSA
  LS age: 275
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.2.0 (summary Network Number)
  Advertising Router: 150.1.2.2
  LS Seq Number: 80000008
  Checksum: 0xDF2B
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 1

  Routing Bit Set on this LSA
  LS age: 118
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.6.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0x5974
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 66

  Routing Bit Set on this LSA
  LS age: 282
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.6.0 (summary Network Number)
  Advertising Router: 150.1.2.2
  LS Seq Number: 80000004
  Checksum: 0x4881
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 66

  Routing Bit Set on this LSA
  LS age: 123
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.7.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0x4E7E
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 66

  Routing Bit Set on this LSA
  LS age: 287
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.7.0 (summary Network Number)
  Advertising Router: 150.1.2.2
  LS Seq Number: 80000004
  Checksum: 0x3D8B
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 66

  Routing Bit Set on this LSA
  LS age: 128
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.11.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0x9574
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 1

  LS age: 297
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.11.0 (summary Network Number)
  Advertising Router: 150.1.2.2
  LS Seq Number: 80000003
  Checksum: 0x8BFA
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 129

  Routing Bit Set on this LSA
  LS age: 140
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 139.1.13.0 (summary Network Number)
  Advertising Router: 150.1.1.1
  LS Seq Number: 80000002
  Checksum: 0xF7D0
  Length: 28
  Network Mask: /24
        TOS: 0 Metric: 64

  LS age: 305
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)

R5#sh ip rout os
     139.1.0.0/16 is variably subnetted, 14 subnets, 2 masks
O IA 139.1.11.0/24 [109/65] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 139.1.13.0/24 [110/128] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 139.1.2.0/24 [110/65] via 139.1.25.2, 00:02:21, Serial0/1/0.502
O IA 139.1.0.0/24 [110/129] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/129] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 139.1.6.0/24 [110/130] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/130] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 139.1.7.0/24 [110/130] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/130] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 139.1.23.0/24 [110/128] via 139.1.25.2, 00:02:21, Serial0/1/0.502
     150.1.0.0/16 is variably subnetted, 8 subnets, 2 masks
O IA 150.1.7.7/32 [110/130] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/130] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 150.1.6.6/32 [110/130] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/130] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O IA 150.1.3.3/32 [110/129] via 139.1.25.2, 00:02:21, Serial0/1/0.502
                     [110/129] via 139.1.15.1, 00:02:21, Serial0/1/0.501
O 150.1.2.2/32 [110/65] via 139.1.25.2, 00:02:21, Serial0/1/0.502
O 150.1.1.1/32 [110/65] via 139.1.15.1, 00:02:21, Serial0/1/0.501
R5#



This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:11 ART