To demonstrate the help feature, instruct students to set the clock without telling them which commands to use. The question mark (?) will guide students through the process.

2.2.7 Enhanced editing commands

Enhanced editing commands are on by default. To disable enhanced editing mode, the terminal no editing command can be used at the privileged mode prompt.

The editing command set provides a horizontal scrolling feature for commands that extend beyond a single line. When the cursor reaches the right margin, the command line shifts ten spaces to the left. The first ten characters of the line cannot be seen, but a user can scroll back to check the syntax. It is represented by a dollar sign ($).

Some of the editing commands are as follows:

Ctrl-Amoves to the beginning of the command line.

Ctrl-Bmoves back one character.

Ctrl-Emoves to the end of the command line.

Ctrl-Fmoves forward one character.

Ctrl-Zmoves back out of configuration mode.

Esc and then B moves back one word.

Esc and then F moves forward one word.

The syntax of IOS commands can be complex. Keyboard editing features can be used to correct text that has been entered. When a router is being configured, repetitive command statements, typing errors that need to be fixed, and commands that need to be reused may be encountered. Questions about the Ctrl key and Esc key sequences will probably appear on the CCNA exam.

2.2.8 Router command history

The user interface provides a history of commands that have been entered. This feature can be used to recall long or complex commands. The command history feature can be used to complete the following tasks:

Set the command history buffer size

Recall commands

Disable the command history feature

By default, the command history records ten command lines in the history buffer. To recall commands, press Ctrl-Por the Up Arrow key to recall repeated commands. Press Ctrl-Nor the Down Arrow key to recall more recent commands in the history. The Ctrl-Pand Ctrl-Nfeatures are also likely to be tested on the CCNA exam.

23 - 238 CCNA 2: Routers and Routing Basics v3.1 Instructor Guide – Module 2

Copyright 2004, Cisco Systems, Inc.

Page 24
Image 24
Cisco Systems CCNA 2 manual Enhanced editing commands, Router command history