Define Vendor Options Definitions

About this task

Perform this procedure to define vendor options definitions.

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. Define the vendor options definitions:

    ip dhcp-server vendor-option-def <1-255> type {ipv4-address | string | uint32} [name WORD<0-128>]

Example

Define the vendor options definitions for DHCP server:

Switch:1>enable
Switch:1#config t
Switch:1(config)#ip dhcp-server vendor-option-def 1 type string 
Switch:1(config)#ip dhcp-server vendor-option-def 2 type uint32 name firmware
<cr>

Variable Definitions

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

Variable Definition

<1-255>

Specifies the vendor option definition.

type ipv4-address | uinit32 | string

Specifies the vendor option definition data type as follows:

  • ipv4address—IPv4 address format

  • string—text string up to 128 characters

  • uint32—32-bit integer

name WORD<0-128>

Specifies a text label that identifies the vendor option definition.