range

Syntax

range [prefix-len] no range [prefix-len]

描述

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没有form of this command deletes the address range for the current pool.

Command context

config-dhcpv6-server-pool

Parameters

Specifies the lowest IP address in the pool in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

Specifies the highest IP address in the pool in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

prefix-len

指定的比特数address mask in CIDR format (x), wherexis 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 poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(config-dhcpv6-server-pool)#range 2001::1 2001::10 prefix-len 64

Deletes an address range for the DHCPv6 server poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(config-dhcpv6-server-pool)#没有range 2001::1 2001::10 prefix-len 64