Configure Juniper switches using DHCP option 43

Hi,

I'm lazy and I don't want to connect to each switch with console (I got around 100 switches in my project).

So I noticed that when a switch boot it's configured to receive a DHCP, and I thought to myself, it has to be usefull... so I googled a little bit and got into this Juniper document:

http://www.juniper.net/documentation/en_US/junos13.3/topics/task/configuration/software-image-and-configuration-automatic-provisioning-confguring.html

 

Exactly what I needed!

But one little problem, the good folks in Juniper used a linux DHCP server, when we use Microsoft DHCP server.

 

In the linux (ISC DHCP 4.2) server they use sub-options of dhcp 43:

     

     option space NEW_OP; option;

  1. option NEW_OP.config-file-name code 1 = text;
    option NEW_OP.image-file-type code 2 = text;
    option NEW_OP.transfer-mode code 3 = text;
    option NEW_OP.alt-image-file-name code 4= text;
    option NEW_OP-encapsulation code 43 = encapsulate NEW_OP;
    • option NEW_OP.image-file-name "/dist/images/jinstall-ex-4200-13.2R1.1-domestic-signed.tgz";
    • option NEW_OP.config-file-name "/dist/config/jn-switch35.config";
    • option NEW_OP.image-file-type "symlink";
    • option NEW_OP.transfer-mode "ftp";
    • option NEW_OP.alt-image-file-name "/dist/images/jinstall-ex-4200-13.2R1.1-domestic-signed.tgz";

Does anyone knows how to use the sub-options for option 43 in Microsoft? I found some manuals but they were all related to lync, and required some file from the lync installation..

 

Best regards,

Omer Shtivi

July 29th, 2014 9:41am

Hi,

You can configure sub-options for option 43. Some examples of configuring it with Windows Server 2008 are shown here: http://www.cisco.com/c/en/us/support/docs/wireless-mobility/wireless-lan-wlan/97066-dhcp-option-43-00.html

What version of Windows Server is running on your DHCP server?

This does get a little complex.

-Greg

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2014 7:45pm

Hi Greg,

Thank you for your response.

I'm using a windows server 2012

Best regards,

Omer Shtivi

July 30th, 2014 1:48pm

Shtivis, how did you make out with this project?  I'm looking to do the same thing, and struggling with the DHCP option 43 setup myself.  Any tips?
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 11:27am

Yes,

Use linux not windows.

Didn't manage to do it with Windows.

February 19th, 2015 7:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics