HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Command Referen - Page 227
Syntax, Default, Views, Predefined user roles, Parameters, Usage guidelines, Examples
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 227 highlights
option Use option to configure a self-defined DHCPv6 option in a DHCPv6 address pool. Use undo option to remove a self-defined DHCPv6 option from a DHCPv6 address pool. Syntax option code hex hex-string undo option code Default No self-defined DHCPv6 option is configured in a DHCPv6 address pool. Views DHCPv6 address pool view Predefined user roles network-admin Parameters code: Specifies a number for the self-defined option, in the range of 21 to 65535, excluding 25 through 26, 37 through 40, and 43 through 48. hex hex-string: Specifies the content of the option, a hex string of even numbers from 2 to 256. Usage guidelines The DHCPv6 server fills the self-defined option with the specified hex string and sends it in a response to the client. If you use the option command multiple times with the same code specified, the most recent configuration takes effect. You can self-define options for the following purposes: • Add newly released options. • Add options for which the vendor defines the contents, for example, Option 43. • Add options for which the CLI does not provide a dedicated configuration command like dns-server. For example, you can use the option 31 hex 00c80000000000000000000000000001 command to define the NTP server address 200::1 for DHCP clients. • Add all option values if the actual requirement exceeds the limit for a dedicated option configuration command. For example, the dns-server command can specify up to eight DNS servers. To specify more than eight DNS servers, you must use the option 23 command to define all DNS servers. If a DHCPv6 option is specified by both the dedicated command and the option command, the DHCPv6 server preferentially assigns the content specified by the dedicated command. For example, if a DNS server address is specified by the dns-server command and the option 23 command, the server uses the address specified by dns-server command. Examples # Configure Option 23 that specifies a DNS server address 2001:f3e0::1 in DHCPv6 address pool 1. system-view [Sysname] ipv6 dhcp pool 1 [Sysname-dhcp6-pool-1] option 23 hex 2001f3e0000000000000000000000001 219