30
• RIPv2 broadcasts, multicasts, and unicasts.
To configure a RIP version:
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. An interface sends
RIPv1 broadcasts, and can
receive RIPv1 broadcasts and
unicasts, and RIPv2 broadcasts,
multicasts, and unicasts.
4. Return to system view.
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. 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.
To configure additional routing metrics:
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Specify an inbound
additional routing metric.
rip metricin
[
route-policy
route-policy-name ]
value
The default setting is 0.
4. Specify an outbound
additional routing metric.
rip metricout
[
route-policy
The default setting is 1.