diagnostic

Add in 3.6
Enters Diagnostic configuraiton mode to enable the running of diagnostic commands.
Syntax
diagnostic

After the diagnostic command is entered to enable Diagnostic configuration mode, the following configuration syntax is available:

[ application-log-level | application-log-level-all { debug | error | info | warn } | copy snapshot ftp-url | | delete snapshot | execute { all | all-full | case } | show { cases case | ipmi { health | sel | sensors } | snapshot | version } | trigger-ap-binary-log ap-mac| trigger-trap { all | multi-trap } ]
Command Default

Diagnostic commands are not executed.

Parameters
application-log-level
Sets the log level of an application.
application-log-level-all
Sets the log level for all applications.
debug
Sets the log level to debug.
error
Sets the log level to error.
info
Sets the log level to information.
warn
Sets the log level to warning.
copy snapshot ftp-url
Copy snapshot to an external FTP server.
delete snapshot
Delete all snapshots.
execute
Get a snapshot.
all
Gets the snapshot with the current running system and all application logs.
all-full
Gets the snapshot of the current running system and all application logs. It also includes rotated or archived logs.
case
Gets the snapshot for a specified case.
showcases case
Displays information for a specified case.
showipmi
Shows IPMI information.
health
Specifies BMC basic health.
sel
Specifies system event log records.
sensors
Specefies hardware sensors, fru, LEDs infromation.
showsnapshot
Show snapshot files.
show version
Shows version.
show version
Shows version.
trigger-ap-binary-log ap-mac
Shows .
trigger-trap
Specifies trigger testing traps.
all
Specifies all traps.
multi-trap
Specific traps, separated by a comma.
Modes

Privileged EXEC mode

Usage Guidelines

This command is supported on all SmartZone platforms except SmartZone Data Plane controller.

The show ipmi health and show ipmi sel parameters are supported for SmartZone 300 only.

Examples

The following example deletes all snapshots.

device# diagnostic
device(diagnostic)# delete snapshot
Do you want to continue to delete (or input 'no' to cancel)? [yes/no]

The following example gets a snapshot with the current running system and all application logs.

device# diagnostic
device(diagnostic)# execute allLoading common/_DEFAULT.conf ...