.. _example_protocols_ripng_redistribute_redistributeospfv3:
###################
Redistribute Ospfv3
###################
Scenario to verify RIPng **redistribute ospfv3** functionality with metric configuration
and route-map filtering options.
.. image:: redistributeospfv3.svg
:width: 800
******************************
Test RIPng Redistribute OSPFv3
******************************
Description
===========
Test RIPng **redistribute ospfv3** basic functionality across three routers.
**DUT1** (OSPFv3) announces a dummy interface route via OSPFv3.
**DUT0** (OSPFv3 + RIPng) learns the route via OSPFv3 and redistributes it to RIPng.
**DUT2** (RIPng only) learns the OSPFv3 route through RIPng redistribution.
Scenario
========
.. include:: redistributeospfv3/testripngredistributeospfv3
.. raw:: html
******************************************
Test RIPng Redistribute OSPFv3 With Metric
******************************************
Description
===========
Test RIPng **redistribute ospfv3 metric** with a custom value (``metric 5``).
**DUT0** redistributes OSPFv3 routes with ``metric 5``.
**DUT2** learns the route with ``metric 6`` (incremented by 1 hop).
Scenario
========
.. include:: redistributeospfv3/testripngredistributeospfv3withmetric
.. raw:: html
************************************************************
Test RIPng Redistribute OSPFv3 Metric 16 Route Not Announced
************************************************************
Description
===========
Test RIPng **redistribute ospfv3 metric 16** - route is **not announced**.
When **DUT0** redistributes OSPFv3 routes with ``metric 16`` (infinity), the routes
are **not announced** to RIPng neighbors. **DUT2** does not see the route.
Scenario
========
.. include:: redistributeospfv3/testripngredistributeospfv3metric16routenotannounced
.. raw:: html
*********************************************
Test RIPng Redistribute OSPFv3 With Route-Map
*********************************************
Description
===========
Test RIPng **redistribute ospfv3 route-map** filtering functionality.
**DUT1** announces two dummy routes (``dum0`` and ``dum1``) via OSPFv3.
**DUT0** uses a route-map to only redistribute ``2001:db8:100::/64`` to RIPng.
**DUT2** learns only the matching route, while ``2001:db8:200::/64`` is filtered out.
Scenario
========
.. include:: redistributeospfv3/testripngredistributeospfv3withroute-map
.. raw:: html