background image
200
Chapter 4
Introduction to the Cisco IOS
Router#clock set ?
hh:mm:ss Current Time
Router#clock set 10:30:10 ?
<1-31> Day of the month
MONTH Month of the year
Router#clock set 10:30:10 28 ?
MONTH Month of the year
Router#clock set 10:30:10 28 may ?
<1993-2035> Year
Router#clock set 10:30:10 28 may 2002 ?
<cr>
Router#
By typing the clock command, followed with a space and a question
mark, you'll get a list of the next possible commands and what they do.
Notice that you should just keep typing a command, a space, and then a
question mark until <cr> (carriage return) is your only option.
If you are typing commands and receive this:
Router#clock set 10:30:10
% Incomplete command.
you'll know that the command string isn't yet done. Just press the Up arrow
key to receive the last command entered, then continue with the command
by using your question mark.
And if you receive this error:
Router(config)#access-list 110 permit host 1.1.1.1
^
% Invalid input detected at '^' marker.
you've entered a command incorrectly. See that little caret--the ^? It's a very
helpful tool that marks the point where you have entered the command wrong.
Now if you receive this error:
Router#sh te
% Ambiguous command: "sh te"
it means you didn't enter all the keywords or values required by this com-
mand. Use the question mark to find the command you need:
Router#sh te?
WORD tech-support terminal
Table 4.1 shows the list of the enhanced editing commands available on
a Cisco router.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com