Connectivity Guide
• vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to congure an OSPF instance
in that VRF.
Default Not congured
Command Mode CONFIGURATION
Usage Information Assign an IP address to an interface before using this command. The no version of this command deletes an OSPF
instance.
Example
OS10(config)# router ospf 10 vrf vrf-test
Supported Releases 10.2.0E or later
show ip ospf
Displays OSPF instance conguration information.
Syntax
show ip ospf [instance-number] [vrf vrf-name]
Parameters
• instance-number — View OSPF information for a specied instance number from, 1 to 65535.
• vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to display OSPF conguration
information corresponding to that VRF.
Default Not congured
Command Mode EXEC
Usage Information None
Example
OS10# show ip ospf 10
Routing Process ospf 10 with ID 111.2.1.1
Supports only single TOS (TOS0) routes
It is an Autonomous System Boundary Router
It is Flooding according to RFC 2328
Convergence Level 0
Min LSA origination 0 msec, Min LSA arrival 1000 msec
Min LSA hold time 5000 msec, Max LSA wait time 5000 msec
Number of area in this router is 1, normal 1 stub 0 nssa 0
Area (0.0.0.0)
Number of interface in this area is 3
SPF algorithm executed 38 times
Area ranges are
Supported Releases 10.2.0E or later
show ip ospf asbr
Displays all the ASBR visible to OSPF.
Syntax
show ip ospf [process-id] [vrf vrf-name] asbr
Parameters
• process-id—(Optional) Displays information based on the process ID.
• vrf vrf-name — (Optional) Displays the ASBR router visible to the OSPF process congured in the
specied VRF.
Default Not congured
Command Mode EXEC
552 Layer 3