display ipv6 dhcp client

Syntax

display ipv6 dhcp client [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface interface-type interface-number: Displays DHCPv6 client information about a specific interface.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ipv6 dhcp client to display DHCPv6 client information.

With no parameters specified, this command displays DHCPv6 client information about all interfaces.

Examples

# Display DHCPv6 client information about 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 50: Command output

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:

  • INIT—After enabled, the DHCPv6 client enters the INIT state.

  • 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.

  • INFO-REQUESTING—The DHCPv6 client is requesting configuration information.

  • 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, which 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.