Using top level CLI commands on the SonicWall via ssh using Putty

Description

Using top level cli commands on the SonicWall via ssh using Putty.

Resolution

Scenario: Using top level cli commands on the SonicWall via ssh using Putty.

Image

Top Level Commands:

- configure
- nslookup
- ping
- pmtu-discovery
- restart
- safemode
- traceroute

1. Command type: configure          

admin@C0A0000000000> configure terminal
admin at GUI from 10.10.10.30 is editing.
Do you wish to preempt them (yes/no)?
[no]:


2. Command type: nslookup            

admin@C0A0000000000> nslookup  <HOSTNAME>

Where:

          <HOSTNAME> = Hostname in the form: hostname OR a.b.c.d
                       Example: example.com
Example:

          nslookup www.sonicwall.com



3. Command type: ping

admin@C0A0000000000> ping  <HOSTNAME>

Where:

          <HOSTNAME> = Hostname in the form: hostname OR a.b.c.d
                       Example: example.com
Example:

          ping 10.10.10.1
          ping 10.10.10.1 interface X1


4. Command type: pmtu-discovery      

admin@C0A0000000000> pmtu-discovery  <HOSTNAME>

Where:

          <HOSTNAME> = Hostname in the form: hostname OR a.b.c.d
                       Example: example.com
Example:

          pmtu-discovery 10.10.10.1
          pmtu-discovery 10.10.10.1 interface X1



5. Command Type: restart           

admin@C0A0000000000> restart
  now      Restart the device immediately.
  time     Restart the device after the specified number of seconds.


 
6. Command Type: safemode

admin@C0A0000000000> safemode
Are you sure you wish to enter into safemode? (yes/cancel)
[cancel]:



7. Command Type: traceroute

admin@C0A0000000000> traceroute  <HOSTNAME>

Where:

          <HOSTNAME> = Hostname in the form: hostname OR a.b.c.d
                       Example: example.com
Example:

          traceroute 10.10.10.1
          traceroute 10.10.10.1 interface X1

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?