cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
926
Views
0
Helpful
2
Replies

PXE booting a Cisco 4500 switch - zero touch

jdfiori
Level 1
Level 1

I'm using the Programmability chapter of the Catalyst 4500 Series Switch Software Configuration Guide to PXE-boot a C4500X-32. I've successfully booted from a tftp image, and I successfully had a startup config file and a script  downloaded. These are being stored here:

8       4096 Jul 07 2020 10:17:30.0000000000 +00:00 pxe/scripts

  9         13 Jul 07 2020 10:17:30.0000000000 +00:00 pxe/scripts/hello2.script

10       4096 Jul 07 2020 10:17:30.0000000000 +00:00 pxe/ova

11       3112 Jul 07 2020 10:17:30.0000000000 +00:00 pxe/user-startup-config

12       4096 Jul 07 2020 10:17:30.0000000000 +00:00 scripts

13         13 Jul 07 2020 10:17:30.0000000000 +00:00 scripts/hello2.script

 

What are the next steps to make this zero-tough? How do I have the script executed? How do I copy the downloaded "user-startup-script" to the startup-config? And how do I get the booted image to the bootflash?

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

you need to understand the workflow for the zero-touch, 

 

https://developer.cisco.com/docs/ios-xe/#!zero-touch-provisioning/dhcp-server-configuration-for-ztp

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you for the reply, however this ZTP mechanism requires Guest Shell which doesn't run on the 4500:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/guest_shell.html#id_45838