Install guide

Filtering IP Routes add ip aspathlist 2-41
Software Version 2.7.5
C613-10454-00 REV A
Examples To add an entry to AS path list 1 that matches all AS paths and excludes them,
use the command:
add ip aspath=1 excl=.*
To add an entry to AS path list 2 that matches an empty AS path and includes
it, use the command:
add ip aspath=2 incl=^$
Related Commands add ip routemap
delete ip aspathlist
show ip aspathlist
INCLude An AS path regular expression, which specifies the AS path values that
this entry includes in this AS path list. When you use the AS path list
in a route map or filter, the map or filter carries out its specified action
on update messages with a matching AS path attribute value.
Regular expressions are a list of one or more AS numbers, separated
by spaces. To match from the first number in the list, start the
expression with the ^ character. To match the last number, end with
the $ character. If the expression contains spaces, surround it with
double quotes. For more information about valid syntax, see Table 2-1
on page 2-9. For example:
include=”23334 45634 88988” includes any path containing
these numbers
include=”^23334 45634 88988$” includes only that exact path
include=^23334 includes any path that begins with 23334
Default: no default
EXCLude An AS path regular expression, which specifies the AS path values that
this entry excludes from this AS path list. When you use the AS path
list in a route map or filter, the map or filter does not carry out its
specified action on update messages with a matching AS path
attribute value.
Regular expressions are a list of one or more AS numbers, separated
by spaces. To match from the first number in the list, start the
expression with the ^ character. To match the last number, end with
the $ character. If the expression contains spaces, surround it with
double quotes. For more information about valid syntax, see Table 2-1
on page 2-9. For example:
exclude=”23334 45634 88988” excludes any path containing
these numbers
exclude=”^23334 45634 88988$” excludes only that exact path
exclude=23334$ excludes any path that ends with 23334
Default: no default
Parameter (cont.) Description (cont.)