To enter the other modes, at the configuration prompt type one of the following commands. Use the exit command to return to Configuration mode or the end command to return to Privileged Exec mode.

TABLE 4-2Configuration Modes

Mode

Command

Prompt

See Page

 

 

 

 

Interface

interface {ethernet port port-

Console(config-if)#

4-83

 

channel idvlan id}

 

 

Line

line {console vty}

Console(config-line)#

4-62

VLAN

vlan database

Console(config-vlan)

4-121

 

 

 

 

For example, you can use the following commands to enter interface configuration mode, and then return to Privileged Exec mode.

Console(config)#interface ethernet SNP5

.

.

Console(config-if)#exitConsole(config)

4.1.2.12Command-Line Processing

Commands are not case sensitive. You can abbreviate commands and parameters as long as they contain enough letters to differentiate them from any other currently available commands or parameters. You can use the Tab key to complete partial commands, or enter a partial command followed by the ? character to display a list of possible matches. You can also use the following editing keystrokes for command- line processing:

TABLE 4-3CLI Editing Keystrokes

Keystrokes

Function

 

 

Ctrl-A

Shifts cursor to start of command line.

Ctrl-B

Shifts cursor to the left one character.

Ctrl-E

Shifts cursor to end of command line.

Ctrl-F

Shifts cursor to the right one character.

Ctrl-P

Shows the last command.

Ctrl-U

Deletes the entire line.

Ctrl-W

Deletes the last word typed.

Delete key or backspace key

Erases a mistake when typing a command.

 

 

4-10Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 208
Image 208
Sunfire B1600 manual Command-Line Processing, 2Configuration Modes, 3CLI Editing Keystrokes