477
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show ip ospf database
show ip ospf database
To display the Open Shortest Path First (OSPF) database for a specific router, use the show ip ospf
database command.
show ip ospf [instance-tag] database [area-id] [link-state-id] [adv-router ip-address |
self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database asbr-summary [area-id] [link-state-id] [adv-router
ip-address | self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database database-summary [vrf vrf-name]
show ip ospf [instance-tag] database external [ext_tag value] [link-state-id] [adv-router
ip-address | self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database network [area-id] [link-state-id] [
adv-router ip-address |
self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database nssa-external [area-id] [link-state-id] [adv-router
ip-address | self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database opaque-area [area-id] [link-state-id] [adv-router ip-address
| self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database opaque-as [link-state-id] [adv-router ip-address |
self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database opaque-link [area-id] [link-state-id] [adv-router ip-address
| self-originated
] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database router [area-id] [link-state-id] [adv-router ip-address |
self-originated] [detail] [vrf vrf-name]
show ip ospf [instance-tag] database summary [area-id] [link-state-id] [adv-router ip-address |
self-originated] [detail] [vrf vrf-name]
Syntax Description instance-tag (Optional) Name of the OSPF instance. The name can be a maximum
of 20 alphanumeric characters.
area-id (Optional) Area number used to define the particular area. Specify as
either an IP address or a number from 0 to 4294967295.
link-state-id (Optional) Portion of the Internet environment that is being described
by the advertisement. The value entered depends on the
advertisement’s link-state type. Specify in the form of an IP address.
adv-router
ip-address
(Optional) Displays all the link-state advertisements (LSAs) of the
specified router.
self-originate (Optional) Displays self-originated LSAs (from the local router).
asbr-summary (Optional) Displays information about the autonomous system
boundary router summary LSAs.
database-summary (Optional) Displays each type of LSA for each area in the database,
and the total number of LSAs.