Understanding the Command Syntax

This section describes the steps to take when you enter a command.

Software command syntax is described in detail in the Switch Engine 32.7.1 Command Reference Guide . Some commands are also included in this guide in order to describe how to use OS software features. However, only a subset of commands are described here, and in some cases only a subset of the options that a command supports. You should consider the Switch Engine 32.7.1 Command Reference Guide as the definitive source for information on commands.

You can enter configuration commands at the # prompt. At the > prompt, you can enter only monitoring commands, not configuration commands. When you log in as admin (which has read and write access), you see the # prompt. When you log in as user (which has only read access), you will see the > prompt. When the switch is booting up, you may see the > command prompt. When the bootup process is complete, the # prompt is displayed.

Note

Note

The CLI is limited for the 4000 Series (4120 Series and 4220 Series). When you log in as admin on 4000 Series models, you will see the = prompt, and can only enter basic commands. See the 4000 Series User Guide for more information about available commands.

When you enter a command at the prompt, ensure that you have the appropriate privilege level.

Most configuration commands require you to have the administrator privilege level. For more information on setting CLI privilege levels, see the create account, configure account, and configure account [all | name] privilege [admin | user] commands.