To configure a DHCP server for ZTP and AirWave, from a Windows Server 2008, do the following steps:
|
|
NOTE: You must repeat these steps for every type of switch that needs to be configured for ZTP, selecting a different Vendor Class for each type of switch. |
|
|
-
To get the vendor-specific value of a switch, go to the switch console and enter:
switch# show dhcp client vendor-specific
In our example, the command returns the following value:
Vendor Class Id = HP J9729A 2920-24G-PoE+ Switch dslforum.org
Processing of Vendor Specific Configuration is enabled
-
From the New Class window, enter the desired Display name (any) and the Description (any). For the ASCII field, enter the exact value that you got by executing the
show
command performed in the previous step. In this example, HP J9729A 2920-24G-PoE+ Switch dslforum.org. -
From the Predefined Options and Values window, select Option class. The Option Class displayed is the one that you configured under DHCP Vendor Class. In this example, the Option Class is switch.
-
From the Option Type window, enter the desired Class (any), the Data type (select string), the Code (enter 146), and the Description (any).
-
Under the Predefined Options and Values window, enter the Value String. In this example, we enter hpeSwitch:hp2920,90.1.1.10,admin. The String has the following format:
<Group>:<Topfolder>,<AMP IP>,<shared secret>
If you need to add sub-folders, use the following format:
<Group>:<Topfolder>:<folder1>,<AMP IP>,<shared secret>
-
Under IPv4, expand Scope. Right click on Scope Options and select Configure Options...
-
From the Scope Options window:
-
You can verify the AirWave details as follows:
switch# show amp-server switch# show run