mac

Commands for DHCPv6 option37, 38
344
Chapter 30 Commands for DHCPv6
option37, 38
30.1 Commands for DHCPv6 option37, 38
30.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 doesnt 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
30.1.2 class
Command: class <class-name>
no class <class-name>
Function: This command associates class to address pool in DHCPv6 address pool
configuration mode and enters class configuration mode in address pool. Use the no
command to remove the link.