Context
The additional route metric is the metric (hop count) to be added to the original metric of a RIPng
route.
l
The
ripng metricin
command is used to configure a device to add an additional metric to
a received route before the device adds the route to its routing table, causing the metric of
the route in the routing table to change. Running this command affects route selection on
the device and other devices.
l
The
ripng metricout
command is used to configure a device to add an additional metric
to a route before the device advertises the route, keeping the metric of the route in the
routing table unchanged. Running this command does not affect route selection on the local
device but will affect route selection of other devices.
You can specify the value of the metric to be added to the RIPng route that passes the filtering
policy by specifying
value1
through an IPv6 ACL or an IPv6 prefix list. If a RIPng route does
not pass the filtering, its metric is increased by 1.
Do as follows on the RIPng switch:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
vlanif
interface-number
The interface view is displayed.
Step 3
Run:
ripng metricin
value
The metric added to a received route is set.
Step 4
Run:
ripng metricout
{
value
| {
acl6-number
|
acl6-name
acl6-name
|
ipv6-prefix
ipv6-
prefix-name
}
value1
}
The metric added to a sent route is set.
NOTE
If the switch connects to other RIPng switches through multiple interfaces, repeatedly perform Step 2 to
Step 4 until metrics of all links are set.
----End
3.4.4 Configuring the Maximum Number of Equal-Cost Routes
By setting the maximum number of equal-cost RIPng routes, you can change the number of
routes for load balancing.
Context
Do as follows on the RIPng switch:
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
3 RIPng Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65