User’s Manual of
Note: The following steps are for use on the console line only.
To begin running CLI, perform the following:
1.Start the device and wait until the startup procedure is complete.
2.The User Exec mode is entered into, and the prompt "console>" is displayed.
3.Configure the device and enter the necessary commands to complete the required tasks.
4.When finished, exit the session with the quit or exit command.
When a different user is required to log onto the system, in the Privileged EXEC Command mode the login command is entered. This effectively logs off the current user and logs on the new user.
5.2.3 Editing FeaturesEntering CommandsA CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration parameters. For example, in the command "show interfaces status ethernet e5," show, interfaces and status are keywords, ethernet is an argument that specifies the interface type, and e5 specifies the port.
When entering commands, the Giga ports are referred to with a prefix "g", and the 10/100 Mbps ports are referred to with a prefix "e". The ports are preceded by the unit number. The unit number for a standalone device is 1.
To enter commands that require parameters, enter the required parameters after the command keyword. For example, to set a password for the administrator, enter:
console(config)# username admin password smith
When working with the CLI, the command options are not displayed. The command is not selected by a menu but is manually entered. To see what commands are available in each mode or within an interface configuration, the CLI does provide a method of displaying the available commands, the command syntax requirements and in some instances parameters required to complete the command. The standard command to request help is the ?.
There are three instances where the help information can be displayed:
Keyword
Partial keyword
-157 –