5

Can anyone point me in the right direction ?

I have been recently learning python with the goal of learning more about network automation, I can copy, paste, tweak and adjust a simple script to automate an SSH connection and run some commands to a already "networked" network.

The one thing i would like to automate is the initial deployment of the network out of the box.

Does anybody know if there is anyway to get a switch (cisco) to maybe pull its config from a attached laptop(acting as a server) is there any initial communication from the switch on boot ?

6
  • Removed the off-topic request for resources.
    – Ron Maupin
    Jun 14 '18 at 23:02
  • this was a request for resources regarding the above so not sure why thats been removed Jun 15 '18 at 7:07
  • Requests for resources are off topic everywhere in the stack exchange network. If you get a few more votes you can ask in chat
    – This
    Jun 15 '18 at 12:12
  • Product or resource recommendations are off-topic for SE sites, except Software Recommendations and Hardware Recommendations.
    – Ron Maupin
    Jun 15 '18 at 15:08
  • no problems gents thanks or clearing that up Jun 15 '18 at 17:52
3

Does anybody know if there is anyway to get a switch (cisco) to maybe pull its config from a attached laptop(acting as a server) is there any initial communication from the switch on boot ?

Use a DHCP server on your laptop and Cisco's Autoinstall feature or Smart install. Both methods use DHCP options to tell the switch where to tftp its config from on boot.

The specific DHCP server that you use depends on your preferences of course.

0
1

Look at zero-touch provisioning on Cisco Catalyst 9300 running IOS-XE.

2
  • checking it out ! Jun 15 '18 at 7:29
  • looks good my plan is to automate a complete deployment of about 60 IOS switches Jun 15 '18 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.