diagnostic

Enters Debug diagnostic configuraiton mode to enable the running of diagnostic script management commands.
Syntax
diagnostic

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

[ delete script-name | execute script-name parameters | no schedule script-name cron-time-spec| schedule script-name cron-time-spec| show { diagnostic script script-name| schedule } | upload ftp-url ]
Command Default

Diagnostic script managment commands are not executed.

Parameters
delete script-name
Deletes a diagnostic script.
execute
Executes a diagnostic script.
script-name
Specifies a script.
parameters
Specifies script parametres.
no schedule
Schedule a script to run.
cron-time-spec
Sprecifies the time specification.
schedule
Schedule a script to run.
cron-time-spec
Sprecifies the time specification.
show
Show scripts.
diagnostic-script script-name
Specifies diagnostic scripts.
schedule
Specifies schedule scripts.
upload ftp-url
Uploads a diagnostic script from remote FTP server.
Modes

Debug configuraiton mode

Usage Guidelines

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

Examples

The following example enters Debug diagnostic configuraiton mode and deletes a script.

device> debug
device(debug)# diagnostics
device(debug-diagnostic) delete myscript

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