0

B – 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 session except for the Clear keyword.

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 port. This keyword does not require an admin session.

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. This activates and prepares the port to send data.

Offline

Places the port offline. This prevents the port from receiving signal and accepting a device login.

Diagnostics

Prepares the port for testing. This prepares the port for testing and prevents the port from accepting a device login.

59042-07 A

B-51

Page 141
Image 141
Q-Logic 59042-07 A manual Set Port Command