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

Storage Essentials 5.1 CLI Guide 67
Switches
Use the following types of CLI commands to obtain information about switches:
appiqlist - Lists information about the components of the switch
appiqshow - Provides a detailed description of the components in the switch
appiqlist -device -switch -all
Description: Lists the switches the management server detects.
Example:
C:\cli>appiqlist -device -switch -all
Switch:1005:QBrocade2
Switch:1007:QBrocade5
Switch:1008:AppIQ_ED-6064
Switch:1011:AppIQ_ES-3016
Switch:1012:QBrocade3
Switch:1013:QBrocade4
Switch:1014:QBrocade1
The number after the first colon is the identifier for the element. The item after the second colon is
the name of the element.
appiqlist -device -switch <switch id>
where <switch id> is the switch identifier. The switch identifier can be obtained from several
methods, such as from the appiqlist -device -switch -all command.
Description: Provides the name of the switch specified by the switch identifier.
Example:
C:\cli>appiqlist -device -switch 1007
Switch:1007:QBrocade5
The number after the first colon is the identifier for the element. The item after the second colon is
the name of the element.
appiqlist -device -switch <switch id> -all
where <switch id> is the switch identifier. The switch identifier can be obtained from several
methods, such as from the appiqlist -device -switch -all command.
Description: Lists the elements associated with the specified switch, such as ports, zones, zone
aliases and zone sets.