Administrator Guide

Layer 3 Routing Commands 1766
Command Mode
Global Configuration mode.
User Guidelines
The command prompt changes when the router ospf command executes.
The VRF identified in the parameter must have been previously created or an
error is returned.
This command is only available on the N3000/N4000 switches.
IPv4 OSPF is the only routing protocol currently implemented for VRFs.
The no form of the command removes all OSPF configuration (including
interface configuration) for the specified VRF
Example
The following example enters into router OSPF mode.
console(config)#router ospf
console(config-router)#
show ip ospf
Use the show ip ospf command to display information relevant to the OSPF
router. This command has been modified to show additional fields.
Syntax
show ip ospf [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.
Syntax Description
This command has no arguments or keywords.
Default Configuration
There is no default configuration for this command.
2CSNXXX_SWUM204.book Page 1766 Monday, January 25, 2016 1:25 PM