< Home

display dhcpv6 static user-bind

Function

The display dhcpv6 static user-bind command displays the IPv6 binding table.

Format

display dhcpv6 static user-bind { { interface interface-type interface-number | ipv6-address { ipv6-address | all } | mac-address mac-address | vlan vlan-id } * | all } [ verbose ]

display dhcpv6 static user-bind ipv6-prefix { prefix/prefix-length | all } [ verbose ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays the binding entry mapping a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

ipv6-address ipv6-address

Displays the binding entry mapping a specified IPv6 address.

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

mac-address mac-address

Displays the binding entry mapping a specified MAC address.

The value is in hexadecimal notation.

vlan vlan-id

Displays the binding entry mapping a specified VLAN ID.

The value is an integer that ranges from 1 to 4094.

ipv6-prefix

Displays an IPv6 suffix binding entry.

-

prefix/prefix-length

Displays the binding entry mapping a specified IPv6 prefix.

prefix is a 32-digit hexadecimal number, in the format of X:X::X:X.

prefix-length is an integer that ranges from 1 to 128.

all

Displays all entries in the binding table.

-

verbose

Displays detailed information about the binding table.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is used to view information about a configured DHCPv6 static binding table. The information includes the IPv6 address, MAC address, VLAN information, and interface information. If prefix delegation (PD) users exist on the network, the device generates an IPv6 prefix binding entry. The display dhcpv6 static user-bind ipv6-prefix command displays the static IPv6 prefix binding entries.

Example

# Display the DHCPv6 static binding table.

<HUAWEI> display dhcpv6 static user-bind all
DHCPV6 static Bind-table:                                                       
Flags:O - outer vlan ,I - inner vlan ,P - map vlan                              
IP Address                      MAC Address     VSI/VLAN(O/I/P) Interface       
--------------------------------------------------------------------------------
fc00:1::1                       0001-0002-0003  10  /--  /--    --              
--------------------------------------------------------------------------------
Print count:           1          Total count:           1                      
# Display detailed information about the DHCPv6 static binding table.
<HUAWEI> display dhcpv6 static user-bind all verbose
DHCPV6 static Bind-table:                                  
--------------------------------------------------------------------------------
 IP Address  : fc00:1::1                                                     
 MAC Address : 0001-0002-0003                                                   
 VSI         : --                                                               
 VLAN(O/I/P) : 10  /--  /--                                                     
 Interface   : --                                                         
 IPSG Status : IPv6 effective slot: <0>
--------------------------------------------------------------------------------
Print count:           1          Total count:           1                      
# Display the IPv6 prefix static binding table.
<HUAWEI> display dhcpv6 static user-bind ipv6-prefix all
PD static Bind-table:                                                           
Flags:O - outer vlan ,I - inner vlan ,P - map vlan                              
IPv6 Prefix                     MAC Address     VSI/VLAN(O/I/P) Interface       
--------------------------------------------------------------------------------
fc00:1000::12/32                0001-0002-0003  10  /--  /--    --              
--------------------------------------------------------------------------------
Print count:           1          Total count:           1                      
Table 1 Description of the display dhcpv6 static user-bind command output

Item

Description

DHCPV6 static Bind-table

Static DHCPv6 binding entries.

To configure a static DHCPv6 binding table, run the user-bind static command.

Flags:O - outer vlan ,I - inner vlan ,P - map vlan

VLAN ID.
  • O: Outer VLAN
  • I: Inner VLAN
  • P: Map VLAN

IPv6 Prefix

User IPv6 prefix.

IP Address

User IPv6 address.

MAC Address

User MAC address.

VSI

Name of the VPN instance that the online user belongs to.

VLAN(O/I/P)

Outer VLAN ID, inner VLAN ID, or VLAN mapping information of the online user.

Interface

User access interface.

IPSG Status

Whether the binding table is effective for IP packet checking after IP packet checking is enabled. The value can be:
  • IPv6 effective slot: <0> indicates that the binding table is effective for IPv6 packet checking in slot 0.
  • ineffective

This field is invalid if IP packet checking is not enabled.

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