The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Open Shortest Path First (OSPF) commands that begin with F.
To enable the Open Shortest Path First Protocol (OSPF), use the feature ospf command. To disable OSPF, use the no form of this command.
feature ospf
no feature ospf
This command has no arguments or keywords.
Disabled
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
You must enable the OSPF feature before you can configure OSPF.
Note In Cisco NX-OS Release 5.0(3)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.
This command requires the LAN Base Services license.
This example shows how to enable the OSPF feature:
switch# configure terminal
switch(config)# feature ospf
switch(config)#
This example shows how to disable the OSPF feature:
switch# configure terminal
switch(config)# no feature ospf
switch(config)#
|
|
---|---|
router ospf |
Creates an OSPF instance. |
show feature |
Displays the status of features on a switch. |
show ospf |
Displays OSPF configuration information. |
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.
flush-routes
no flush-routes
This command has no arguments or keywords.
Disabled
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
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.
This command requires the LAN Base Services license.
This example shows how to flush routes for an OSPF restart:
switch# configure terminal
switch(config)# router ospf 202
switch(config-router)# flush-routes
switch(config-router)#
|
|
---|---|
show ip ospf |
Displays OSPF information. |