OSPF - Default information originate metric

From: Bogdan Georgescu (bogdan.alexandru.georgescu@gmail.com)
Date: Tue Feb 17 2009 - 08:41:59 ARST


Hello,

In order to generate a default external route into OSPF you use the
default-information originate command. According to the IP Routing
Protocols Command Reference the default value of the metric argument
is 10, but the IOS doesn't seem to agree with that.

R0(config-router)#do sh run | s ospf
router ospf 10
 log-adjacency-changes
 network 10.0.0.0 0.0.0.255 area 0
 default-information originate always
R0(config-router)#do sh ip ospf data ex

            OSPF Router with ID (100.100.100.100) (Process ID 10)

                Type-5 AS External Link States

  LS age: 8
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 0.0.0.0 (External Network Number )
  Advertising Router: 100.100.100.100
  LS Seq Number: 80000006
  Checksum: 0x1003
  Length: 36
  Network Mask: /0
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 1
        Forward Address: 0.0.0.0
        External Route Tag: 10

Does anyone know why the metric is shown as 1 here?

Thank you!

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



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:11 ARST