Reference Guide
deny
Create a filter to drop routes that match the route’s AS-PATH attribute. Use regular expressions to identify which routes
are affected by the filter.
E-Series
Syntax
deny as-regular-expression
Parameters
as-regular-
expression
Enter a regular expression to match BGP AS-PATH attributes.
Use one or a combination of the following:
• . = (period) matches on any single character, including white
space.
• * = (asterisk) matches on sequences in a pattern (zero or
more sequences).
• + = (plus sign) matches on sequences in a pattern (one or
more sequences).
• ? = (question mark) matches sequences in a pattern (0 or 1
sequences).
NOTE: You must enter an escape sequence (CNTL+v)
prior to entering the ? regular expression.
• [ ] = (brackets) matches a range of single-character
patterns.
• ^ = (caret) matches the beginning of the input string. (If you
use the caret at the beginning of a sequence or range, it
matches on everything BUT the characters specified.)
• $ = (dollar sign) matches the end of the output string.
• _ = (underscore) matches a comma (,), left brace ({), right
brace (}), left parenthesis, right parenthesis, the beginning of
the input string, the end of the input string, or a space.
• | = (pipe) matches either character.
Defaults Not configured.
Command Modes AS-PATH ACL
Usage
Information
The regular expression must match part of the ASCII-text in the AS-PATH attribute of the BGP
route.
Command History
Version 8.1.1.0 Introduced on the E-Series ExaScale.
pre-Version
6.1.1.0
Introduced on the E-Series.
331










