passive-interface
17-8 IPv4 Routing Protocol Configuration
passive-interface
UsethiscommandtopreventRIPfromtransmittingupdatepacketsonaninterface.Thenoform
ofthiscommanddisablespassiveinterface.
Syntax
passive-interface vlan vlan-id
no passive-interface vlan vlan-id
Parameters
Defaults
None.
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
Usage
ThiscommanddoesnotpreventRIPfrommonitoringupdatesontheinterface.
Example
ThisexampleshowshowtosetVLAN2asapassiveinterface.NoRIPupdateswillbetransmitted
onVLAN2:
C2(su)->router(Config)#router rip
C2(su)->router(Config-router)#passive-interface vlan 2
receive-interface
UsethiscommandtoallowRIPtoreceiveupdatepacketsonaninterface.Thenoformofthis
commanddeniesthereceptionofRIPupdates.Bydefault,receivingisenabledonallrouting
interfaces.
Syntax
receive-interface vlan vlan-id
no receive-interface vlan vlan-id
Parameters
Defaults
None.
vlanvlan‐id Specifiesthenum beroftheVLANtomakeapassiveinterface.ThisVLAN
mustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage15‐1.
vlanvlan‐id Specifiesthenum beroftheVLANtomakeareceiveinterface.ThisVLAN
mustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage15‐1.