CLI Guide

Table Of Contents
Switch Management Commands 2026
The DHCP for IPv6 client, server, and relay functions are mutually exclusive
on an interface. When one of these functions is already enabled and a user
tries to configure a different function on the same interface, a message is
displayed.
Example
console#configure
console(config)#service dhcpv6
console(config)# ipv6 dhcp pool pool1
console(config-dhcp6s-pool)# address prefix-delegation 2001::/64
00:01:32:00:32:00
console(config-dhcp6s-pool)# exit
console(config)#interface vlan 10
console(config-if-vlan10)#ipv6 dhcp server pool1
console(config-if-vlan10)#
prefix-delegation
Use the prefix-delegation command in IPv6 DHCP Pool Configuration mode
to define multiple IPv6 prefixes within a pool for distributing to specific
DHCPv6 Prefix delegation clients.
Syntax
prefix-delegation ipv6-prefix/prefix-length client-DUID [name hostname]
[valid-lifetime {valid-lifetime | infinite}] [preferred-lifetime {preferred-
lifetime | infinite}]
no prefix-delegation ipv6-prefix/prefix-length
prefix/prefix-length—Delegated IPv6 prefix.
client-DUID—Client DUID (e.g. 00:01:00:09:f8:79:4e:00:04:76:73:43:76').
hostname—Client hostname used for logging and tracing. (Range: 0-31
characters.) The command allows spaces in the host name when specified
in double quotes. For example,
console(config)#snmp-server host “host
name”
is allowed.
valid-lifetime—Valid lifetime for delegated prefix. (Range: 0-4294967295
seconds) or use the keyword infinite. Using the value 0 for the valid-
lifetime sets the value to the default.
preferred-lifetime—Preferred lifetime for delegated prefix. (Range: 0-
4294967295 seconds) or use the keyword infinite. Using the value 0 for the
preferred-lifetime sets the value to the default.