Juniper JUNOSE 11.2.X IP SERVICES Configuration Manual page 72

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

JunosE 11.2.x IP Services Configuration Guide
46
Table 6: Sample Regular Expressions (continued)
Regular
Matched AS-Path or Community
Expression
Attribute
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)
{41 19}
(AS-path attribute only) Includes the
AS-set or AS-seq {41 19}
101 102 | 103 105
Includes either sequence 101 102 or
sequence 103 105
Example
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
{41 19} 53 76 {41 19} 17
255 {41 19}
but not
3 41 19 41 19 532
43 101 102 5103 105 22
but not
19 102 101102 103
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2.x

Table of Contents