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 Flex System Enterprise Chassis, including how many CMMs are installed in the Flex System Enterprise 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.

Table 1. list command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

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 Flex System Enterprise 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
  • all or a for full tree display, starting at the command target level
  • a number from 1 to 255 , inclusive, to display a specific number of levels below the current command target. For example, 2 displays the content of the current command target plus one level below it.
Any installed device.
Example: To display a list of devices installed in the Flex System Enterprise Chassis, while the Flex System Enterprise Chassis is set as the persistent command environment, at the system> prompt, type
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>