Appendix A: CLI Guide
1436
SonicOS Enhanced 5.6 Administrator’s Guide
Initiating an SSH Management Session via Ethernet
Note This option works for customers administering a device that does not have a cable for
console access to the CLI.
Follow the steps below to initiate an SSH management session through an Ethernet connection
from a client to the appliance.
1. Attach an Ethernet cable to the interface port marked XO. Attach the other end of the
Ethernet cable to an Ethernet port on the configuring computer.
2. Launch any terminal emulation application (such as PuTTY) that communicates via the
Ethernet interface connected to the appliance.
3. Within the emulation application, enter the IP destination address for the appliance and
enter 22 as the port number.
4. Select SSH as the connection type and open a connection.
Logging in to the SonicOS CLI
When the connection is established, log in to the security appliance:
1. At the User prompt enter the Admin’s username. Only the admin user will be able to login
from the CLI. The default Admin username is admin. The default can be changed.
2. At the Password prompt, enter the Admin’s password. If an invalid or mismatched
username or password is entered, the CLI prompt will return to User:, and a “CLI
administrator login denied due to bad credentials” error message will be logged. There is
no lockout facility on the CLI.
SonicOS Enhanced Command Listing
The following section displays all commands available for the SonicWALL:
• “Top Level Commands” section on page 1436
• “Configure Level Commands” section on page 1447
• “LAN Interface Configuration” section on page 1467
• “WAN Interface Configuration” section on page 1468
Table 6 Top Level Commands
Command Description
backup Backs-up device firmware settings
baud 9600 Sets system baud rate to 9600
baud 19200 Sets baud rate to 19200
baud 38400 Sets baud rate to 38400
baud 57600 Sets baud rate to 57600
baud 115200 Sets baud rate to 115200
baud save Saves current baud rate setting
clear cp-stats Clears CPU statistics
clear hw-stats Clears hardware statistics
clear log Clears messages from the logging buffer