Configuring CLI
The command line interface enables you to interact with your device by typing text commands. At the CLI,
instruct the device to perform a given task by typing a text command and then pressing Enter (Figure 1).
Compared with a GUI where you use a mouse to perform configuration, the CLI allows you to enter more
information in one command line.
Figure 1 CLI example
Entering the CLI
The device provides multiple methods for entering the CLI: through the console port, through Telnet, and
through SSH. For more information, see "Logging in to the switch configuration."
Undo form of a command
The undo form of a command restores the default, disables a function, or removes a configuration.
Almost all configuration commands have an undo form. For example, the info-center enable command
enables the information center, and the undo info-center enable command disables the information center.
CLI views
Commands are grouped into different classes by function. To use a command, you must enter the class
view of the command.
CLI views adopt a hierarchical structure. See
Figure
2.
1