Thursday, May 5, 2011

extremenetwork CLI Command

CLI - Command Prompt
The CLI Command prompt is primarily comprised of three or four components:
1 The asterisk "*" that precedes the actual command prompt
If an asterisk (*) appears in front of the command-line prompt, it indicates that you have outstanding
configuration changes that have not been saved.
2 The SNMP Sysname and colon ":" as a separator.
The sysname is user configurable with a maximum of 32 characters allowed. By default, the switch
SNMP Sysname is the model name. For example, for a Summit1iTM desktop switch, the command
prompt sysname displays Summit1i.
To change the switch SNMP sysname from the default to "Training_Switch", enter the following
command:
configure snmp sysname Training_Switch
When executed, the following prompt appears:
*Training_Switch:7#
The prompt identifies the following:
3 The number of the next CLI command to be entered.
4 The user account privilege level.
# - The hash symbol represents an administrator privilege level.
> - The greater than symbol represents a user privilege level.
When entering a command at the prompt, ensure that you have the appropriate privilege level. Most
configuration commands require the administrator privilege level.







Syntax Helper
If you are unsure of the complete syntax for a particular command, enter as much of the command as
possible. The syntax helper provides a list of options for the remainder of the command.
Tab Key Completion
If you enter a partial command and press the [Tab] key, the system displays any additional options,
then repeats the command on a new line and places the cursor at the end of this new command line.
The use of the Tab key is very valuable.
CLI Space Completion
ExtremeWare XOS also allows you to complete a command automatically with the spacebar.
To enable CLI space completion, enter the following command:
enable cli space-completion
To disable CLI space completion, enter the following command:
disable cli space-completion
NOTE
Command completion is enabled on a per-session basis. The command completion setting is not saved in the
configuration file.

No comments:

Post a Comment