08-07-2023 12:51 PM
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
08-07-2023 02:19 PM - edited 08-07-2023 02:21 PM
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.
08-08-2023 06:23 AM
Thanks Falvio for answer and URL
08-07-2023 03:58 PM
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".
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide