Commands For Dhcpv6 Option 52

7.7 Commands for DHCPv6 option 52

7.7.1 option 52 ascii LINE

Command: option 52 ascii <LINE>
no option 52
Function: Configure option 52 character string in ASCII format in IPv6 DHCP Pool Mode. The no command deletes the configured option 52.
Parameters:

  • <LINE>: configured option 52 character string in ASCII format. The valid length is between 1 and 255.

Command Mode: IPv6 DHCP Pool Mode
Default: No option 52 character string is configured.
Usage guide: Configures option 52 character string in ASCII format in IPv6 DHCP Pool Mode.
Example: Configure option 52 in ASCII format of ?AP 1000?.

active500EM(config)#ipv6 dhcp pool a
active500EM(dhcpv6-a-config)#option 52 ascii AP 1000

 

7.7.2 option 52 hex WORD

Command: option 52 hex <WORD>
no option 52
Function: Configure option 52 character string in hex format in IPv6 DHCP Pool Mode. The no command deletes the configured option 52.
Parameters:

  • <WORD>: configured option 52 character string in hex format. For example, configure as a1241b.

Command mode: IPv6 DHCP Pool Mode
Default: No option 52 is configured.
Usage guide: Configure option 52 character string in hex format in IPv6 DHCP Pool Mode.
Example: Configure option 52 in hex format to be ?011020010001000000000000000000000100? (this means the IPv6 address is 2001:1::100).

active500EM(config)#ipv6 dhcp pool a
active500EM(dhcpv6-a-config)#option 52 hex 011020010001000000000000000000000100

 

7.7.3 option 52 ipv6 X:X::X:X

Command: option 52 ipv6 <X:X::X:X>
no option 52
Function: Configure option 52 character string with IPv6 format in IPv6 DHCP Pool Mode. The no command deletes the configured option 52.
Parameters:

  • <X:X::X:X>: configured option 52 in IPv6 format. For example, configure as 2001:1::100.

Command mode: IPv6 DHCP Pool Mode
Default: No option 52 is configured.
Usage guide: This command configures option 52 in a format such as ?2001:1::100?. The option 52 filled in packets corresponds in hexadecimal format to this IPv6 address.
Example: Configure option 52 in IPv6 format to be ?2001:1::100?.

active500EM(config)#ipv6 dhcp pool a
active500EM(dhcpv6-a-config)#option 52 ipv6 2001:1::100

 


Return to Controller Wired CLI Table of Contents