26
•
With RIPv1 configured, an interface sends RIPv1 broadcasts, and can receive RIPv1 broadcasts
and RIPv1 unicasts.
•
With RIPv2 configured, a multicast interface sends RIPv2 multicasts and can receive RIPv2 unicasts,
broadcasts, and multicasts.
•
With RIPv2 configured, a broadcast interface sends RIPv2 broadcasts and can receive RIPv1
unicasts and broadcasts, and RIPv2 broadcasts, multicasts, and unicasts.
To configure a RIP version:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
N/A
3.
Specify a global RIP version.
version
{
1
|
2
}
Optional.
By default, if an interface has a RIP
version specified, the version takes
precedence over the global one. If
no RIP version is specified for an
interface, the interface can send
RIPv1 broadcasts, and receive
RIPv1 broadcasts and unicasts,
and RIPv2 broadcasts, multicasts,
and unicasts.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface
interface-type
interface-number
N/A
6.
Specify a RIP version for the
interface.
rip version
{
1
|
2
[
broadcast
|
multicast
] }
Optional.
By default, if an interface has no
RIP version specified, the global
version takes effect. If no global RIP
version is specified, the interface
can send RIPv1 broadcasts, and
receive RIPv1 broadcasts and
unicasts, and RIPv2 broadcasts,
multicasts, and unicasts.
Setting the DSCP value for RIP packets
An IPv4 packet header contains an 8-bit Type of Service (ToS) field. As defined in RFC 2474, the first six
bits set the Differentiated Services Code Point (DSCP) value, and the last two bits are reserved. Network
devices use the DSCP value as a reference to determine the packet priority for transmission.
You can set the DSCP value for RIP packets.
To set the DSCP value for RIP packets:
Step Command
Remarks
1.
Enter system view.
system-view
N/A