< Home

display route-policy

Function

The display route-policy command displays the configuration of the route-policy.

Format

display route-policy [ route-policy-name ]

Parameters

Parameter Description Value
route-policy-name Displays the configuration of a route-policy with a specified name. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display route-policy command to check detailed configuration of a route-policy.

Example

# Display the configuration of the route-policy named policy1.

<HUAWEI> display route-policy policy1
Route-policy : policy1
  permit : 10 (matched counts: 2)
    Match clauses :
        if-match acl 2000
    Apply clauses :
        apply cost 100
        apply tag 100
Table 1 Description of the display route-policy command output

Item

Description

Route-policy

Name of the routing policy

permit

Matching mode and node index of the routing policy

matched counts: 2

Number of nodes that routes are matched in a routing policy

Match clauses

Matching condition list

Apply clauses

Apply clause list

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >