Starting Or Stopping An On-Demand Diagnostic Test; Clearing Diagnostic Results - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Starting or Stopping an On-Demand Diagnostic Test

Starting or Stopping an On-Demand Diagnostic Test
You can start or stop an on-demand diagnostic test. You can optionally modify the number of iterations to
repeat this test, and the action to take if the test fails.
We recommend that you only manually start a disruptive diagnostic test during a scheduled network
maintenance time.
Before You Begin
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5

Clearing Diagnostic Results

You can clear diagnostic test results.
Use the following command in any mode to clear the diagnostic test results:
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
234
Command or Action
switch# diagnostic ondemand
iteration number
switch# diagnostic ondemand
action-on-failure {continue
failure-count num-fails | stop}
switch# diagnostic start module slot
test [test-id | name | all |
non-disruptive] [port port-number |
all]
switch# diagnostic stop module slot
test [test-id | name | all]
switch# show diagnostic status
module slot
Configuring Online Diagnostics
Purpose
(Optional)
Configures the number of times that the on-demand test
runs. The range is from 1 to 999. The default is 1.
(Optional)
Configures the action to take if the on-demand test fails.
The num-fails range is from 1 to 999. The default is 1.
Starts one or more diagnostic tests on a module. The
module slot range is from 1 to 10. The test-id range is
from 1 to 14. The test name can be any case-sensitive,
alphanumeric string up to 32 characters. The port range
is from 1 to 48.
Stops one or more diagnostic tests on a module. The
module slot range is from 1 to 10. The test-id range is
from 1 to 14. The test name can be any case-sensitive,
alphanumeric string up to 32 characters.
(Optional)
Verifies that the diagnostic has been scheduled.

Advertisement

Table of Contents
loading

Table of Contents