rip version
Function
The rip version command sets the RIP version of an interface.
The undo rip version command restores the default setting.
By default, an interface sends only RIP-1 packets, but it can receive both RIP-1 and RIP-2 packets.
Parameters
Parameter | Description | Value |
---|---|---|
1 | Indicates RIP-1 packets. | - |
2 | Indicates RIP-2 packets. | - |
broadcast | Indicates that RIP-2 packets are sent in broadcast mode. | - |
multicast | Indicates that RIP-2 packets are sent in multicast mode. NOTE:
By default, RIP-2 packets are sent in multicast mode. |
- |
Usage Guidelines
Usage Scenario
- If the version of RIP is not set, a device sends RIP-1 packets in broadcast mode and receives the RIP-1 and RIP-2 packets that are sent in broadcast mode.
- If the RIP version is set to RIP-1, a device sends only RIP-1 packets in broadcast mode and receives the RIP-1 packets that are sent in broadcast mode.
- If the RIP version is set to RIP-2, a device sends only RIP-2 packets in multicast mode and receives RIP-2 packets that are sent in multicast or broadcast mode.
- If the RIP version is set to multicast RIP-2, a device sends RIP-2 packets in multicast mode and receives RIP-2 packets that are sent in multicast mode.
- If the RIP version is set to broadcast RIP-2, a device sends RIP-2 packets in broadcast mode and receives RIP-1 and RIP-2 packets.
Precautions
You can also set a RIP version in a RIP process, but the RIP version that is set on an interface has a higher priority.