|
This chapter describes five diagnostic and troubleshooting command used with a LightStream 2020 multiservice ATM switch (LS2020 switch):
connect | Logically attach the console or modem I/O port to a specified card in the node in which the CLI session is running. |
loadcard | Load the specified file into the specified card, start the card, and establish a console connection between the CLI and the TCS slave on the card. |
test | |
read | Read memory and hardware registers accessible by the TCS. For qualified personnel only. |
write | Write hex values to memory and hardware registers. For qualified personnel only. |
See also the ping command, described in the chapter entitled "CLI Control Commands;" ping is also used for diagnostic purposes.
Use the connect command to connect the CLI to a line card as a console.
Use the connect command to connect the CLI to the specified line card so it can act as a terminal for a program, such as diagnostics, running on the line card. Type ~. (tilde-dot) to interrupt the connection.
Note The connect command requires CLI protected mode. (See the protected command in the chapter entitled "CLI Control Commands.") The connect command affects only the node on which the CLI is running when you execute it, regardless of any target that has been set with the command set snmp hostname name. The command does not work on a management workstation.
Use the loadcard command to load a file into a card, start it, and establish a console connection with its TCS slave.
The loadcard command loads a line card program, such as the operational software or a diagnostic program, into the specified card. The command resets the card and then loads and starts the line card software.
Note The test command is the preferred way to run diagnostics on a card from the CLI.
The loadcard command requires CLI protected mode. (See the protected command in the chapter
entitled "CLI Control Commands.") The
loadcard command affects only the node on which the CLI is running when you execute it,
regardless of any target that has been set with the command set snmp hostname name. The command
does not work on a management workstation.
Use the test command to run diagnostics on a specified card.
The test command runs diagnostic tests on a specified card. These tests indicate whether the card should be replaced. If a card fails, record the displayed error codes and report them when returning the card. When you invoke the test command, the software automatically takes the card out of service (changing its status to testing), identifies the type of card, and runs tests that are appropriate for the card, as specified in files in /usr/diag.
Note The test command requires CLI protected mode. (See the protected command in the chapter
entitled "CLI Control Commands.") The
test command affects only the node on which the CLI is running when you execute it, regardless of
any target that has been set with the command set snmp hostname name. The command does not work
on a management workstation.
The test command takes the tested card out of service. To test the NP on a single-NP system, you
must deactivate the node, load diagnostics manually, and run tests through the diagnostics interface.
See the LightStream 2020 Hardware Reference & Troubleshooting Guide for information about this
procedure, and for information about replacing a defective card.
The switches that can be used with the test command are, in alphabetical order, as follows:
The default behavior, with only the card# argument, is to run standard pass/fail tests in the background. The -l, -s, and -x switches add other tests to the default set.
Use the read command to read memory and hardware registers accessible by the TCS.
Note This command is for use by support personnel only. It is of no value to anyone who lacks
detailed knowledge of memory locations, hardware registers, their contents, and their functions in
the LS2020 node.
The read command affects only the node on which the CLI is running when you execute it, regardless
of any target that has been set with the command set snmp hostname name. It does not work on a
management workstation.
The read command requires CLI protected mode.
Use the write command to write values into memory and hardware registers that are accessible by the TCS.
Caution The write command is for use by support personnel only. Using this command without detailed knowledge of memory locations, hardware registers, their contents, and their purposes will almost certainly destroy the functioning of the LS2020 node. |
Note This command affects only the node on which the CLI is running when you execute it, regardless of any target that has been set with the command set snmp hostname name. It does not work on a management workstation. The write command requires CLI protected mode.
Posted: Wed Jan 22 23:49:44 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.