Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3
IP Routing Protocols Commands: show ip ospf through version

Table Of Contents

show ip ospf

show ip ospf border-routers

show ip ospf database

show ip ospf flood-list

show ip ospf interface

show ip ospf neighbor

show ip ospf request-list

show ip ospf retransmission-list

show ip ospf sham-links

show ip ospf summary-address

show ip ospf virtual-links

show ip policy

show ip policy-list

show ip prefix-list

show ip protocols

show ip rip database

show ip route

show ip route profile

show ip route summary

show ip route supernets-only

show isis database

show isis hostname

show isis spf-log

show isis topology

show key chain

show route-map

spf-interval

summary-address (IS-IS)

summary-address (OSPF)

synchronization

table-map

timers active-time

timers basic (ODR)

timers basic (RIP)

timers bgp

timers nsf route-hold

timers pacing flood

timers pacing lsa-group

timers pacing retransmission

timers spf

timers throttle spf

traffic-share balanced

traffic-share min

validate-update-source

variance (EIGRP)

version


show ip ospf

To display general information about Open Shortest Path First (OSPF) routing processes, use the show ip ospf command in EXEC mode.

show ip ospf [process-id]

Syntax Description

process-id

(Optional) Process ID. If this argument is included, only information for the specified routing process is included.


Command Modes

EXEC

Command History

Release
Modification

10.0

This command was introduced.

12.2(4)T

This command was modified to show packet pacing timers in the displayed output.

12.2(15)T

This command was modified to show additional information if the OSPF Forwarding Address Suppression in Type-5 LSAs feature is configured.


Examples

The following is sample output from the show ip ospf command when entered without a specific OSPF process ID:

Router# show ip ospf 

  Routing Process "ospf 201" with ID 10.0.0.1 and Domain ID 10.20.0.1 
  Supports only single TOS(TOS0) routes 
  Supports opaque LSA 
  SPF schedule delay 5 secs, Hold time between two SPFs 10 secs 
  Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs 
  LSA group pacing timer 100 secs 
  Interface flood pacing timer 55 msecs 
  Retransmission pacing timer 100 msecs 
  Number of external LSA 0. Checksum Sum 0x0      
  Number of opaque AS LSA 0. Checksum Sum 0x0      
  Number of DCbitless external and opaque AS LSA 0 
  Number of DoNotAge external and opaque AS LSA 0 
  Number of areas in this router is 2. 2 normal 0 stub 0 nssa 
  External flood list length 0 
     Area BACKBONE(0) 
         Number of interfaces in this area is 2 
         Area has message digest authentication 
         SPF algorithm executed 4 times 
         Area ranges are 
         Number of LSA 4. Checksum Sum 0x29BEB  
         Number of opaque link LSA 0. Checksum Sum 0x0      
         Number of DCbitless LSA 3 
         Number of indication LSA 0 
         Number of DoNotAge LSA 0 
         Flood list length 0 
     Area 172.16.26.0 
         Number of interfaces in this area is 0 
         Area has no authentication 
         SPF algorithm executed 1 times 
         Area ranges are 
            192.168.0.0/16 Passive Advertise  
         Number of LSA 1. Checksum Sum 0x44FD   
         Number of opaque link LSA 0. Checksum Sum 0x0      
         Number of DCbitless LSA 1 
         Number of indication LSA 1 
         Number of DoNotAge LSA 0 
         Flood list length 0

Table 52 describes the significant fields shown in the display.

Table 54 show ip ospf Field Descriptions 

Field
Description

Routing process "ospf 201" with ID 10.0.0.1

Process ID and OSPF router ID.

Supports...

Number of types of service supported (Type 0 only).

SPF schedule delay

Delay time of SPF calculations.

Minimum LSA interval

Minimum interval between link-state advertisements.

LSA group pacing timer

Configured LSA group pacing timer (in seconds).

Interface flood pacing timer

Configured LSA flood pacing timer (in milliseconds).

Retransmission pacing timer

Configured LSA retransmission pacing timer (in milliseconds).

Number of...

Number and type of link-state advertisements that have been received.

Number of external LSA

Number of external link-state advertisements.

Number of opaque AS LSA

Number of opaque link-state advertisements.

Number of DCbitless external and opaque AS LSA

Number of demand circuit external and opaque link-state advertisements.

Number of DoNotAge external and opaque AS LSA

Number of do not age external and opaque link-state advertisements.

Number of areas in this router is

Number of areas configured for the router.

External flood list length

External flood list length.


The following is an excerpt of output from the show ip ospf command when the OSPF Forwarding Address Suppression in Type-5 LSAs feature is configured:

Router# show ip ospf

.
.
.
Area 2
   Number of interfaces in this area is 4
   It is a NSSA area
   Perform type-7/type-5 LSA translation, suppress forwarding address
.
.
.
Routing Process "ospf 1" with ID 192.168.0.1
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Minimum LSA interval 5 secs
 Minimum LSA arrival 1000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 0. Checksum Sum 0x0     
 Number of opaque AS LSA 0. Checksum Sum 0x0     
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 0. 0 normal 0 stub 0 nssa
 External flood list length 0

Table 53 describes the significant fields shown in the display.

Table 55 show ip ospf Field Descriptions 

Field
Description

Area

OSPF area and tag.

Number of interfaces...

Number of interfaces configured in the area.

It is...

Possible types are internal, area border, or autonomous system boundary.

Routing process "ospf 1" with ID 192.168.0.1

Process ID and OSPF router ID.

Supports...

Number of types of service supported (Type 0 only).

Initial SPF schedule delay

Delay time of SPF calculations at startup.

Minimum hold time

Minimum hold time between consecutive SPF calculations.

Maximum wait time

Maximum wait time between consecutive SPF calculations.

Incremental-SPF

Status of incremental SPF calculations.

Minimum LSA...

Minimum time interval (in seconds) between link-state advertisements, and maximum arrival time (in milliseconds) of link-state advertisements,

LSA group pacing timer

Configured LSA group pacing timer (in seconds).

Interface flood pacing timer

Configured LSA flood pacing timer (in milliseconds).

Retransmission pacing timer

Configured LSA retransmission pacing timer (in milliseconds).

Number of...

Number and type of link-state advertisements that have been received.

Number of external LSA

Number of external link-state advertisements.

Number of opaque AS LSA

Number of opaque link-state advertisements.

Number of DCbitless external and opaque AS LSA

Number of demand circuit external and opaque link-state advertisements.

Number of DoNotAge external and opaque AS LSA

Number of do not age external and opaque link-state advertisements.

Number of areas in this router is

Number of areas configured for the router listed by type.

External flood list length

External flood list length.


show ip ospf border-routers

To display the internal OSPF routing table entries to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR), use the show ip ospf border-routers command in privileged EXEC mode.

show ip ospf border-routers

Syntax Description

This command has no arguments or keywords.

Command Modes

Privileged EXEC

Command History

Release
Modification

10.0

This command was introduced.


Examples

The following is sample output from the show ip ospf border-routers command:

Router# show ip ospf border-routers

OSPF Process 109 internal Routing Table

Codes:  i - Intra-area route, I - Inter-area route

i 192.168.97.53   [10] via 172.16.1.53,   Serial0, ABR,  Area 0.0.0.3, SPF 3
i 192.168.103.51  [10] via 192.168.96.51, Serial0, ABR,  Area 0.0.0.3, SPF 3
I 192.168.103.52  [22] via 192.168.96.51, Serial0, ASBR, Area 0.0.0.3, SPF 3
I 192.168.103.52  [22] via 172.16.1.53,   Serial0, ASBR, Area 0.0.0.3, SPF 3

Table 54 describes the significant fields shown in the display.

Table 56 show ip ospf border-routers Field Descriptions 

Field
Description

192.168.97.53

Router ID of the destination.

[10]

Cost of using this route.

via 172.16.1.53

Next hop toward the destination.

Serial0

Interface type for the outgoing interface.

ABR

The router type of the destination; it is either an ABR or ASBR or both.

Area

The area ID of the area from which this route is learned.

SPF 3

The internal number of the shortest path first (SPF) calculation that installs this route.


show ip ospf database

To display lists of information related to the OSPF database for a specific router, use the show ip ospf database command in EXEC mode. The various forms of this command deliver information about different OSPF link-state advertisements (LSAs).

show ip ospf [process-id [area-id]] database

show ip ospf [process-id [area-id]] database [adv-router [ip-address]]

show ip ospf [process-id [area-id]] database [asbr-summary] [link-state-id]

show ip ospf [process-id [area-id]] database [asbr-summary] [link-state-id] [adv-router
[ip-address]]

show ip ospf [process-id [area-id]] database [asbr-summary] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [database-summary]

show ip ospf [process-id [area-id]] database [external] [link-state-id]

show ip ospf [process-id [area-id]] database [external] [link-state-id] [adv-router [ip-address]]

show ip ospf [process-id [area-id]] database [external] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [network] [link-state-id]

show ip ospf [process-id [area-id]] database [network] [link-state-id] [adv-router [ip-address]]

show ip ospf [process-id [area-id]] database [network] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [nssa-external] [link-state-id]

show ip ospf [process-id [area-id]] database [nssa-external] [link-state-id] [adv-router
[ip-address]]

show ip ospf [process-id [area-id]] database [nssa-external] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [opaque-area] [link-state-id]

show ip ospf [process-id [area-id]] database [opaque-area] [link-state-id] [adv-router
[ip-address]]

show ip ospf [process-id [area-id]] database [opaque-area] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [opaque-as] [link-state-id]

show ip ospf [process-id [area-id]] database [opaque-as] [link-state-id] [adv-router
[ip-address]]

show ip ospf [process-id [area-id]] database [opaque-as] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [opaque-link] [link-state-id]

show ip ospf [process-id [area-id]] database [opaque-link] [link-state-id] [adv-router
[ip-address]]

show ip ospf [process-id [area-id]] database [opaque-link] [link-state-id] [self-originate]
[
link-state-id]

show ip ospf [process-id [area-id]] database [router] [link-state-id]

show ip ospf [process-id [area-id]] database [router] [adv-router [ip-address]]

show ip ospf [process-id [area-id]] database [router] [self-originate] [link-state-id]

show ip ospf [process-id [area-id]] database [self-originate] [link-state-id]

show ip ospf [process-id [area-id]] database [summary] [link-state-id]

show ip ospf [process-id [area-id]] database [summary] [link-state-id] [adv-router [ip-address]]

show ip ospf [process-id [area-id]] database [summary] [link-state-id] [self-originate]
[
link-state-id]

Syntax Description

process-id

(Optional) Internal identification. It is locally assigned and can be any positive integer. The number used here is the number assigned administratively when enabling the OSPF routing process.

area-id

(Optional) Area number associated with the OSPF address range defined in the network router configuration command used to define the particular area.

adv-router [ip-address]

(Optional) Displays all the link-state advertisements (LSAs) of the specified router. If no IP address is included, the information is about the local router itself (in this case, the same as the self-originate keyword).

asbr-summary

(Optional) Displays information only about the Autonomous System Boundary Router (ASBR) summary LSAs.

link-state-id

(Optional) Portion of the Internet environment that is being described by the advertisement. The value entered depends on the type of the LSA. The value must be entered in the form of an IP address.

When the LSA is describing a network, the link-state-id argument can take one of two forms:

The network IP address (as in Type 3 summary link advertisements and in autonomous system external link advertisements).

A derived address obtained from the link-state ID. (Note that masking a network will link the advertisement link-state ID with the network subnet mask yielding the network IP address.)

When the LSA is describing a router, the link-state ID is always the OSPF router ID of the described router.

When an autonomous system external advertisement (Type 5) is describing a default route, its link-state ID is set to the default destination (0.0.0.0).

database-summary

(Optional) Displays how many of each type of LSA for each area there are in the database, and the total.

external

(Optional) Displays information only about the external LSAs.

network

(Optional) Displays information only about the network LSAs.

nssa-external

(Optional) Displays information only about the not so stubby area (NSSA) external LSAs.

opaque-area

(Optional) Displays information about the opaque Type 10 LSAs. Type 10 denotes an area-local scope. Refer to RFC 2370 for more information on the opaque LSA options.

opaque-as

(Optional) Displays information about the opaque Type 11 LSAs. Type 11 denotes that the LSA is flooded throughout the autonomous system.

opaque-link

(Optional) Displays information about the opaque Type 9 LSAs. Type 9 denotes a link-local scope.

router

(Optional) Displays information only about the router LSAs.

self-originate

(Optional) Displays only self-originated LSAs (from the local router).

summary

(Optional) Displays information only about the summary LSAs.


Command Modes

EXEC

Command History

Release
Modification

10.0

This command was introduced.

11.0

The database-summary keyword was added.

12.0

The following keywords were added:

self-originate

adv-router

12.1

The following keywords were added:

opaque-area

opaque-as

opaque-link


Examples

The following is sample output from the show ip ospf database command when no arguments or keywords are used:

Router# show ip ospf database

OSPF Router with ID(192.168.1.11) (Process ID 1)

                 Router Link States(Area 0)

 Link ID           ADV Router        Age         Seq#       Checksum Link count
 192.168.1.8       192.168.1.8       1381      0x8000010D    0xEF60   2
 192.168.1.11      192.168.1.11      1460      0x800002FE    0xEB3D   4
 192.168.1.12      192.168.1.12      2027      0x80000090    0x875D   3
 192.168.1.27      192.168.1.27      1323      0x800001D6    0x12CC   3
                 Net Link States(Area 0)

 Link ID          ADV Router        Age         Seq#       Checksum
 172.16.1.27      192.168.1.27      1323      0x8000005B    0xA8EE  
 172.17.1.11      192.168.1.11      1461      0x8000005B    0x7AC 
                 Type-10 Opaque Link Area Link States (Area 0)

  Link ID         ADV Router        Age         Seq#       Checksum Opaque ID
 10.0.0.0         192.168.1.11      1461      0x800002C8    0x8483     0
 10.0.0.0         192.168.1.12      2027      0x80000080    0xF858     0
 10.0.0.0         192.168.1.27      1323      0x800001BC    0x919B     0
 10.0.0.1         192.168.1.11      1461      0x8000005E    0x5B43     1 

Table 55 describes the significant fields shown in the display.

Table 57 show ip ospf database Field Descriptions 

Field
Description

Link ID

Router ID number.

ADV Router

Advertising router ID.

Age

Link-state age.

Seq#

Link-state sequence number (detects old or duplicate LSAs).

Checksum

Fletcher checksum of the complete contents of the LSA.

Link count

Number of interfaces detected for router.

Opaque ID

Opaque LSA ID number.


The following is sample output from the show ip ospf database command with the asbr-summary keyword:

Router# show ip ospf database asbr-summary

OSPF Router with id(192.168.239.66) (Process ID 300)

                Displaying Summary ASB Link States(Area 0.0.0.0)

	LS age: 1463
	Options: (No TOS-capability)
	LS Type: Summary Links(AS Boundary Router)
	Link State ID: 172.16.245.1 (AS Boundary Router address)
	Advertising Router: 172.16.241.5
	LS Seq Number: 80000072
	Checksum: 0x3548
	Length: 28
	Network Mask: 0.0.0.0 TOS: 0  Metric: 1

Table 56 describes the significant fields shown in the display.

Table 58 show ip ospf database asbr-summary Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Process ID

OSPF process ID.

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID (ASBR).

Advertising Router

Advertising router ID.

LS Seq Number

Link-state sequence (detects old or duplicate LSAs).

Checksum

Link-state checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the LSA.

Network Mask

Network mask implemented.

TOS

Type of service.

Metric

Link-state metric.


The following is sample output from the show ip ospf database command with the external keyword:

Router# show ip ospf database external
OSPF Router with id(192.168.239.66) (Autonomous system 300)

                   Displaying AS External Link States

LS age: 280
Options: (No TOS-capability)
LS Type: AS External Link
Link State ID: 143.105.0.0 (External Network Number)
Advertising Router: 10.187.70.6
LS Seq Number: 80000AFD
Checksum: 0xC3A
Length: 36
Network Mask: 255.255.0.0
     		Metric Type: 2 (Larger than any link state path)
     		TOS: 0
     		Metric: 1
     		Forward Address: 0.0.0.0
     		External Route Tag: 0 

Table 57 describes the significant fields shown in the display.

Table 59 show ip ospf database external Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Autonomous system

OSPF autonomous system number (OSPF process ID).

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID (external network number).

Advertising Router

Advertising router ID.

LS Seq Number

Link-state sequence number (detects old or duplicate LSAs).

Checksum

Checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the LSA.

Network Mask

Network mask implemented.

Metric Type

External type.

TOS

Type of service.

Metric

Link-state metric.

Forward Address

Forwarding address. Data traffic for the advertised destination will be forwarded to this address. If the forwarding address is set to 0.0.0.0, data traffic will be forwarded to the originator of the advertisement.

External Route Tag

External route tag, a 32-bit field attached to each external route. This is not used by the OSPF protocol itself.


The following is sample output from the show ip ospf database command with the network keyword:

Router# show ip ospf database network
 OSPF Router with id(192.168.239.66) (Process ID 300)

                Displaying Net Link States(Area 0.0.0.0)

LS age: 1367
Options: (No TOS-capability)
LS Type: Network Links
Link State ID: 10.187.1.3 (address of Designated Router)
Advertising Router: 192.168.239.66
LS Seq Number: 800000E7
Checksum: 0x1229
Length: 52
Network Mask: 255.255.255.0
        Attached Router: 192.168.239.66
        Attached Router: 10.187.241.5
        Attached Router: 10.187.1.1
        Attached Router: 10.187.54.5
        Attached Router: 10.187.1.5 

Table 58 describes the significant fields shown in the display.

Table 60 show ip ospf database network Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Process ID 300

OSPF process ID.

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID of designated router.

Advertising Router

Advertising router ID.

LS Seq Number

Link-state sequence (detects old or duplicate LSAs).

Checksum

Checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the link-state advertisement.

Network Mask

Network mask implemented.

AS Boundary Router

Definition of router type.

Attached Router

List of routers attached to the network, by IP address.


The following is sample output, carrying Multiprotocol Label Switching (MPLS) traffic engineering specification information, from the show ip ospf database command with the opaque-area keyword:

Router# show ip ospf database opaque-area adv-router 192.168.1.12

OSPF Router with id(192.168.1.11) (Process ID 1)

                Type-10 Opaque Link Area Link States (Area 0)

LS age: 224
   Options: (No TOS-capability, DC)
   LS Type: Opaque Area Link
   Link State ID: 10.0.0.0
   Opaque Type: 1
   Opaque ID: 0
   Advertising Router: 192.168.1.12
   LS Seq Number: 80000081
   Checksum: 0xF659
   Length: 132
   Fragment number : 0
     MPLS TE router ID : 192.168.1.12
     Link connected to Point-to-Point network
       Link ID : 192.168.1.11
       Interface Address : 172.16.1.12
       Neighbor Address : 172.16.1.11
       Admin Metric : 10
       Maximum bandwidth : 193000
       Maximum reservable bandwidth : 125000
       Number of Priority : 8
       Priority 0 : 125000      Priority 1 : 125000    
       Priority 2 : 125000      Priority 3 : 125000    
       Priority 4 : 125000      Priority 5 : 125000    
       Priority 6 : 125000      Priority 7 : 100000    
       Affinity Bit : 0x0
     Number of Links : 1

Table 59 describes the significant fields shown in the display.

Table 61 show ip ospf database opaque-area Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Process ID

OSPF process ID.

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID.

Opaque Type

Opaque link-state type.

Opaque ID

Opaque ID number.

Advertising Router

Advertising router ID.

LS Seq Number

Link-state sequence (detects old or duplicate LSAs).

Checksum

Checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the LSA.

Fragment number

Arbitrary value used to maintain multiple traffic engineering LSAs.

Link ID

Link ID number.

Interface Address

ID address of the interface.

Neighbor Address

IP address of the neighbor.

Admin Metric

Administrative distance metric value used by Multiprotocol Label Switching traffic engineering (MPLS-TE).

Maximum bandwidth

Specifies maximum bandwidth.

Maximum reservable bandwidth

Specifies maximum reservable bandwidth.

Number of Priority

Priority number.

Affinity Bit

Used by MPLS-TE.


The following is sample output from the show ip ospf database command with the router keyword:

Router# show ip ospf database router

OSPF Router with id(192.168.239.66) (Process ID 300)


                Displaying Router Link States(Area 0.0.0.0)

LS age: 1176
Options: (No TOS-capability)
LS Type: Router Links
Link State ID: 10.187.21.6
Advertising Router: 10.187.21.6
LS Seq Number: 80002CF6
Checksum: 0x73B7
Length: 120
AS Boundary Router
155   Number of Links: 8

Link connected to: another Router (point-to-point)
(link ID) Neighboring Router ID: 10.187.21.5
(Link Data) Router Interface address: 10.187.21.6
Number of TOS metrics: 0
TOS 0 Metrics: 2 

Table 60 describes the significant fields shown in the display.

Table 62 show ip ospf database router Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Process ID

OSPF process ID.

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID.

Advertising Router

Advertising router ID.

LS Seq Number

Link-state sequence (detects old or duplicate LSAs).

Checksum

Checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the LSA.

AS Boundary Router

Definition of router type.

Number of Links

Number of active links.

link ID

Link type.

Link Data

Router interface address.

TOS

Type of service metric (Type 0 only).


The following is sample output from show ip ospf database command with the summary keyword:

Router# show ip ospf database summary

       OSPF Router with id(192.168.239.66) (Process ID 300)

                Displaying Summary Net Link States(Area 0.0.0.0)

LS age: 1401
Options: (No TOS-capability)
LS Type: Summary Links(Network)
Link State ID: 10.187.240.0 (summary Network Number)
Advertising Router: 10.187.241.5
LS Seq Number: 80000072
Checksum: 0x84FF
Length: 28
Network Mask: 255.255.255.0   TOS: 0  Metric: 1 

Table 61 describes the significant fields shown in the display.

Table 63 show ip ospf database summary Field Descriptions 

Field
Description

OSPF Router with id

Router ID number.

Process ID

OSPF process ID.

LS age

Link-state age.

Options

Type of service options (Type 0 only).

LS Type

Link-state type.

Link State ID

Link-state ID (summary network number).

Advertising Router

The ID of the advertising router.

LS Seq Number

Link-state sequence (detects old or duplicate LSAs).

Checksum

Checksum (Fletcher checksum of the complete contents of the LSA).

Length

Length in bytes of the link-state advertisement.

Network Mask

Network mask implemented.

TOS

Type of service.

Metric

Link-state metric.


The following is sample output from show ip ospf database command with the database-summary keyword:

Router# show ip ospf database database-summary
          OSPF Router with ID (172.19.65.21) (Process ID 1)

Area ID     Router    Network    Sum-Net    Sum-ASBR    Subtotal    Delete    Maxage
202         1         0          0          0           1           0         0
AS External                                             0           0         0
Total       1         0          0          0           1 

Table 62 describes the significant fields shown in the display.

Table 64 show ip ospf database database-summary Field Descriptions 

Field
Description

Area ID

Area number.

Router

Number of router LSAs in that area.

Network

Number of network LSAs in that area.

Sum-Net

Number of summary LSAs in that area.

Sum-ASBR

Number of summary ASBR LSAs in that area.

Subtotal

Sum of Router, Network, Sum-Net, and Sum-ASBR for that area.

Delete

Number of LSAs that are marked "Deleted" in that area.

Maxage

Number of LSAs that are marked "Maxaged" in that area.

AS External

Number of external LSAs.


show ip ospf flood-list

To display a list of OSPF link-state advertisements (LSAs) waiting to be flooded over an interface, use the show ip ospf flood-list command in EXEC mode.

show ip ospf flood-list interface-type interface-number

Syntax Description

interface-type

Interface type over which the LSAs will be flooded.

interface-number

Interface number over which the LSAs will be flooded.


Command Modes

EXEC

Command History

Release
Modification

12.0(1)T

This command was introduced.


Usage Guidelines

Use this command to observe OSPF packet pacing.

Examples

The following is sample output of the show ip ospf flood-list command:

Router# show ip ospf flood-list ethernet 1

 Interface Ethernet1, Queue length 20
 Link state flooding due in 12 msec
 Type  LS ID            ADV RTR           Seq NO      Age    Checksum
    5  10.2.195.0       192.168.0.163     0x80000009  0      0xFB61  
    5  10.1.192.0       192.168.0.163     0x80000009  0      0x2938  
    5  10.2.194.0       192.168.0.163     0x80000009  0      0x757   
    5  10.1.193.0       192.168.0.163     0x80000009  0      0x1E42  
    5  10.2.193.0       192.168.0.163     0x80000009  0      0x124D  
    5  10.1.194.0       192.168.0.163     0x80000009  0      0x134C 

Table 63 describes the significant fields shown in the display.

Table 65 show ip ospf flood-list Field Descriptions 

Field
Description

Interface Ethernet1

Interface for which information is displayed.

Queue length

Number of LSAs waiting to be flooded.

Link state flooding due in

Length of time before next link-state transmission.

Type

Type of LSA.

LS ID

Link-state ID of the LSA.

ADV RTR

IP address of advertising router.

Seq NO

Sequence number of LSA.

Age

Age of LSA (in seconds).

Checksum

Checksum of LSA.


show ip ospf interface

To display OSPF-related interface information, use the show ip ospf interface command in EXEC mode.

show ip ospf interface [interface-type interface-number] [brief]

Syntax Description

interface-type

(Optional) Interface type.

interface-number

(Optional) Interface number.

brief

(Optional) Displays brief overview information for OSPF interfaces, states, addresses and masks, and areas on the router.


Command Modes

EXEC

Command History

</
Release
Modification