Chapter 6: Command Line Interface

Command Line Editing

Key Function

<Ctrl>-B

; Moves the cursor back one character.

<Ctrl>-D

Deletes the character at the cursor.

 

 

<Ctrl>-E

Jumps to the end of the current command line.

 

 

<Ctrl>-F

; Moves the cursor forward one character.

<Ctrl>-K

Deletes from the cursor to the end of the command line.

 

 

<Ctrl>-N

; Enters the next command line in the command history.

<Ctrl>-P

; Enters the previous command line in the command history.

<Ctrl>-U

Deletes from the cursor to the beginning of the command line.

 

 

<Ctrl>

-W Deletes the last word typed.

 

 

<Esc> B

Moves the cursor backward one word.

 

 

<Esc> D

Deletes from the cursor to the end of the word.

 

 

<Esc> F

Moves the cursor forward one word.

 

 

<Backspace>

Delete the character before the cursor.

 

 

<Del>

Delete the character at the cursor.

 

 

The following generic function keys provide functions in all of the menus:

Command Help

You may enter ? at any command mode, and the CLI will return all possible commands at that point, along with some description of the command.

System Commands

Command

Description

 

 

show running-config

Display the running configuration of the switch.

 

 

copy running-config startup-

Backup the switch configurations.

config

 

 

 

erase startup-config

Reset to default factory settings at next boot time.

 

 

clear arp

<ip-addr> specifies the IP address to be cleared. If no IP address is

 

entered, the entire ARP cache is cleared.

 

 

show arp

Show the IP ARP translation table.

 

 

Ping

Send ICMP ECHO_REQUEST to network hosts.

 

Parameters: <1..999> specifies the number of repetitions. If not

 

entered, it will continue to ping until you press <Ctrl>-C to stop.

 

 

146

GE-DS-82 and 82-PoE Ethernet Managed Switch User Manual

Page 150
Image 150
GE GE-DS-82 System Commands, Command Line Editing, Command Help, Key Function, Entered, the entire ARP cache is cleared