B – Command Line Interface
Set Config Command
59021-06 A B-29
D
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 the last port. For each parameter, enter a
new value or press the Enter key to accept the current value shown in brackets.
Enter “q” to end the configuration for one port, or “qq” to end the configuration for
all ports. Tabl e B-9 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 end the
configuration. Tabl e B-9 describes the port parameters.
Table B-9. Set Config Port Parameters
Parameter Description
AdminState Port administrative state: online, offline,
diagnostics, or down. The default is
online.
LinkSpeed Transmission speed: 1Gb/sec, 2
Gb/sec, or Auto. The default is Auto.
PortType Port mode: TL, GL, G, F, FL, Donor. The
default is GL.
ISLSecurity E_Port security. Determines which
switches a port will establish a link with.
Any - link with any FC-SW-2
compliant switch. This is the
default.
Ours - link only with an FC-SW-2
compliant QLogic switch.
None - reject the link.