Creates and configures a deny as-path-list rule. The deny rule specifies a regular expression to match. This regular expression, is matched against the BGP AS paths contained in routing updates. AS paths matching the provided string are filtered and a deny action is applied.
Wireless Controllers — RFS 4000
Service Platforms — NX 95XX, NX 96XX
deny as-path <REG-EXP>
deny as-path <REG-EXP>
deny as-path <REG-EXP> | Configures a match criteria (regular expression).
Regular expressions are treated as a ‘ASCII string‘ and not as a sequence of numbers. Create a regular expression ideally suited to filter the required AS paths. |
Character to use | Description |
---|---|
^ | Indicates the start of a string |
$ | Indicates the end of a string |
_ (underscore) | Indicates a comma, left brace, right brace, start and end of an input string, or a space. For example, “_ _”. |
nx9500-6C8809(config-bgp-as-path-list-test)#deny as-path ^100$
nx9500-6C8809(config-bgp-as-path-list-test)#show context bgp as-path-list test deny as-path ^100$ nx9500-6C8809(config-bgp-as-path-list-test)#
no (bgp-as-path-list) | Removes the specified deny, as-path rule |