display route-policy

Use display route-policy to display routing policy information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. If you do not specify this option, the command displays information about all routing policies.

Examples

# Display information about routing policy policy1.

<Sysname> display route-policy name policy1
Route-policy: policy1
  Permit : 1
          if-match cost 10
          continue: next node 11
          apply preference 10

Table 180: Command output

Field

Description

Route-policy

Routing policy name.

permit

Match mode:

  • Permit.

  • Deny.

if-match

Match criterion.

continue

Specify the next node to be matched.

apply

Action.