User's Manual
Table Of Contents
- Table of Contents
- Section 1 Introduction
- 1.1 Intended Audience
- 1.2 Related Materials
- 1.3 New in this Release
- 1.4 Safety Notices
- 1.5 Sicherheitshinweise
- 1.6 Notes informatives relatives à la sécurité
- 1.7 Communications Statements
- 1.8 Laser Safety Information
- 1.9 Electrostatic Discharge Sensitivity (ESDS) Precautions
- 1.10 Accessible Parts
- 1.11 Pièces Accessibles
- 1.12 Zugängliche Teile
- 1.13 General Public License
- 1.14 Technical Support
- Section 2 General Description
- Section 3 Planning
- Section 4 Installation
- 4.1 Site Requirements
- 4.2 Installing a Switch
- 4.2.1 Mount the Switch
- 4.2.2 Install SFP Transceivers
- 4.2.3 Connect the Workstation to the Switch
- 4.2.4 Configure the Workstation
- 4.2.5 Install SANsurfer Switch Manager
- 4.2.5.1 SANsurfer Management Suite Disk - Windows Installation
- 4.2.5.2 SANsurfer Management Suite Disk - Linux Installation
- 4.2.5.3 SANsurfer Management Suite Disk - Solaris Installation
- 4.2.5.4 SANsurfer Switch Manager Installation Disk - Windows Installation
- 4.2.5.5 SANsurfer Switch Manager Installation Disk - Linux Installation
- 4.2.5.6 SANsurfer Switch Manager Installation Disk - Solaris Installation
- 4.2.6 Start SANsurfer Switch Manager
- 4.2.7 Connect the Switch to AC Power
- 4.2.8 Configure the Switch
- 4.2.9 Cable Devices to the Switch
- 4.3 Install Firmware
- 4.4 Powering Down a Switch
- Section 5 Diagnostics/Troubleshooting
- 5.1 POST Diagnostics
- 5.2 Chassis Diagnostics
- 5.3 Recovering a Switch
- 5.3.1 Maintenance - Exit
- 5.3.2 Maintenance - Image Unpack
- 5.3.3 Maintenance - Reset Network Config
- 5.3.4 Maintenance - Reset User Accounts to Default
- 5.3.5 Maintenance - Copy Log Files
- 5.3.6 Maintenance - Remove Switch Config
- 5.3.7 Maintenance - Remake Filesystem
- 5.3.8 Maintenance - Reset Switch
- 5.3.9 Maintenance - Show Firmware Versions
- 5.3.10 Maintenance - Set Active Image
- Appendix A Specifications
- Appendix B Command Line Interface
- B.1 Logging On to a Switch
- B.2 User Accounts
- B.3 Working with Switch Configurations
- B.4 Commands
- Admin Command
- Alias Command
- Config Command
- Date Command
- Fallback Command
- Hardreset Command
- Help Command
- History Command
- Hotreset Command
- Image Command
- Lip Command
- Passwd Command
- Ping Command
- Ps Command
- Quit Command
- Reset Command
- Set Command
- Set Config Command
- Set Log Command
- Set Port Command
- Set Setup Command
- Show Command
- Show Config Command
- Show Log Command
- Show Perf Command
- Show Setup Command
- Shutdown Command
- Test Command
- Uptime Command
- User Command
- Whoami Command
- Zone Command
- Zoneset Command
- Zoning Command
- Glossary
- Index

B – Command Line Interface
Test Command
B-82 59042-06 A
0
Test Command
Tests ports using internal (SerDes level), external (transceiver), and online
loopback tests. Internal and external tests require that the port be placed in
diagnostic mode. Refer to the ”Set Command” on page B-31 for information about
changing the port administrative state. While the test is running, the remaining
ports on the switch remain fully operational.
Authority Admin session
Syntax test
port [port_number] [test_type]
cancel
status
Keywords port [port_number] [test_type]
Tests the port given by [port_number] using the test given by [test_type]. If you
omit [test_type], Internal is used. [test_type] can have the following values:
internal
Tests the SerDes. This is the default. The port must be in diagnostics mode
to perform this test.
external
Tests both the SerDes and transceiver. The port must be in diagnostics
mode to perform this test, and a loopback plug must be installed in the
transceiver.
online
Tests communications between the port and its device node or device loop.
The port being tested must be online and connected to a remote device. The
port passes if the test frame that was sent by the ASIC matches the frame
that is received. This test does not disrupt communication on the port.
cancel
Cancels the online test in progress.
status
Displays the status of a test in progress, or if there is no test in progress, the
status of the test that was executed last.
Examples To run an internal or external port test, do the following:
1. To start an admin session, enter the following command and press the Enter
key.
admin start
2. Place the port in Diagnostics mode, enter the following command (x = port
number) and press the Enter key.
set port x state diagnostics
3. Choose the type of port loopback test to run: