F Commands
This chapter describes the Cisco NX-OS Open Shortest Path First (OSPF) commands that begin with F.
feature ospf
To enable the Open Shortest Path First Protocol (OSPF), use the feature ospf command. To disable OSPF, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must enable the OSPF feature before you can configure OSPF.
Note In Cisco NX-OS Release 5.2(1)N1(1), a software upgrade on the Cisco Nexus 5548 switch and the Cisco Nexus 5596 switch that has the Layer 3 features enabled is disruptive. You must reload the switch and the Cisco Nexus 2000 Series Fabric Extender.
Examples
This example shows how to enable the OSPF feature:
This example shows how to disable the OSPF feature:
Related Commands
|
|
---|---|
flush-routes (OSPF)
To flush routes on a restart for the Open Shortest Path First (OSPF) protocol, use the flush-routes command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command causes OSPF to unregister from the unicast RIB when OSPF shuts down. The unicast RIB removes all the routes associated with this OSPF instance. If you do not configure the flush-routes command, OSPF does not unregister and the OSPF routes will be stale. The OSPF routes are eventually removed from the unicast RIB after a timeout period.
Examples
This example shows how to flush routes for an OSPF restart:
Related Commands
|
|
---|---|