B – Command Line Interface
Set Config Command
59021-04 C B-25
Q
Set Config Command
Sets switch, port, alarm threshold, and zoning configuration parameters.
Authority Admin authority and a Config Edit session
Syntax set config
port [port_number]
ports [port_number]
switch
threshold
zoning
Keywords port [port_number]
Initiates an edit session in which to change configuration parameters for the port
number given by [port_number]. If you omit [port_number], the system begins with
port 0 and proceeds in order through port 63. For each parameter, enter a new
value or press the Enter key to accept the current value shown in brackets. Enter
“q” to cancel the configuration for one port, or “qq” to cancel the configuration for
all ports. Table B-7 describes the port parameters.
ports [port_number]
Initiates an editing session in which to change configuration parameters for all
ports based on the configuration for the port given by [port_number]. If you omit
[port_number], port 0 is used. For each parameter, enter a new value or press the
Enter key to accept the current value shown in brackets. Enter “q” to cancel the
configuration. Table B-7 describes the port parameters.
Table B-7. Set Config Port Parameters
Parameter Description
AdminState Port administrative state: online, offline,
diagnostics, or down.
LinkSpeed 1Gb/sec or 2 Gb/sec
PortType Type of port
TLPortMode Initiates the configuration of ports
attributes. Indicates whether using
initiator or target devices on the loop. If
you specify [port_number], the display
will present attributes for that port only;
otherwise, all attributes for all ports will
be available for configuration.