Carrier Access none manual Show ip ospf database

Models: none

1 496
Download 496 pages 60.9 Kb
Page 43
Image 43

User Mode

show ip ospf database

Use the show ip ospf database command to display information related to the OSPF database for a specific router. The various forms of this command deliver information on defined OSPF link state advertisements.

Syntax: > show ip ospf database

{setting}

Syntax: > show ip ospf database

{adv-router addressself-originate}

Syntax:

>

show

ip

ospf

database

network link-state-id

Syntax:

>

show

ip

ospf

database

router {link-state-idadv-router

 

addressself-originate}

 

Syntax: > show ip ospf database summary [link-state-id] [adv-router addressself-originate]

Field

Definition

adv-router address

Displays all the LSAs of the specified router. If no IP address is

 

entered, the local router information will be displayed (same as self-

 

originate).

 

 

link-state-id

Portion of the Internet environment that is being described by the

 

advertisement. The value entered depends on the advertisement's LS

 

type. It must be entered in the form of an IP address. When the link

 

state advertisement is describing a network, the link-state-id can take

 

one of two forms:

 

1. The network's IP address (as in type 3 summary link advertisements

 

and in autonomous system external link advertisements).

 

2. A derived address obtained from the link state ID. (Note that

 

masking a network links advertisement's link state ID with the

 

network's subnet mask yields the network's IP address.)

 

When the link state advertisement is describing a router, the link state

 

ID is always the described router's OSPF router ID.

 

When an autonomous system external advertisement (LS Type = 5) is

 

describing a default route, its link state ID is set to Default Destination

 

(0.0.0.0).

 

 

network

Displays information only about the network LSAs.

 

 

router

Displays information only about the Router LSAs.

 

 

self-originate

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

 

 

summary

Displays information on.ly about the summary LSAs.

 

 

Adit 3000 (Rel. 1.6) and MSR Card (Rel 2.0) CLI

2-19

Page 43
Image 43
Carrier Access none manual Show ip ospf database