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 SNS firewalls. See section Deploying a configuration on firewalls.
smc-diag Downloads a SMC server diagnostics report. See section Generating a server diagnostics report

smc-export-routes

Exports to a CSV file the static routes, return routes and default routes of firewalls in at least version 4.2.4 and for which the network configuration is managed in SMC. See section Configuring routing.
smc-import-firewalls Creates firewalls in SMC and their connecting package. See section Importing SNS firewalls from a CSV file.
smc-import-routes Imports the routes of firewalls in at least version 4.2.4 and for which the network configuration is managed in SMC. See section Configuring routing.
smc-gen-autosigned-cert Resets 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 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 SNS 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-logs Displays logs of all actions saved on the SMC server. Equivalent to the nlogs command.
smc-redundancy --secundaryIP <BACKUP_NODE_IP>

Enables redundancy between two SMC servers. See section

Setting up SMC server redundancy.

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 an environment 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-update Updating the SMC server See section Updating the SMC server.
smc-version Displays the version of the SMC server. See section Verifying the SMC server version in command line.