H3C S6550X-HI Series Command Reference Manual page 2072

Table of Contents

Advertisement

Field
if-match
continue
apply
if-match as-path
Use
if-match as-path
path list.
Use
undo if-match as-path
Syntax
if-match as-path { as-path-number&<1-32> | as-path-name }
undo if-match as-path [ as-path-number&<1-32> | as-path-name ]
Default
No AS path list match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
as-path-number&<1-32>
indicates that you can specify a maximum of 32 AS path lists.
&<1-32>
name as-path-name
characters. The AS path list name cannot contain only digits.
Examples
# Configure AS path list 2 to permit BGP routes containing AS number 200 or 300 to pass. Configure
node 10 in permit mode for routing policy test to match AS path list 2.
<Sysname> system-view
[Sysname] ip as-path 2 permit _*200.*300
[Sysname] route-policy test permit node 10
[Sysname-route-policy-policy1-10] if-match as-path 2
Related commands
apply as-path
ip as-path
if-match community
Use
if-match community
specified community list.
Use
undo if-match community
Description
Match criterion.
Specify the next node to be matched.
Action.
to match BGP routes whose AS_PATH attribute matches a specified AS
to remove the specified AS path list match criterion.
: Specifies an AS path list by its number in the range of 1 to 256.
: Specifies an AS path list by its name, a case-sensitive string of 1 to 51
to match BGP routes whose COMMUNITY attribute matches a
to remove the specified community list match criterion.
20

Advertisement

Table of Contents
loading

Table of Contents