display ipv6 policy-based-route local

Use display ipv6 policy-based-route local to display IPv6 local PBR configuration and statistics.

Syntax

In standalone mode:

display ipv6 policy-based-route local [ slot slot-number ]

In IRF mode:

display ipv6 policy-based-route local [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

slot slot-number: Displays the IPv6 PBR configuration and statistics on a card. The slot-number argument is the number of the slot that holds the card. (In standalone mode.)

chassis chassis-number slot slot-number: Displays the IPv6 PBR configuration and statistics of a card on an IRF member device. The chassis-number argument is the ID of the IRF member device, and the slot-number argument is the number of the slot that holds the card. (In IRF mode.)

Examples

# Display IPv6 local PBR configuration and statistics.

<Sysname> display ipv6 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 1::1
  Matched: 0
  node 5 permit:
    if-match acl 3101
    apply next-hop 2::2
  Matched: 0
Total matched: 0

Table 133: Command output

Field

Description

Policy based routing information for local

IPv6 local PBR configuration and statistics.

node 0 deny/node 2 permit

Match mode of the node, permit or deny.

if-match acl

Match packets against the ACL.

apply next-hop

Specify 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 ipv6 policy-based-route statistics