display ipv6 dhcp server

Syntax

display ipv6 dhcp server [ 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 server information about the interface specified by interface type and number. If no interface is specified, this command displays DHCPv6 server information about all interfaces.

|: 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 server to display DHCPv6 server information.

Examples

# Display DHCPv6 server information about all interfaces.

<Sysname> display ipv6 dhcp server
DHCPv6 server status: Enabled
Interface             Pool
Vlan-interface2       1
Vlan-interface3       2

# Display DHCPv6 server information about the specified interface.

<Sysname> display ipv6 dhcp server interface vlan-interface 2
Using pool: 1
Preference value: 0
Allow-hint: Enabled
Rapid-commit: Disabled

Table 45: Command output

Field

Description

DHCPv6 server status

DHCPv6 server status, Enabled or Disabled.

Interface

Interface on which the DHCPv6 server is enabled.

Pool

Address pool applied to the interface.

Using pool

Address pool applied to the interface.

Preference value

Server priority in the DHCPv6 Advertise message. The value ranges from 0 to 255.

Allow-hint

Support for desired prefix assignment. The status can be Enabled or Disabled.

Rapid-commit

Support for rapid prefix assignment. The status can be Enabled or Disabled.