cc/td/doc/product/dsl_prod/ios_dsl/rel122
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Cisco DSLAM User Interface

Understanding the User Interface

Accessing Command Modes

Understanding Command Modes

User EXEC Mode

Privileged EXEC Mode

ROM Monitor Mode

Global Configuration Mode

Interface Configuration Mode

Profile Mode

Line Configuration Mode

ATM Router Configuration Mode

PNNI Node Configuration Mode

Redundancy Configuration Mode

VRF Configuration Mode

DHCP Pool Configuration Mode

ATM Accounting File Configuration Mode

ATM Accounting Selection Configuration Mode

ATM E.164 Translation Table Configuration Mode

ATM Signaling Diagnostics Configuration Mode

Using Context-Sensitive Help

Configuring Help for Terminal Sessions

Displaying Context-Sensitive Help

Using Word Help

Command Syntax Help

Checking Command Syntax

Using the Command History Features

Setting the Command History Buffer Size

Recalling Commands

Disabling the Command History Feature

Using the Editing Features

Enabling Enhanced Editing Mode

Moving Around on the Command Line

Completing a Partial Command Name

Pasting in Buffer Entries

Editing Command Lines That Wrap

Deleting Entries

Scrolling Down a Line or a Screen

Redisplaying the Current Command Line

Transposing Mistyped Characters

Controlling Capitalization

Designating a Keystroke as a Command Entry

Disabling Enhanced Editing Mode

Ending a Session

Cisco DSLAM User Interface


This chapter describes the Cisco DSLAM user interface, provides instructions for using the command-line interface, and describes how to use the help system. The chapter also describes the command editing and command history features that you can use to recall previous command entries and edit previously entered commands.

This chapter includes the following sections:

Understanding the User Interface

Accessing Command Modes

Understanding Command Modes

Using Context-Sensitive Help

Checking Command Syntax

Using the Command History Features

Using the Editing Features

Ending a Session

Understanding the User Interface

The Cisco DSLAM user interface provides access to several different command modes, each with related commands. For security, the user interface provides three levels of access to commands:

User mode—Called user EXEC mode.

Privileged mode—The privileged mode is called privileged EXEC mode and requires a password.


Note All commands that are available in user EXEC mode are also available in privileged EXEC mode; therefore, user EXEC mode is called EXEC mode in this guide.


From the privileged EXEC mode, you can access global configuration mode and three specific configuration modes:

Terminal

Memory

Network configuration

(ROM) monitor mode—This mode accesses a basic system kernel to which the Cisco DSLAM can default at startup if it does not find a valid system image, or if its configuration file is corrupted.

You can enter commands in uppercase, lowercase, or both. Only passwords are case sensitive. You can abbreviate commands and keywords to a unique number of characters. For example, you can abbreviate the show command to sh. After you enter the command line at the system prompt, press Return to execute the command.

Most configuration commands have a no form. In general, follow these guidelines:

Use the no form of a command to disable a feature or function

Use the command without the no keyword to re-enable a disabled feature or enable a feature that is disabled by default

You can use the context-sensitive help system to obtain a list of commands available for each command mode or a list of available options for a specific command by entering a question mark (?).

Accessing Command Modes

This section describes how to access the Cisco DSLAM command modes. Table 1-1 lists the following information:

The command mode names.

The method to access that mode.

The prompt you see while in that mode. (For the purpose of this guide, the prompts use the default node name DSLAM.)

The method to exit that mode.


Note Table 1-1 does not include all of the possible ways to access or exit each command mode.


Table 1-1 Command Modes 

Command Mode
Access Method
Prompt
Exit Method

EXEC (user)

Log in to the switch or Cisco DSLAM.

DSLAM>

Use the logout command.

Privileged EXEC

From user EXEC mode, use the enable command and enter your password.

DSLAM#

To return to user EXEC mode, use the disable command.

ROM monitor

From privileged EXEC mode, use the reload command. Press Break during the first 60 seconds while the system boots.

rommon x>

The x represents the number of commands that have been entered at the DSLAM prompt. To exit ROM monitor mode, use the cont command.

Global configuration

From privileged EXEC mode, use the configure command. Use the keyword terminal to enter commands from your terminal.

DSLAM(config)#

To exit to privileged EXEC mode, use the exit or end command or press Ctrl-Z.

Interface configuration

From global configuration mode, specify an interface with the interface command.

DSLAM(config-if)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

Profile configuration

From global configuration mode, specify a profile with a dsl-profile command.

DSLAM(cfg-dsl-profile)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

Line configuration

From global configuration mode, specify a management interface with a line command.

DSLAM(config-line)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

ATM router configuration

From global configuration mode, configure the ATM router configuration with the atm router pnni command.

DSLAM(config-atm-router)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

PNNI node configuration

From ATM router configuration mode, configure the PNNI routing node with the node command.

DSLAM(config-pnni-node)#

To exit to ATM router configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

Auto-sync configuration

From global configuration mode, configure redundancy synchronization features with the auto-sync command.

DSLAM(config-auto-sync)

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

Redundancy configuration

From global configuration mode, configure additional redundancy options with the redundancy command.

DSLAM(config-red)

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

VRF configuration

From global configuration mode, configure a VPN routing/forwarding (VRF) routing table with the ip vrf command.

DSLAM(config-vrf)

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

DHCP pool configuration

From global configuration mode, configure the DHCP address pool name and use the ip dhcp pool command to enter the DHCP pool configuration mode.

DSLAM(dhcp-config)

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

ATM accounting file configuration

From global configuration mode, use the atm accounting file command to define an ATM accounting file.

DSLAM(config-acct-file)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

ATM accounting selection configuration

From global configuration mode, use the atm accounting selection command to define an ATM accounting selection table entry.

DSLAM(config-acct-sel)#

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.

ATM E.164 translation table configuration

From global configuration mode, enter the atm e164 translation-table command.

DSLAM(config-atm-e164)

To exit to privileged EXEC mode, use the exit command, end command, or press Ctrl-Z.

ATM signaling diagnostics configuration

From global configuration mode, enter the command atm signalling diagnostics and an index to configure.

DSLAM(cfg-atmsig-diag)

To exit to global configuration mode, use the exit command.

To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z.


Understanding Command Modes

This section describes the various command modes and their levels of user access, including:

User EXEC Mode

Privileged EXEC Mode

ROM Monitor Mode

Global Configuration Mode

Interface Configuration Mode

Profile Mode

Line Configuration Mode

ATM Router Configuration Mode

PNNI Node Configuration Mode

Redundancy Configuration Mode

VRF Configuration Mode

DHCP Pool Configuration Mode

ATM Accounting File Configuration Mode

ATM Accounting Selection Configuration Mode

ATM E.164 Translation Table Configuration Mode

ATM Signaling Diagnostics Configuration Mode

User EXEC Mode

When you log in to the Cisco DSLAM, you are in user EXEC, or simply EXEC, command mode. The EXEC mode commands available at the user level are a subset of those available at the privileged level. In general, the user EXEC mode commands allow you to connect to remote switches, change terminal settings on a temporary basis, perform basic tests, and list system information.

The user EXEC mode prompt consists of the DSLAM host name followed by the angle bracket (>):

Frodo>

or

DSLAM>

The default host name is DSLAM, unless you used the host name global configuration command to change the name of the host.

Privileged EXEC Mode

The privileged EXEC mode command set includes all user EXEC mode commands and the configure command, through which you can access global configuration mode and the remaining configuration submodes. Privileged EXEC mode also includes high-level testing commands, such as debug, and commands that display potentially secure information.

To enter or exit privileged EXEC mode, follow these steps:

 
Command
Task

Step 1

DSLAM> enable

Password:password

Enter privileged EXEC mode from EXEC mode.1

Step 2

DSLAM#

Enter privileged EXEC commands.

Step 3

DSLAM# disable

DSLAM>

Exit privileged EXEC mode and return to EXEC mode.2

1 The prompt changes to the DSLAM host name followed by the pound sign (#).

2 The prompt changes back to the DSLAM host name followed by the angle bracket (>).

The system administrator uses the enable password global configuration command to set the password, which is case sensitive. If an enable password was not set, you can access privileged EXEC mode only from the console.

ROM Monitor Mode

ROM monitor mode provides access to a basic system kernel from which you can boot the Cisco DSLAM or perform diagnostic tests. The system can enter ROM mode automatically if the Cisco DSLAM does not find a valid system image, or if the configuration file is corrupted. The ROM monitor prompt is rommon x> without the DSLAM host name. The x represents the number of commands entered into the prompt.

You can also enter ROM monitor mode by intentionally interrupting the boot sequence by using the Break key during loading.

To return to EXEC mode from ROM monitor mode, use the cont command:

rommon 1> cont DSLAM>

Global Configuration Mode

Global configuration mode provides access to commands that apply to the entire system. From global configuration mode, you can also enter the other configuration modes described in these sections.

 
Command
Task

Step 1

DSLAM# configure


or

DSLAM# configure terminal

Enter global configuration mode from privileged EXEC mode.

Note You will not need to perform step 2 if you use the configure terminal command.

Step 2

Configuring from terminal, memory, or network [terminal]? <CR>

Specify the source of the configuration commands at the prompt. You can specify either the terminal, NVRAM, or a file stored on a network server as the source of configuration commands. The default is to enter commands from the terminal console.

Step 3

DSLAM(config)#

Enter configuration commands. The prompt changes to (config)#.

Step 4

DSLAM(config)# exit

Exit global configuration mode and return to privileged EXEC mode.

Interface Configuration Mode

Interface configuration mode provides access to commands that apply to an interface. Use these commands to modify the operation of an interface such as an ATM, Ethernet, or asynchronous port.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# interface interface-type interface-number

Enter interface configuration mode from global configuration mode. The prompt changes to (config-if)#.

Step 3

DSLAM(config-if)# exit

Exit interface configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

Profile Mode

Profile mode provides access to DSL profile commands. (See "Using DSL Profiles.")

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# dsl-profile profile-name

Enter profile configuration mode and specify a profile. The prompt changes to (cfg-dsl-profile)#.

Step 3

DSLAM(cfg-dsl-profile)# exit

Exit profile mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

Line Configuration Mode

Line configuration mode provides access to commands used to configure lines on the DSLAM.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# line line-index

Enter line configuration mode from global configuration mode. The prompt changes to (config-line)#.

Step 3

DSLAM(config-line)# exit

Exit profile mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

ATM Router Configuration Mode

ATM router configuration mode provides access to commands that you use to configure Private Network-to-Network Interface (PNNI) routing.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm router pnni

Enter ATM router configuration mode from global configuration mode. The prompt changes to (config-atm-router)#.

Step 3

DSLAM(config-atm-router)# exit

Exit ATM router configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

PNNI Node Configuration Mode

The PNNI node configuration mode is a submode of ATM router configuration mode and provides access to commands that you use to configure PNNI nodes on the Cisco DSLAM.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm router pnni

Enter ATM router configuration mode from global configuration mode. The prompt changes to (config-atm-router)#.

Step 3

DSLAM(config-atm-router)# node node-index

Enter PNNI node configuration mode from global configuration mode. The prompt changes to (config-pnni-node)#.

Step 4

DSLAM(config-pnni-node)# exit

Exit PNNI node configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

Redundancy Configuration Mode

The redundancy configuration mode provides access to commands that you use to configure redundancy on the DSLAM.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# redundancy

Enter redundancy configuration mode from global configuration mode. The prompt changes to (config-red)#.

Step 3

DSLAM(config-red)# exit

Exit redundancy configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

VRF Configuration Mode

The VPN routing/forwarding instance (VRF) configuration mode provides access to commands that you use to configure a VRF on the DSLAM.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# ip vrf vrf-name

Enter VRF configuration mode from global configuration mode. The prompt changes to (config-vrf)#.

Step 3

DSLAM(config-vrf)# exit

Exit VRF configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

DHCP Pool Configuration Mode

The DHCP configuration mode provides access to commands that you use to configure a DHCP server on the DSLAM.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# ip dhcp pool name

DHCP pool configuration mode from global configuration mode. The prompt changes to (config-dhcp)#.

Step 3

DSLAM(config-dhcp)# exit

Exit DHCP configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

ATM Accounting File Configuration Mode

ATM accounting file configuration mode provides access to commands that you use to configure a file for accounting and billing of virtual circuits (VCs).

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm accounting file accounting-filename

Enter ATM accounting file configuration mode from global configuration mode. The prompt changes to (config-acct-file)#.

Step 3

DSLAM(config-acct-file)# exit

Exit ATM accounting file configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

ATM Accounting Selection Configuration Mode

ATM accounting selection configuration mode provides access to commands that you use to specify the connection data that the DSLAM will gather.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm accounting selection accounting-selection-index

Enter ATM accounting selection configuration mode from global configuration mode. The prompt changes to (config-acct-sel)#.

Step 3

DSLAM(config-acct-sel)# exit

Exit ATM accounting selection configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

ATM E.164 Translation Table Configuration Mode

ATM E.164 translation table configuration mode provides access to commands that you use to configure the translation table that maps native E.164 format addresses to ATM end system (AESA) format addresses.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm e164 translation-table

Enter ATM E.164 translation table configuration mode from global configuration mode. The prompt changes to (config-atm-e164)#.

Step 3

DSLAM(config-atm-e164)# exit


or

DSLAM(config-atm-e164)# end

Exit ATM E.164 translation table configuration mode and return to privileged EXEC mode.

ATM Signaling Diagnostics Configuration Mode

ATM signaling diagnostics configuration mode provides access to commands that you use to configure the signaling diagnostics table.

 
Command
Task

Step 1

DSLAM# configure terminal

Go to global configuration mode.

Step 2

DSLAM(config)# atm signalling diagnostics

Enter ATM signaling diagnostics configuration mode. The prompt changes to (cfg-atmsig-diag).

Step 3

DSLAM(cfg-atmsig-diag)# exit

Exit ATM signaling diagnostics configuration mode and return to global configuration mode. Enter end to return to privileged EXEC mode.

Using Context-Sensitive Help

The user interface provides context-sensitive help in all modes. This section describes how to configure and display context-sensitive help.

Configuring Help for Terminal Sessions

The following commands configure full help.

Command
Task

DSLAM# terminal full-help

In privileged EXEC mode, configure the current terminal session to receive help for the full set of user-level commands.

DSLAM(config-line)# full-help

In line configuration mode, configure a specific line to allow users without privileged access to obtain full help.


Displaying Context-Sensitive Help

To get help that is specific to a command mode, a command, a keyword, or an argument, perform one of these tasks:

Command
Task

help

Obtain a brief description of the help system in any command mode.

abbreviated-command-entry?

Obtain a list of commands that begin with a particular character string.

abbreviated-command-entry<Tab>

Complete a partial command name.

?

List all commands available for a particular command mode.

command ?

List the associated keywords of a command.

command keyword ?

List the associated arguments a keyword.


Using Word Help

To view a list of commands that begin with a particular character sequence, type those characters followed immediately by the question mark (?). Do not include a space. This form of help is called word help, because it completes a word for you.

In this example, the system displays the possible commands in privileged EXEC mode that begin with "co."

DSLAM# co? configure connect copy

This feature helps you determine the minimum subset that you can use when you abbreviate a command.

Command Syntax Help

To list keywords or arguments, enter a question mark (?) in place of a keyword or argument. Include a space before the ?. This form of help is called command syntax help, because it reminds you which keywords or arguments are applicable, based on the command, keywords, and arguments you have already entered.

This example demonstrates the use of command syntax help to complete the access-list command. Entering the question mark (?) displays the allowed arguments:

DSLAM(config)# access-list ?   <1-99> IP standard access list <100-199> IP extended access list

Enter the access list number, 99, followed by a question mark (?) to display the allowed keywords:

DSLAM(config)# access-list 99 ?   deny Specify packets to reject permit Specify packets to forward

Enter the deny argument followed by a question mark (?) to display the next argument (host name or IP address) and two keywords:

DSLAM(config)# access-list 99 deny ?   Hostname or A.B.C.D Address to match any Any source host host A single host address

Enter the IP address followed by a question mark (?) to display a final (optional) argument. The <CR> indicates that you can press Return to execute the command:

DSLAM(config)# access-list 99 deny 131.108.134.0 ?   A.B.C.D Wildcard bits <cr> DSLAM(config)# <cr>

The system adds an entry to access list 99 that denies access to all hosts on subnet 131.108.134.0.

Checking Command Syntax

The user interface provides an error indicator (^) that appears in the command string in which you have entered an incorrect or incomplete command, keyword, or argument.

This example shows a command entry that is correct up to the last element:

DSLAM# clock set 13:04:30 28 apr 98 ^ % Invalid input detected at '^' marker.

The caret symbol (^) and help response indicate the location in which the error occurs. To list the correct syntax, reenter the command, substituting a question mark (?) where the error occurred:

DSLAM# clock set 13:32:00 23 February ? <1993-2035> Year DSLAM# clock set 13:32:00 23 February

Enter the year using the correct syntax and press Enter to execute the command:

DSLAM# clock set 13:32:00 23 February 1993

Using the Command History Features

The user interface provides a history or record of commands you enter. You can use the command history feature for recalling long or complex commands or entries, including access lists. With the command history feature, you can complete the following tasks:

Setting the Command History Buffer Size

Recalling Commands

Disabling the Command History Feature

Setting the Command History Buffer Size

By default, the system records ten command lines in its history buffer. Use the following commands to set the number of command lines the system records.

Command
Task

DSLAM# terminal history [size number-of-lines]

In privileged EXEC mode, enable the command history feature for the current terminal session.

DSLAM(config-line)# history [size number-of-lines]

In line configuration mode, enable the command history feature for a specific line.


Recalling Commands

To recall commands from the history buffer, perform one of these tasks:

Key Sequence/Command
Task

Press Ctrl-P or the up arrow key.1

Recall commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall each previous command that you entered.

Press Ctrl-N or the down arrow key.1

Return to more recent commands in the history buffer after you recall commands with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively more recent commands.

DSLAM> show history

While in EXEC mode, list the last several commands you have just entered.

1 The arrow keys function only on ANSI-compatible terminals such as VT100s.


Disabling the Command History Feature

The command history feature is automatically enabled. Use the following commands to disable it.

Command
Task

DSLAM> terminal no history

In EXEC mode, disable the command history feature for the current terminal session.

DSLAM(config-line)# no history

In line configuration mode, configure the line to disable the command history feature.


Using the Editing Features

The user interface includes an enhanced editing mode that provides a set of editing key functions similar to those of the Emacs editor.

Using the editing features, you can perform the following tasks:

Enabling Enhanced Editing Mode

Moving Around on the Command Line

Completing a Partial Command Name

Pasting in Buffer Entries

Editing Command Lines That Wrap

Deleting Entries

Scrolling Down a Line or a Screen

Redisplaying the Current Command Line

Transposing Mistyped Characters

Controlling Capitalization

Designating a Keystroke as a Command Entry

Disabling Enhanced Editing Mode

Enabling Enhanced Editing Mode

Although the current software release enables the enhanced editing mode by default, you can disable it and revert to the editing mode of previous software releases. Use the following commands to reenable the enhanced editing mode.

Command
Task

DSLAM> terminal editing

In EXEC mode, enable the enhanced editing features for the current terminal session.

DSLAM(config-line)# editing

In line configuration mode, enable the enhanced editing features for a specific line.


Moving Around on the Command Line

Use these keystrokes to move the cursor around on the command line for corrections or changes:

Keystrokes
Task

Press Ctrl-B or press the Left Arrow key.1

Move the cursor back one character.

Press Ctrl-F or press the Right Arrow key.1

Move the cursor forward one character.

Press Ctrl-A.

Move the cursor to the beginning of the command line.

Press Ctrl-E.

Move the cursor to the end of the command line.

Press Esc B.

Move the cursor back one word.

Press Esc F.

Move the cursor forward one word.

1 The arrow keys function only on ANSI-compatible terminals such as VT100s.


Completing a Partial Command Name

If you cannot remember a complete command name, you can use Tab to allow the system to complete a partial entry:

Keystrokes
Task

Enter the first few letters and press Tab.

Complete a command name.


If your keyboard does not have Tab, press Ctrl-I instead.

In this example, when you enter the letters conf and press Tab, the system provides the complete command:

DSLAM# conf<Tab> DSLAM# configure

If you enter an ambiguous set of characters, the system generates an error message. To display the list of legal commands beginning with the specified string, enter a question mark (?) after you see the error message. See the "Using Word Help" section.

Pasting in Buffer Entries

The system provides a buffer that contains the last ten items that you deleted. You can recall these items and paste them in the command line by using these keystrokes:

Keystrokes
Task

Press Ctrl-Y.

Recall the most recent entry in the buffer.

Press Esc Y.

Recall the next buffer entry.


The buffer contains only the last ten items that you have deleted or cut. If you press Esc Y more than 10 times, you cycle back to the first buffer entry.

Editing Command Lines That Wrap

The new editing command set 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. You cannot see the first ten characters of the line, but you can scroll back and check the syntax at the beginning of the command. To scroll back, use these keystrokes:

Keystrokes
Task

Press Ctrl-B or the Left Arrow key1 repeatedly.

Scroll back one character at a time to the beginning of a command line to verify that you entered a lengthy command correctly.

Press Ctrl-A.

Return directly to the beginning of the line.

1 The arrow keys function only on ANSI-compatible terminals such as VT100s.


In this example, the access-list command entry extends beyond one line. When the cursor 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.

DSLAM(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1 DSLAM(config)# $ 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.25 DSLAM(config)# $t tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq DSLAM(config)# $108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq 45

When you complete the entry, press Ctrl-A to check the complete syntax before pressing Return to execute the command. The dollar sign ($) appears at the end of the line to indicate that the line has scrolled to the right:

DSLAM(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1$

The Cisco DSLAM default is a terminal screen that is 80 columns wide. If you have a width other than that, use the terminal width command to provide the correct width of your terminal.

Use line wrapping together with the command history feature to recall and modify previous complex command entries.

Deleting Entries

Use any of these keystrokes to delete command entries if you make a mistake or change your mind:

Keystrokes
Task

Press Delete or Backspace.

Erase the character to the left of the cursor.

Press Ctrl-D.

Delete the character at the cursor.

Press Ctrl-K.

Delete all characters from the cursor to the end of the command line.

Press Ctrl-U or Ctrl-X.

Delete all characters from the cursor to the beginning of the command line.

Press Ctrl-W.

Delete the word to the left of the cursor.

Press Esc D.

Delete from the cursor to the end of the word.


Scrolling Down a Line or a Screen

When you use the help facility to list the commands available in a particular mode, the list is often longer than the terminal screen can display. In such cases, a More prompt appears at the bottom of the screen. To respond to the More prompt, use these keystrokes:

Keystrokes
Task

Press Return.

Scroll down one line.

Press Space.

Scroll down one screen.

Press Esc.

Stop scrolling and return to the main prompt.


Redisplaying the Current Command Line

If you enter a command and a message appears on your screen, you can easily recall your current command line entry. To do so, use these keystrokes:

Keystrokes
Task

Press Ctrl-L or Ctrl-R.

Redisplay the current command line.


Transposing Mistyped Characters

If you have mistyped a command entry, you can transpose the mistyped characters by using these keystrokes:

Keystrokes
Task

Press Ctrl-T.

Transpose the character to the left of the cursor and the character located at the cursor.


Controlling Capitalization

You can capitalize a word, set a word to lowercase, or capitalize a set of letters with these keystrokes:

Keystrokes
Task

Press Esc C.

Capitalize at the cursor.

Press Esc L.

Change the word at the cursor to lowercase.

Press Esc U.

Capitalize letters from the cursor to the end of the word.


Designating a Keystroke as a Command Entry

To use a particular keystroke as an executable command, insert a system code:

Keystrokes
Task

Press Ctrl-V or Esc Q.

Insert a code to indicate to the system that it should treat the following keystroke as a command entry, not an editing key.


Disabling Enhanced Editing Mode

To disable enhanced editing mode and revert to the normal editing mode, use this command in privileged EXEC mode:

Command
Task

DSLAM# terminal no editing

Disable the enhanced editing features for the local line.


If you have prebuilt scripts that do not interact well when enhanced editing is enabled, you can disable enhanced editing mode. To reenable enhanced editing mode, use the terminal editing command.

Ending a Session

After you use the setup command or other configuration command, exit the Cisco DSLAM and quit the session.

To end a session, use this EXEC command:

Command
Task

DSLAM> quit

End the session.



hometocprevnextglossaryfeedbacksearchhelp

Posted: Mon May 10 22:10:55 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.