Hello everybody :D,
I want to deploy a script to deactivate "HTTP" for 30 switches with the following command : "no ip http server".
As i have 30 switches, i don't want to make this command one switch by one.
To do it, i want to deploy this command in a script thanks to Nedi (a open-source tool to manage network equipments)
The problem is i don't know the command prompt of SG300 switches to make this list of commands :
no ip http server
Anyone knows what is the command prompt to use ?
Thank you in advance :).
Solved! Go to Solution.
Can you provide more details about where you are having trouble then? Do you have some log showing failure/errors?
Those commands work on my SG300. The commands you posted orginally should also work, by the way. Did you try entering them manually on a switch to check before doing your script?
You can reference the CLI guide for exact command definitions: http://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/CLI_Nikola300_1_3_7.pdf
Of course, tab and ? will reveal the correct commands too.
I could be wrong, but I don't think so. If you are running a script it shouldn't matter though, right? Did you manage to get your backup script working? If not, you may consider using expect. Here is an example I found: http://technologyordie.com/cisco-configuration-backup-script