1197

display route-policy

Syntax display route-policy [ route-policy-name]

View Any view

Parameters route-policy-name: Routing policy name, a string of 1 to 19 characters.

Description Use the display route-policycommand to display routing policy information. All routing policy information will be displayed if no route-policy-nameis specified.

Related commands: route-policy.

Examples # 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

Description

 

 

Route-policy

Routing policy name

Permit

permit mode: permit, deny

if-match ip-prefix abc

Match criterion

apply cost 120

If the match criterion is satisfied, set the route cost to 120.

 

 

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 ACL 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-matchas-pathcommand to specify AS path ACL(s) for matching against the AS path attribute of BGP routing information.

Use the undo if-matchas-pathcommand to remove the match criterion.

The match criterion is not configured by default.

Page 1197
Image 1197
3Com MSR 50, MSR 30 manual Display route-policy, If-match as-path, Syntax display route-policy route-policy-name, 1197