Is it possible to execute a command automatically on reboot ?
Posted: 27 May 2025 04:22
Hi Everyone,
I'm trying to ensure that each time the OS6360 switch reboots, it automatically executes two CLI commands:
aaa radius-server RadiusServerName1 health-check polling-interval 300 username "test" password test failover
aaa radius-server RadiusServerName2 health-check polling-interval 300 username "test" password test failover
Currently, after each reboot, the RADIUS server logs a reject, even though all settings appear to be correct on the switch. However, as soon as I manually re-enter the above command on the switch, everything works as expected and the RADIUS server logs an accept.
Therefore, I'm looking for a way to automatically trigger these commands upon reboot, to ensure proper RADIUS health-check functionality without requiring manual intervention.
Thanks in advance,
I'm trying to ensure that each time the OS6360 switch reboots, it automatically executes two CLI commands:
aaa radius-server RadiusServerName1 health-check polling-interval 300 username "test" password test failover
aaa radius-server RadiusServerName2 health-check polling-interval 300 username "test" password test failover
Currently, after each reboot, the RADIUS server logs a reject, even though all settings appear to be correct on the switch. However, as soon as I manually re-enter the above command on the switch, everything works as expected and the RADIUS server logs an accept.
Therefore, I'm looking for a way to automatically trigger these commands upon reboot, to ensure proper RADIUS health-check functionality without requiring manual intervention.
Thanks in advance,