display ip policy-based-route local
Use display ip policy-based-route local to display local PBR configuration and statistics.
Syntax
display ip policy-based-route local [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays local PBR configuration and statistics for the master device.
Examples
# Display local PBR configuration and statistics.
<Sysname> display ip policy-based-route local Policy based routing information for local: Policy name: aaa node 0 deny: Matched: 0 node 1 permit: if-match acl 3999 Matched: 0 node 2 permit: if-match acl 2000 apply next-hop 2.2.2.2 Matched: 0 node 5 permit: if-match acl 3101 apply next-hop 1.1.1.1 Matched: 0 Total matched: 0
Table 123: Command output
Field | Description |
---|---|
Policy based routing information for local | Local PBR configuration and statistics. |
node 0 deny/node 2 permit | Match mode of the node: permit or deny. |
if-match acl | Compares packets with the ACL. |
apply next-hop | Specifies a next hop for permitted packets. |
Matched: 0 | Number of successful matches on the node. |
Total matched | Total number of successful matches on all nodes. |
Related commands
reset ip policy-based-route statistics