The silent-interface command controls an interface only to receive packets to update its routing table and prevent it from sending RIP packets.
The undo silent-interface command enables an RIP interface to send Update packets.
The silent-interface disable command enables an RIP interface to send Update packets.
The undo silent-interface disable command controls an interface only to receive packets to update its routing table and prevent it from sending RIP packets.
By default, silent interface not enabled.
silent-interface { all | interface-type interface-number }
undo silent-interface { all | interface-type interface-number }
silent-interface disable interface-type interface-number
undo silent-interface disable interface-type interface-number
Parameter | Description | Value |
---|---|---|
all | Indicates that all interfaces are suppressed. | - |
interface-type interface-number | Specifies the type and the number of the interface. | - |
disable | Disables the suppression of the RIP interface so that the interface can send Update packets. | - |
Usage Scenario
When a switch running RIP is connected to a network running other routing protocols, you can run the silent-interface command on the interface that connects the switch to the network to prevent the interface from sending useless packets to the network.
The silent-interface command is used together with the peer (RIP) command to advertise routes to the specified equipment.
Configuration Impact
If an interface is suppressed, the direct routes of the network segment where the interface resides can still be advertised to other interfaces.
Precautions
When the silent-interface command is used to suppress the specified interface, the priority of the silent-interface command is higher than the priority of the rip input and rip output command that is configured in the interface view.
After you configure all interfaces as silent interfaces, you can run the silent-interface disable interface-type interface-number command to activate a specified silent interface.
# Configure all the interfaces as silent interfaces.
<HUAWEI> system-view
[HUAWEI] rip 100
[HUAWEI-rip-100] silent-interface all
<HUAWEI> system-view
[HUAWEI] rip 100
[HUAWEI-rip-100] silent-interface vlanif 100
[HUAWEI-rip-100] peer 10.1.1.1
<HUAWEI> system-view
[HUAWEI] rip 100
[HUAWEI-rip-100] silent-interface disable vlanif 100