Cisco UCS Manager CLI Command Reference, Release 1.0(2)
Overview of Cisco UCS Manager CLI
Downloads: This chapterpdf (PDF - 336.0 KB) The complete bookPDF (PDF - 4.03 MB) | Feedback

Overview of Cisco UCS Manager CLI

Overview of Cisco UCS Manager CLI

This chapter includes the following sections:

Managed Objects

Cisco UCS uses a managed object model, where managed objects are abstract representations of physical or logical entities that can be managed. For example, servers, chassis, I/O cards, and processors are physical entites represented as managed objects, and resource pools, user roles, service profiles, and policies are logical entites represented as managed objects.

Managed objects may have one or more associated properties that can be configured.

Complete a Command

You can use the Tab key in any mode to complete a command. Partially typing a command name and pressing Tab causes the command to be displayed in full, or to the point where another keyword must be chosen or an argument value must be entered.

Command History

The CLI stores all previously used commands in the current session. You can step through the previously used commands by using the Up Arrow or Down Arrow keys. The Up Arrow key steps to the previous command in the history, and the Down Arrow key steps to the next command in the history. If you get to the end of the history, pressing the Down Arrow key does nothing.

All commands in the history can be entered again by simply stepping through the history to recall the desired command and pressing Enter. The command is entered as if you had manually typed it. You can also recall a command and change it before you enter it.

Command Modes

The CLI is organized into a hierarchy of command modes, with the EXEC mode being the highest-level mode of the hierarchy. Higher-level modes branch into lower-level modes. You use create, enter, and scope commands to move from higher-level modes to modes in the next lower level , and the exit command to move up one level in the mode hierarchy.


Most command modes are associated with managed objects, so you must create an object before you can access the mode associated with that object. You use create and enter commands to create managed objects for the modes being accessed. The scope commands do not create managed objects, and can only access modes for which managed objects already exist.

Each mode contains a set of commands that can be entered in that mode. Most of the commands available in each mode pertain to the associated managed object. Depending on your assigned role and locale, you may have access to only a subset of the commands available in a mode; commands to which you do not have access are hidden.

The CLI prompt for each mode shows the full path down the mode hierarchy to the current mode. This helps you to determine where you are in the command mode hierarchy, and can be an invaluable tool when you need to navigate through the hierarchy.

The following table lists the main command modes, the commands used to access each mode, and the CLI prompt associated with each mode.

Table 1 Main Command Modes and Prompts

Mode Name

Commands Used to Access

Mode Prompt


top command from any mode



enter chassis and scope chassis commands from EXEC mode

/chassis #

Ethernet server

enter eth-server and scope eth-server commands from EXEC mode

/eth-server #

Ethernet uplink

enter eth-uplink and scope eth-uplink commands from EXEC profile mode

/eth-uplink #

Fibre Channel uplink

enter fc-uplink and scope fc-uplink commands from EXEC profile mode

/fc-uplink #


enter firmware and scope firmware commands from EXEC profile mode

/firmware #


enter monitoring and scope monitoring commands from EXEC profile mode

/monitoring #


create org, enter org, and scope org commands from EXEC profile mode

/org #


enter security and scope security commands from EXEC profile mode

/security #


enter fabric-interconnect and scope fabric-interconnect commands from EXEC profile mode

/fabric-interconnect #


enter system and scope system commands from EXEC profile mode

/system #

Online Help for the CLI

At any time, you can type the ? character to display the options available at the current state of the command syntax. If you have not typed anything at the prompt, typing ? lists all available commands for the mode you are in. If you have partially typed a command, typing ? lists all available keywords and arguments available at your current position in the command syntax.