Administrator Guide

Layer 3 Routing Commands 1776
Syntax
show ip ospf asbr [vrf
vrf-name
]
vrf-name
—The name of the VRF instance on which the command
operates. If no VRF parameter is given, information for the default
(global) router instance is shown.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Configuration mode and all Configuration submodes
User Guidelines
The VRF identified in the parameter must have been previously created or an
error is returned.
The VRF parameter is only available on the N3000/N4000 series switches.
Example
console#show ip ospf asbr
Type Router Id Cost Area ID Next Hop Next Hop
Intf
----- ---------- ---- -------- ----------- -----------
INTRA 1.1.1.1 1 0.0.0.1 10.1.12.1 vlan10
INTRA 4.4.4.4 10 0.0.0.1 10.1.24.4 vlan12
show ip ospf database
Use the show ip ospf database command in Privileged EXEC mode to display
information about the link state database when OSPF is enabled. If
parameters are entered, the command displays the LSA headers. Use the
optional parameters to specify the type of link state advertisements to display.
Syntax
show ip ospf [vrf
vrf-name
] [
area-id
] database [{asbr-summary | external |
network | nssa-external | router | summary}][
ls-id
] [adv-router [
ip-address
]
| self-originate] [opaque-area] [opaque-as] [opaque-link]
2CSNXXX_SWUM204.book Page 1776 Monday, January 25, 2016 1:25 PM