.. _example_protocols_ip_prefix-list_checkprefix: ############ Check Prefix ############ .. sidebar:: Contents .. contents:: :depth: 2 :local: This scenario shows how to configure a prefix-list for filtering prefixes with different restrictions. Several connected routes will be available through dummy interfaces but only some will be exported. .. image:: topology.svg :width: 400 ******************* Prefix strict match ******************* Description =========== Several dummy interfaces are created in DUT0 allowing their connected routes to be exported. Only the one that exactly matches the prefix configured in the prefix-list will be exported to DUT1. Scenario ======== .. include:: checkprefix/prefixstrictmatch .. raw:: html
*************************************** Lower or equal prefix mask lenght match *************************************** Description =========== Several dummy interfaces are created in DUT0 allowing their connected routes to be exported. Only the ones with a prefix length lower than or equal to 16 will be included. Scenario ======== .. include:: checkprefix/lowerorequalprefixmasklenghtmatch .. raw:: html
***************************************** Greater or equal prefix mask lenght match ***************************************** Description =========== Several dummy interfaces are created in DUT0 allowing their connected routes to be exported. Only the ones with a prefix length greater than or equal to 18 will be included. Scenario ======== .. include:: checkprefix/greaterorequalprefixmasklenghtmatch .. raw:: html