display ipv6 policy-based-route interface
Use display ipv6 policy-based-route interface to display IPv6 interface PBR configuration and statistics.
Syntax
display ipv6 policy-based-route interface interface-type interface-number [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays IPv6 interface PBR configuration and statistics for the master device.
Examples
# Display IPv6 PBR configuration and statistics on VLAN-interface 2.
<Sysname> display ipv6 policy-based-route interface vlan-interface 2 Policy based routing information for interface Vlan-inerface2(failed): 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 1000::1 Matched: 0 node 5 permit: if-match acl 3101 apply next-hop 1000::1 Matched: 0 Total matched: 0 <Sysname> display ipv6 policy-based-route interface Vlan-inerface2 Policy based routing information for interface Vlan-inerface2: Policy name: aaa node 0 deny(not support): Matched: 0 node 1 permit: if-match acl 3999 Matched: 0 node 2 permit(no resource): if-match acl 2000 apply next-hop 1000::1 Matched: 0 node 5 permit: if-match acl 3101 apply next-hop 1000::1 Matched: 0 (no statistics resource) Total matched: 0
Table 174: Command output
Field | Description |
---|---|
Policy based routing information for interface XXXX(failed) | IPv6 PBR configuration and statistics on the interface. This field displays failed in brackets if none of the nodes in the policy has been successfully issued to the driver. NOTE: The failed status is available on a per-slot basis. To obtain this information, you must specify a slot number when you execute the command.
|
node 0 deny(not support) node 2 permit(no resource) | Match mode of the node, permit or deny. If a node fails to be issued to the driver, the command displays the cause in brackets, which include:
NOTE: The cause is available only on a per-slot basis. To obtain this information, you must specify a slot number when you execute the command.
|
if-match acl | Compares IPv6 packets with the IPv6 ACL. |
apply next-hop | Specifies a next hop for permitted IPv6 packets. |
Matched: 0 (no statistics resource) | Number of successful matches on the node. If the device does not have sufficient resources to count matches, this field displays no statistics resource in brackets. NOTE: The statistics collection failure cause is available only on a per-slot basis. To obtain this information, you must specify a slot number when you execute the command.
|
Total matched | Total number of successful matches on all nodes. |
Related commands
reset ipv6 policy-based-route statistics