3Com 3800 Switch User Manual


 
4-4 CHAPTER 4: COMMANDS
Line-Editing
Commands
Table 4-2 describes the line-editing commands available using the
command-line interface.
vertical bar | Separates mutually exclusive items in a list, one of which must be entered. For
example, in the syntax
config snmp community [read | write] <string>
you must specify either the read or write community string in the command. Do not
type the vertical bar.
braces { } Enclose an optional value or a list of optional arguments. One or more values or
arguments can be specified. For example, in the syntax
show vlan {<name> | all}
you can specify either a particular VLAN or the keyword “all.” If you do not specify
an argument, the command will show all VLANs. Do not type the braces.
Table 4-1 Command Syntax Symbols (continued)
Symbol Description
Table 4-2 Line-Editing Commands
Command Description
Backspace Deletes character to the left of cursor and shifts remainder of line to left.
Delete or [Ctrl] + D Deletes character under cursor and shifts remainder of line to left.
[Ctrl] + K Deletes characters from under cursor to the end of the line.
Insert Toggles on and off. When toggled on, inserts text and pushes previous text to right.
Left Arrow Moves cursor to left.
Right Arrow Moves cursor to right.
Home or [Ctrl]+A Moves cursor to first character in line.
End or [Ctrl]+E Moves cursor to last character in line.
[Ctrl]+L Clears the screen and moves the cursor to the beginning of the line.
Up Arrow Displays the previous command in the command history buffer, and places cursor at
end of command.
Down Arrow Displays the next command in the command history buffer, and places cursor at end
of command.
SW3800.BK Page 4 Tuesday, May 5, 1998 5:20 PM