Commands For Dhcpv6

7.2 Commands for DHCPv6

7.2.1 clear ipv6 dhcp binding

Command: clear ipv6 dhcp binding [ <address> | pd <prefix/prefix-length> ] Function: Deletes the specified IPv6 address binding record or IPv6 address with the specified prefix delegation.
Parameters:

  • <address>: IPv6 address in X:X::X:X format.
  • pd: prefix delegation.
  • <prefix/prefix-length>: IPv6 prefix and length in X:X::X:X/M format.

Command mode: Admin Mode
Default: None.
Usage guide: The ?show ipv6 dhcp binding? command can be used to view the DHCPv6 address and prefix bind information. The system administrator can use this command to delete an IPv6 address binding manually. If no parameters are specified, all DHCPv6 addresses and prefix binding records will be deleted and all addresses in the DHCP address pool will be reallocated.
Example: Remove all DHCPv6 addresses and prefix binding records.

active500EM#clear ipv6 dhcp binding

Related Command: show ipv6 dhcp binding
 

7.2.2 clear ipv6 dhcp conflict

Command: clear ipv6 dhcp conflict [<address>] Function: Clear the address with the conflict record in the address conflict log.
Parameters:

  • <address>: specified address with the conflict record. No specified address will clear all conflict records.

Command mode: Admin Mode
Default: None.
Usage guide: With the ?show ipv6 dhcp conflict? command, the user can check the IP address conflict. The user can clear the address conflict record. If no specified address is used this command will clear the conflict record of all addresses in the log. After the conflict records are cleared in the log, these addresses can be used by the DHCPv6 server again.
Example: When the administrator checks the conflict logs, the administrator discovers that address 2001::1 with the conflict record is not used. It’s record will be cleared from the address conflict files.

active500EM#clear ipv6 dhcp conflict 2001::1

 

7.2.3 clear ipv6 dhcp statistics

Command: clear ipv6 dhcp statistics
Function: Clear the DHCPv6 packet statistics, the DHCPv6 packet statistic counter is cleared.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: With the ?show ipv6 dhcp statistics? command, the user can check the statistic information of the counter for DHCPv6 packets. All statistic information is cumulative in value. This command will clear the counter to easily check the debug information.
Example: Clear the counter of DHCPv6 packets.

active500EM#clear ipv6 dhcp statistics

Related Command: show ipv6 dhcp statistics
 

7.2.4 debug ipv6 dhcp client packet

Command: debug ipv6 dhcp client {event | packet}
no debug ipv6 dhcp client {event | packet}
Function: Enable the debug messages for DHCPv6 prefix delegation client protocol packets. The no command disables the debug information.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Enables the debug messages for DHCPv6 prefix delegation client protocol packets.
Example: Enable the debug messages for DHCPv6 prefix delegation client protocol packets.

active500EM#debug ipv6 dhcp client packet

 

7.2.5 debug ipv6 dhcp detail

Command: debug ipv6 dhcp detail
no debug ipv6 dhcp detail
Function: Display the debug information for packets received or sent by DHCPv6. The no command disables this function.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Displays the debug information for packets received or sent by DHCPv6.
Example: Display the debug information for packets received or sent by DHCPv6.

active500EM#debug ipv6 dhcp detail

 

7.2.6 debug ipv6 dhcp relay packet

Command: debug ipv6 dhcp relay packet
no debug ipv6 dhcp relay packet
Function: Enable the debug information for DHCPv6 relay protocol packets. The no command disables the debug.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Enables the debug information for DHCPv6 relay protocol packets.
Example: Enable the debug information for DHCPv6 relay protocol packets.

active500EM#debug ipv6 dhcp relay packet

 

7.2.7 debug ipv6 dhcp server

Command: debug ipv6 dhcp server { event | packet }
no debug ipv6 dhcp server { event | packet }
Function: Enable the DHCPv6 server debug information. The no command disables the debug.
Parameters:

  • event: enables debug messages for DHCPv6 server events, such as address allocation.
  • Packet: debug messages of DHCPv6 server protocol packets.

Command mode: Admin Mode
Default: Disabled.
Usage guide: Enables the DHCPv6 server debug information.
Example: Enable the DHCPv6 server debug information.

active500EM#debug ipv6 dhcp server packet

 

7.2.8 dns-server

Command: dns-server <ipv6-address>
no dns-server <ipv6-address>
Function: Configures the IPv6 address of the DNS server for the DHCPv6 client. The no command removes the DNS configuration.
Parameters:

  • <ipv6-address>: IPv6 address of the DNS Server.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: No configured DNS Server address pool.
Usage guide: A maximum of three DNS servers can be configured for each address pool. The addresses of the DNS server must be valid IPv6 addresses.
Example: Configure the DHCPv6 client DNS Server address to 2001:da8::1.

active500EM(dhcp-1-config)#dns-server 2001:da8::1

 

7.2.9 domain-name

Command: domain-name <domain-name>
no domain-name <domain-name>
Function: Configures the domain name of the DHCPv6 client. The no command deletes the domain name.
Parameters:

  • <domain-name>: the domain name. Number of characters should be less than 32.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: The address pool domain name parameter is not configured.
Usage guide: Up to 3 domain names can be configured for each address pool.
Example: Set the DHCPv6 client domain name to test.com.

active500EM(dhcp-1-config)#domain-name test.com.

 

7.2.10 excluded-address

Command: excluded-address <ipv6-address>
no excluded-address <ipv6-address>
Function: Configures a specified IPv6 address to be excluded from the address pool. The excluded address will not be allocated to any hosts. The no command removes the configuration.
Parameters:

  • <ipv6-address>: IPv6 address to be excluded from allocation to hosts in the address pool.

Command mode: DHCPv6 address pool Configuration Mode
Default: Disabled.
Usage guide: This command is used to remove the specified address from DHCPv6 address allocation.
Example: Identify 2001:da8:123::1 to be excluded from DHCPv6 address allocation.

active500EM(config)#excluded-address 2001:da8:123::1

 

7.2.11 ipv6 address

Command: ipv6 address <prefix-name> <ipv6-prefix/prefix-length>
no ipv6 address <prefix-name> <ipv6-prefix/prefix-length>
Function: Configures a specified interface using a prefix delegation for address allocation. The no command disables the use of prefix delegation for address allocation.
Parameters:

  • <prefix-name>: a string with length of no more than 32 characters. Designate or manually configures the name of the address prefix defined in the prefix pool.
  • <ipv6-prefix/prefix-length>: the IPv6 address excluding the address prefix or length.

Command mode: Interface Configuration Mode
Default: No global address is configured for interfaces.
Usage guide: The IPv6 address of an interface falls into two parts: <prefix-name> and <ipv6-prefix>/<prefix-length>. If routing advertisement has been enabled, the first 64 bits of the addresses will be advertised. The address generated by the combination of <prefix-name> and <ipv6-prefix/prefix-length> will be removed and the advertising of the prefix will be disabled. Only one <ipv6-prefix/prefix-length> can be configured for one prefix name.
Example: If the my-prefix name designates 2001:da8:221::/48, then the following command will add the address 2001:da8:221:2008::2008 to the VLAN1 interface.

active500EM(config-if-vlan1)#ipv6 address my-prefix 0:0:0:2008::2008/64

 

7.2.12 ipv6 dhcp client pd

Command: ipv6 dhcp client pd <prefix-name> [rapid-commit] no ipv6 dhcp client pd
Function: Configures the DHCPv6 prefix delegation client for the specified interface. The no command disables DHCPv6 prefix delegation client and removes the allocated address prefix.
Parameters:

  • <prefix-name>: string with length of no more than 32 characters and designates the name of the address prefix. If rapid-commit optional is specified and the prefix delegation server enables the rapid-commit function, then the prefix delegation server will reply to the prefix delegation client with the REPLY message. The prefix delegation request will be accomplished by exchanging messages.

Command mode: Interface Configuration Mode
Default: DHCPv6 prefix delegation client is not enabled.
Usage guide: This command is used to configure the prefix delegation for a specified interface. An interface with prefix delegation client enabled will send SOLICIT packets to retrieve the address prefix from the server. If the prefix is retrieved correctly, the address prefix in the global address pool can be used by the IPv6 address command to generate a valid IPv6 address. This command is exclusive to IPv6 DHCP server and IPv6 DHCP relay destination. If the prefix delegation client is disabled for an interface, the address prefix received from this interface through prefix delegation client will be removed from the global address pool. The interface address generated by the prefix delegation client will be removed and routing advertisement associated with the prefix will be disabled.
Example: Configure the client DHCPv6 prefix delegation for ClientA.

active500EM(Config-if-Vlan1)#ipv6 dhcp client pd ClientA rapid-commit

 

7.2.13 ipv6 dhcp client pd hint

Command: ipv6 dhcp client pd hint <prefix|prefix-length>
no ipv6 dhcp client pd hint <prefix|prefix-length>
Function: Designate the prefix and length identified by the client. The no command deletes that prefix and its length from the specified interface.
Parameters:

  • <prefix|prefix-length>: prefix and length identified by the client.

Command mode: Interface Configure Mode
Default: None.
Usage guide: The system designates a prefix and its length on the interface for a client. If the client prefix-proxy demand function is enabled on the interface and the hint function is enabled on the switch, the user will have prior claim to the prefix it requests and the prefix length when the server allocates them. Only one hint prefix is allowed in the system.
Example: Designate the prefix and length identified by the client.

active500EM(vlan-1-config)#ipv6 dhcp client pd hint 2001::/48

 

7.2.14 ipv6 dhcp pool

Command: ipv6 dhcp pool <poolname>
no ipv6 dhcp pool <poolname>
Function: Configures the address pool for DHCPv6 and enters the DHCPv6 Address Pool Configuration Mode. In this mode, information such as the allocated address prefix, DNS server addresses, and domain names can be configured for the DHCPv6 client. The no command removes the configuration of the address pool.
Parameters:

  • <poolname>: the DHCPv6 address pool name. The length can be no more than 32 characters.

Command mode: Global Mode
Default: DHCPv6 address pool is not configured.
Usage guide: This command should be launched in Global Configuration Mode. DHCPv6 Address Pool Configuration Mode will also be launched. This command removes a configured address pool, interface bindings related to the address pool, and related address bindings.
Example: Define an address pool named 1.

active500EM(config)#ipv6 dhcp pool 1

 

7.2.15 ipv6 dhcp relay destination

Command: ipv6 dhcp relay destination {[<ipv6-address>] [interface { <interface-name> | vlan <1-4096> } ] }
no ipv6 dhcp relay destination { [<ipv6-address>] [ interface { <interfacce-name> | vlan <1-4096> } ] }
Function: Configure the destination address which the DHCPv6 relay forwards the DHCPv6 requests from the clients. The destination should be the address of an external DHCPv6 relay or the DHCPv6 server. The no command removes the configuration.
Parameters:

  • <ipv6-address>: destination address that the DHCPv6 relay forwards to.
  • <interface-name> or VLAN: the interface name or VLAN ID which is used for DHCPv6 request forwarding.
  • <interface-name>: a Layer 3 VLAN name. The VLAN ID values are limited between 1 and 4096. If the <ipv6-addess> is a global unicast address, the interface parameter should not be configured. If the <ipv6-address> is a local address, the interface parameter is required to be configured. The destination address for the DHCPv6 server will be the multicast address of ALL-DHCP-Servers (FF05::1:3) if only the interface parameter is configured.

Command mode: Interface Configuration Mode
Default: The destination address for the DHCPv6 relay is not configured.
Usage guide: This command is used to configure the DHCPv6 relay for the specified interface. The address should be the address of another DHCPv6 relay or the address of the DHCPv6 server. At most, three relay addresses can be configured for an interface. The DHCPv6 relay stops working only if all the relay destination address configurations have been removed. This command is mutually exclusive to the ?ipv6 dhcp server? and the ?ipv6 dhcp client pd? commands.
Example: Configure the destination to which the DHCPv6 relay forwards the DHCPv6 requests from the clients.

active500EM(Config-if-Vlan1)#ipv6 dhcp relay destination 2001:da8::1

 

7.2.16 ipv6 dhcp server

Command: ipv6 dhcp server <poolname> [preference <value>] [rapid-commit] [allow-hint] no ipv6 dhcp server <poolname>
Function: This command configures the address pool which will be allocated by the DHCPv6 server through the specified interface. The no command removes the address pool configuration.
Parameters:

  • <poolname>: string with a length less than 32, which designates the name of the address pool which is associated with the specified interface.
  • If the preference option has been specified, <value> will be the priority of the DHCPv6 server, with a value between 0 and 255, and with 0 by default. The bigger the preference value is, the higher the priority of the DHCPv6 server.
  • If the rapid-commit option has been specified, the DHCPv6 server sends a REPLY packet to the client immediately after receiving the SOLICIT packet.
  • If the allow-hint option has been specified, the client expected value of parameters will be appended in its request packets.

Command mode: Interface Configuration Mode
Default: DHCPv6 address pool based on port is not configured.
Usage guide: This command configures the DHCPv6 address pool which is applied by the DHCPv6 server for the specified interface, as well as optional parameters. One VLAN can bind many DHCPv6 address pools and assign the address for the DHCPv6 request packet from direct-link and relay delegation.
Example: This command configures the address pool which will be allocated by the DHCPv6 server through the specified interface.

active500EM(Config-if-Vlan1)#ipv6 dhcp server PoolA preference 80 rapid-commit allow-hint

 

7.2.17 ipv6 general-prefix

Command: ipv6 general-prefix <prefix-name> <ipv6-prefix/prefix-length>
no ipv6 general-prefix <prefix-name>
Function: Define an IPv6 general prefix. The no command deletes the configuration.
Parameters:

  • <prefix-name>: character string less than 32 characters, used as the IPv6 general prefix name.
  • <ipv6-prefix/prefix-length>: defined as the IPv6 general prefix.

Command mode: Global Mode
Default: IPv6 general prefix is not configured.
Usage guide: If IPv6 general prefix is configured, the interface will use the configured prefix to generate IPv6 addresses. Usually the general prefix is used for the enterprise IPv6 prefix, and when entering an IPv6 address, users can simply add the address suffix to the name of the general prefix. The configured address prefix will be reserved in the general address prefix pool. At most 8 general prefixes can be configured at the same time. When trying to remove a configured general prefix name, the operation will fail if any interfaces use the configured prefix. Only one general prefix can be used for a prefix name. The general prefix cannot use the same prefix definition with prefixes learned from prefix delegation.
Example: Set the prefix of 2001:da8:221::/48 to general prefix my-prefix.

active500EM(config)#ipv6 general-prefix my-prefix 2001:da8:221::/48

 

7.2.18 ipv6 local pool

Command: ipv6 local pool <poolname> <prefix/prefix-length> <assigned-length>
no ipv6 local pool <poolname>
Function: Configure the address pool for prefix delegation. The no command removes the IPv6 prefix delegation configuration.
Parameters:

  • <poolname>: name for the IPv6 address pool of the prefix delegation. The valid length name string should be less than 32.
  • <prefix/prefix-length>: address prefix the length of the prefix delegation.
  • <assigned-length>: length of the prefix in the address pool which can be retrieved by the client, the assigned prefix length should be no less than the value of <prefix-length>.

Command mode: Global Mode
Default: No IPv6 prefix delegation address pool is configured.
Usage guide: This command should be used with the ?prefix delegation pool? command to allocate address prefixes to the clients. If IPv6 prefix delegation is removed, the associated ?prefix delegation? command will not be enabled.
Example: Set the prefix of 2001:da8:221::/48 to local pool my-prefix.

active500EM(config)# ipv6 local pool my-prefix 2001:da8:221::/48

 

7.2.19 lifetime

Command: lifetime {<valid-time> | infinity} {<preferred-time> | infinity}
no lifetime
Function: Configure the lifetime for the addresses or the address prefixes allocated by DHCPv6. The no command restores the default setting.
Parameters:

  • <valid-time>: the valid lifetime for the allocated IPv6 addresses in the local address pool. The valid value is between 1 and 31536000 seconds.
  • <preferred-time>: the preferred lifetime for the allocated IPv6 addresses in the local address pool. The valid value is between 1 and 31536000 seconds. The <preferred-time> should not be larger than <valid-time>.
  • infinity: designates maximum lifetime.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: The default valid lifetime and preferred lifetime are 2592000 seconds (30 days) and 604800 seconds (7 days) respectively.
Usage guide: Configure the lifetime for the addresses or the address prefixes allocated by DHCPv6.
Example: Configure the valid lifetime to 1000 seconds and the preferred lifetime to 600 seconds.

active500EM(config)#lifetime 1000 600

 

7.2.20 network-address

Command: network-address <ipv6-pool-start-address> {<ipv6-pool-end-address> | <prefix-length>} [eui-64] no network-address
Function: Configures the DHCPv6 address pool. The no command removes the address pool configuration.
Parameters:

  • <ipv6-pool-start-adderss>: the start of the address pool.
  • <ipv6-pool-end-address>: the end of the address pool.
  • <prefix-length>: the length of the address prefix. Valid values are between 3 and 128. 64 is the default. If specified, the size of the pool will be determined by <prefix-length>.
  • <ipv6-pool-end-address> and <prefix-length> options determine the size of the IPv6 address pool. If <prefix-length> is 64 and the eui-64 option has been configured, the DHCPv6 server will allocate IPv6 addresses according to the EUI-64 standard. Otherwise, the DHCPv6 server will allocate addresses sequentially.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: No address pool is configured.
Usage guide: This command configures the address pool for the DHCPv6 server to allocate addresses. Only one address range can be configured for each address pool. If the DHCPv6 server has been enabled, and the length of the IPv6 address prefix has been configured, the length of the prefix in the address pool should be no less than the length of the prefix of the IPv6 address of the respective layer three interfaces in the switch.
Example: Configure the address range for the address pool to 2001:da8:123::100-2001:da8:123::200.

active500EM(dhcp-1-config)#network-address 2001:da8:123::100 2001:da8:123::200

Related command: excluded-address
 

7.2.21 prefix-delegation

Command: prefix-delegation <ipv6-prefix/prefix-length> <client-DUID> [iaid <iaid>] [lifetime {<valid-time> | infinity}{<preferred-time> | infinity}] no prefix-delegation <ipv6-prefix/prefix-length> <client-DUID> [iaid <iaid>] Function: Configures the dedicated prefix delegation for the specified user. The no command removes the dedicated prefix delegation.
Parameters:

  • <ipv6-prefix/prefix-length>: length of the prefix to be allocated to the client.
  • <client-DUID>: DUID of the client. DUID with type DUID-LLT and DUID-LL are supported. The DUID of DUID-LLT type should be 4 characters in length.
  • <iaid>: value to be appended in the IA-PD field of the client’s requests.
  • <valid-time> and <preferred-time>: valid life time and the preferred life time of the IPv6 address allocated to the clients. The time is identified in seconds and its value is allowed between 1 and 31536000. However, <preferred-time> should never be bigger than <valid-time>. If not configured, the default <valid-time> is 2592000 and the default <preferred-time> is 604800.
  • Infinity: parameter with a lifetime of infinity.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: Disabled.
Usage guide: This command configures the IPv6 address prefix to bind with a specified client. If no IAID is configured, any IA of any client can bind the address prefix. At most, eight static binding address prefixes can be configured for each address pool. For prefix delegation, static binding is higher priority than the prefix address pool.
Example: The following command will allocate 2001:da8::/48 to the client with DUID as 0001000600000005000BBFAA2408, and IAID as 12.

active500EM(dhcp-1-config)#prefix-delegation 2001:da8::/48 0001000600000005000BBFAA2408 iaid 12

 

7.2.22 prefix-delegation pool

Command: prefix-delegation pool <poolname> [lifetime {<valid-time> | infinity} {<preferred-time> | infinity}] no prefix-delegation pool <poolname>
Function: Configures the prefix delegation name used by the DHCPv6 address pool. The no command deletes the configuration.
Parameters:

  • <poolname>: name of the address prefix pool. The length of the pool name string should be less than 32 characters.
  • <valid-time> and <preferred-time>: valid and preferred lifetimes of the IPv6 address allocated to the clients in seconds. The value is between 1 and 31536000. preferred-time> should never be bigger than <valid-time>. If not configured, the default <valid-time> is 2592000and and <preferred-time> default is 604800.
  • infinity: parameter with a lifetime of infinity.

Command mode: DHCPv6 Address Pool Configuration Mode
Default: The prefix delegation name used by DHCPv6 address pool is not configured.
Usage guide: This command configures the name of the address prefix pool for address allocation. If configured, the addresses in the prefix address pool will be allocated to the clients. This command can be used in association with the ipv6 local pool command. For one address pool, only one prefix delegation pool can be bound. When trying to remove the prefix name configuration, the prefix delegation service of the server will be unavailable. If the address pool is not associated with the prefix delegation pool, no static prefix delegation binding is enabled.
Example: Configure the prefix delegation name used by the DHCPv6 address pool.

active500EM(dhcp-1-config)#prefix-delegation pool abc

 

7.2.23 service dhcpv6

Command: service dhcpv6
no service dhcpv6
Function: Enables the DHCPv6 server function. The no command disables the configuration
Parameters: None.
Command mode: Global Mode
Default: Disabled.
Usage guide: The DHCPv6 service includes DHCPv6 server function, DHCPv6 relay function, and DHCPv6 prefix delegation function. All of the above services are configured on ports.v Once DHCPv6 server function is enabled, the IP address assignment of DHCPv6 client, DHCPv6 relay, and DHCPv6 prefix delegation functions can be enabled and configured on the ports.
Example: Enable the DHCPv6 server.

active500EM(config)#service dhcpv6

 

7.2.24 show ipv6 dhcp

Command: show ipv6 dhcp
Function: Show the enabled switch and DUID of DHCPv6 service.
Parameters: None.
Command Mode: Admin and Configuration Mode
Default: None.
Usage guide: Show the enable switch and DUID of DHCPv6 service. Server identifier options only use DUID of DUID-LLT type.
Example: Show the enabled switch and DUID of DHCPv6 service.

active500EM#show ipv6 dhcp
DHCPv6 is enabled
LLT DUID is <00:01:00:01:43:b7:1b:81:00:03:0f:01:5f:9d>
LL DUID is <00:03:00:01:00:03:0f:01:5f:9d>

 

7.2.25 show ipv6 dhcp binding

Command: show ipv6 dhcp binding [<ipv6-address>| pd <ipv6-prefix|prefix-length>|count] Function: Show the DHCPv6 address and prefix bindings information.
Parameters:

  • <ipv6-address>: specified IPv6 address.
  • pd: prefix delegation.
  • <ipv6-prefix|prefix-length>: IPv6 prefix and prefix-length in X:X::X:X/M format.
  • count: shows the number of DHCPv6 address binds.

Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Show the DHCPv6 address and prefix bind information including type, DUID, IAID, prefix, and valid time.
Example: Show the DHCPv6 address and prefix bind information.

active500EM#show ipv6 dhcp binding
Client: iatype IANA, iaid 0x0e001d92
DUID: 00:01:00:01:0f:55:82:4f:00:19:e0:3f:d1:83
IANA leased address: 2001:da8::10
Preferred lifetime 604800 seconds, valid lifetime 2592000 seconds
Lease obtained at %Jan 01 01:34:44 1970
Lease expires at %Jan 31 01:34:44 1970 (2592000 seconds left)
The number of DHCPv6 bindings is 1

 

7.2.26 show ipv6 dhcp conflict

Command: show ipv6 dhcp conflict
Function: Show the log for the address that has a record conflict.
Parameters: None.
Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Shows the log for the address that has a record conflict.
Example: Show the log for the address that has a record conflict.

active500EM#show ipv6 dhcp conflict

 

7.2.27 show ipv6 dhcp interface

Command: show ipv6 dhcp interface [<interface-name>] Function: Show the DHCPv6 interface information.
Parameters:

  • <interface-name>: interface name and number. If the <interface-name> parameter is not provided, then all the DHCPv6 interface information will be shown.

Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Show the DHCPv6 interface information including Port Mode (Prefix delegation client, DHCPv6 server, and DHCPv6 relay).
Example: Show the DHCPv6 interface information.

active500EM#show ipv6 dhcp interface vlan10
Vlan10 is in server mode
Using pool: poolv6
Preference value: 20
Rapid-Commit is disabled

 

7.2.28 show ipv6 dhcp pool

Command: show ipv6 dhcp pool [<poolname>] Function: Show the DHCPv6 address pool information.
Parameters:

  • <poolname>: DHCPv6 address pool name which has been configured. The valid length is less than 32 characters. If the <poolname> parameter is not provided, then all DHCPv6 address pool information will be shown.

Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Display the configuration and dynamic assignment information for the DHCPv6 address pool, including the DHCPv6 address pool name, the DHCPv6 address pool prefix, excluded address, DNS server configuration, and relative prefix information. Display the assigned address pool bind number that is used by the address assignment server. Display the assigned address pool prefix number that is used as the prefix delegation server.
Example: Show the DHCPv6 address pool information.

active500EM#show ipv6 dhcp pool poolv6

 

7.2.29 show ipv6 dhcp statistics

Command: show ipv6 dhcp statistics
Function: Show the DHCPv6 server packet statistics.
Parameters: None.
Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Show the DHCPv6 server packet statistics.
Example: Show the DHCPv6 server packet statistics.

active500EM#show ipv6 dhcp server statistics
Address pools             1
Active bindings           0
Expired bindings          0
Malformed message         0
Message                   Received
DHCP6SOLICIT              0
DHCP6ADVERTISE            0
DHCP6REQUEST              0
DHCP6REPLY                0
DHCP6RENEW                0
DHCP6REBIND               0
DHCP6RELEASE              0
DHCP6DECLINE              0
DHCP6CONFIRM              0
DHCP6RECONFIGURE          0
DHCP6INFORMREQ            0
DHCP6RELAYFORW            0
DHCP6RELAYREPLY           0
Message                   Send
DHCP6SOLICIT              0
DHCP6ADVERTISE            0
DHCP6REQUEST              0
DHCP6REPLY                0
DHCP6RENEW                0
DHCP6REBIND               0
DHCP6RELEASE              0
DHCP6DECLINE              0
DHCP6CONFIRM              0
DHCP6RECONFIGURE          0
DHCP6INFORMREQ            0
DHCP6RELAYFORW            0
DHCP6RELAYREPLY           0
Show information Explanation
Address pools Configure the number of DHCPv6 address pools.
Active bindings The number of auto assign addresses.
Expired bindings The number of expired bindings.
Malformed message The number of malformed messages.
Message Received The statistic of received DHCPv6 packets.
DHCP6SOLICIT The number of DHCPv6 SOLICIT packets.
DHCP6ADVERTISE The number of DHCPv6 ADVERTISE packets.
DHCPv6REQUEST The number of DHCPv6 REQUEST packets.
DHCP6REPLY The number of DHCPv6 REPLY packets.
DHCP6RENEW The number of DHCPv6 RENEW packets.
DHCP6REBIND The number of DHCPv6 REBIND packets.
DHCP6RELEASE The number of DHCPv6 RELEASE packets.
DHCP6DECLINE The number of DHCPv6 DECLINE packets.
DHCP6CONFIRM The number of DHCPv6 CONFIRM packets.
DHCP6RECONFIGURE The number of DHCPv6 RECONFIGURE packets.
DHCP6INFORMREQ The number of DHCPv6 INFORMREQ packets.
DHCP6RELAYFORW The number of DHCPv6 RELAYFORW packets.
DHCP6RELAYREPLY The number of DHCPv6 RELAYREPLY packets.
Message Send The statistic of sending DHCPv6 packets
DHCP6SOLICIT The number of DHCPv6 SOLICIT packets.
DHCP6ADVERTISE The number of DHCPv6 ADVERTISE packets.
DHCPv6REQUEST The number of DHCPv6 REQUEST packets.
DHCP6REPLY The number of DHCPv6 REPLY packets.
DHCP6RENEW The number of DHCPv6 RENEW packets.
DHCP6REBIND The number of DHCPv6 REBIND packets.
DHCP6RELEASE The number of DHCPv6 RELEASE packets.
DHCP6DECLINE The number of DHCPv6 DECLINE packets.
DHCP6CONFIRM The number of DHCPv6 CONFIRM packets.
DHCP6RECONFIGURE The number of DHCPv6 RECONFIGURE packets.
DHCP6INFORMREQ The number of DHCPv6 INFORMREQ packets.
DHCP6RELAYFORW The number of DHCPv6 RELAYFORW packets.

 

7.2.30 show ipv6 general-prefix

Command: show ipv6 general-prefix
Function: Show the IPv6 general prefix pool information.
Parameters: None.
Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Shows the IPv6 general prefix pool information. This includes the general prefix pool, the name of every prefix, the interface of prefix obtained, and the prefix value.
Example: Show the IPv6 general prefix pool information.

active500EM#show ipv6 general-prefix

 

7.2.31 show ipv6 local pool

Command: show ipv6 local pool
Function: Show the DHCPv6 prefix pool statistics.
Parameters: None.
Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Shows the DHCPv6 prefix pool statistics, includes the prefix pool name, prefix and prefix length as well as the assigned prefix length, the number of assigned prefix, and information in the DHCPv6 address pool.
Example: Show the DHCPv6 prefix pool statistics.

active500EM#show ipv6 local pool
Pool       Prefix            Free        In use
a          2010::1/48        65536       0

 
Return to Controller Wired CLI Table of Contents