option (dhcpv6-server-policy-config)

Configures this DHCPv6 server policy‘s DHCP option settings, such enterprise (vendor) ID

DHCPv6 services are available for specific IP interfaces. A pool (or range) of IPv6 network addresses and DHCPv6 options can be created for each IPv6 interface defined. This range of addresses can be made available to DHCPv6 enabled devices on either a permanent or leased basis. DHCPv6 options are provided to each client with a DHCPv6 response and provide DHCPv6 clients information required to access network resources (default gateway, domain name, DNS server and WINS server configuration). An option exists to identify the vendor and functionality of a DHCPv6 client. The information is a variable-length string of characters (or octets) with a meaning specified by the vendor of the DHCPv6 client.

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

option <OPTION-NAME> <0-254> [ascii|hexstring|ipv6] <1-4294967295>

    

Parameters

option <OPTION-NAME> <0-254> [ascii|hexstring|ipv6] <1-4294967295>
option <OPTION-NAME> Specify a unique name for this DHCP option. The name should describe option's function.
<0-254> Specify a DHCP option code for this option.
  • <0-254> – Specify a value from 0 -254.

The system allows only one code, of the same value, for each DHCP option used in each DHCPv6 server policy.

ascii Specifies the option type as ASCII (sends an ASCII compliant string to the client)
hexstring Specifies the option type as a string of hexadecimal characters (sends a hexadecimal string to the client)
ipv6 Specifies the option type as IPv6 address (sends an IPv6 compatible address to the client)
<1-4294967295> This parameter is common to all option types.
  • <1-4294967295> – Specifies the enterprise (vendor) ID. Specify a value from 1 - 4294967295. The option code (1) is reserved for subnet-mask and cannot be used.

Each vendor should have a unique vendor ID used by the DHCP server to issue vendor-specific DHCP options.

Examples

nx9500-6C8809(config-dhcpv6-server-policy-test)#option DHCPServerOption1 10 ascii 50
nx9500-6C8809(config-dhcpv6-server-policy-test)#show context
dhcpv6-server-policy test
 option DHCPServerOption1 10 ascii 50
 dhcpv6-pool DHCPv6Pool1
  network 2002::/64
  domain-name TechPubs
  sip domain-name TechPubsSIP
  dns-server 2002::1
nx9500-6C8809(config-dhcpv6-server-policy-test)#

    

Related Commands

no (dhcpv6-server-policy-config) Removes the DHCPv6 server option settings configured for this DHCPv6 server policy