Reference Guide

ip as-path access-list
Enter AS-PATH ACL mode and configure an access control list based on the BGP AS_PATH attribute.
E-Series, S4810
Syntax
ip as-path access-list as-path-name
Parameters
as-path-name
Enter the access-list name, up to 140 characters.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
Version 8.3.7.0 Introduced on the S4810.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.8.1.0 Increased the name string to accept up to 140 characters. Prior to
7.8.1.0, names are up to 16 characters long.
pre-Version
6.1.1.0
Introduced on the E-Series.
Usage
Information
Use the match as-path or neighbor filter-list commands to apply the AS-PATH
ACL to BGP routes.
Example
FTOS(conf)#ip as-path access-list TestPath
FTOS(config-as-path)#
Related
Commands
match as-path – matches on routes contain a specific AS-PATH.
neighbor filter-list – configures filter based on AS-PATH information.
permit
Create a filter to forward BGP routes that match the route’s AS-PATH attributes. Use regular expressions to identify
which routes are affected by this filter.
E-Series
Syntax
permit 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).
332