10G Core Routing Switch User Manual
陈泽科技有限公司
- - 37 - -
www.stephen-tele.com
Step 6
version {1|2}
(Optional) Configure the switch to receive and send
only RIP Version 1 or RIP version 2 packets. By default,
the switch receives Version 1 and 2 but sends only
Version 1.
You can also use the interface commands
ip rip
{
send
|
receive
}
version 1
|
2
|
1 2
} to control what versions
are used for sending and receiving on
interfaces.
Step 7
exit
Return to global configuration mode.
Step 8
exit
Return to privileged EXEC mode.
Step 9
show ip rip
Verify your entries.
Step 10
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
To disable rip on the specified network, use
router rip no network
network-address/mask
global configuration
commanc.
Specifying RIP Version of the Interface
RIP has two versions, RIP-1 and RIP-2. You can specify the version of the RIP packet processed by the interface.
RIP-1 broadcasts the packets. RIP-2 can transmit packets by both broadcast and multicast. By default, multicast is
adopted for transmitting packets. In RIP-2, the multicast address is 224.0.0.9. The advantage of transmitting packets in
the multicast mode is that the hosts not operating RIP in the same network can avoid receiving RIP broadcast packets.
In addition, this mode can also make the hosts running RIP-1 avoid incorrectly receiving and processing the routes with
subnet mask in RIP-2. When an interface is running RIP-2 broadcast, the RIP-1 packets can also be received.
Beginning in privileged EXEC mode, follow these steps to specify RIP version of the interface.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
Interface vlan
vlanid
ip rip
receive version [
1
|
2
]
Specified receive message type of the interface.
Step 3
Interface vlan
vlanid
ip rip
send version [
1
|
2
]
Specified send message type of the interface.
Step 4
exit
Return to privileged EXEC mode.
Step 4
show ip rip protocol-version
Verify your entries.
Step 6
Copy
running-configuration
startup-configuration
(Optional) Save your entries in the configuration file.
Setting RIP-2 Packet Authentication
RIP-1 does not support packet authentication. But when the interface operates RIP-2, the packet authentication can be
configured.