26.2.3 Configuring Metrics
- <Structure of this section>
(1) Metric setting when advertising routing data other than RIPng
Set the metric to be used when routing information learned by another protocol is advertised by RIPng.
- Points to note
-
To advertise OSPFv3 routes or BGP4+ routes by RIPng, you must set the metric using the default-metric command.
Command examples
-
(config)# ipv6 router rip
(config-rtr-rip)# default-metric 10
Sets 10 as the metric for when using RIPng to advertise routing information learned by another protocol.
-
(config-rtr-rip)# redistribute static
Specifies that static routes are to be advertised by RIPng.
-
(config-rtr-rip)# redistribute ospf
Specifies that OSPFv3 routes are to be advertised by RIPng.
(2) Setting the value to add to the metric value when sending or receiving packets
Set the value by which to increment the metric for sending and receiving RIPng packets.
- Points to note
-
The example below shows how to use the ipv6 rip metric-offset command to set the value to be added to the metric of an incoming or outgoing route via a specific interface.
Command examples
-
(config)# interface vlan 10
(config-if)# ipv6 rip metric-offset 2 out
Adds 2 to the metric of RIPng packets sent from interface vlan 10.