.. _example_protocols_rip_redistribute_redistributestatic: ################### Redistribute Static ################### Scenario to verify RIP **redistribute static** functionality with metric configuration and route-map filtering options. **************************** Test RIP Redistribute Static **************************** Description =========== Test RIP **redistribute static** basic functionality between two routers. **DUT0** has a static blackhole route ``192.168.100.0/24`` and redistributes it to RIP. **DUT1** learns the static route through RIP redistribution. Scenario ======== .. include:: redistributestatic/testripredistributestatic .. raw:: html
**************************************** Test RIP Redistribute Static With Metric **************************************** Description =========== Test RIP **redistribute static metric** with a custom value (``metric 5``). **DUT0** redistributes static routes with ``metric 5``. **DUT1** learns the route with ``metric 6`` (incremented by 1 hop). Scenario ======== .. include:: redistributestatic/testripredistributestaticwithmetric .. raw:: html
********************************************************** Test RIP Redistribute Static Metric 16 Route Not Announced ********************************************************** Description =========== Test RIP **redistribute static metric 16** - route is **not announced**. When **DUT0** redistributes static routes with ``metric 16`` (infinity), the routes are **not announced** to RIP neighbors. **DUT1** does not see the route. Scenario ======== .. include:: redistributestatic/testripredistributestaticmetric16routenotannounced .. raw:: html
******************************************* Test RIP Redistribute Static With Route-Map ******************************************* Description =========== Test RIP **redistribute static route-map** filtering functionality. **DUT0** has two static routes (``192.168.100.0/24`` and ``192.168.200.0/24``). A route-map only permits ``192.168.100.0/24`` to be redistributed. **DUT1** learns only the matching route, while ``192.168.200.0/24`` is filtered out. Scenario ======== .. include:: redistributestatic/testripredistributestaticwithroute-map .. raw:: html