4
Entering a command
When you enter a command, you can perform the following tasks:
•
Use keys or hotkeys to edit the command line.
•
Use abbreviated keywords or keyword aliases.
Editing a command line
To edit a command line, use the keys listed in
. When you are
finished, you can press
Enter
to execute the command.
Table 1
Command line editing keys
Keys
Function
Common keys
If the edit buffer is not full, pressing a common key inserts a character at the
cursor and moves the cursor to the right. The edit buffer can store up to 511
characters. Unless the buffer is full, all common characters that you enter
before pressing
Enter
are saved in the edit buffer.
Backspace
Deletes the character to the left of the cursor and moves the cursor back
one character.
Left arrow key (
←
)
Moves the cursor one character to the left.
Right arrow key (
→
)
Moves the cursor one character to the right.
Up arrow key (
↑
)
Displays the previous command in the command history buffer.
Down arrow key (
↓
)
Displays the next command in the command history buffer.
Tab
If you press
Tab
after typing part of a keyword, the system automatically
completes the keyword.
•
If a unique match is found, the system displays the complete keyword.
•
If there is more than one match, press
Tab
multiple times to pick the
keyword you want to enter.
•
If there is no match, the system does not modify what you entered but
displays it again in the next line.
The total length of a command line cannot exceed 512 characters, including spaces and special
characters.
The device supports the following special commands:
•
#
–Used by the system in a configuration file as separators for adjacent sections.
•
version
–Used by the system in a configuration file to indicate the software version information.
For example,
version 7.1.045, Release 1109
.
These commands are special because of the following reasons:
•
These commands are not intended for you to use at the CLI.
•
You can enter these commands in any view, or enter any values for them. For example, you can
enter
# abc
or
version
abc
. However, the settings do not take effect.
•
The device does not provide any online help information for these commands.
Entering a text or string type value for an argument
A text type argument value can contain printable characters except the question mark (?).
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...