beautypg.com

Displaying scrolling screens, Abbreviating and completing commands, Scrolling screen output -8 – Enterasys Networks D-Series User Manual

Page 36: Abbreviating a command -8

background image

Using the Command Line Interface

1-8

Introduction

Displaying Scrolling Screens

If the CLI screen length has been set using the set length command as described on page 

3‐26

, 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

Abbreviating and Completing Commands

The D‐Series 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.

Figure 1-6

Abbreviating a Command

D2(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--

D2(su)->sh net

Active Internet connections (including servers)

Proto Recv-Q Send-Q Local Address Foreign Address State

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

TCP 0 0 10.21.73.13.23 134.141.190.94.51246 ESTABLISHED

TCP 0 275 10.21.73.13.23 134.141.192.119.4724 ESTABLISHED

TCP 0 0 *.80 *.* LISTEN

TCP 0 0 *.23 *.* LISTEN

UDP 0 0 10.21.73.13.1030 134.141.89.113.514

UDP 0 0 *.161 *.*

UDP 0 0 *.1025 *.*

UDP 0 0 *.123 *.*