receive-interface
20-6 IPv4 Routing Protocol Configuration
receive-interface
UsethiscommandtoallowRIPtoreceiveupdatepacketsonaninterface.Thenoformofthis
commanddeniesthereceptionofRIPupdates.Bydefault,receivingisenabledonallrouting
interfaces.
Syntax
receive-interface vlan vlan-id
no receive-interface vlan vlan-id
Parameters
Defaults
None.
Mode
Routerconfiguration:B5(su)‐>router(Config‐router)#
Usage
ThiscommanddoesnotaffectthesendingofRIPupdatesonthespecifiedinterface.
Example
ThisexampleshowshowtodenythereceptionofRIPupdatesonVLAN2:
B5(su)->router(Config)#router rip
B5(su)->router(Config-router)#no receive-interface vlan 2
redistribute
Usethiscommandtoallowroutinginformationdiscoveredthroughnon‐RIPprotocolstobe
distributedinRIPupdatemessages.Thenoformofthiscommandclearsredistribution
parameters.
Syntax
redistribute {connected | static} [metric metric value]
no redistribute {connected | stat
vlanvlan‐id SpecifiesthenumberoftheVLANtomakeareceiveinterface.ThisVLAN
mustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage18‐1.
connected Specifiesthatnon‐RIProutinginformationdiscoveredviadirectly
connectedinterfaceswillberedistributed.
static Specifiesthat non‐RIProutinginformationdiscoveredviastaticrouteswill
beredistributed.Staticroutesarethosecreatedusingtheiproute
commanddetailedin“iproute”onpage19‐16.
metricmetricvalue (Optional)
Specifiesametricfortheconnectedorstaticredistribution
route.Thisvalueshouldbe consistentwiththedesignationprotocol.