Q

A – Command Line Interface Set Port Command

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

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 Arbitrated Loop Physical Address (ALPA) or to all ALPAs on the arbitrated loop. [alpa] can be a specific ALPA or the keyword ALL to choose all ALPAs.

clear

Clears the counters on the specified port.

enable

Sends a Loop Port Enable (LPE) to all ALPAs on the arbitrated loop.

speed [transmission_speed]

Specifies the transmission speed for the specified port. Choose one of the following port speed values:

1Gb/s

One gigabit per second.

2Gb/s

Two gigabits per second.

Auto

The port speed is automatically detected.

state [state]

Specifies one of the following administrative states for the specified port:

Online

Places the port online.

Offline

Places the port offline.

Diagnostics

Prepares the port for testing.

Down

Disables the port.

59048-02 A

A-45

Page 159
Image 159
Q-Logic 59048-02 A manual Set Port Command, Bypass alpa, Enable, Speed transmissionspeed, State state