.. _example_protocols_ripng_redistribute_redistributeconnectedmetric: ############################# Redistribute Connected Metric ############################# Test to verify RIPng **metric** configuration for redistributed connected IPv6 routes. The ``redistribute connected metric`` command sets the metric value for connected routes redistributed into RIPng. Valid values are 1-16, where ``metric 1`` is the default when not specified. This test validates the default behavior (metric 1), custom valid metric values, and the special case of ``metric 16`` where routes are not announced (infinity). RIPng is the IPv6 version of RIP. ******************************************** Test RIPng Default Metric With Default Value ******************************************** Description =========== Test RIPng **redistribute connected metric** with the **default value** (``metric 1``). When metric is not explicitly configured, RIPng uses ``metric 1`` by default. **DUT0** redistributes the connected IPv6 route ``2001:db8:100::/64`` with the default metric. **DUT1** learns this route with ``metric 2`` (incremented by 1 hop). The route is installed in the routing table and connectivity is verified with ping. Scenario ======== .. include:: redistributeconnectedmetric/testripngdefaultmetricwithdefaultvalue .. raw:: html