EasyManua.ls Logo

HP 5920 Series - If-Match As-Path

HP 5920 Series
607 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
Loading...
564
permit : 1
if-match cost 10
continue: next node 11
apply comm-list a delete
Table 142 Command output
Field Descri
p
tion
Route-policy Routing policy name.
permit
Match mode:
permit.
deny.
if-match Match criterion.
continue Specify the next node to be matched.
apply Action.
if-match as-path
Use if-match as-path to match BGP routes whose AS_PATH attribute matches a specified AS path list.
Use undo if-match as-path to remove the configuration.
Syntax
if-match as-path as-path-number&<1-32>
undo if-match as-path [ as-path-number&<1-32> ]
Default
No match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
as-path-number&<1-32>: Specifies an AS path list by its number in the range of 1 to 256. &<1-32>
indicates that the argument before it can be entered up to 32 times.
Examples
# Define 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

Table of Contents

Other manuals for HP 5920 Series

Related product manuals