Juniper IP SERVICES - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 74

Ip services configuration guide
Table of Contents

Advertisement

JUNOSe 11.1.x IP Services Configuration Guide
Table 6: Sample Regular Expressions (continued)
48
Using Regular Expressions
Regular
Matched AS-Path or Community
Expression
Attribute
1(37)+
Includes a sequence that has a numeral
1 immediately followed by one or more
instances of the pattern 37
42?
Includes a number that has a numeral
4 followed by zero or only one instance
of the numeral 2
1(37)?
Includes a sequence that has a numeral
1 followed by zero or only one instance
of the pattern 37
7..
Includes a sequence of three characters,
where the first character is numeral 7
^7..
Includes a number in the range 700 –
799
^7..$
Consists only of a number in the range
700 – 799
[621]
Includes any of the numerals 6, 2, or 1
[0-9]
Includes any number in the range 0–9
^\(22 431\)
(AS-path attribute only) Begins with the
AS-confed-set or AS-confed-seq (22 431)
Example
1373737 29 44 37137 78
137 42 21
but not
4 372 2121 37 5
1 456 881
67 42 714 359 78
but not
33 252 422 48
137 42 2153 612 49
1
but not
4 13737 78
600 700 10025 7771
In the following examples,
the three characters are 7,
space, 8:
307 800 6127 888 999
6127 723 999 700 100 600
but not
25 7771307 800
723 700
but not
25 7771307 800
6127 723 999700 100 600
60 4334 545 92
200710
86 53
The regular expression [162]
has the same results.
(22 431) 102(22 431) 55 76
but not
43 (22 431) 522 431 59

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IP SERVICES - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?

This manual is also suitable for:

Junose 11.1.x ip servicesJunose v 11.1

Table of Contents