Chapter 32 commands for dhcpv6 option37, 38, 1 commands for dhcpv6 option37, 38, 1 address range – PLANET WGSW-52040 User Manual

Page 503: Chapter 32 commands for dhcpv6 option37, 38 -43, Ommands for, Dhcp, Option, 1 address range -43

Advertising
background image

32-43

Chapter 32 Commands for

DHCPv6 option37, 38

32.1 Commands for DHCPv6 option37, 38

32.1.1 address range

Command:

address range <start-ip> <end-ip>

no address range <start-ip> <end-ip>

Function:

This command is used to set address range for a DHCPv6 class in DHCPv6 address pool configuration mode, the

no command is used to remove the address range. The prefix/plen form is not supported.

Parameters:

start-ip, defines the start address of the address pool

end-ip, defines the end address of the address pool

Default:

None.

Command Mode:

DHCPv6 address pool class configuration mode

Usage Guide:

It is necessary to check the address range assigned to class in order to make sure that it doesn’t exceed the address

range of relevant address pool. A class is assigned a single address range and the address range assigned to

different class in the same address pool can overlap. If you do not use this command to assign address range for a

DHCPv6 class, then the range for it will be the whole subnet of the address pool by default.

Example:

Associate a DHCPv6 class named CLASS1 to dhcpv6 pool 1 and assign the address range from 2001:da8:100:1::2

to 2001:da8:100:1::30 for CLASS1.

Switch(Config)#ipv6 dhcp pool 1

Switch(dhcp-1-config)#class CLASS1

Advertising