D Commands
diagnostic ondemand action-on-failure
126
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
diagnostic ondemand action-on-failure
To configure the action to take if the on-demand test fails, use the diagnostic ondemand
action-on-failure command.
diagnostic ondemand action-on-failure {continue failure-count num-fails | stop}
Syntax Description
Defaults None
Command Modes Any command mode
Supported User Roles network-admin
network-operator
vdc-admin
vdc-operator
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure the action if the on-demand test fails:
switch# diagnostic ondemand action-on-failure continue failure-count 992
switch#
Related Commands
continue failure-count
num-fails
Displays the on-demand test until the test failure limit is reached. The range
is from 1 to 999. The default is 1.
stop Stops on-demand tests immediately if a test fails.
Release Modification
4.0(1) This command was introduced.
Command Description
show diagnostic
ondemand
Displays information about on-demand tests.