Configure Vendor Option Data for a Vendor Class

Before you begin

  • Define the vendor option.
  • Create the vendor class.

About this task

Perform this procedure to configure vendor option data for the specified vendor class.

Note

Note

The switch follows inheritance and precedence rules for configured DHCP Server options. For more information, see DHCP Server.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure vendor option data for a vendor class:

    ip dhcp-server vendor-class <1-255> vendor-option-data <1-255> value WORD<0-128>

Example

Configure vendor option data for a vendor class:

Switch:1>enable
Switch:1#config t
Switch:1(config)#ip dhcp-server vendor-class 20 vendor-option-data 2 value 1337
<cr>

Variable Definitions

The following table defines parameters for the ip dhcp-server vendor-class command.

Variable Definition

<1-255>

Specifies the vendor class ID.

vendor-option-data WORD<224-254>

Specifies the DHCP code that identifies the vendor option.

value WORD<0-128>

Specifies a data value to apply to this vendor class.