Display Route-Policy; If-Match As-Path - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

display route-policy

Syntax
View
Parameters
Description
Related commands:
Examples

if-match as-path

Syntax
View
Parameters
Description
display route-policy [ route-policy-name ]
Any view
route-policy-name: Routing policy name, a string of 1 to 19 characters.
Use the
display route-policy
All routing policy information will be displayed if no route-policy-name is specified.
route-policy.
# Display the information of routing policy 1.
<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
if-match ip-prefix abc
apply cost 120
Table 284 Description on the fields of the display route-policy command.
Field
Route-policy
Permit
if-match ip-prefix abc
apply cost 120
if-match as-path as-path-number&<1-16>
undo if-match as-path [ as-path-number&<1-16> ]
Routing policy view
as-path-number: AS path ACL number, in the range of 1 to 256.
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Use the
if-match as-path
against the AS path attribute of BGP routing information.
Use the
undo if-match as-path
The match criterion is not configured by default.
command to display routing policy information.
Description
Routing policy name
permit mode: permit, deny
Match criterion
If the match criterion is satisfied, set the route cost to 120.
command to specify AS path ACL(s) for matching
command to remove the match criterion.
1197

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents