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