Command Line Reference Guide

Access Control Lists (ACL) | 279
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
ip as-path access-list
e
Enter the AS-PATH ACL mode and configure an access control list based on the BGP
AS_PATH attribute.
Syntax
ip as-path access-list as-path-name
Parameters
Defaults
Not configured
Command Modes
CONFIGURATION
Example
FTOS(conf)#ip as-path access-list TestPath
FTOS(config-as-path)#
Usage
Information
Use the match as-path or neighbor filter-list commands to apply the AS-PATH ACL to
BGP routes.
Command
History
Related
Commands
permit
e
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.
Syntax
permit as-regular-expression
Version 8.1.1.0 Introduced on E-Series ExaScale
pre-Version 6.1.1.0 Introduced for E-Series
as-path-name
Enter the access-list name, up to 140 characters.
Version 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.8.1.0 Increased 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 for E-Series
match as-path Match on routes contain a specific AS-PATH.
neighbor filter-list Configure filter based on AS-PATH information.