Ip As-Path - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches

6.1.24 ip as-path

Syntax
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number
View
System view
Parameters
as-path-number: AS path ACL number, in the range of 1 to 256.
deny: Specifies the matching mode for the AS path ACL as deny.
permit: Specifies the matching mode for the AS path ACL as permit.
regular-expression: Regular expression of AS path, a string of 1 to 50 characters.
BGP routing information contains the AS path attribute field that identifies the
autonomous systems through which routing information has passed. Used to compare
with the AS path attribute, a regular expression is a formula comprised of characters,
for example, ^200. *100$, which matches AS path attribute fields that start with AS200
and end with AS100.
The meanings of special characters used in regular expressions are shown below:
Character
.
*
+
^
$
_
[ range ]
-
Description
Use the ip as-path command to create an AS path ACL.
Use the undo ip as-path command to remove an AS path ACL.
No AS path ACL is created by default.
Chapter 6 Routing Policy Configuration Commands
Matches any single character, including blank space.
Matches 0 or more patterns.
Matches 1 or more patterns.
Matches the beginning of an input string.
Matches the end of an input string.
Matches a comma, left brace, right brace, left parenthesis, right
parenthesis, the beginning of an input string, the end of an input
string, or a space.
Means the range of single-character patterns.
Separates the ending points of a range.
6-19
Meaning

Advertisement

Table of Contents
loading

Table of Contents