Using the Command Line Interface

Entering a question mark (?) without a space after a partial keyword will display a list of commands that begin with the partial keyword. Figure 1‐4 shows how to use this function for all commands beginning with co:

Figure 1-4 Performing a Partial Keyword Lookup

C3(rw)->co?

configurecopy C3(su)->co

Note: At the end of the lookup display, the system will repeat the command you entered without the ?.

Displaying Scrolling Screens

If the CLI screen length has been set using the set length command as described on page 3‐29, CLI output requiring more than one screen will display --More--to indicate continuing screens. To display additional screen output:

Press any key other than ENTER to advance the output one screen at a time.

Press ENTER to advance the output one line at a time.

The example in Figure 1‐5 shows how the show mac command indicates that output continues on more than one screen.

Figure 1-5 Scrolling Screen Output

C3(su)->show mac

 

 

 

MAC Address

FID

Port

Type

----------------------------------------------------------

00-00-1d-67-68-69

1

host

Management

00-00-02-00-00-00

1

ge.1.2

Learned

00-00-02-00-00-01

1

ge.1.3

Learned

00-00-02-00-00-02

1

ge.1.4

Learned

00-00-02-00-00-03

1

ge.1.5

Learned

00-00-02-00-00-04

1

ge.1.6

Learned

00-00-02-00-00-05

1

ge.1.7

Learned

00-00-02-00-00-06

1

ge.1.8

Learned

00-00-02-00-00-07

1

ge.1.9

Learned

00-00-02-00-00-08

1

ge.1.10

Learned

--More--

 

 

 

Abbreviating and Completing Commands

The SecureStack C3 switch allows you to abbreviate CLI commands and keywords down to the number of characters that will allow for a unique abbreviation. Figure 1‐6 shows how to abbreviate the show netstat command to sh net.

SecureStack C3 Configuration Guide 1-9

Page 49
Image 49
Enterasys Networks 9034313-07 manual Displaying Scrolling Screens, Abbreviating and Completing Commands