The ospf suppress-reachability command suppresses the advertisement of the IP addresses of a specified interface.
The undo ospf suppress-reachability command restores the default configuration.
By default, all OSPF interfaces advertise their IP addresses.
Usage Scenario
To suppress the advertisement of the IP addresses of a specified interface so that the IP addresses can be reused, run the ospf suppress-reachability command.
Configuration Impact
Suppressing the advertisement of the IP addresses of all interfaces in an OSPF process reduces the number of IP prefixes carried in LSAs and the number of OSPF routes on the network, and improves network security and OSPF performance.
Precautions
If the advertisement of the IP addresses of virtual-link interfaces is suppressed, involved virtual-link neighbors cannot reach the Full state.
The interface IP addresses whose advertisement is suppressed are not used as the forwarding addresses (FAs) of the routes imported by OSPF. As a result, external routes may fail to be calculated.
Running the ospf suppress-reachability command suppresses the advertisement of primary and secondary IP addresses, without affecting the advertisement of loopback interfaces' IP addresses.