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.
silent-interface { all | interface-type interface-number }
undo silent-interface { all | interface-type interface-number }
| Parameter | Description | Value |
|---|---|---|
| all | Indicates all interfaces in a specified process. | - |
| interface-type | Specifies the interface type. | - |
| interface-number | Specifies the interface number. | - |
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.