< Home

silent-interface (OSPF)

Function

The silent-interface command disables an interface from receiving and sending OSPF packets.

The undo silent-interface command restores the default setting.

By default, the interface is permitted to receive or send OSPF packet.

Format

silent-interface { all | interface-type interface-number }

undo silent-interface { all | interface-type [ interface-number ] }

Parameters

Parameter Description Value
all Indicates all interfaces in a specified process. -
interface-type interface-number Specifies the interface type and interface number. -

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To ensure that OSPF routing information is not obtained by the devices of a certain network and the local device does not receive routing update information advertised by other devices, you can run the silent-interface command to disable an interface from receiving and sending OSPF packets, thereby preventing routing loops.

Configuration Impact

After an OSPF interface is set to be in the silent state, the interface can still advertise its direct routes. Hello packets on the interface, however, will be blocked and no neighbor relationship can be established on the interface. This can enhance the networking adaptability of OSPF and reduce the consumption of system resources.

Example

# Disable VLANIF200 from sending or receiving OSPF packets.

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