- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
07-DHCPv6 Commands | 37.72 KB |
Table of Contents
1 DHCPv6 Configuration Commands
display ipv6 dhcp client statistics
reset ipv6 dhcp client statistics
l Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.
l The interface types and the number of interfaces vary by AP model.
l The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Support for the DHCPv6 configuration commands depends on the AP model.
DHCPv6 Configuration Commands
display ipv6 dhcp client
Syntax
display ipv6 dhcp client [ interface interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface interface-type interface-number: Displays the DHCPv6 client information of a specified interface.
Description
Use the display ipv6 dhcp client command to display DHCPv6 client information.
With no parameters specified, the DHCPv6 client information of all the interfaces will be displayed.
Examples
# Display the DHCPv6 client information of VLAN-interface 2.
<Sysname> display ipv6 dhcp client interface vlan-interface 2
Vlan-interface2 is in stateless DHCPv6 client mode
State is OPEN
Preferred Server:
Reachable via address : FE80::213:7FFF:FEF6:C818
DUID : 0003000100137ff6c818
DNS servers : 1:2:3::5
1:2:4::7
Domain names : abc.com
Table 1-1 display ipv6 dhcp client command output description
Field |
Description |
in stateless DHCPv6 client mode |
Indicates the client is in the stateless DHCPv6 configuration mode. |
State is OPEN |
Current state of the DHCPv6 client, which can be: l INIT: After enabled, the DHCPv6 client enters the INIT state. l IDLE: After receiving an RA message with the “M” flag set to 0 and “O” flag set to 1 and enabled with stateless DHCPv6, the DHCPv6 client enters the IDLE state. l INFO-REQUESTING: The DHCPv6 client is requesting configuration information. l OPEN: The DHCPv6 client successfully obtained configuration parameters and completed stateless configuration based on the obtained parameters. |
Preferred Server |
Information about the DHCPv6 server selected by the DHCPv6 client |
Reachable via address |
Reachable address, that is, the link local address of the DHCPv6 server or relay agent. |
DUID |
DHCP unique identifier (DUID) of the DHCPv6 server |
DNS servers |
DNS server address sent by the DHCPv6 server |
Domain names |
Domain name information sent by the DHCPv6 server |
display ipv6 dhcp client statistics
Syntax
display ipv6 dhcp client statistics [ interface interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface interface-type interface-number: Displays the DHCPv6 client statistics of a specified interface.
Description
Use the display ipv6 dhcp client statistics command to display DHCPv6 client statistics.
With no parameters specified, DHCPv6 client statistics of all the interfaces will be displayed.
Related commands: reset ipv6 dhcp client statistics.
Examples
# Display DHCPv6 client statistics of VLAN-interface 2.
<Sysname> display ipv6 dhcp client statistics interface vlan-interface 2
Interface : Vlan-interface2
Packets Received : 1
Reply : 1
Advertise : 0
Reconfigure : 0
Invalid : 0
Packets Sent : 5
Solicit : 0
Request : 0
Confirm : 0
Renew : 0
Rebind : 0
Information-request : 5
Release : 0
Decline : 0
Table 1-2 display ipv6 dhcp client statistics command output description
Field |
Description |
Interface |
Interface that servers as the DHCPv6 client |
Packets Received |
Number of received packets |
Reply |
Number of received reply packets |
Advertise |
Number of received advertise packets |
Reconfigure |
Number of received reconfigure packets |
Invalid |
Number of invalid packets |
Packets Sent |
Number of sent packets |
Solicit |
Number of sent solicit packets |
Request |
Number of sent request packets |
Confirm |
Number of sent confirm packets |
Renew |
Number of sent renew packets |
Rebind |
Number of sent rebind packets |
Information-request |
Number of sent information request packets |
Release |
Number of sent release packets |
Decline |
Number of sent decline packets |
display ipv6 dhcp duid
Syntax
display ipv6 dhcp duid
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display ipv6 dhcp duid command to display the DUID of the local AP.
Examples
# Display the DUID of the device.
<Sysname> display ipv6 dhcp duid
The DUID of this device: 0003-0001-00e0-fc00-5552.
reset ipv6 dhcp client statistics
Syntax
reset ipv6 dhcp client statistics [ interface interface-type interface-number ]
View
User view
Default Level
1: Monitor level
Parameters
interface interface-type interface-number: Clears DHCPv6 client statistics of a specified interface.
Description
Use the reset ipv6 dhcp client statistics command to clear DHCPv6 client statistics.
With no parameters specified, DHCPv6 client statistics of all the interfaces will be cleared.
After this command is executed, the packets statistics is displayed as 0 when you use the display ipv6 dhcp client statistics command.
Related commands: display ipv6 dhcp client statistics.
Examples
# Clear DHCPv6 client statistics of all the interfaces.
<Sysname> reset ipv6 dhcp client statistics