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 S.
To set the Open Shortest Path First (OSPF) forwarding address for redistributed type-5 Link State Advertisements (LSAs), use the set forwarding-address command. To remove the address, use the no form of this command.
|
|
---|---|
This command is used by the OSPF to set the forwarding address for the redistributed type-5 LSAs. The value of the forwarding address specified by the autonomous system boundary router (ASBR) can be either 0.0.0.0 or nonzero. The 0.0.0.0 address indicates that the originating router (the ASBR) is the next hop.
If the ASBR redistributes routes and OSPF is not enabled on the next hop interface for those routes, the forwarding address is set to 0.0.0.0.
All of the following conditions must be met to set the forwarding address field to a nonzero address:
For all other conditions, set the forwarding address to 0.0.0.0.
This example shows how to set the forwarding address:
switch(config)#
route-map test1 10 permit
switch(config
-route-map)# set forwarding-address
To stop an Open Shortest Path First (OSPF) instance without removing the configuration, use the shutdown command. To start a stopped OSPF instance, use the no form of this command.
|
|
---|---|
Entering the shutdown command stops a router process but does not remove any configuration parameters. The shutdown command is displayed in the running configuration file when enabled.
This example shows how to stop an active OSPF instance:
|
|
---|---|
To create aggregate addresses for the Open Shortest Path First (OSPF) protocol, use the summary-address command. To return to the default, use the no form of this command.
summary-address ip-prefix/length [ not-advertise ] [ tag tag ]
no summary-address ip-prefix/length [ not-advertise ] [ tag tag ]
|
|
---|---|
Use the summary-address command to create an aggregate address to replace a series of more-specific addresses. The metric used to advertise the summary is the smallest metric of all the more specific routes.
Use this command to help reduce the size of the routing table and allow an OSPF Autonomous System Boundary Router (ASBR) to advertise one external route as an aggregate for all redistributed routes that are covered by the address.
This example shows how to configure the summary address 192.0.0.0 to include address 192.0.1.0, 192.0.2.0, 192.0.3.0, and so on. Only the address 192.0.0.0 is advertised in an external link-state advertisement.
|
|
---|---|
Saves the configuration changes to the startup configuration file. |
|