Configuring Dhcp Option 43 (For Microsoft Windows) - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Sample Configuration and Reference Information

Configuring DHCP Option 43 (for Microsoft Windows)

DHCP Option 43 is used by clients and servers to exchange vendor-specific information. (RFC 2132).
This section describes the DHCP Option 43 configuration information that pertains to sending device
configuration files, script files, and .ova files to the switch. It is applicable only if you use
OpenDhcpServer as the DHCP server, with Microsoft Windows. Other DHCP servers have their own
methods to configure this option and the information is available on the Internet.
To send any file, you must convert the file name along with the extension, to a hexadecimal format and
the files must be stored in the TFTP root directory.
Use the relevant codes to specify the type of file you want to send
Concatenating all three file names
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
6-32
option dhcp-parameter-request-list 43,3;
}
subclass "WS-4500X-16" 1:30:e4:db:f8:a4:9f {
filename "tftp://198.51.100.2/example2-ios-image.bin";
option routers 198.0.2.254;
option dhcp-parameter-request-list 43,3;
option vendor-class-identifier "WS-4500X-16";
vendor-option-space EXAMPLE;
option EXAMPLE.startup-config
"tftp://198.51.100.2/configs/example2-config.config";
option EXAMPLE.user-script "tftp://198.51.100.2/scripts/example2-script.py";
option EXAMPLE.user-ova
"tftp://198.51.100.2/container/example2_dmi_container.ova";
option dhcp-parameter-request-list 43,3;}
#ASSIGN A POOL TO GIVE IP ADDRESSES TO THE MEMBERS OF THE VENDOR-SPECIFIC CLASS
subnet 192.0.2.0 netmask 255.255.255.0 {
pool {
allow members of "WS-X45-SUP8L-E";
range 192.0.2.10 192.0.2.50;
}
pool {
allow members of "WS-4500X-16";
range 192.0.2.51 192.0.2.100;
}
}
subnet 203.0.113.0 netmask 255.255.255.0 {
range 203.0.113.12 203.0.113.100;
option routers 198.51.100.3;
option subnet-mask 255.255.255.0;
server-identifier 198.51.100.2;
next-server 198.51.100.2;
}
<File code><length of filename.ext in hexadecimal value><hex value of the filename.ext>
code 01—A configuration file. For example, to send file
43=01:15:65:78:61:6d:70:6c:65:2d:63:6f:6e:66:69:67:2e:63:6f:6e:66:69:67:
code 02—A script file. For example to send file
43=02:11:65:78:61:6d:70:6c:65:2d:73:63:72:69:70:74:2e:70:79
code 03—An ova file. For example, to send file
43=03:19:65:78:61:6d:70:6c:65:5f:64:6d:69:5f:63:6f:6e:74:61:69:6e:65:72:2e:6f:76:61
Chapter 6
example-config.config
:
example-script.py
example_dmi_container.ova
Programmability
:
:

Advertisement

Table of Contents
loading

Table of Contents