A – Command Line Interface

￿

Set Config Command

Set Config Command

Sets switch, port, and zoning configuration parameters.

Authority

Admin authority within a Config Edit session

Syntax

set config

 

 

port [port_number]

 

 

ports [port_number]

 

 

switch

 

 

zoning

 

Keywords

port [port_number]

 

 

Changes configuration parameters for the port number given by [port_number]. If

 

you omit this value, the system begins with port 0 and proceeds in order through

 

port 15 or until you enter “qq”. The system displays each parameter one line at a

 

time and prompts you for a value. For each parameter, enter a new value or press

 

the Enter key to accept the current value shown in brackets.

 

ports [port_number]

 

 

Very similar to the Set Config Port command, except that any attribute value that

 

is changed by the user is applied to ALL ports. ONLY attribute values that are

 

changed are updated; the attribute values that are not changed are left alone.

 

Ports are numbered beginning with 0. The default is port 0. The system displays

 

each parameter one line at a time and prompts you for a value. For each

 

parameter, enter a new value or press the Enter key to accept the current value

 

shown in brackets. Admin and config edit modes are required for this command.

 

Table A-6. 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

 

 

[port_number] is specified then the user

 

 

will be presented with attributes for that

 

 

port only; otherwise, all attributes for all

 

 

ports will be available for configuration.

 

 

 

A-24

59022-03 D

Page 114
Image 114
Q-Logic 59022-03 D manual Set Config Command, Set config, Port portnumber, Ports portnumber