Configure Diagnostic Settings Using CLI

Note: These settings can also be configured from the Remote Console. See Configure Diagnostic Options from the Remote Console.

The diagnostic commands allow you to gather information for troubleshooting.

Enter admin > Diagnostics to access the menu.

Command

Description

Parameters

netif

Network Interface Info

 

NA

netstat

Get Network Statistics

  • type <stats | interfaces | route> - stats interfaces route

ping

Ping a remote system to ensure it is reachable.

  • ip <ipaddress | hostname> - IP Address/Hostname to Ping
  • if <auto | lan1 | lan2 | usb0> - Network interface (default: auto)

traceroute

Trace the network route to a host.

  • ip <ipaddress | hostname> - IP Address/Hostname to trace to
  • maxhops <5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50> - Maximum hop limit (default: 10)
  • if <auto | lan1 | lan2 | usb0> - Network interface (default: auto)

diagscript

Get and execute diagnostic script from a FTP server.

  • address <ipaddress | hostname> - Address of FTP Server
  • port <FTP port> - Port of FTP server (1..65535)
  • path <path name> - FTP server path for diagnostic script file.
  • user <FTP username> - Optional FTP server user name
  • password <FTP password> - Optional FTP server password.

diaglogput

Take diagnostic snapshot and store on FTP server.

  • address <ipaddress | hostname> - Address of FTP Server
  • port <FTP port> - Port of FTP server (1..65535)
  • path <path name> - FTP server path for diagnostic script file.
  • user <FTP username> - Optional FTP server user name
  • password <FTP password> - Optional FTP server password.

     

Enter admin > diagnostics > debug to access the menu.

Command

Description

Parameters

setlog

Set/get diagnostics log.

  • module <module> - Module name
  • level <level> - Diagnostics log level (err/warn/info/debug/trace)
  • vflag <vflag> - Verbose flag (timestamp/module/thread/fileline)
  • verbose <on|off> - Verbose control (on/off)

viewstats

View module status

  • module <module> - Module name

     

See Also

Administering SX II Using command line interface

Change Your Password Using CLI

Configure Power Strips Using CLI

Configure and Manage Users and User Groups Using CLI

Configure User Authorization and Authentication Services Using CLI

Configure a Modem Using CLI

Run an Autoconfiguration Script Using CLI

Configure Network Settings Using CLI

Configure Device Settings Using CLI

Configure SNMP Traps and Alerts Using CLI

Configure Date and Time Settings Using CLI

Change the Default GUI Language Setting Using CLI

Configure SMTP Events and Notifications Using CLI

Configure Port Logging Settings Using CLI

Configure Ports Using CLI

Configure the Local Port Using CLI

Configure Security Settings Using CLI

Configure Maintenance Settings Using CLI