210 Command Reference
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 describes the transmission speed parameters.
Table 44 Transmission speed parameters
Parameter Description
2Gb/s The port speed is 2 Gb/s.
4Gb/s The port speed is 4 Gb/s.
8Gb/s The port speed is 8 Gb/s.
10Gb/s The port speed is 10 Gb/s. This applies only to ports 20–23.
20Gb/s The port speed is 20 Gb/s. This applies only to ports 20–23.
Auto The port speed is automatically detected.
state [state]
Specifies the port administrative state. Table 45 describes the port administrative state
parameters.
Table 45 Port administrative state parameters
Parameter Description
Online Activates and prepares the port to send data
Offline Prevents the port from receiving signal and accepting a device login
Diagnostics 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
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