Skip to content

Cloud agent

The cswitch-agent command lets you start, stop, and restart the cloud agent from the global configuration mode on the switch. You can use it to troubleshoot Sophos Central connection issues without scheduling downtime for a full switch restart. You can also use this command to remove a switch from Sophos Central.

Command

cswitch-agent

Syntax

[start|stop|restart|deregister] service cswitch-agent

Options

start

Starts the cloud agent and resumes communication with Sophos Central.

stop

Stops the cloud agent. This disconnects the switch from Sophos Central.

restart

Stops and immediately restarts the cloud agent. The switch will briefly disconnect from Sophos Central but will resume communication once the cloud agent restarts.

deregister

De-registers the switch from Sophos Central. The switch still appears in Sophos Central, but its status will be Offline until it's removed.

Note

You can't register the switch from the command line. You must remove the switch from Sophos Central, register it, and synchronize the settings. See Add switches.