display ipv6 source binding pd

Use display ipv6 source binding pd to display IPv6SG prefix bindings.

Syntax

display ipv6 source binding pd [ vpn-instance vpn-instance-name ] [ prefix prefix/prefix-length ] [ mac-address mac-address ] [ vlan vlan-id ] [ interface interface-type interface-number ] [ slot slot-number ]

In IRF mode:

display ipv6 source binding pd [ vpn-instance vpn-instance-name ] [ prefix prefix/prefix-length ] [ mac-address mac-address ] [ vlan vlan-id ] [ interface interface-type interface-number ] [ chassis chassis-number slot slot-number ]

Views

Any views

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. To display IPv6SG prefix bindings for the public network, do not specify a VPN instance.

prefix prefix/prefix-length: Specifies an IPv6 prefix. The value range for the prefix-length argument is 1 to 128. If you do not specify an IPv6 prefix, this command displays all IPv6SG prefix bindings.

mac-address mac-address: Specifies a MAC address in H-H-H format. If you do not specify a MAC address, this command displays IPv6SG prefix bindings for all MAC addresses.

vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094. If you do not specify a VLAN, this command displays IPv6SG prefix bindings for all VLANs.

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays IPv6SG prefix bindings for all interfaces.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6SG prefix bindings for the active MPU. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays IPv6SG prefix bindings for the global active MPU. (In IRF mode.)

Usage guidelines

IPv6SG prefix bindings are dynamically obtained from the DHCPv6 snooping module.

Examples

# Display all IPv6SG prefix bindings.

<Sysname> display ipv6 source binding pd
Total entries found: 2
IPv6 prefix          MAC address     Interface      VLAN
2012:1111::/64       000f-2202-0435          1
2012:2222::/64       000f-2202-0436  FGE1/0/2        2

Table 82: Command output

Field

Description

Total entries found

Total number of IPv6SG prefix bindings.

IPv6 prefix

IPv6 prefix and prefix length in the IPv6SG prefix binding.

MAC address

MAC address in the IPv6SG prefix binding.

This field displays N/A if the MAC address is invalid.

Interface

Interface to which the IPv6SG prefix binding belongs.

This field displays N/A for a global IPv6SG prefix binding.

VLAN

VLAN information in the IPv6SG prefix binding.

This field displays N/A if the IPv6SG prefix binding does not contain the VLAN information.

Related commands

ipv6 source binding

ipv6 verify source