Editing Command Lines That Wrap - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 3
CLI Tips, Techniques, and Shortcuts
The Cisco IOS XR software command reference publications provide the complete syntax for the
configuration commands and describe what the no form of a command does. See the
Documents" section on page xii
Using the default Form of a Command
Many CLI commands have a default form that reflects the most common usage of a feature or command.
When you want to set a feature to the default value, consider the following guidelines:
For example:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/0
RP/0/RP0/CPU0:router(config-if)# default keepalive
RP/0/RP0/CPU0:router(config-if)#
Most commands are disabled by default, so in such cases using the default form has the same result as
using the no form of the command. However, some commands are enabled by default and have variables
set to certain default values. In these cases, the default form of the command enables the command and
sets the variables to their default values.
The Cisco IOS XR software command reference publications describe the effect of the default form of
a command if the command functions differently than the no form. See the
on page xii

Editing Command Lines that Wrap

The CLI provides a wraparound feature for commands that extend beyond a single line on the screen.
When the cursor reaches the right margin, the command line shifts ten spaces to the left. The first ten
characters of the line are not shown, but it is possible to scroll back and check the syntax at the beginning
of the command. To scroll back, press Ctrl-B or the left arrow key repeatedly, or press Ctrl-A to return
directly to the beginning of the line.
In the following example, the access-list command entry extends beyond one line. When the cursor first
reaches the end of the line, the line is shifted ten spaces to the left and redisplayed. The dollar sign ($)
indicates that the line has been scrolled to the left. Each time the cursor reaches the end of the line, the
line is again shifted ten spaces to the left.
RP/0/RP0/CPU0:router(config)# access-list 101 permit tcp 172.31.134.5 255.255.255.0
172.31.1
RP/0/RP0/CPU0:router(config)# $ 101 permit tcp 172.31.134.5 255.255.255.0 172.31.135.0
255.25
RP/0/RP0/CPU0:router(config)# $t tcp 172.31.134.5 255.255.255.0 172.31.135.0 255.255.255.0
eq
RP/0/RP0/CPU0:router(config)# $31.134.5 255.255.255.0 172.31.135.0 255.255.255.0 eq 45
Press Ctrl-A to check the complete syntax before pressing Return to execute the command. The $
appears at the end of the line to indicate that the line has been scrolled to the right:
RP/0/RP0/CPU0:router(config)# access-list 101 permit tcp 172.31.134.5 255.255.255.0
172.31.1$
By default, the Cisco IOS XR software uses a terminal screen 80 columns wide. To adjust for a different
screen width, use the terminal width command in EXEC mode.
Precede the command with the default keyword to restore the default configuration setting.
Enter default ? to display the default commands available in a configuration mode.
for more information.
for more information.
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
CLI Tips and Shortcuts
"Related
"Related Documents" section
3-5

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents