704
Appendix A: Answers to the "Do I Know This Already?" Quizzes and Q&A Sections
7
While you are logged in to a router, you issue the command
copy ?
and get a response of
"Unknown command, computer name, or host." Offer an explanation as to why this error
message appears.
The user was in user mode. The user must be in enable/privileged mode to use the
copy
command. When in user mode, the router does not provide help for privileged commands
and treats the request for help as if there is no such command.
8
Is the number of retrievable commands based on the number of characters in each
command, or is it simply a number of commands, regardless of their size?
Number of commands. The length (that is, number of characters) of each command does
not affect the command history buffer.
9
How can you retrieve a previously used command? (Name two ways.)
Ctrl+p
and Up-arrow. Up-arrow refers literally to the Up arrow key on the keyboard. Not
all terminal emulators support
Ctrl+p
or Up-arrow, so recalling both methods is useful.
10
After typing
show ip route
, which is the only command you typed since logging in to the
router, you now want to issue the
show ip arp
command. What steps would you take to
execute this command by using command recall keystrokes?
Press Up-arrow, Backspace five times, and type
arp
. The Up-arrow key retrieves the
show
ip route
command. Backspace moves the cursor backward and erases the character.
Typing inserts the characters into the line.
11
After typing
show ip route 128.1.1.0
, you now want to issue the command
show ip route
128.1.4.0
. What steps would you take to do so, using command recall and command
editing keystrokes?
Press Up-arrow,
Ctrl+b
(or Left-arrow) twice, and Backspace once, and then type 4. The
Ctrl+b
and Left-arrow keys back up one character in the line, without deleting the
character. Backspace deletes the 1, in this case. Typing inserts into the line.
12
What configuration command causes the router to require a password from a user at the
console? What configuration mode context must you be in--that is, what command(s)
must be typed before this command after entering configuration mode? List the commands
in the order in which they must be typed while in config mode.
line console 0
login
The
line console 0
command is a context-setting command; it adds no information to the
configuration. The command can be typed from any part of configuration mode. The
login
command, which follows the
line console 0
command, tells IOS that a password prompt
is desired at the console.
apA.fm Page 704 Monday, March 20, 2000 5:24 PM