< 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 Specifies the interface type. -
interface-number Specifies the interface number. -

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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

Disabling interfaces from receiving or sending OSPF packets is a solution to 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 GigabitEthernet 0/0/1 from sending or receiving OSPF packets.

<sysname> system-view
[sysname] ospf 100
[sysname-ospf-100] silent-interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >