silent-interface (OSPF view)

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, an interface can receive and send OSPF packets.

Format

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

undo silent-interface { all | { interface-name | 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

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

To prevent the local router from sending its OSPF routing information to other routers on a network and from receiving routing update information advertised by other routers, run the silent-interface command.

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.

Precautions

If the undo silent-interface command has been run in the current process, running the silent-interface all command causes the undo silent-interface command configuration to be deleted. As a result, the OSPF neighbor relationship established using the interface specified in the undo silent-interface command goes down.

Example

# Disable GigabitEthernet 0/1/8 from sending or receiving OSPF packets.
<HUAWEI> system-view
[~HUAWEI] ospf 100
[*HUAWEI-ospf-100] silent-interface GigabitEthernet0/1/8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >