< Home

ospf suppress-reachability

Function

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.

Format

ospf suppress-reachability [ disable ]

undo ospf suppress-reachability [ disable ]

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Suppress the advertisement of IP addresses on VLANIF100.

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