DGS-6604
ip rip receive version
CLI Reference Guide
316
ip rip receive version
Use this command to specify a RIP version to receive on each interface. Use the
no form of the command to let the version follow the setting specified in the router
configuration mode.
ip rip receive version
VERSION-ID
[ , | - ]
no ip rip receive version
Default
Global RIP version receive setting
Command Mode
Interface configuration
Usage Guideline
This command applies only to the interface being configured.
Examples
The following example shows how to configure interface (VLAN 1) to accept both
RIP Version 1 and Version 2 packets:
The following example shows how to configure the interface (VLAN 1) to only
accept RIP Version 1 packets:
Verify the settings by entering the
show ip rip interface
command.
Syntax Description
VERSION-ID
The
Version ID
can be either 1 or 2. That is RIP accepts only RIP Version 1
packets on the interface or accepts only RIP Version 2 packets on the interface.
It also can be a list of version IDs such as 1,2 (or 1-2), meaning that both RIP
Version 1 and Version 2 packets are acceptable on the RIP enabled interface.
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ip rip receive version 1-2
Switch(config-if)# end
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ip rip receive version 1
Switch(config-if)# end