Edit command lines that wrap, Edit command lines that wra -26 – AIS Router AI2524 User Manual

Page 62

Advertising
background image

AI2524 Router Card User’s Manual

Page 4-26

August 1997

2524UM

Edit Command Lines that Wrap

The Cisco IOS software assumes that you have a terminal screen that
is 80 characters wide. If your terminal displays a different number of
characters on each line, use the

terminal width

command.

When the cursor reaches the right margin, the command line shifts 10
spaces to the left. You cannot see the first ten characters of the line, but
you can scroll back and check the syntax at the beginning of the com-
mand. To scroll back, press <Ctrl-B> or the left arrow key repeatedly
until you scroll back to the beginning of the command entry, or press
<Ctrl-A> to return directly to the beginning of the line.

In this example, the

access-list

command entry extends beyond

one line. When the cursor first reaches the end of the line, the line is
shifted 10 spaces to the left and is redisplayed. The dollar sign ($) in
dicates that the line has been scrolled to the left. Each time the cursor
reaches the end of the line, the line is again shifted 10 spaces to the left.

Router(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108

Router(config)# $ 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.2

Router(config)# $t tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.255.255.0

Router(config)# $108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq 45

When you have completed the entry, press <Ctrl-A> to check the com-
plete syntax before pressing <Enter> to execute the command. The
dollar sign ($) appears at the end of the line to indicate that the line has
been scrolled to the right:

Router(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108$

Advertising