diagnostic ondemand action-on-failure
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.
Syntax Description
continue failure-count
num-fails
stop
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
4.0(1)
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
Command
show diagnostic
ondemand
Cisco Nexus 7000 Series NX-OS System Management Command Reference
126
diagnostic ondemand action-on-failure {continue failure-count num-fails | stop}
Displays the on-demand test until the test failure limit is reached. The range
is from 1 to 999. The default is 1.
Stops on-demand tests immediately if a test fails.
Modification
This command was introduced.
Description
Displays information about on-demand tests.
D Commands
OL-25806-03