beautypg.com

Show ip ospf database – Brocade Network OS Command Reference v4.1.0 User Manual

Page 914

background image

876

Network OS Command Reference

53-1003115-01

show ip ospf database

2

show ip ospf database

Shows database information.

Synopsis

show ip ospf database [[vrf vrfname [rbridge-id {rbridge-id | all}]] | rbridge-id {rbridge-id | all}]

show ip ospf database database-summary [[vrf vrfname [rbridge-id {rbridge-id | all}]] | rbridge-id
{rbridge-id | all}]

show ip ospf database external-link-state [advertise index | extensive |link-state-id lid |
router-id routerid | sequence-number num] [[vrf vrfname [rbridge-id {rbridge-id | all}]] | rbridge-id
{rbridge-id | all}]

show ip ospf database link-state [advertise index | asbr {asbrid | adv-router rid} | extensive |
link-state-id lid | network {netid | adv-router rid} | nssa {nsaaid | adv-router rid} |
router [{routerid| adv-router rid} | router-id routerid | self-originate | sequence-number num
|summary {lid | adv-router rid}]

Operands

database-summary

Displays how many link state advertisements (LSAs) of each type exist for
each area, as well as total number of LSAs.

external-link-state

Displays information by external link state, based on the following
parameters:

advertise index

Displays the hexadecimal data in the specified LSA packet. The index
parameter identifies the LSA packet by its position in the router’s External
LSA table. To determine an LSA packet’s position in the table, enter the
show ip ospf external-link-state command.

extensive

Displays LSAs in decrypt format. Do not use this parameter in combination
with other display parameters because the entire database is displayed.

link-state-id lid

Displays external LSAs for the LSA source that you specify.

router-id routerid Displays external LSAs for the advertising router that you specify.

sequence-number num

Displays the External LSA entries for the hexadecimal LSA sequence
number that you specify.

link-state

Displays the link state, based on the following parameters:

advertise index

Displays the hexadecimal data in the specified LSA packet. The index
parameter identifies the LSA packet by its position in the router’s
external-LSA table. To determine an LSA packet’s position in the table,
enter the show ip ospf external-link-state command.

asbr

Displays autonomous system boundary router (ASBR) LSAs.

extensive

Displays LSAs in decrypt format. Do not use this parameter in combination
with other display parameters because the entire database is displayed.

link-state-id lid

Displays LSAs for the LSA source that you specify.

network

Displays either all network LSAs or the LSAs for a network that you specify.

nssa

Displays either all NSSA LSAs or the LSAs for a not-so-stubby area (NSSA)
that you specify.

router

Displays LSAs by router link.