Hewlett-Packard Company makes no warranty o f
any kind with regard to this material, including, but
not limited to, the implied warranties o f merchantability and fitness fo r a partic ular purpose. HewlettPackard shall not be liable fo r erro rs contained
herein or for incidental or c onsequential damages in
connection with the f urnishing, performanc e, or use
of this material.
This do c ument c ontains pro prietary info rmation,
which is protected by co pyright. No part of this
document may be photocopied, reproduced, or
translated into another language witho ut the prior
written consent o f Hew lett-Pac kard. The informatio n contained in this do cument is subje ct to c hange
witho ut notic e.
Warranty
If yo u have any questions abo ut the warranty fo r
this product, contac t yo ur de aler o r lo c al HewlettPackard sales representative.
Denotes
NoteSignific ant concepts or o perating
instructions
this fontText to be typed verbatim: all
commands, path names, file
names, and direc to ry names
this fontText displayed on the screen
<this font>Keys to be pressed, for example,
the <Return> key
Safety Instructions
Service
Any servic ing, adjustment, maintenance, or repair
must be performed o nly by authorized servicetrained perso nnel.
This c hapter introduc es the Co mmand Line Interfac e and describes the essentials for using
the Co mmand Line Interface c o mmands.
Introduction
1
Command Line Interface Overview
The Co mmand Line Interface ( CLI) is a feature that pro vides an alternative to HP EFC
Manager and HP Embedded Web Server (HP EWS) produc ts fo r direc to r and switc h
management capabilities.
The CLI can only be used through a Telnet c lient session in an o ut-o f-band management
environment, using the Ethernet port in the directo r o r switc h. Although the primary use o f
the CLI is in ho st-based scripting environments, the CLI commands can also be entered
directly at a co mmand line. Any hardware platfo rm that supports the Telnet c lient software
can be used.
The primary purpo se o f the CLI is to auto mate management o f a large number o f switc hes
with the use of scripts.
Bec ause the CLI is not an interactive interface, no checking is done fo r pre-existing
conditions and no prompts are displayed to guide the user through a task. If an interactive
interface is needed, the HP EFC Manager or HP EWS products should be used instead of
the CLI.
2 Command Line Interface Overview
Entering Command Line Interface Commands
The Command Line Interface (CLI) commands can be entered directly at the command line
of a terminal or coded in a script.
Note that the CLI co mmands are not case sensitive.
Documentation Conventions
Throughout this public atio n, perio ds are used to separate the compo nents of a c o mmand
name. However, the periods cannot be included when the command is actually entered at
the terminal or coded in a sc ript. (Ho w to enter the commands is explained in Navigatio n of
the CLI Command Tree on page 8.)
Even though the commands cannot be entered with the periods, the command line
prompts do include the periods.
Config.Port>
Navigation Conventions
Basic command line navigatio n c o nventio ns are suppo rted. The fo llowing table inc ludes
the asynchrono us co mmands that are rec o gnized by the Co mmand Line Interface.
Table 1
CLI Co mmand Tree Navigatio n Co nventions
Introduction
Character SequenceCommon NameAction or Description
<CR>Carriage ReturnPass a completed line to the parser.
<DEL>DeleteBackspace one character and delete the
character.
<NL>New LinePass a completed line to the parser.
<SP>SpaceUsed to separate keywords.
?Question MarkProvide help information. (No <CR> required)
“Quotation MarkUsed to surround a single token.
Entering Command Line Interface Commands 3
Table 1 CLI Command Tree Navigation Conventio ns ( c o nt’d)
Character SequenceCommon NameAction or Description
^AControl-APosition the cursor to the start of the line.
^BControl-BPosition the cursor left one character.
^DControl-DDelete the current character.
^EControl-EPosition the cursor to the end of the line.
^FControl-FPosition the cursor right one character.
^HControl-HBackspace one character and delete the
character.
^ITabComplete the current keyword.
^KControl-KDelete to the end of the line.
^LControl-LRedraw the line.
^NControl-NMove down one line in the command history.
^PControl-PMove up one line in the command history.
^RControl-RRedraw the line.
^UControl-UClear the input and reset the line buffer.
^XControl-XClear the input and reset the line buffer.
<ESC>[AUp ArrowMove up one line in the command history.
<ESC>[BDown ArrowMove down one line in the command history.
<ESC>[CRight ArrowPosition the cursor right one character.
<ESC>[DLeft ArrowPosition the cursor left one character.
Command Tree
The command tree of the Command Line Interface begins from the root. The commands in
the fo ur extended branches (co nfig, maint, perf, and show) are described in Chapter 2, CLI
Co mmands.
There are three additio nal commands (login, logo ut, and c o mmaDelim) that are glo bally
available commands. These c ommands are described in this chapter.
4 Entering Command Line Interface Commands
The hierarchy from the root, reading from left to right, is as follows.
Table 2
config -------------------- ip -------------------------- ethernet
maint --------------------- port ----------------------- beacon
reset
system ------------------ beacon
clearSysError
6 Entering Command Line Interface Commands
Table 2Command Line Interface Co mmand Tree
ipl
resetConfig
setOnlineState
perf ----------------------- class2
class3
clearStats
errors
link
traffic
show --------------------- eventLog
frus
ip -------------------------- ethernet
loginServer
nameServer
port ----------------------- config
info
status
technology
Introduction
security ----------------- portBinding
switch
system
zoning
Note that the c o mmands are sho wn, with the exception of the zo ning commands, in
alphabetical order to make them easier to locate. Although the commands can be entered
in any order, depending on the results desired, the order shown in Table 2, Command Line
Interfac e Command Tree for the zo ning commands is a typical order in which the zo ning
commands are e ntered.
Entering Command Line Interface Commands 7
Note that the o rder in which c o mmands are entered determines the o rder in which the
show c ommands display the values. Refer to Chapter 2, CLI Commands for examples of
show commands output.
Navigation of the CLI Command Tree
Once the Administrator or Operator logs in and receives the Root> prompt, the CLI
commands are ac c essed by navigating up and do wn the CLI command tree.
To move from the ro o t through the any o f the four extended branches, enter the name o f
the next branch as shown in Table 2, Command Line Interface Command Tree. For
ex ample, to use the co nfig.port.name c o mmand to configure the name fo r po rt 4 on the
switc h, this series of commands is entered:
config
Ro ot >
Config> port
Config.Port> name 4 "Sam’s Tape Drive"
At this po int, to enter the maint.po rt.beac o n c o mmand to set the be aconing state of po rt 4,
the fo llo wing series o f c ommands is entered:
Config.Port>
Config> ..
Ro ot > maint
Maint> port
Maint.Port> beacon 4 true
Note that you must return all the way to the root of the tree to transition to another
extended branch. When traversing back to the root, the name of each branch cannot be
used. Instead use the double-dot command (two periods) to move back towards the root.
Note that only one double-do t command may be entered at a time.
One approach to making the navigatio n mo re c o nc ise is to use the root command to jump
directly to the roo t of the CLI command tree. The previous example, which shows stepping
back to the ro ot with the double-do t c ommand, is simplified as follows:
8 Entering Command Line Interface Commands
..
Config.Port> root
Ro ot > maint
Maint> port
Maint.Port> beacon 4 true
Ano ther appro ac h to making the navigation more c o nc ise is to use the complete c o mmand
syntax from the Roo t> prompt each time. For example, to issue the config.port.name
command and then the maint.port.beacon command, the co mmands are entered as
fo llows:
config port name 4 "Sam’s Tape Drive"
Ro ot >
Ro ot > maint port beacon 4 true
As shown in this example, use o f the c o mplete c o mmand syntax avo ids navigating up and
down the branches of the CLI command tree, and the prompt stays at the root. The use of
complete c ommand syntax is particularly useful when writing scripts.
When coding a script, remember to code the appropriate character sequences, which are
described in Navigation Conventions.
config port name 4 "Sam’s Tape Drive"<CR>
Ro ot >
Ro ot > maint port beacon 4 true<CR>
Introduction
Limitation on Movements
As the co mmands are entered, they are rec o rded in a history log. Note these limitatio ns on
movement that result f ro m use of the history lo g:
•If a c o mmand has more than 60 characters, the command runs, but the c ommand is not
rec orded in the histo ry log, and the positio n in the tree does not change , as shown in the
fo llo wing example. Because the c o mmand is no t rec o rded in the histo ry, a subsequent
async hronous co mmand ( navigatio n c o mmand) cannot depend on it.
•Whenever the position in the CLI command tree moves to a new branch (for example,
config to maint, config to c onfig.port, or c onfig.po rt to co nfig), the history lo g is cleared.
In this case, any asynchronous commands (fo r example, the up-arrow command
<ESC>[A) or the up-arrow keyboard symbol) cannot move the position back towards
the root, as shown in this example:
config
Ro ot >
Ro ot . Co nf ig> port
Ro ot . Co nf ig. Po rt > <ESC>[A
Ro ot . Co nf ig. Po rt >
Parameters
Some command parameters ac cept character strings that inc lude spac es. Quo tatio n marks
are required when a string includes spaces.
Config.System>
Config.System> location "Building 24 Room 16"
If spac es are no t inc luded in a parameter that accepts a string, the quotatio n marks are not
required around that string.
A null string can be created by using the quo tation marks witho ut any spac e between them.
Config.System>
location Building_24_Room_16
location ""
Output
All o utput fro m the CLI commands is limited to the standard 80 c olumns supported b y mo st
Telnet interfaces. The output is left-justified.
10 Entering Command Line Interface Commands
Logging In and Logging Out
The Command Line Interface allo ws a single Telnet c lient to be c o nnected to the switc h. If
a Telnet client logs o ut, o r if after 15 minutes o f inactivity the client’s access times out,
another Telnet client may log in. Also note that the Telnet c lient ( user) must log in any time
the direc to r o r switch is restarted bec ause the current user’s access is lost. Examples of a
restart include an IPL and any po wer-off situatio n.
User Access Rights
The Command Line Interfac e suppo rts two use r ac c ess rights: Administrator and Operato r.
A user who logs in with Administrator acc ess rights can use all of the commands described
in this publication. However, Operator acc ess rights grant permissio n to use only the perf
and show branc hes o f the CLI command tree (fo r example , the perf.traffic and
show.system c o mmands), as well as the globally available co mmands (login, logout, and
commaDelim).
login
Syntax
login
Purpose
This command allows a Telnet client to co nnec t to the switch.
Introduction
Description
This command allows the user to lo g in with either Administrator or Operator acc ess
rights. The default passwords are password.
After the lo gin co mmand is issued, the Username: pro mpt automatic ally displays. After a
valid user name is entered, the Password: prompt automatically displays. After the
corresponding valid password is entered, the Root> prompt displays. At this prompt the
Logging In and Logging Out 11
user enters any of the commands included in Table 2, Command Line Interface Command
Tre e .
A user name and passwo rd can be set by the Administrato r thro ugh the
config.sec urity.userRights.administrator c ommand o r through the
config.se c urity.userRights.o perato r c o mmand.
The ac c ess rights chosen for the CLI are c o mpletely independent o f the o ther product
interfaces, fo r example, SNMP or HP pro duct interfac e s.
Parameters
This command has no parameters.
Co mmand E x amples
login
User name : Administrator
Pas swo rd: password
login
User name : Operator
Pas swo rd: password
12 Logging In and Logging Out
logout
Syntax
logout
Purpose
This command allows a Telnet client to disconnec t fro m the switch.
Description
This command logs out the single Telnet client co nnec ted to the switch. This c ommand c an
be entered at any point in the command tree.
Parameters
This command has no parameters.
Co mmand E x amples
Ro ot >
logout
Config> logout
Config.Port> logout
Introduction
Logging In and Logging Out 13
Using the commaDelim Command
Note that the o utput examples sho wn in the other sections of this publication presume that
commaDelim is off.
commaDelim
Syntax
commaDelim enable
Purpose
This command enables the user to obtain displayed information ( fro m a show c ommand)
in comma-delimited, rather than tabular, format. Tabular fo rmat is the default.
Description
This c o mmand c an be entered at any po int in the command tree.
Parame ter
This command has one parameter.
enable
Co mmand E x amples
Ro ot >
commaDelim true
Config> commaDelim true
Config.Port> commaDelim true
14 Using the commaDelim Co mmand
Specifies the comma-delineated state for output. Valid values are
and
false. Boolean 1 and 0 may be substituted as values.
true
Output Example
Output displayed in c ommaDelim mode is as fo llo ws:
Two types o f erro rs detec ted by the Co mmand Line Interfac e are:
•An error associated with the interface. For example, a keyword is misspelled or does
not exist.
confg
Ro ot >
Error 234: Invalid Command
•An error associated with fabric or switch issues. For example, a parameter error is
detected by the switch, where port 24 is entered for a switch that supports only 16 ports.
Ro ot >
config port name 24 "Port 24"
Error 13: Invalid Port Number
In either case, the command is ignored. The Command Line Interface remains at the po int
it was before the command was entered.
The erro r messages, inc luding error number and error, are listed in Appendix, Erro r
Messages.
16 Handling Command Line Interface Errors
Using the Command Line Interface Help
The question mark (?) c an be used within a command to obtain certain information:
•If the questio n mark is used in place o f a c o mmand keywo rd, all the ke ywords at that
level of the CLI co mmand tree display.
config system ?
Ro ot >
Command identified
contact - sets the system contact attribute
date - sets the system date and time
description - sets the system information string
location - sets the system location attribute
name - sets the system name attribute
show - displays the system configuration
•If the question mark is used at the end of a rec ognized command, any parameters for
that c o mmand display.
config port name ?
Ro ot >
- name <portNumber> <portName>
•If the question mark is used after one or more characters of a keyword, any keywords
at that level o f the CLI command tree display.
Introduction
config s?
Ro ot >
security snmp switch system
Using the Command Line Interface Help 17
Telnet Session
The CLI can only be used through a Telnet c lient session in an o ut-o f-band management
environment, using the Ethernet port in the directo r o r switc h. Although the primary use o f
the CLI is in ho st-based scripting environments, the CLI commands can also be entered
directly at a co mmand line. Any hardware platfo rm that supports the Telnet c lient software
can be used.
Ethernet Connection Loss
If the Ethernet cable is disco nnected from the director or switch during a Telnet sessio n,
one of three scenarios is possible:
•Replace the Ethernet c able before the c lient c onnec tio n times o ut, and the Telnet
session will continue.
•Wait 10 minutes fo r the client connection times out; then replac e the Ethernet c able and
restart the c o nne c tio n.
•If the client c o nnec tion has already timed o ut, open an HP Embedded Web Server (HP
EWS) or HP Surestore Director FC-64 Product Manager window. Toggle the enabled
state of the Command Line Interface (CLI), thereby clearing the client connection.
Restart the c lient connection.
Once the client connectio n is reestablished, verify your co nfiguration’s completeness and
accuracy.
18 Telnet Session
2CLI COMMANDS
Command Overview
config
maint
perf
show
This chapter describes the Command Line Interface co mmands, including their syntax,
purpose, and parameters, as well as examples o f their usage and any o utput that they
generate.
CLI Commands
19
Command Overview
Note that most of the commands in this chapter are listed in alphabetic al o rder to make
them easier to lo cate. Although the co mmands can be entered in any order, depending on
the results desired (so long as the tree structure is followed), the o rder used herein fo r the
zo ning commands fo llo ws a typic al o rder of entry. The various show c o mmands are usually
entered at the end of a group of other co mmands.
NoteThe order in whic h commands are entered determines the o rder in which the
show commands display the values. Therefore, the examples of the output from
the show commands may no t match the order o f the o utput parameters in your
output.
20 Command Overview
config
The c onf ig branc h o f the CLI command tree c ontains c o mmands that set parameter values.
These values are no t tempo rary ( sessio n) values, b ut are retained across po wer c yc les.
The commands in the config branch can by used only by the Administrator.
Note that the c o nfig.zo ning c o mmands func tio n in a different way fro m the o ther CLI
commands, which are single ac tio n c o mmands that take effect immediately. A zoning
configuration is typically too complicated to be described by a single command, so the first
zoning co mmand entered invokes a work area editor. The co mmands take effect on a
temporary copy o f a zone set in the work area until the tempo rary c o py in the work area is
activated to the fabric--or is discarded.
Because not all the verification of the zone set can occur on the temporary copy in the
work area, it is possible, however unlikely, that the co py of the zone set encounters no
erro rs until the zo ne set is activated to the fabric.
config.ip.ethernet
Syntax
CLI Commands
ethernet ipAddress gatewayAddress subnetMask
Purpose
This c o mmand sets the Ethernet netwo rk settings.
Description
NoteThe Telnet c o nnection can be lo st when these Etherne t netwo rk settings are
changed.
config 21
NoteIf the IP address is rec o nfigured, your Telnet client must be rec o nnec ted to the
new IP address. A new login will be requested.
Parameters
This command has three parameters.
ipAddressSpecifies the new IP address for the director or switch. The address must be
entered in dotted decimal format (for example, 10.0.0.0).
gatewayAddressSpecifies the new gateway address for the Ethernet interface. The address
must be entered in dotted decimal format (for example, 0.0.0.0).
subnetMaskSpecifies the new subnet mask for the Ethernet interface. The address must
be entered in dotted decimal format (for example, 255.0.0.0).
Co mmand E x ample
Ro ot >
config ip ethernet 10.0.0.0 0.0.0.0 255.0.0.0
config.ip.show
Syntax
show
Purpose
This command shows the LAN configuration.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
config ip show
22 config
Output
The LAN co nfiguration data is displayed as a table that includes the fo llo wing properties.
IP AddressThe IP address.
Gateway AddressThe gateway address.
Subnet MaskThe subnet mask.
Output Example
The output from the co nfig.ip.show c ommand displays as follows.
IP Address: 10.0.0.0
Gateway Address: 0.0.0.0
Subnet Mask: 255.0.0.0
config.port.blocked
Syntax
blocked portNumber blockedState
Purpose
This command sets the bloc ked state for a po rt.
Parameters
This command has two required parameters.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
blockedState
Specifies the blocked state for the port. Valid values are
Boolean 1 and 0 may be substituted as values.
CLI Commands
true and false.
config 23
Co mmand E x amples
config port blocked 4 false
Ro ot >
Ro ot > config port blocked 4 0
config.port.extDist
Syntax
extDist portNumber extDistOn
Purpose
This c o mmand sets the extended distance state fo r a port.
Description
When the extended distance field is true, the port is configured fo r 60 buffer credits, whic h
supports a distance of up to 100 km for a 1 GB port.
Parameters
This command has two required parameters.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
extDistOn
Specifies the extended distance state for the port. Valid values are true and
false. Boolean 1 and 0 may be substituted as values.
Co mmand E x amples
Ro ot >
config port extDist 4 false
Ro ot > config port extDist 4 0
24 config
config.port.name
Syntax
name portNumber “portName”
Purpose
This c o mmand sets the name for a port.
Parameters
This command has two required parameters.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
portNameSpecifies the name for the port. The port name must not exceed 24
characters in length.
Co mmand E x ample
Ro ot >
config port name 4 “Sam’s tape drive”
config.port.type
CLI Commands
Syntax
type portNumber portType
Purpose
This command sets the allowed type for a port.
Description
A port can be co nfigured as an F_Port, an E_Port, or a G_Port. If a port is configured as an
F_Po rt, that port canno t be used as an interswitch link, but may attach to a devic e with an
N_Port. If a port is co nfigured as an E_Port, only other switches may attach to that port. If
a port is configured as a G_Port, either a device or another switch may attach.
config 25
Parameters
This command has two required parameters.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
portType
Specifies the type of the port. Valid values are
eport, fport, and gport.
Co mmand E x ample
config port type 4 fport
Ro ot >
config.port.show
Syntax
show portNumber
Purpose
This c o mmand displays the port configuratio n for a single po rt.
Description
This show command, on the config.port branch, displays the current configuration fo r the
specified port.
Parameters
This command has one parameter.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
26 config
Co mmand E x ample
config port show 4
Ro ot >
Output
The po rt configuration is displayed as a table that includes the fo llo wing pro perties.
Port NumberThe port number.
NameThe port name.
Blocked
Extended Distance
Typ e
The blocked state. Valid values are
The extended distance configuration state. Valid values are true and false.
The port type. Valid values are FPort, EPort, and GPort.
true and false.
Output Example
The output from the c o nfig.po rt.sho w c o mmand displays as follo ws.
Port Number: 4
Name: Sam’s tape drive
Blocked: false
Extended distance: false
Type: F Port
config.security.portBinding
config.security.portBinding.bound
Syntax
bound portNumber portBindingState
CLI Commands
Purpose
This command sets the port binding state fo r a given port.
config 27
Parameters
This command has two parameters.
portNumberSpecifies the port number for which the port binding state is being set. Valid
port number values are:
0–63 for the FC-64
portBindingState
Specifies the port binding state as active or inactive. Valid values are
and
false.
true sets the port binding to active. The specified port will be bound to the
WWN configured with the config.security.portBinding.wwn command. If no
WWN has been configured, no devices can log in to that port.
false sets the port binding to inactive. Any device is free to connect to the
specified port in this state, regardless of the WWN setting.
Boolean 1 and 0 may be substituted as values.
Co mmand E x amples
Ro ot >
config security portBinding bound 4 true
Ro ot > config security portBinding bound 4 1
config.security.port Binding.wwn
Syntax
wwn portNumber boundWwn
Purpose
This command configures the single devic e WWN to which a po rt is bo und.
true
28 config
Parameters
This command has two parameters.
portNumberSpecified the port number for which the bound WWN is being set. Valid port
number values are:
0–63 for the FC-64
boundWwnSpecifies the WWN of the device that is being bound to the specified port.
The value must be entered in colon-delimited hexidecimal notation (for
example, 11:22:33:44:55:66:AA:BB).
If the boundWwn is configured and the portBindState is:
Active—only the device described by boundWwn will be able to connect to
the specified port.
Inactive—the WWN is retained, but any device can connect to the specified
port.
Instead of the WWN, either of two values can be entered in this parameter:
attached automatically configures the currently attached device WWN as the
bound WWN.
remove changes the WWN to the default value, 00:00:00:00:00:00:00:00.
Even though this removes the WWN-port association, if the portBindingState
value set with the config.security.portBinding.bound command is still
(the port binding is active), other devices are prevented from logging in to this
port. To allow other devices to log in to this port, use the
config.security.portBinding.bound command to set the portBindingState
parameter to false.
This command sets the name and password for operator-level acc ess.
Parameters
This command has two parameters.
usernameSpecifies the new user name for operator-level login. Default is set to
Operator. This parameter is 1–15 characters. Valid characters include all
characters in the USASCII character set, excluding control characters and
spaces. Spaces are not valid even though quotation marks are used.
password
Specifies the password for operator-level login. Default is set to
This parameter is 1–15 characters. Valid characters include all characters in
the USASCII character set, excluding control characters and spaces. Spaces
are not valid even though quotation marks are used.
This c o mmand adds an SNMP community to the SNMP co nfiguration.
Parameters
This c ommand has five parameters. Up to six community names and trap recipients may be
defined.
commIndexSpecifies the community to be created or edited. Valid values are integers in
the range 1–6.
commNameSpecifies the community name of the community specified by commIndex.
The community name must not exceed 32 characters in length. Valid
characters include all those in the ISO Latin-1 character set. Duplicate
community names are allowed, but the corresponding writeAuthorization
values must match.
writeAuthorizationSpecifies the write authorization state of the community. Valid values are
enabled and disabled. Boolean 1 and 0 may be substituted as values.
34 config
trapRecipientSpecifies the trap recipient. Values must be 4 bytes in dotted-decimal format.
udpPortNumSpecifies the UDP port number to which the director will send traps for each
recipient. The values must be a decimal number; the default value is 162.
Valid values include all legal UDP port numbers.
This co mmand enables or disables the authorization traps to be sent to SNMP management
stations when unauthorized stations try to acc ess SNMP information from the directo r or
switch.
Parameters
This command has one parameter.
enabledState
Specifies whether the authorization traps are enabled. Valid values are
and
false. Boolean 1 and 0 may be substituted as values.
true
Co mmand E x amples
Ro ot >
config snmp authTraps true
Ro ot > config snmp authTraps 1
CLI Commands
config 35
config.snmp.deleteCommunity
Syntax
deleteCommunity commIndex
Purpose
This command entirely deletes a co mmunity from the SNMP
Parameters
This command has one parameter.
commIndexSpecifies the community to be deleted. Valid values are integers in the range
1–6. This value was set in the commIndex parameter of the
config.snmp.addCommunity command. Valid values are integers in the range
1–6.
Co mmand E x ample
Ro ot >
config snmp deleteCommunity 5
config.snmp.show
Syntax
show
Purpose
This command shows the switch SNMP configuration.
Parameters
This command has no parameters.
36 config
Co mmand E x ample
config snmp show
Ro ot >
Output
The switch configuration data is displayed as a table that includes the follo wing properties
commIndexThe community index number.
commNameThe name of the community.
writeAuthorizationThe write authorization state.
trapRecipientThe address of the trap recipient.
udpPortNumThe UDP port number to which the director will send traps for each recipient.
Output Example
The output from the co nfig.snmp.show command displays as follows.
Authorization Traps: Enabled
Index Community Name WriteAuth Trap Recipient UDP Port
All of the config.switch commands, exc ept fo r the co nfig.switch.show command, require
that the switc h first be set of fline. ( Use the maint.system.setOnlineState to set the switc h
offline.) If these commands are entered while the switc h is online, an error message
results.
config.switch.bbCredit
Syntax
bbCredit bbCreditValue
Purpose
This command sets the buffer-to-buffer c redit value for all po rts, except those po rts
configured fo r extended distanc e.
Description
The switc h must be set offline before this co mmand is entered.
Parameters
This command has one parameter.
bbCreditValueSpecifies the new buffer-to-buffer credit value. This parameter must be an
integer in the range 1–60.
Co mmand E x ample
Ro ot >
config switch bbCredit 2
38 config
config.switch.edTOV
Syntax
edTOV timeoutValue
Purpose
This c o mmand sets the E_D_TOV fo r the switch.
Description
The switc h must be set offline before this co mmand is entered.
Spec ial care should be used when scripting this command due to its relationship with
R_A_TOV.
Parameters
This command has one parameter.
timeoutValueSpecifies the new E_D_TOV value. The units for this value are tenths of a
second. This parameter must be an integer in the range 2–600 (0.2 second to
60 seconds), and it must be smaller than the R_A_TOV.
CLI Commands
Co mmand E x ample
Ro ot >
config switch edTOV 4
config.switch.interopMode
Syntax
interopMode interopMode
Purpose
This command sets the Interoperability mo de for the switch.
config 39
Description
The switc h must be set offline before this co mmand is entered.
Parameters
This command has one parameter.
interopMode
Specifies the interoperability mode. Valid values are
mcdata — McDATA Fabric 1.0
open — Open Fabric 1.0
Co mmand E x ample
config switch interopMode open
Ro ot >
config.switch.prefDomainId
Syntax
prefDomainId domainId
Purpose
This command sets the preferred domain ID for the switch.
Description
The switc h must be set offline before this co mmand is entered.
Parameters
mcdata and open:
This command has one parameter.
domainIdSpecifies the new preferred domain ID value. This parameter must be an
integer in the range 1–31.
40 config
Co mmand E x ample
config switch prefDomainId 1
Ro ot >
config.switch.priority
Syntax
priority switchPriority
Purpose
This command sets the switch priority.
Description
The switc h must be set offline before this co mmand is entered.
Parameters
This command has one parameter.
switchPriority
Specifies the switch priority. Valid values are: pri nci pal, default, or
neverprincipal.
principal — sets the numerical switch priority to 1. The switch with a priority
of 1 becomes the principal switch; however, if two or more switches have a
priority of 1, the switch with the lowest WWN becomes the principal switch.
def ault — sets the numerical switch priority to 254. If no switch is set to
principal, the switch with a priority 254 becomes the principal switch;
however, if two or more switches have a priority of 254, the switch with the
lowest WWN becomes the principal switch.
neverprincipal — sets the numerical switch priority to 255. This switch is
not able to become the principal switch.
Note that at least one switch in a multiswitch fabric must have a switch
priority value of principal or default.
Note that the number codes 2–253 are not now in use.
CLI Commands
config 41
Co mmand E x ample
config switch priority principal
Ro ot >
config.switch.raTOV
Syntax
raTOV timeoutValue
Purpose
This c o mmand sets the R_A_TOV fo r the switch.
Description
The switc h must be set offline before this co mmand is entered.
Spec ial care should be used when scripting this command due to its relationship with
E_D_ TOV.
Parameters
This command has one parameter.
timeoutValueSpecifies the new R_A_TOV value. The units for this value are tenths of a
second. This parameter must be an integer in the range 10–1200 (1 second
to 120 seconds), and it must be larger than the E_D_TOV.
Co mmand E x ample
Ro ot >
config switch raTOV 20
42 config
config.switch.rerouteDelay
Syntax
rerouteDelay rerouteDelayState
Purpose
This command enables or disables rerouting delay fo r the switc h.
Description
The switc h must be set offline before this co mmand is entered.
This command is o nly applic able if the configured switch is in a multiswitc h fabric .
Enabling the rerouting delay ensures that frames are delivered in order through the fabric
to their destination.
If there is a c hange to the fabric topo lo gy that creates a new path (for ex ample, a new
switc h is added to the fabric), frames may be ro uted o ver this new path if its hop count is
less than a previous path with a minimum hop c o unt. This may result in frames being
delivered to a destination out of order because frames sent over the new, shorter path may
arrive ahead of older frames still in route over the older path.
If rerouting delay is enabled, traffic ceases in the fabric fo r the time specified in the
config.switch.edTOV command. This delay allows frames sent o n the old path to exit to
their destinatio n bef ore ne w frames be gin traversing the new path. Note that during this
delay period, frames addressed to the destinations that are being rerouted are discarded if
they are Class 3 frames and rejected if they are Class 2 or Class F frames.
CLI Commands
Parame ter
This command has one parameter.
rerouteDelayState
Specifies whether Rerouting Delay is enabled. Valid values are
false. Boolean 1 and 0 may be substituted as values.
true and
config 43
Co mmand E x amples
config switch rerouteDelay true
Ro ot >
Ro ot > config switch rerouteDelay 1
config.switch.show
Syntax
show
Purpose
This command shows the switch co nfiguration.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
config switch show
Output
The switch configuration data is displayed as a table that includes the fo llo wing properties.
BB CreditThe maximum number of outstanding frames that can be transmitted without
causing a buffer overrun condition at the receiver.
R_A_TOVResource Allocation Time Out Value.
This value is set in tenths of a second.
E_D_TOVError Detect Time Out Value.
This value is set in tenths of a second.
Preferred Domain Id The preferred domain ID of the switch.
Switch PriorityThe switch priority. Values are Principal, Default, or Never Principal.
44 config
Rerouting DelayThe rerouting delay that ensures that frames are delivered in order through
the fabric to their destination. Values are Enabled or Disabled.
Interop ModeInteroperability mode for the switch.
Output Example
The output from the c o nfig.switch.show command displays as follows.
systemDescriptionSpecifies the new system description string for the director or switch. The
name can contain 0–255 characters.
Co mmand E x ample
config system description “HP Surestore Director FC-64”
Ro ot >
NoteThe value “HP Suresto re Director FC-64” in the command example can be any
user specified value.
CLI Commands
config.system.location
Syntax
location “systemLocation”
Purpose
This c o mmand sets the system lo c atio n attribute.
config 47
Parameters
This command has one parameter.
systemLocationSpecifies the new system location for the director or switch. The location can
contain 0–255 characters.
Co mmand E x ample
config system location “Everywhere”
Ro ot >
config.system.name
Syntax
name “systemName”
Purpose
This c o mmand sets the system name attribute.
Parameters
This command has one required parameter.
systemNameSpecifies the new system name for the director or switch. The name can
contain 0–24 characters.
Co mmand E x ample
config system name “Joe’s Switch”
Ro ot >
config.system.show
Syntax
show
48 config
Purpose
This command shows the system configuration.
Parameters
This command has no parameters.
Co mmand E x ample
config system show
Ro ot >
Output
The system c o nfiguration is displayed as a table that includes the fo llo wing properties.
NameThe system name.
DescriptionThe system description.
ContactThe system contact.
LocationThe system location.
Date/TimeThe system date and time.
CLI Commands
Output Examples
The output from the co nfig.system.show c ommand displays as follows.
Name: Joe’s Switch
Description: HP Surestore Director FC-64
Contact: Joe
Location: Everywhere
Date/Time: 04/16/2001 10:34:01
config 49
config.zoning
Note that the c o nfig.zo ning c o mmands func tio n in a different way fro m the o ther CLI
commands, which are single actio n c o mmands that take effect immediately. A zo ning
configuration is typically too complicated to be described by a single command, so the first
zoning command entered invokes a work area editor. The commands take effect on a
temporary copy o f a zone set in the wo rk area until the tempo rary c o py in the work area is
activated to the fabric--or is discarded.
Because not all the verification of the zone set can occur on the temporary copy in the
work area, it is possible, however unlikely, that the co py of the zone set encounters no
erro rs until the zo ne set is activated to the fabric.
config.zoning.setDefZoneState
Syntax
setDefZoneState defaultZoneState
Purpose
This command enables or disables the default zone and takes effec t immediately fabric
wide.
Description
NoteThis command takes effect immediately in the fabric.
Parameters
This command has one parameter.
defaultZoneState
50 config
Specifies whether the default zone is enabled. Valid values are
false. Boolean 1 and 0 may be substituted as values.
true and
Co mmand E x amples
config zoning setDefZoneState false
Ro ot >
Ro ot > config zoning setDefZoneState 0
config.zoning.activateZoneSet
Syntax
activateZoneSet
Purpose
This c o mmand ac tivates the zone se t contained in the work area to the fabric and takes
effect immediately.
Description
NoteThis command takes effect immediately in the fabric.
Parameters
CLI Commands
This command has no parameters.
Co mmand E x ample
Ro ot >
config zoning activateZoneSet
config 51
config.zoning.deactivateZoneSet
Syntax
deactivateZoneSet
Purpose
This command places all attached devices in the default zone and takes effec t immediately
fabric wide.
Description
The default zone must be ac tivated independently of this command.
NoteThis command takes effect immediately in the fabric.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
config zoning deactiveZoneSet
config.zoning.replaceZoneSet
Syntax
replaceZoneSet
Purpose
This c o mmand replac es the work area with the ac tive zone set that is c urrently loaded on
the fabric .
52 config
Parameters
This command has no parameters.
Co mmand E x ample
config zoning replaceZoneSet
Ro ot >
config.zoning.clearZoneSet
Syntax
clearZoneSet
Purpose
This c o mmand clears the zone set c o ntaine d in the wo rk area, removing all zo nes, and
takes effect immediately.
Description
This c o mmand does no t c hange the zo ne set name.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
config zoning clearZoneSet
CLI Commands
config 53
config.zoning.addZone
Syntax
addZone “zoneName”
Purpose
This c o mmand adds a new ( empty) zone to the zone set in the work area.
Description
Changes are no t activated on the switc h until the co nfig.zo ning.activateZo neSet c o mmand
is issued. The CLI supports the number of zones per zone set specified for a given product.
Parameters
This command has one parameter.
zoneNameSpecifies the name of the new zone. The zoneName must contain 1–64
characters. Valid characters are:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345
6789$-^_
Spaces are not permitted, and the first character must be alphabetical.
Co mmand E x ample
config zoning addZone TheUltimateZone
Ro ot >
config.zoning.deleteZone
Syntax
deleteZone “zoneName”
Purpose
This c o mmand deletes a zone fro m the zone set in the wo rk area.
54 config
Description
Changes are not activated on the switch until the config.zoning.activeZoneSet c ommand is
issued.
Parameters
This command has one parameter.
zoneNameSpecifies the name of the zone to be deleted.
Co mmand E x ample
config zoning deleteZone TheLeastUltimateZone
Ro ot >
config.zoning.renameZoneSet
Syntax
renameZoneSet “zoneSetName”
Purpose
This c o mmand c hanges the name of the zone set in the wo rk area.
CLI Commands
Description
Changes are no t activated on the switc h until the co nfig.zo ning.activateZo neSet c o mmand
is issued.
Parameters
This command has one parameter.
zoneSetNameSpecifies the new name for the zone set. The zoneSetName must contain
1-64 characters. Valid characters are:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345
6789$-^_
Spaces are not permitted, and the first character must be alphabetical.
config 55
Co mmand E x ample
config zoning renameZoneSet TheUltimateZoneSet
Ro ot >
config.zoning.addWwnMem
Syntax
addWwnMem “zoneName” wwn
Purpose
This command adds a world-wide name zo ne member to the spec ified zo ne in the wo rk
area.
Description
The CLI supports the number o f zones members per zone spec if ied for a given pro duc t.
Parameters
This command has two parameters.
zoneNameSpecifies the name of the zone.
wwnThe world-wide name of the member to be added to the zone. The value of
the WWN must be in colon-delimited hexidecimal notation (for example,
AA:00:AA:00:AA:00:AA:00).
This c ommand sho ws the zoning c o nfiguratio n in the work area o f the zone set that has no t
yet been ac tivated.
60 config
Parameters
This command has no parameters.
Co mmand E x ample
config zoning showPending
Ro ot >
Output
The zoning co nfiguration data is displayed as a table that includes the following properties.
Local ZoneSetThe enabled status, name, and member zones of the zone set.
Output Example
The output from the c o nfig.zo ning.sho wPending co mmand displays as follows.
Pending Zone Set
Default Zone Enabled: False
ZoneSet: TheNewUltimateZoneSet
Zone: TheNewUltimateZone
ZoneMember: Domain 10, Port 6
ZoneMember: Domain 15, Port 2
Zone: TheNewNotSoUltimateZone
ZoneMember: 10:00:00:00:C9:22:9B:AB
ZoneMember: 10:00:00:00:C9:22:9B:C6
ZoneMember: 10:00:00:00:C9:22:9B:AB
Zone: TheNewNotUltimateAtAllZone
ZoneMember: Domain 2, Port 63
CLI Commands
config 61
config.zoning.showActive
Syntax
showActive
Purpose
This command shows the zoning configuration saved on the fabric.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
config zoning showActive
Output
The zoning co nfiguration data is displayed as a table that includes the following properties.
Active ZoneSetThe enabled status, name, and member zones of the zone set.
62 config
Output Example
The output from the config.zoning.showActive command displays as follows.
Active Zone Set
Default Zone Enabled: False
ZoneSet: TheUltimateZoneSet
Zone: TheUltimateZone
ZoneMember: Domain 10, Port 6
ZoneMember: Domain 15, Port 2
ZoneMember: Domain 2, Port 63
ZoneMember: 10:00:00:00:C9:22:9B:64
ZoneMember: 10:00:00:00:C9:22:9B:BD
Zone: TheNotSoUltimateZone
ZoneMember: 10:00:00:00:C9:22:9B:AB
ZoneMember: 10:00:00:00:C9:22:9B:C6
ZoneMember: 10:00:00:00:C9:22:9B:AB
Zone: TheNotUltimateAtAllZone
ZoneMember: Domain 2, Port 63
CLI Commands
config 63
maint
The maint branch of the CLI command tree contains commands that relate to maintenanc e
ac tivities.
The co mmands in the maint branch c an be used only by the Administrator.
Note that the maint.system.resetCo nfig c o mmand resets all configuratio n data and no nvolatile settings, inc luding netwo rk info rmation, to their default values ( facto ry settings) .
Management access may be lo st until the network informatio n is resto red.
maint.port.beacon
Syntax
beacon portNumber beaconState
Purpose
This command enables or disables port beaconing for a particular port.
Parameters
This command has two required parameters.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
beaconState
Co mmand E x amples
Ro ot >
Ro ot > maint port beacon 4 0
64 maint
Specifies whether unit beaconing is enabled. Valid values are
Boolean 1 and 0 may be substituted as values.
maint port beacon 4 false
true and false.
maint. port.reset
Syntax
reset portNumber
Purpose
This command resets an individual port.
Description
This command resets an individual port without affecting any other ports. Ho wever, if a
device is attached to the po rt and the device is online, the reset c auses a link reset to o ccur.
If the port is in a failed state ( that is, after failing a loopback test) , the reset restores the
port to an operational state. The reset also clears all statistics counters and disables port
beaco ning fo r the specified port.
Parameters
This command has one parameter.
portNumberSpecifies the port number to be reset. Valid values are:
0–63 for the FC-64
CLI Commands
Co mmand E x ample
maint port reset 4
Ro ot >
maint.system.beacon
Syntax
beacon beaconState
Purpose
This command enables or disables unit beaconing.
maint 65
Parameters
This command has one parameter.
beaconState
Specifies whether unit beaconing is enabled. Valid values are
Boolean 1 and 0 may be substituted as values.
Co mmand E x amples
maint system beacon false
Ro ot >
Ro ot > maint system beacon 0
maint.system.clearSysError
Syntax
clearSysError
Purpose
This command clears the system error light.
Parameters
This command has no parameters.
true and false.
Co mmand E x ample
Ro ot >
maint system clearSysError
66 maint
maint.system.ipl
Syntax
ipl
Purpose
This command IPLs the switc h.
Description
NoteConnec tio n to the c o mmand line interfac e is lost when this co mmand runs.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
maint system ipl
maint.system.resetConfig
Syntax
resetConfig
Purpose
This command resets all NV-RAM co nfiguration parameters to their default values.
Description
This c o mmand IPLs the switc h. Co nnection fro m the c o mmand line interfac e to the switch
is lost when this c ommand runs.
CLI Commands
maint 67
NoteThis command resets all configuration data and non-volatile settings, including
network info rmatio n, to their default values ( factory settings). Management
access may be lost until the netwo rk information is resto red.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
maint system resetConfig
maint.system.setOnlineState
Syntax
setOnlineState onlineState
Purpose
This command sets the switch online or offline.
Parameters
This command has one parameter.
onlineState
Specifies whether the switch is online. Valid values are
Boolean 1 and 0 may be substituted as values.
Co mmand E x amples
Ro ot >
maint system setOnlineState true|
Ro ot > maint system setOnlineState 1
68 maint
true and false.
perf
The perf branch of the CLI co mmand tree c ontains co mmands that relate to performance
services.
The c o mmands in the perf branch can by used by either the Administrato r o r the Operato r.
perf.class2
Syntax
class2
Purpose
This command displays port Class 2 counters for all ports.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
perf class2
Output
The po rt Class 2 co unter data is displayed as a table that includes the fo llo wing pro perties.
Port The port number.
Rx FramesThe number of Fibre Channel Class 2 frames that the port has received.
Tx FramesThe number of Fibre Channel Class 2 frames that the port has transmitted.
Rx WordsThe number of Class 2 4-byte words within frames that the port has received.
TX WordsThe number of Class 2 4-byte words within frames that the port has
transmitted.
CLI Commands
perf 69
Busied FrmsThe number of times that FBSY was returned to this port as a result of a
Class 2 frame that could not be delivered to the other end of the link. This
occurs if either the fabric or the destination port is temporarily busy.
Rjct FramesThe number of times that FRJT was returned to this port as the result of a
Class 2 frame that was rejected by the fabric.
Output Example
The output from the perf.class2 command displays as follows.
Port Rx Frames Tx Frames Rx Words Tx Words Busied Frms Rjct Frames
This command resets all port statistics fo r an individual port or fo r all po rts.
Parameters
This c o mmand has to ne parameter.
portNumberSpecifies the port number. Valid values are:
0–63 for the FC-64
all for every port on the director or switch
72 perf
Co mmand E x ample
perf clearStats 4
Ro ot >
Ro ot > perf clearStats all
perf.errors
Syntax
errors
Purpose
This command displays port error co unters for all ports.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
perf errors
CLI Commands
Output
The port error counter data is displayed as a table that includes the following properties.
Port The port number.
Prim Seq ErrThe number of state machine protocol errors detected by the port hardware.
Disc FrmsThe number of received frames discarded due to a frame size of less than
size words or to frames dropped because the BB credit was zero. This
number is counted during the first round of frame verification and applies to
both Class 2 and Class 3 traffic.
Inv Tx WrdsThe number of 10-bit transmission words that the port is unable to map to 8-
bit bytes because of disparity errors or misaligned K characters while in the
OL2 or OL3 state.
perf 73
CRC ErrsThe number of frame CRC errors detected by the port.
Dlim ErrsThe number of invalid frame delimiters (SOF or EOF) received by the port.
Addr Id ErrsThe number of frames received with unknown addressing.
Output Example
The output from the perf.errors c o mmand displays as follo ws.
Port Prim Seq Err Disc Frms Inv Tx Wrds CRC Errs Delim Errs Addr Id Errs
The show branch of the CLI command tree contains commands that display, but do not
change, stored data values. Note that the displayed o utput that results from these
commands is not identical with the output fro m the show c o mmands that are within the
other CLI command tree branches, for example, config.port.show.
The co mmands in the show branch can by used by either the Administrator or the
Operator.
show.eventLog
Syntax
eventLog
Purpose
This c o mmand shows the contents o f the event lo g as maintained in NV-RAM on the
director or switch.
Parameters
This command has no parameters.
Co mmand E x ample
show eventLog
Ro ot >
78 show
Output
The event log data are displayed as a table that includes the fo llo wing properties.
Date/TimeThe date and time when the event occurred.
CodeThe event reason code.
SeverityThe severity of the event. The values are:
Major—Unit operational (major failure).
Minor—Unit operational (minor failure).
Severe—Unit not operational. The causes are either the switch contains no
operational SBAR cards or the system shutdowns due to CTP thermal
threshold violations.
Info—Unit operational (information only).
FRUThe FRU and FRU position, where applicable.
Event DataThe 32-byte hexidecimal description of the event in words.
Output Example
The output from the show.eventLog command displays as follows.
The FRU information is displayed as a table that includes the follo wing properties.
FRUThe FRU name. NotInstalled means the FRU is not installed.
PositionThe relative position of the FRU, that is, its slot.
State
The state of the FRU. Values are:
Active—the current module is active.
Backup—this module is not currently being used, but it is available for
immediate failover.
Failed—the current module is failed.
Serial NumThe serial number of the FRU.
Part NumThe part number of the FRU.
BeaconingThe beaconing state of the FRU (true or false).
Pwr On HrsThe power-on hours value for the FRU.
80 show
Output Example
The output from the show.frus command displays as follows.
FRU Position State Serial Num Part Num Beaconing Pwr On Hrs
-------- -------- ------ ---------- -------------- --------- ---------CTP 1 Active 21234560 A6534-67005 false 892
CTP 0 Backup 21234561 A6534-67005 false 766
SBAR 1 Active 31234560 A6534-67007 false 890
SBAR 0 Backup 31234561 A6534-67007 false 891
NotInst 13
NotInst 14
NotInst 15
Power 0 Active 61234560 A6534-67008 false 799
Power 1 Active 61234561 A6534-67008 false 799
Fan 0 Active 51234560 A6534-67004 false 0
Fan 1 Active 51234561 A6534-67004 false 0
Backplane 0 Active 11234560 A6534-67006 false 891
show.ip.ethernet
Syntax
ethernet
Purpose
CLI Commands
This command displays ethernet attributes.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
show ip ethernet
show 81
Output
The Ethernet attributes data is displayed as a table that inc ludes the fo llo wing pro pe rties.
IP AddressThe IP address for the Ethernet adapter as set in the config.ip.ethernet
command.
Gateway AddressThe gateway address for the Ethernet adapter as set in the config.ip.ethernet
command.
Subnet MaskThe subnet mask for the Ethernet adapter as set in the config.ip.ethernet
command.
Output Example
The o utput fro m the sho w.ip.e thernet c o mmand displays as fo llows.
LAN Information
IP Address: 144.49.10.15
Gateway Address: 144.49.10.1
Subnet Mask: 255.255.255.0
show.loginServer
Syntax
loginServer
Purpose
This command displays information fro m the lo gin server database for devic es attached to
this switc h.
Parameters
This command has no parameters.
82 show
Co mmand E x ample
show loginServer
Ro ot >
Output
The devic e information is displayed as a table that includes the follo wing properties.
Port The port number where the device is attached.
BB CrdtThe maximum number of remaining frames that can be transmitted without
causing a buffer overrun condition at the receiver.
RxFldSzThe buffer-to-buffer receive data field size from the FLOGI received from the
attached N_Port.
COSThe class of service (for example, 1; 2; 3; 4; 5; 6; F; 1,2; 2,3).
Port NameThe port world-wide name of the attached device.
Node NameThe node world-wide name of the attached device.
Output Example
The output from the sho w.lo ginServer c ommand displays as fo llows.
This command displays information from the name server database for devices attached to
this switc h.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
show nameServer
Output
The devic e information data is displayed as a table that includes the follo wing properties.
Type The type (N, NL, F/NL, F, FL, E, B).
Port IdThe 24-bit Fibre Channel address.
Port NameThe port world-wide name of the attached device.
Node NameThe node world-wide name of the attached device.
COSThe class of service (for example, 1; 2; 3; 4; 5; 6; F; 1,2; 2,3).
FC4 TypesThe FC4 types registered for this device. The numbers in this field
correspond to the list at the bottom of the table.
84 show
Output Example
The output from the show.nameServer co mmand displays as follo ws.
Type Port Id Port Name Node Name COS FC4 Types
---- ------- ----------------------- ----------------------- --- --------N 010400 00:11:22:33:44:55:00:77 20:11:22:33:44:55:66:77 2,3 2
N 010500 00:11:22:33:44:55:01:77 20:11:22:33:44:55:66:77 2,3 0
N 010600 00:11:22:33:44:55:66:02 20:11:22:33:44:55:66:77 2,3 2
N 010700 00:11:22:33:44:55:66:03 20:11:22:33:44:55:66:77 2 2
N 010800 00:11:22:33:44:55:66:04 20:11:22:33:44:55:66:77 3 2
N 010900 00:11:22:33:44:55:66:77 20:11:22:33:44:55:66:77 3 2
N 010C00 00:11:22:33:44:55:66:07 20:11:22:33:44:55:66:77 2,3 2
N 010D00 00:11:22:33:44:55:66:08 20:11:22:33:44:55:66:77 2,3 2
N 010E00 00:11:22:33:44:55:66:09 20:11:22:33:44:55:66:77 2 5
N 010F00 00:11:22:33:44:55:66:0A 20:11:22:33:44:55:66:77 2 4
N 011200 00:11:22:33:44:55:66:77 20:11:22:33:44:55:66:77 2,3 2
N 011300 00:11:22:33:44:55:66:77 10:11:22:33:44:55:66:77 2,3 2
FC4 Types
0: ISO/IEC 8802-2 LLC/SNAP (in order)
1: ISO/IEC 8802-2 LLC/SNAP (misordered)
2: SCSI-FCP
3: SCSI-GPP
4: IPI-3 Master
5: IPI-3 Slave
6: IPI-3 Peer
7: CP IPI-3 Master
8: CP IPI-3 Slave
9: CP IPI-3 Peer
10: SBCCS-Channel
11: SBCCS-Control Unit
12: FC-SB-2 Channel to Control Unit
13: FC-SB-2 Control Unit to Channel
14: Fibre Channel Service
15: FC-FG
16: FC-SW
17: FC-AL
18: SNMP
19: HIPPI-FP
20: Vendor Unique
CLI Commands
show 85
show.port.config
Syntax
config
Purpose
This command shows the po rt configuration fo r all ports.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
show port config
Output
The po rt configuration attributes are displayed as a table that includes the follo wing
properties.
PortThe port number.
NameThe name of the port as set in the config.port.name command.
BlockedThe blocked state of the port as set in the config.port.blocked command.
Ext DistThe extended distance state as set in the config.port.extDist command.
TypeThe port type as set in the config.port.type command.
86 show
Output Example
The output from the sho w.po rt.config command displays as follows.
Port Name Blocked Ext Dist Type
---- ------------------------ ------- -------- ----0 Port 1 false false fPort
1 Port 2 true true fPort
2 Port 3 false false gPort
3 Port 4 false false fPort
4 Port 5 true true fPort
5 Port 6 false false fPort
6 Port 7 true true fPort
7 Port 8 false false fPort
8 Port 9 false true fPort
9 Port A false false fPort
10 Port B false false fPort
11 Port C false false fPort
12 Port D false false fPort
13 Port E false false fPort
14 Port F false false fPort
15 Port X false false fPort
show.port.info
Syntax
CLI Commands
info
Purpose
This command displays port information for all po rts.
Parameters
This command has no parameters.
Co mmand E x ample
Ro ot >
show port info
show 87
Output
The po rt information data is displayed as a table that includes the fo llo wing properties.
Port The port number.
WWNThe world-wide name of the port.
OpSpeedThe current operating speed (1G, where G represents gigabits).
SpeedCapThe current transceiver capability speed (1G or 2G, where G represents
gigabits).
Output Example
The output from the show.port.info co mmand displays as fo llows.