The ripng metricin command sets the metric that is added to the RIPng route received by an interface.
The undo ripng metricin command restores the default setting.
By default, the metric that is added to the received route is 0.
| Parameter | Description | Value |
|---|---|---|
| value | Specifies the metric that is added to the received route. | The value is an integer ranging from 0 to 15. By default, it is 0. |
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view
When a valid RIPng route is received, the additional metric is added to the route before it is installed into the routing table. The metric of the route in the routing table is therefore changed. That is, increasing the metric of an interface also increases the metric of the RIPng route received by the interface.
The command can take effect only after IPv6 is enabled for the interface by the ipv6 enable command.