list command
This command displays a list of devices present within the command target. It can be used to determine the physical configuration of the Lenovo Flex System chassis, including how many CMMs are installed in the Lenovo Flex System chassis and which CMM is set as primary.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or list command errors for a list of error messages that are specific to the list command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
View command target | Displays the current command target. If a CMM bay is the current command target, it will be identified as primary or standby (redundant). | list | Any installed device. |
View system configuration tree | Displays the tree structure of devices present in the Lenovo Flex System chassis, starting at the command target level. If CMM bays are part of the tree, they will be identified as primary or standby (redundant). For components that have been assigned a name, this name will be displayed next to the component bay number. | list -l depth where depth is
| Any installed device. |
list -l a
(This is the command syntax that can be used to determine the primary CMM.)
The following example shows the information that is returned when the command is run on a CMM:
system> list -l a
system
mm[1] primary
mm[2] standby
power[1]
power[2]
power[3]
power[4]
blower[1]
blower[2]
switch[1]
switch[2]
switch[3]
switch[4]
blade[1] Accounting
sp
cpu[1]
cpu[2]
blade[2] HR
sp
cpu[1]
cpu[2]
blade[3] Development
sp
cpu[1]
blade[4] Marketing
sp
cpu[1]
cpu[2]
blade[5] Sales
sp
cpu[1]
cpu[2]
blade[6] TechSupport
sp
exp[2]
cpu[1]
cpu[3]
cpu[4]
mt[1]
system>