Set port command – HP McDATA 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 169

Advertising
background image

McDATA® 4Gb SAN Switch for HP p-Class BladeSystem user guide 169

Set Port command

Description 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 operand.

Syntax

set port [port_number]

bypass [alpa]

clear

enable

speed [transmission_speed]

state [state]

Operands

[port_number]

Specifies the port. External ports are numbered 0 and 9; internal ports are numbered 1–8.

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 operand ALL to choose all

ALPAs.

clear

Clears the counters on the port. This operand 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:

1

One gigabit per second

2

Two gigabits per second

4

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.

Down

Disables the port by removing power from the port lasers

Advertising