Chapter 3. Understanding the Command Line Interface (CLI)
The switch utilizes Command Line Interface (CLI) to provide access to several different command modes. Each command mode provides a group of related commands.
After logging into the system, the user is automatically in the user top (user EXEC) mode. From the user top mode you can enter into the privileged top (privileged EXEC) mode. From the privileged EXEC level, you can access the global configuration mode and specific configuration modes: interface, router, and
Document Conventions
Command descriptions use the following conventions:
•Vertical bars ( ) separate alternative, mutually exclusive, elements
•Square brackets ([ ]) indicate optional elements
•Braces ({ }) indicate a required choice
•Braces within square brackets ([{ }]) indicate a required choice within an optional element
•Boldface indicates commands and keywords that are entered literally as shown
•Italics indicate arguments for which you supply values
Access Each Command Mode
The following sections describe how to access each of the CLI command modes:
•User Top Mode: Router>
•Privileged Top Mode: Router#
•Global Configuration Mode: Router(config)#
•Interface Configuration Mode:
•Router Configuration Mode:
•
3.1User Top (User EXEC) Mode
After you log in to the router, you are automatically in user top (user EXEC) command mode. The
Router>
The default host name is Router unless it has been changed during initial configuration, using the setup command.
The user top commands available at the user level are a subset of those available at the privileged level. In general, the user top commands allow you to connect to remote devices, change terminal settings on a temporary basis, perform basic tests, and show system information.
To list the commands available in user top mode, enter a question mark (?). Use a space and a question mark (?) after entering a command to see all the options for that particular command.
Command
?
show ?
Purpose
Lists the user EXEC commands.
Lists all the options available for the given command.
19