.. _example_protocols_bgp_as-path_as-path: ####### As-Path ####### This scenario demonstrates how to set AS-path access-lists for BGP. ******************************** AS-path filter to permit a regex ******************************** Description =========== Verify that the AS-path filter correctly permits a BGP route based on a specified AS-path regular expression. Scenario ======== .. include:: as-path/as-pathfiltertopermitaregex .. raw:: html
****************************** AS-path filter to deny a regex ****************************** Description =========== Verify that the AS-path filter correctly denies a BGP route based on a specified AS-path regular expression. Scenario ======== .. include:: as-path/as-pathfiltertodenyaregex .. raw:: html