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
Parameters
policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. If you do not specify a policy, this command displays information for all PBR policies.
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 120: Command output
Field | Description |
---|---|
node 1 permit | The match mode of Node 1 is permit. |
if-match acl | Compares packets with the ACL. |
apply next-hop | Specifies a next hop for permitted packets. |
Related commands
policy-based-route