Using the Command Line Interface
Fixed Switching Configuration Guide 3-5
Displaying Scrolling Screens
If the CLI screen length has been set using the set length command, 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 3-5 shows how the show mac command indicates that output continues on
more than one screen.
Figure 3-5 Scrolling Screen Output
Abbreviating and Completing Commands
The switch allows you to abbreviate CLI commands and keywords down to the number of
characters that will allow for a unique abbreviation. Figure 3-6 shows how to abbreviate the show
netstat command to sh net.
Figure 3-6 Abbreviating a Command
Note: At the end of the lookup display, the system will repeat the command you entered without the
?.
A4(su)->show mac
MAC Address FID Port Type
----------------------------------------------------------
00-00-1d-67-68-69 1 host Management
00-00-02-00-00-00 1 fe.1.2 Learned
00-00-02-00-00-01 1 fe.1.3 Learned
00-00-02-00-00-02 1 fe.1.4 Learned
00-00-02-00-00-03 1 fe.1.5 Learned
00-00-02-00-00-04 1 fe.1.6 Learned
00-00-02-00-00-05 1 fe.1.7 Learned
00-00-02-00-00-06 1 fe.1.8 Learned
00-00-02-00-00-07 1 fe.1.9 Learned
00-00-02-00-00-08 1 fe.1.10 Learned
--More--
A4(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 *.*