Command
Passive-Interface
Use
This command disables RIP for a specific interface on the router.
Syntax
Router(config-router)#passive-interface <interface>
Example
First, here are the route tables for all routers with no passive-interface default.
R2#conf t |
R1 route table.
R1(config-router)#do show ip route rip |
R2 route table.
R2(config-router)#do show ip route rip |
R3 route table.
R3(config-router)#do show ip route rip |
Next, we disable passive-interface for interface fa1/0 on R2.
R2(config-router)#passive-interface fa1/0 |
R1 route table. R2 still passes route information to R1 via fa0/0
R1(config-router)#do show ip route rip |
R2 route table. This is unaffected because R2 is still receiving updates from R1 and R3.
R2(config-router)#do show ip route rip |
R3 route table. It is blank because R3 no longer receives updates through R2 via fa1/0
R3(config-router)#do show ip route ripR3(config-router)# |