range
Syntax
range <LOW-IPV6-ADDR> <HIGH-IPV6-ADDR> [prefix-len <MASK>]
no range <LOW-IPV6-ADDR> <HIGH-IPV6-ADDR> [prefix-len <MASK>]
Description
Defines the range of IP addresses supported by the current DHCPv6 server pool. A maximum of 64 ranges are supported per switch across all VRFs.
The
no
form of this command deletes the address range for the current pool.
Command context
config-dhcpv6-server-pool
Parameters
<LOW-IPV6-ADDR>
Specifies the lowest IP address in the pool in IPv6 format (
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
is a hexadecimal number from 0 to F.<HIGH-IPV6-ADDR>
Specifies the highest IP address in the pool in IPv6 format (
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
is a hexadecimal number from 0 to F.prefix-len <MASK>
Specifies the number of bits in the address mask in CIDR format (
x
), wherex
is a decimal number from 64 to128.
Authority
Administrators or local user group members with execution rights for this command.
Example
Defines an address range for the DHCPv6 server pool primary-pool on VRF primary.
switch(config)# dhcpv6-server vrf primary switch(config-dhcpv6-server)# pool primary-pool switch(config-dhcpv6-server-pool)# range 2001::1 2001::10 prefix-len 64
Deletes an address range for the DHCPv6 server pool primary-pool on VRF primary.
switch(config)# dhcpv6-server vrf primary switch(config-dhcpv6-server)# pool primary-pool switch(config-dhcpv6-server-pool)# no range 2001::1 2001::10 prefix-len 64