If-Match 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
Examples
# Display the information of routing policy 1.
<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
Table 6-2 Description on the fields of the display route-policy command.
Route-policy
Permit
if-match ip-prefix abc
apply cost 120

6.1.17 if-match as-path

Syntax
if-match as-path as-path-number&<1-16>
undo if-match as-path [ as-path-number&<1-16> ]
View
Routing policy view
Parameters
as-path-number: AS path list number, in the range of 1 to 256.
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Description
Use the if-match as-path command to specify AS path list (s) for matching against the
AS path attribute of BGP routing information.
Use the undo if-match as-path command to remove the match criterion.
The match criterion is not configured by default.
This command is one of the if-match clauses of a route policy, used for filtering BGP
routing information and specifying match criteria according to the AS path attribute of
routing information.
Related commands: route-policy, ip as-path-acl.
if-match ip-prefix abc
apply cost 120
Field
Routing policy name
permit mode: permit, deny
Match criterion
If the match criterion is satisfied, set the route cost to 120.
Chapter 6 Routing Policy Configuration Commands
Description
6-13

Advertisement

Table of Contents
loading

Table of Contents