cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
604
Views
1
Helpful
3
Replies

First boot from TFTP

Kirollos
Level 1
Level 1

Hello everyone , 

Hope you are all fine ,

I'm preparing to going through a big parc renewal Catalyst 3850 will be all changed by 9200 "over 100 devices over many sites with no technical peopole on site ".

i've done lot of research about the possibilty to auomate as much as possible the configuration of thoses switchs.

The idea is that the switch could request for DHCP server that will communicate the TFTP address and the conf file name to load , all that on power up switch out of the box without any pre-configuration. i read about DHCP with option 66 and 67 , but still not so clear for me .

I would like to know if that is possible to realize , a catalyst 9200 can boot directly from TFTP after a succssefull DHCP request ? if not what is the alternative to have the less manual configuration to do on them?

 

Thanks you all for help

3 Replies 3

Hi @Kirollos 

 It is possible to achieve what you want but I believe in a bit different way. The problem with what you propose is that the switch will get IP via DHCP and there will be informed the TFTP server but it is not enough for the switch reload and boot up a new image from that TFTP server.

 At some point you should execute the command

copy tftp://x.x.x.x/image/cat9k_lite_iosxe.17.10.01.SPA.bin flash:

Or

install add file tftp:cat9k_lite_iosxe.17.10.01.SPA.bin activate commit

This additional step need to be done somehow.

What you can do is use the feature called PNP.

https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/content/en/us/td/docs/switches/lan/catalyst9200/software/release/16-12/configuration_guide/nmgmt/b_1612_nmgmt_9200_cg/configuring_cisco___plug_and_play.html.xml

 

Thanks Falvio for answer and URL 

Leo Laohoo
Hall of Fame
Hall of Fame

I do not think it requires a person with technical skills to insert a USB flash drive and enter the command "copy usbflash0:config startup".