Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 899

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Meta
chara
cter
(xyz)
[xyz]
[^xyz]
[a-z]
[^a-z]
_
Issue 02 (2014-09-30)
Description
Matches AS_Paths with the
characters in the parentheses
as a whole. (xyz) is used with
the vertical bar "|" in most
cases.
Matches AS_Paths with any
character in the brackets "[ ]".
Matches AS_Paths with any
character except those in the
brackets "[ ]".
Matches AS_Paths with any
character within the range
specified in the brackets "[ ]".
Matches AS_Paths without
any character within the
range specified in the
brackets "[ ]".
Matches AS_Paths with a
sign, such as a comma ",", left
brace "{", right brace "}", left
parenthesis "(", right
parenthesis ")", or space. The
underscore "_" can be used at
the beginning of a regular
expression with the same
function as the caret "^" or at
the end of a regular
expression with the same
function as the dollar sign
"$".
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Example
(123) matches 123.
(8|9|67) matches 8, 9, or 67.
[896] matches AS_Paths with 8, 9, or 6, such as 6,
8, 9, 18, 89, 96, 109, 9986, 65001, 1.6, and 8.9.
[^896] matches AS_Paths with any character except
8, 9, and 6.
l AS_Path examples that [^896] matches: 3, 18,
109, 9867, 65001, 1.6, and 8.9.
l AS_Path examples that [^896] does not match:
6, 8, 9, 89, 96, 698, 986, 9986, and 66899.
[2-4] matches 2, 3, and 4, and [0-9] matches numbers
from 0 to 9.
NOTE
The characters in the brackets "[ ]" can only be numbers
from 0 to 9. To match AS_Paths within the range from 735
to 907, use (73[5-9]|7[4-9][0-9]|8[0-9][0-9]|90[0-7]).
[^2-4] matches AS_Paths without 2, 3, or 4, and
[^0-9] matches AS_Paths without numbers from 0
to 9.
l ^65001_ matches AS_Paths that begin with
65001 followed by a sign. Specifically, ^65001_
matches AS_Paths with 65001 as the leftmost
AS number (the number of the last AS through
which a route passes) or the routes sent by peers
in AS 65001.
l _65001_ matches AS_Paths with 65001 or
routes that pass through AS 65001.
l _65001$ matches AS_Paths that end with a sign
followed by 65001. Specifically, _65001$
matches AS_Paths with 65001 as the rightmost
AS number (the number of the first AS through
which a route passes) or the routes that originate
in AS 65001.
8 BGP Configuration
874

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e