Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Need help creating script for HP switches

$
0
0

So I am NO script expert.

 

We are going to be getting 50 new switches in the next couple of months. I am trying to figure out how to use NCM to make deploying them easier and faster.

We are getting HP 2920 POE switches. So far I have this as a command script:

 

Config
copy tftp flash 10.2.0.53 2920_WB_15_14_0007.swi
y
${delay:60}

password manager user-name batman plaintext "`*******"
password operator user-name bruce plaintext "********"
wr me
copy tftp startup-config 10.2.0.53 2920-NCM.cfg
y

So far it works, but it seems to fall short of a couple of things I would like to be able to do.

 

In the end the switch reboots. It's just part of uploading the startup-config.

 

I just don't feel this is the most elegant way to do this. Any suggestions?


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>