< Home

suppress-reachability (OSPF)

Function

The suppress-reachability command suppresses the advertisement of the IP addresses of all interfaces in an OSPF process.

The undo suppress-reachability command restores the default configuration.

By default, all interfaces in an OSPF process advertise their IP addresses.

Format

suppress-reachability

undo suppress-reachability

Parameters

None

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To suppress the advertisement of the IP addresses of all interfaces in an OSPF process so that the IP addresses can be reused, run the 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 suppress-reachability command suppresses the advertisement of primary and secondary IP addresses, without affecting the advertisement of loopback interfaces' IP addresses.

Example

# Suppress the advertisement of the IP addresses of all interfaces in OSPF process 100.

<HUAWEI> system-view
[HUAWEI] ospf 100
[HUAWEI-ospf-100] suppress-reachability
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >