
25
Configuring a RIP version
You can configure a global RIP version in RIP view or an interface-specific RIP version in interface view.
An interface preferentially uses the interface-specific RIP version. If no interface-specific version is
specified, the interface uses the global RIP version. If neither global nor interface-specific RIP version is
configured, the interface sends RIPv1 broadcasts, and can receive RIPv1 broadcasts and unicasts, 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
}
By default, no global version is
specified, and an interface sends
RIPv1 broadcasts, and can 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
] }
By default, no interface-specific RIP
version is specified, and the
interface sends RIPv1 broadcasts,
and can receive RIPv1 broadcasts
and unicasts, and RIPv2
broadcasts, multicasts, and
unicasts.
Configuring RIP route control
Before you configure RIP route control, complete the following tasks:
•
Configure IP addresses for interfaces to ensure IP connectivity between neighboring routers.
•
Configure basic RIP.
Configuring an additional routing metric
An additional routing metric (hop count) can be added to the metric of an inbound or outbound RIP
route.
An outbound additional metric is added to the metric of a sent route, and it does not change the route's
metric in the routing table.
An inbound additional metric is added to the metric of a received route before the route is added into the
routing table, and the route's metric is changed. If the sum of the additional metric and the original metric
is greater than 16, the metric of the route is 16.