display ip policy-based-route
Use display ip policy-based-route to display PBR policy information.
Syntax
display ip policy-based-route [ policy policy-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
If no policy is specified, this command displays information about all policies.
If a policy name is specified, this command displays information about the specified policy.
Examples
# Display all policy information.
<Sysname> display ip policy-based-route Policy name: aaa node 1 permit: if-match acl 2000 apply next-hop 1.1.1.1
Table 93: Command output
Field | Description |
---|---|
node 1 permit | The match mode of Node 1 is permit. |
if-match acl | Matches packets against the ACL. |
apply next-hop | Specify a next hop for permitted packets. |
Related commands
policy-based-route