Layer 3 Routing Commands 1649User GuidelinesThe VRF identified in the parameter must have been previously created or anerror is returned.ExampleThe following example shows the options for the clear ip ospf command.console#clear ip ospf ? Press enter to execute the command.configuration Restore OSPF configuration to defaultscounters Clear OSPF countersneighbor Bounce all OSPF neighborsredistribution Flush and re-originate external LSAsclear ip ospf stub-routerUse the clear ip ospf stub-router command to force OSPF to exit stub routermode when it has automatically entered stub router mode because of aresource limitation.Syntaxclear ip ospf stub-router [vrf vrf-name]• vrf-name—The name of the VRF instance on which the commandoperates. If no VRF parameter is given, counters for the default (global)router instance is cleared.Default ConfigurationThere is no default configuration for this command.Command ModePrivileged Exec modeUser GuidelinesOSPF only exits stub router mode if it entered stub router mode because of aresource limitation or if it is in stub router mode at startup. This commandhas no effect if OSPF is configured to be in stub router mode permanently.The VRF identified in the parameter must have been previously created or anerror is returned.