B – Command Line Interface
Set Port Command
B-36 59021-04 C
Q
Set Port Command
Sets port state and speed for the specified port temporarily until the next switch
reset or new configuration activation. This command also clears port counters.
Authority Admin
Syntax set port [port_number]
bypass [alpa]
clear
enable [alpa]
speed [transmission_speed]
state [state]
Keywords [port_number]
Specifies the port. Ports are numbered beginning with 0.
bypass [alpa]
Sends a Loop Port Bypass (LPB) to a specific ALPA or to all ALPAs on the loop.
[alpa] can be a specific ALPA or the keyword ALL to choose all ALPAs.
clear
Clears the counters on the specified port.
enable [alpa]
Sends a Loop Port Enable (LPE) to all ALPAs on the arbitrated loop. [alpa] can be
a specific ALPA or the keyword ALL to choose all ALPAs.
speed [transmission_speed]
Specifies the speed for the specified port. Choose one of the following values:
1Gb/s
One gigabit per second.
2Gb/s
Two gigabits per second.
Auto
The port speed is automatically detected.
state [state]
Specifies the administrative state for the specified port. Choose one of the
following port state values:
Online
Places the port online.
Offline
Places the port offline.
Diagnostics
Prepares the port for testing.
Down
Disables the port.