HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 67
Arguments [-security]
Displays all port names and their security switch status.
[-address]
Displays all port names and their Fibre Channel addresses (AL-PA and loop ID values).
[-topology]
Displays all port names and their Fibre Channel topologies. The topology column displays the
fabric switch status (ON or OFF) and the topology (FC-AL or point-to-point).
[-hostgrp]
Displays all ports, all configured host groups for each port and the host mode name for each host
group. This option cannot be used with -address, -topology, or -security.
[-port <portname...>]
Used with other options (-address, -topology, -security, -hostGrp, or only with list
port) to display only specific ports. You can specify <portname> as one port, a set of ports, or
a range of ports (for example, 1A or 1A:1C:1D or 1A-1E). Port names must be specified in
truncated form (for example, 1A and not CL1-A) because the hyphen (-) is used to specify a
range. If you use the -port option without a port name, an error message is generated.
[-cmd <cmdname>] or [-category <cmdcategory>]
Displays the output with the command name or category appended at the beginning of the
record with no headers. When used with -csv and -o, the formatted output obtained can be
used as input.
Example No options
list port without any options displays all port names.
PortName
CL1-A
CL1-B
CL1-a
CL1-b
-l option
list port with the -l option displays all port names and the information associated with each
port (PortName, Type Address, Topology, Wwn, ChannelSpeed, Security).
PortName Type Address Topology Wwn ChannelSpeed Security
CL1-A Fibre EF(0) Fabric ON & Point-to-Point wwn1 4 GB Fibre Mode ON
CL1-B Fibre E2(3) Fabric ON & FC-AL wwn2 1GB Fibre Mode ON
CL1-a Fibre 73(63) Fabric OFF & Point-to-Point wwn3 Auto Mode ON
CL1-b Fibre EF(0) Fabric OFF & FC-AL wwn6 1GB Fibre Mode ON
[-security]
PortNameSecurity
CL1-A ON
CL1-B OFF
CL1-a OFF
CL1-b ON
The -l option produces the same output as list port -l.