I can't for the life of me find a sample of a remediation script.
What's the syntax required in these scripts.
I've setup a rule that checks for loop-protect on an HP Switch. If the commands are missing I want to run a script that enters
conf
loop-protect 1-10
loop-protect trap loop-detected
loop-protect disable-timer 3600
end
logout
Yes (this is in reply to the switch asking)
On a more complicated note, could we get the script to change the config written depending on the number of switchports? ie
loop-protect 1-23
for a 24port switch and
loop-protect 1-47
for a 48 port switch.
Thanks