Content Gateway commands
Use the command line to execute individual commands and when scripting multiple commands in a shell.
Run commands as ‘root’.
Execute Content Gateway commands from the Content Gateway bin directory.
Note:
If the Content Gateway bin directory is not in your path, prepend the command with:
./
For example:
./content_line -p
Command | Description | |
---|---|---|
WCGAdminstart | Starts the Content Gateway service | |
WCGAdminstop | Stops the Content Gateway service | |
WCGAdminrestart | Stops the Content Gateway service and then starts it again | |
WCGAdminstatus | Displays the status (running or not running) of the Content Gateway services: Content Cop, Content Gateway, Content Gateway Manager, and Analytics Server. | |
WCGAdminhelp | Displays a list of the WCGAdmin commands | |
content_line -h | Displays the list of Content Gateway commands. | |
content_line-p socket_path | Specifies the location (directory and path) of the file used for Content Gateway command line and Content Gateway manager communication. The default path is install_dir/config/cli | |
content_line-r variable | Displays specific performance statistics or a current configuration setting. For a list of the variables you can specify, see Content Gateway variables. | |
content_line -s variable -v value |
Sets configuration variables. variable is the configuration variable you want to change and value is the value you want to set. See records.config, for a list of the configuration variables you can specify. | |
content_line-x | Initiates a Content Gateway configuration file reread. Executing this command is similar to clicking Apply in the Content Gateway manager. | |
content_line-y | Clears Forcepoint dynamically signed certificates from the cache and the SSL sqlite database. | |
content_linedb_clear -y | Clears Forcepoint dynamically signed certificates from the SSL sqlite database. | |
content_line-M | Restarts the content_manager process and the content_gateway process on all the nodes in a cluster. | |
content_line-L | Restarts the content_manager process and the content_gateway process on the local node. | |
content_line-S | Shuts down Content Gateway on the local node. | |
content_line-U | Starts Content Gateway on the local node. | |
content_line-B | Bounces Content Gateway cluster-wide. Bouncing Content Gateway shuts down and immediately restarts the proxy node-by-node. | |
content_line-b | Bounces Content Gateway on the local node. Bouncing Content Gateway shuts down and immediately restarts the proxy on the local node. | |
content_line-W | Enables WCCP router communication. | |
content_line-w | Disables WCCP router communication. After changing the Content Gateway WCCP configuration, or the router WCCP configuration, force WCCP communication down for 60 seconds to force WCCP to negotiate a new connection. | |
content_line -N snapshot_name |
Perform a Content Gateway snapshot (backup). See Taking configuration snapshots. |
|
content_line -n snapshot_name |
Restore a Content Gateway snapshot. See Restoring configuration snapshots. |