SMC Networks SMC6824M manual Minimum Abbreviation, Command Completion, Getting Help on Commands

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 296
Image 296

ENTERING COMMANDS

You can enter commands as follows:

To enter a simple command, enter the command keyword.

To enter multiple commands, enter each command in the required order. For example, to enable Privileged Exec command mode, and display the startup configuration, enter:

Console>enable

Console#show startup-config

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 0 smith

Minimum Abbreviation

The CLI will accept a minimum number of characters that uniquely identify a command. For example, the command “configure” can be entered as con. If an entry is ambiguous, the system will prompt for further input.

Command Completion

If you terminate input with a Tab key, the CLI will print the remaining characters of a partial keyword up to the point of ambiguity. In the “logging history” example, typing log followed by a tab will result in printing the command up to “logging.”

Getting Help on Commands

You can display a brief description of the help system by entering the help command. You can also display command syntax by using the “?” character to list keywords or parameters.

Showing Commands

If you enter a “?” at the command prompt, the system will display the first level of keywords for the current command class (Normal Exec or Privileged Exec) or configuration class (Global, ACL, Interface, Line, or VLAN

4-4

Page 296
Image 296
SMC Networks SMC6824M manual Minimum Abbreviation, Command Completion, Getting Help on Commands, Showing Commands