Q-Logic SN0054621-00 E Network Card User Manual


 
5 – Non-Interactive Mode Commands
Non-interactive Commands
5-18 SN0054621-00 E
S
-lb
(Perform Loopback Test)
To run a loopback test, enter the -lb command as follows:
-lb <hba_port_inst> [-STOP] [-EXTLB] [-CNT <Test Count>]
Where:
For information on the interactive version of this command, see “Perform
Loopback Test (CLI Option -lb)” on page 4-31.
-lc
(Configure Link Configuration)
To configure the link settings, enter the -lc command as follows:
-lc <hba_port_inst>
The optional parameters are auto-negotiate [-AUTONEG], link speed
[-LNKSPD], and flow control [-FLOW]. With auto-negotiate on, no entries should
be provided for link speed. For a copper connection and auto-negotiate off, a link
speed of 100 or 10 must be provided. For a fiber connection, the link speed is
always 1000 Mbs. The optional parameter [-FLOW] will turn on or off flow control.
-lcd
(Display Configured Link Configuration)
To display the configured link settings, enter the -lcd command. Note that because
a system reset is required for changes in link configuration to take effect, the
settings shown here may be different than the operating link configuration.
CAUTION!
Before doing a loopback test, ensure that the HBA does not have any
outstanding I/O operations.
hba_port_inst = The HBA port where you do the loopback test.
–STOP = The loopback test stops if a failure occurs.
–EXTLB = Runs an external loopback test. By default, runs an internal
loopback test.
-CNT = Used with Test Count to say how many loopback tests to run.
Default is 1.
Test Count = The number of loopback tests to run. One is the default. To
run more than one test, enter a number between 2–(2^31).