HP Storage Essentials V5.1 CLI Guide First Edition (T4283-96029, August 2006)

Storage Essentials 5.1 CLI Guide 61
Sort All Zones in All Fabrics by Zone Name
To sort all zones in all fabrics by zone name, enter the following at the command prompt:
# appiqlist -fabric -all -zone | grep "^Zone:" | cut -d':' -f3 | sort
The software displays the following:
BobsLP8000_FA13B
BobsLP8000_FA13B
Challenger_FA13A
Challenger_FA16A
The names of the zones are displayed.
Display Model Numbers of All Switches
To display the model numbers of all switches, enter the following at the command prompt:
# appiqshow -fabric -all -switch | grep "^Model:" | cut -d':' -f2 | sort |
uniq -c | sort -rn
The software displays the following:
5 SilkWorm 2800
2 SilkWorm 3800
2 SilkWorm 2400
1 5000.001
The first item is the number of switches of that type. The second item is the model name.
Storage Systems
Use the following types of CLI commands to obtain information about storage systems:
appiqlist - Lists information about the components of the storage system.
appiqshow - Provides a detailed description of the components in the storage system.
appiqstats - Provides statistics about a storage system or its components, such as a storage
pool.
appiqlist -device -storagesystem -all
Description: Provides a list of the storage systems the management server detects.
Example:
C:\cli>appiqlist -device -storagesystem -all
StorageSystem:1000:HDS9910@192.168.1.236
StorageSystem:1001:000183500570 (Symm48:3830)
StorageSystem:1006:LSI2400
StorageSystem:1009:LSI4600
The number after the first colon is the identifier for the element. The item after the second colon is
the name of the element.