IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Operation to change radius-server host on 100 switches

 
DoJu
Contributor

Batch Operation to change radius-server host on 100 switches

Hi Everyone,

I am new to IMC and need to change the radius-server host command on about 100+ switches

E.G.

conf t

no radius-server host <IP> key "existing key"

radius-server host <new IP> key "existing key"

exit

write mem

How can this be done via IMC Batch Operation?

Thank you!

2 REPLIES 2
jguse
HPE Pro

Re: Batch Operation to change radius-server host on 100 switches

Hello,

Batch Operations are convenient for certain specific pre-defined operations which can be somewhat customized, but don't support such an operation and in this case you should try a CLI Script instead.

Service > Configuration Center > Configuration Templates > Add CLI Script

Here you could add a few lines that can include variables like ${ip} that can be filled out when executing the script, in your case for example:

conf t

no radius-server host ${old-ip} key ${radius-key}

radius-server host ${new-ip} key ${radius-key}

exit

wr mem

Then just deploy the script, select your devices and fill in the variables when prompted in the wizard.

Best regards,
Justin Guse

Working @ HPE
DoJu
Contributor

Re: Batch Operation to change radius-server host on 100 switches

Thanks Justin

I will give the CLI scripting a try.