Table 62 As Path And Community Regular Expression Examples - Alcatel-Lucent 7705 Configuration Manual

Aggregation router
Hide thumbs Also See for 7705:
Table of Contents

Advertisement

Configuring Route Policies
Table 62: AS Path and Community Regular Expression Examples
AS Path to Match Criteria
Null AS path
AS path is 11
AS path is 11 22 33
Zero or more occurrences of AS number 11
Path of any length that begins with AS numbers 11, 22,
33
Path of any length that ends with AS numbers 44, 55, 66
One occurrence of the AS numbers 100 and 200,
followed by one or more occurrences of the number 33
One occurrence of the AS number 11, followed by one
or more occurrences of AS number 22, followed by one
or more occurrences of AS number 33
Path whose second AS number must be 11 or 22
Path of length one or two whose second AS number
might be 11 or 22
418
Regular Expression
1
null
11
11 22 33
11*
11 22 33 .*
.* 44 55 66
100 200 33+
11+ 22+ 33+
(. 11) | (. 22)
.*
or
. (11 | 22) .*
. (11 | 22)?
7705 SAR OS Router Configuration Guide
Examples of Matches
Null AS path
11
11 22 33
Null AS path 11
11 11
11 11
11 11 ... 11
11 22 33
11 22 33 400 500 600
44 55 66
100 44 55 66
100 200 44 55 66
100 200 300 44 55 66
100 200 300 ... 44 55 66
100 200 33
100 200 33 33
100 200 33 33 33
100 200 33 33 33 ... 33
11 22 33
11 11 22 33
11 11 22 22 33
11 11 22 22 33 33
11 ... 11 22 ... 22 33 ... 33
100 11
200 22 300 400
...
100
200 11
300 22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents