display dhcpv6 snooping bind-table

Function

The display dhcpv6 snooping bind-table command displays information about binding entries.

Format

display dhcpv6 snooping bind-table { interface { interface-type interface-num | interface-name } | ipv6-address ipv6Address | ipv6-prefix ipv6-prefix-mask | mac-address macAddress | vpn-instance vpnName | static | dynamic | all }

Parameters

Parameter Description Value
interface interface-type interface-num

Specifies the type and number of an interface.

-

interface interface-name

Specifies an interface name.

-

ipv6-address ipv6Address

Specifies the IPv6 address of a user.

The value is a 32-digit hexadecimal number in the format of X:X:X:X:X:X:X:X.

ipv6-prefix ipv6-prefix-mask

Specifies the IPv6 prefix address and IPv6 prefix length.

IPv6 prefix address: The value is a 32-bit hexadecimal number in the format of X:X:X:X:X:X:X:X.

IPv6 prefix length: The value is an integer that ranges from 16 to 128.

mac-address macAddress

Specifies the MAC address of a user.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits.

vpn-instance vpnName

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The VPN instance name cannot be _public_. If double quotation marks are used at both ends of a character string, you can enter spaces in the character string.

static

Displays static binding entries.

-

dynamic

Displays dynamic binding entries.

-

all

Displays all binding entries.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dhcp read

Usage Guidelines

Usage Scenario

After DHCPv6 snooping is configured, you can run the display DHCPv6 snooping binding command to view information about DHCPv6 snooping binding entries.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display static entries in the DHCPv6 snooping binding table.
<HUAWEI> system-view
[~HUAWEI] display dhcpv6 snooping bind-table static
bind-table:
ifname         vrf            p/cvlan   mac-address    ipv6-address           tp lease    
-----------------------------------------------------------------------------------
GE0/1/0        --             0000/0000 00e0-fc12-3456 2001:db8:1::1/128      S  0
-----------------------------------------------------------------------------------
binditem count:      1                   binditem total count: 1
# Display DHCPv6 snooping binding entries in the VPN instance named vpn1.
<HUAWEI> system-view
[~HUAWEI] display dhcpv6 snooping bind-table vpn-instance vpn1
bind-table:
ifname         vrf            p/cvlan   mac-address    ipv6-address           tp lease    
-----------------------------------------------------------------------------------
GE0/1/0        vpn1           0000/0000 00e0-fc12-3456 2001:db8:1::1/128      S  0
-----------------------------------------------------------------------------------
binditem count:      1                   binditem total count: 2
Table 1 Description of the display dhcpv6 snooping bind-table command output
Item Description
ifname

Name of the interface to which the binding table is bound.

vrf

Identifier of an L3VPN.

p/cvlan

PE VLAN ID and CE VLAN ID(for QinQ).

mac-address

MAC address in the binding table.

ipv6-address

IPv6 address in the binding table.

tp

Type of binding entries:

  • S: indicates static entries.
  • D: indicates dynamic entries.
lease

Period after which the IPv6 address allocated to a user is reclaimed.

binditem count

Number of currently queried binding tables.

binditem total count

Total number of binding tables.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >