Details of smc-xxx commands

This section sets out the list of commands specific to SMC that can be used in the command line interface to manage the server. To find out how to log on to the command line interface, refer to the section Getting started with the SMC server.

There are other smc-xxx commands that were not mentioned in this list as they are solely intended for the internal operations of the server.

The set of smc-xxx commands replaces the fwadmin-xxx commands used in 2.5 and lower versions. These commands will continue to be available and operational but will be removed in future versions.

Command Action
smc-config-backup Saves the configuration of the SMC server. See section Saving the server configuration from the command line interface.
smc-config-restore Restores the configuration of the SMC server. See section Restoring server configuration from the command line interface.
smc-date-time Displays and configures the system's date, time and time zone. See section Changing the SMC server time zone and date.
smc-deploy Deploys the configuration on the SN firewalls. See section Deploying a configuration on firewalls.
smc-diag Downloads a SMC server diagnostics report. See sectionGenerating a server diagnostics report
smc-firewalls-and-packages Creates firewalls in SMC and their connecting package. See section Importing SN firewalls from a CSV file.
smc-gen-ui-cert Reset the certificate presented by the SMC server’s web administration interface. See section Customizing the certificate of the SMC server web interface.
smc-import-crl Imports a Certificate Revocation List (CRL). The CRL is automatically linked to the certification authority which signed it.
smc-import-objects

Imports network objects originating from a firewall export in CSV format. See section Importing objects.

smc-import-rules Imports filter and NAT rules, and the objects linked to these rules, from the export of a SN firewall rules in the CSV format. See section Importing rules from connected firewalls .
smc-install-certificate Installs a P12 certificate on a firewall. See section Importing or declaring a certificate for a firewall.
smc-keyboard Changes the language of the keyboard in the command line interface.
smc-auth-check Tests the connection to the LDAP server when it is used for the authentication on the SMC server, and displays the list of users and groups. See section Allowing administrators to connect via an LDAP or Radius server.
smc-logs Displays logs of all actions saved on the SMC server. Equivalent to the nlogs command.
smc-reset-ca Resets the internal certification authority of the SMC server. See section Resetting the internal certification authority of the SMC server.
smc-sns-cli-script Runs SNS CLI commands on a pool of firewalls. See section Running SNS CLI commands on a pool of firewalls.
smc-syslog-ng Configures the logging service in Syslog format. See section Sending SMC logs to a remote server in Syslog format.
smc-ui-password

Modifies the password of the user on the SMC server's web interface. See section Resetting the administrator password.

smc-update Updating the SMC server See section Updating the server SMC.
smc-version Displays the version of the SMC server. See section Verifying the SMC server version in command line.