Chapter 29 commands for dhcpv6 option37, 38, 1 commands for dhcpv6 option37, 38, 1 address range – PLANET XGS3-24042 User Manual

Page 433: Chapter 29 commands for dhcpv6 option37, 38 -72, Ommands for, Dhcp, Option, 1 address range -72

Advertising
background image


29-72

Chapter 29 Commands for DHCPv6

option37, 38

29.1 Commands for DHCPv6 option37, 38

29.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

Command Mode:

Admin 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

Switch(dhcp-1-class-CLASS1-config)#address range 2001:da8:100:1::2 2001:da8:100:1::30

Advertising
This manual is related to the following products: