Command-Line Interface (CLI)
195
MONTH Month of the year
yourname#clock set 11:15:11 25 aug ?
<1993-2035> Year
yourname#clock set 11:15:11 25 aug 2007 ?
<cr>
yourname#clock set 11:15:11 25 aug 2007
*Aug 25 11:15:11.000: %SYS-6-CLOCKUPDATE: System clock has
been updated from 18:52:53 UTC Wed Feb 28 2007 to 11:15:11
UTC Sat Aug 25 2007, configured from console by cisco on console.
By typing the clock ? command, you’ll get a list of the next possible parameters 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’re typing commands and receive
yourname#clock set 11:15:11
% Incomplete command.
you’ll know that the command string isn’t done yet. Just press the up arrow key to redisplay
the last command entered, and then continue with the command by using your question mark.
And if you receive the error
yourname(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 exact point where you blew it and entered the command incorrectly. Here’s another
example of when you’ll see the caret:
yourname#sh serial 0/0/0
^
% Invalid input detected at '^' marker.
This command looks right, but be careful! The problem is that the full command is show
interface serial 0/0/0.
Now if you receive the error
yourname#sh ru
% Ambiguous command: "sh ru"
it means there are multiple commands that begin with the string you entered and it’s not
unique. Use the question mark to find the command you need:
yourname#sh ru?
rudpv1 running-config
As you can see, there are two commands that start with show ru.
47020.book Page 195 Wednesday, January 2, 2008 4:31 PM
Kommentare zu diesen Handbüchern