Administrator Guide

Layer 3 Routing Commands 1737
User Guidelines
The VRF identified in the parameter must have been previously created or an
error is returned.
Example
The following example shows the options for the clear ip ospf command.
console#clear ip ospf ?
<cr> Press enter to execute the command.
configuration Restore OSPF configuration to defaults
counters Clear OSPF counters
neighbor Bounce all OSPF neighbors
redistribution Flush and reoriginate external LSAs
clear ip ospf stub-router
Use the clear ip ospf stub-router command in Privileged EXEC mode to force
OSPF to exit stub router mode when it has automatically entered stub router
mode because of a resource limitation.
Syntax
clear ip ospf stub-router [vrf
vrf-name
]
vrf-name
—The name of the VRF instance on which the command
operates. If no VRF parameter is given, counters for the default (global)
router instance is cleared.
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged EXEC mode
User Guidelines
OSPF only exits stub router mode if it entered stub router mode because of a
resource limitation or if it is in stub router mode at startup. This command
has not effect is OSPF is configured to be in stub router mode permanently.
2CSNXXX_SWUM204.book Page 1737 Monday, January 25, 2016 1:25 PM