Reference Guide

202 | Border Gateway Protocol IPv4 (BGPv4)
www.dell.com | support.dell.com
FTOS(conf)#ip as-path access-list Eagle
FTOS(config-as-path)#deny 32$
FTOS(config-as-path)#ex
FTOS(conf)#router bgp 99
FTOS(conf-router_bgp)#neighbor AAA filter-list Eagle in
FTOS(conf-router_bgp)#show conf
!
router bgp 99
neighbor AAA peer-group
neighbor AAA filter-list Eaglein
neighbor AAA no shutdown
neighbor 10.155.15.2 remote-as 32
neighbor 10.155.15.2 filter-list 1 in
neighbor 10.155.15.2 shutdown
FTOS(conf-router_bgp)#ex
FTOS(conf)#ex
FTOS#show ip as-path-access-lists
ip as-path access-list Eagle
deny 32$
FTOS#
Table 9-17, "Regular Expressions," in Border Gateway Protocol IPv4 (BGPv4) lists the Regular
Expressions accepted in FTOS.
Table 9-17. Regular Expressions
Regular
Expression Definition
^ (caret) Matches the beginning of the input string.
Alternatively, when used as the first character within brackets [^ ] matches any number except the ones
specified within the brackets.
$ (dollar) Matches the end of the input string.
. (period) Matches any single character, including white space.
* (asterisk) Matches 0 or more sequences of the immediately previous character or pattern.
+ (plus) Matches 1 or more sequences of the immediately previous character or pattern.
? (question) Matches 0 or 1 sequence of the immediately previous character or pattern.
( ) (parenthesis) Specifies patterns for multiple use when followed by one of the multiplier metacharacters: asterisk *,
plus sign +, or question mark ?
[ ] (brackets) Matches any enclosed character; specifies a range of single characters
- (hyphen) Used within brackets to specify a range of AS or community numbers.
_ (underscore) Matches a ^, a $, a comma, a space, a {, or a }. Placed on either side of a string to specify a literal and
disallow substring matching. Numerals enclosed by underscores can be preceded or followed by any of
the characters listed above.
| (pipe) Matches characters on either side of the metacharacter; logical OR.