EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #514 background imageLoading...
Page #514 background image
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-19
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 Meaning
. 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.
[ range ] Means the range of single-character patterns.
- Separates the ending points of a 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.

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals