display ipv6 source binding

Use display ipv6 source binding to display IPv6SG address bindings.

Syntax

In standalone mode:

display ipv6 source binding [ static | [ vpn-instance vpn-instance-name ] [ dhcpv6-relay | dhcpv6-snooping ] ] [ ip-address ipv6-address ] [ mac-address mac-address ] [ vlan vlan-id ] [ interface interface-type interface-number ] [ slot slot-number ]

In IRF mode:

display ipv6 source binding [ static | [ vpn-instance vpn-instance-name ] [ dhcpv6-relay | dhcpv6-snooping ] ] [ ip-address ipv6-address ] [ mac-address mac-address ] [ vlan vlan-id ] [ interface interface-type interface-number ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

static: Displays static IPv6SG address bindings.

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

dhcpv6-relay: Specifies the DHCPv6 relay agent module.

dhcpv6-snooping: Specifies the DHCPv6 snooping module.

ip-address ipv6-address: Specifies an IPv6 address.

mac-address mac-address: Specifies a MAC address in H-H-H format.

vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

interface interface-type interface-number: Specifies an interface by its type and number.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6SG address 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 address bindings for the global active MPU. (In IRF mode.)

Examples

# Display all IPv6SG address bindings on the public network.

<Sysname> display ipv6 source binding
Total entries found: 2
IPv6 Address         MAC Address    Interface               VLAN Type
2012:1222:2012:1222: 000f-2202-0435 FGE1/0/1                1    DHCPv6 snooping
2012:1222:2012:1222
2012:1222:2012:1222: 000f-2202-0436 FGE1/0/1                N/A  Static
2012:1222:2012:1223

Table 81: Command output

Field

Description

Total entries found

Total number of IPv6SG address bindings.

IPv6 Address

IPv6 address in the IPv6SG address binding. If no IPv6 address is bound in the binding, this field displays N/A.

MAC Address

MAC address in the IPv6SG address binding. If no MAC address is bound in the binding, this field displays N/A.

Interface

Interface of the IPv6SG address binding. This field displays N/A for a global IPv6SG binding.

VLAN

VLAN information in the IPv6SG address binding. If the binding contains no VLAN information, this field displays N/A.

Type

Type of the IPv6SG address binding:

  • Static—Manually configured by using the ipv6 source binding command. Static bindings are for packet filtering in IPv6SG or used by other modules to provide security services.

  • DHCPv6 relay—Dynamically generated based on DHCPv6 relay agent. The binding is for packet filtering in IPv6SG.

  • DHCPv6 snooping—Dynamically generated based on DHCPv6 snooping. The binding is for packet filtering in IPv6SG.

Related commands

ipv6 source binding

ipv6 verify source