set port
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
Syntax
set port clear
or
set port [port_number]
clear
speed [transmission_speed]
state [state]
Operands
[port_number]
Specifies the port. Ports are numbered beginning with 0.
clear
Clears the counters on all ports or the port given by [port_number].
speed [transmission_speed]
Specifies the port transmission speed.
Table 44
Parameter
2Gb/s
4Gb/s
8Gb/s
10Gb/s
20Gb/s
Auto
state [state]
Specifies the port administrative state.
parameters.
Table 45
Parameter
Online
Offline
Diagnostics
Down
Notes QuickTools and Enterprise Fabric Management Suite override any temporary administrative state
changes that have been made using the Set Port State command. Therefore, to avoid unexpected
results, do not manage port administrative states with QuickTools or Enterprise Fabric Management
Suite and the CLI at the same time.
See also
show
port, page 261
210 Command Reference
Transmission speed parameters
Description
The port speed is 2 Gb/s.
The port speed is 4 Gb/s.
The port speed is 8 Gb/s.
The port speed is 10 Gb/s. This applies only to ports 20–23.
The port speed is 20 Gb/s. This applies only to ports 20–23.
The port speed is automatically detected.
Port administrative state parameters
Description
Activates and prepares the port to send data
Prevents the port from receiving signal and accepting a device login
Prepares the port for testing and prevents the port from accepting a device
login
Disables the port by removing power from the port lasers
Table 44
describes the transmission speed parameters.
Table 45
describes the port administrative state