Basic Line Editing Emacs & Vi Commands; Abbreviating And Completing Commands; Using The Spacebar Auto Complete Function; Completing A Partial Command - Enterasys Matrix DFE-Gold Series Configuration Manual

Enterasys networks switch configuration guide
Table of Contents

Advertisement

Abbreviating and Completing Commands

The Matrix Series device allows you to abbreviate CLI commands and keywords down to the 
number of characters that will allow for a unique abbreviation. Figure
abbreviate the show netstat command to sh net.
Figure 2-5
Matrix(rw)->sh net
Active Internet connections (including servers)
Proto Recv-Q Send-Q
----- ------ ------
TCP
TCP
TCP
TCP
UDP
UDP
UDP
UDP

Using the Spacebar Auto Complete Function

When the spacebar auto complete function is enabled, pressing the spacebar after a CLI command 
fragment will allow you to determine if the fragment is unique. If it is, the CLI will complete the 
fragment on the current display line.
By default, this function is disabled. For more information on enabling it using the set cli 
completion command, refer to "set cli completion" on page
function is enabled, entering conf and pressing the spacebar would be completed as configure:
Figure 2-6
Matrix(rw)->conf<SPACEBAR>
Matrix(rw)->configure

Configuring the Line Editor

The command line editor determines which key sequences can be used in the CLI. Example: 
Ctrl+A will move the cursor to beginning of the command line when in Emacs mode. The CLI 
supports both vi and Emacs‐like line editing commands. By default, the "default" line‐editing 
mode is configured, with no special key sequences. See Table
and vi commands. Use the set line‐editor command ("set line‐editor" on page 2‐14) to change the 
line‐editor mode.
Figure 2-7
Key Sequence
Ctrl+A
Ctrl+B
Ctrl+C
Ctrl+D
Abbreviating a Command
Local Address
--------------------- --------------------- -------
0
0
10.21.73.13.23
0
275
10.21.73.13.23
0
0
*.80
0
0
*.23
0
0
10.21.73.13.1030
0
0
*.161
0
0
*.1025
0
0
*.123

Completing a Partial Command

Basic Line Editing Emacs & vi Commands
Emacs Command
Move cursor to beginning of line.
Move cursor back one character.
Abort command.
Delete a character.
Startup and General Configuration Summary
2‐5 shows how to 
Foreign Address
134.141.190.94.51246
134.141.192.119.4724
*.*
*.*
134.141.89.113.514
*.*
*.*
*.*
2‐45. Figure
2‐7 lists some commonly used Emacs 
Enterasys Matrix DFE-Gold Series Configuration Guide 2-11
State
ESTABLISHED
ESTABLISHED
LISTEN
LISTEN
2‐6 shows how, when the 

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Enterasys Matrix DFE-Gold Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents