Configure Custom Option Data for a Vendor Class
Before you begin
-
Create the vendor class.
-
Define the custom option.
About this task
![Note](images/note.png)
Note
The switch follows inheritance and precedence rules for configured DHCP Server options. For more information, see DHCP Server.
Procedure
Example
Configure custom option data for the vendor class:
Switch:1>enable Switch:1#config t Switch:1(config)#ip dhcp-server vendor-class 20 custom-option-data 246 value 192.0.2.24 <cr>
Variable Definitions
The following table defines parameters for the ip dhcp-server vendor-class command.
Variable | Definition |
---|---|
WORD<1-255> |
Specifies the vendor class ID. |
custom-option-data WORD<224-254> |
Specifies the DHCP code that identifies the custom option. |
value WORD<0-128> |
Specifies a data value to apply to this vendor class. |