display policy-based-route

Function

The display policy-based-route command displays the created policy content.

Format

display policy-based-route [ policy-name ]

Parameters

Parameter Description Value
policy-name

Specifies the name of a PBR policy.

The value is a string of 1 to 31 case-sensitive characters without spaces.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
cli read

Usage Guidelines

Usage Scenario

To check the created policy content, run the display policy-based-route command. If <policy-name> is not specified, the display policy-based-route command displays the content of all created policies.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the created policy content.
<HUAWEI> display policy-based-route
-----------------------------------------------------
User Defined policy-based-route Policy Information:
-----------------------------------------------------
Total: 100  Used: 1  Free: 99
Policy: aaa
Node: 5     MapInstance: 5
if-match acl a3001
apply output-interface Tunnel30
Node: 10    MapInstance: 10
if-match acl a3002
apply output-interface Tunnel40
Table 1 Description of the display policy-based-route command output
Item Description
Policy

Policy name.

if-match acl

ACL configured to match against IP addresses.

apply output-interface

Outbound interface to which packets are redirected.

Node

Node number (a smaller node number indicates a higher PBR priority).

MapInstance

MIB object ID.

Total

Total policies.

Used

Used policies.

Free

Free policies.

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