Configuration Guide Vol. 3


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

  1. (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.

  2. (config-rtr-rip)# redistribute static

    Specifies that static routes are to be advertised by RIPng.

  3. (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

  1. (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.