Capítulo XIV De la Prisión Preventiva
Artículo 32. Son obligaciones de los Prestadores de servicios:
It is not important that you understand what each of these commands do at this time. These will all be explained later in greater detail. What you need to understand is the different prompts available. This program sup-ports the line console and line vty commands.
12. Type control+z to go back to Global Configuration mode. Control+z is noted as ctrl+z. Router(config-router)#ctrl+z
Router#
Lab 1.4: Editing and Help Features
You can use the Cisco® advanced editing features to help you configure your router or switch. This lab will teach you how and where to use a question mark (?) from the CLI as well as how to use keystrokes to help you edit your command strings.
Network Layout
Load the network layout you have been working with for labs in section 1.
Lab Steps
1. On the Network Visualizer screen, double-click on 2811 Router A. This will bring up a console screen.
2. Press enter and the Router> prompt will appear. You are now in the User mode.
3. Change to the Privileged mode.
Router>
Router>enable
4. By using a question mark (?) at any prompt, you can see the list of commands available from that prompt.
Router#?
Exec commands:
access-enable Create a temporary Access-List entry access-profile Apply user-profile to interface access-template Create a temporary Access-List entry archive manage archive files
disconnect Disconnect an existing network connection enable Turn on privileged commands
erase Erase a filesystem exit Exit from the EXEC
help Description of the interactive help system
--More--At this point, you can press the spacebar to get another page of information, or you can press Enter to go one command at a time. You can also press any other key to quit and Enter to return to the prompt.
Lab 1.5 Using Shortcut Commands and Tab Completion 39
5. To find commands that start with a certain letter, use the letter and the question mark (?) with no space between them.
Router#c?
clear clock cns configure connect copy cd Router#c
Notice that by typing “c?”, we receive a response of all the commands that start with
“c”. Also notice that the Router# prompt appeared with our command still present.
This is helpful when you have long commands and need the next possible command.
Supported Commands in CCNA Virtual Lab, Titanium Edition 3.0
Commands supported in this program were specifically chosen to represent the most important commands needed in configuring networks and in preparing for the CCNA exam. When you enter a help command such as ?, you will see a complete list of IOS commands. However, not all are available and supported in this program.
To view supported commands for CCNA Virtual Lab, Titanium Edition 3.0:
1. Bring up a console screen.
2. Click the View menu.
3. Click Supported Commands.
6. To find the next command in a string, type the first command and then a question mark. Set the router’s clock by typing clock ? and following the help screens; set the router’s time and date. Router#clock set 10:30:10 28 ? MONTH Month of the year
Router#clock set 10:30:10 28 december ? <1993-2035> Year
Router#clock set 10:30:10 28 december 2007 ? <cr>
Router#
By typing the clock command, then a space and a question mark, you will get a list of the next possible commands and what they do. Notice that we just kept typing a command, a space, and then a question mark until < cr> (carriage return) was our only option.
7. Type show clock to see the time and date you have set.
8. If you are typing commands and receive this:
Router#clock set 10:30:10
% Incomplete command.
Then you know that the command string is not complete. Just press the up arrow key to view the last command entered, then continue with the command by using your question mark.
9. Also, if you receive this error:
Router#clock shut 10:30:10 28 8 ^
% Invalid input detected at '^' marker.
You have entered the command incorrectly. The caret (^) marks the point where you have entered the command incorrectly. This is very helpful.
10. You may receive an error when you type in a command that the program cannot match with any known command. For example,
Router#sh s
% Ambiguous command: "sh s"
Lab 1.5 Using Shortcut Commands and Tab Completion 41
It means you did not enter all the keywords or values required by this command. Use the question mark to find the command you need.
Router#sh s?
11. Type show access-list 10. Don’t press Enter.
12. Notice the cursor is at the end of the line. Type Ctrl+ A. This takes you to the begin-ning of the line.
13. Type Ctrl+ E. This should take you back to the end of the line.
14. Type Ctrl+ A, then type Control+ F. This should move you forward one character.
15. Type Ctrl + B, which will move you back one character.
16. Press Enter, then type Ctrl + P. This will repeat the last command.
17. Press the up arrow on your keyboard. This will also repeat the last command.
18. Use the show history command to see the last 10 commands entered on the router.
Router#sh history
19. Use the show terminal command to verify the terminal history size.
Router#sh terminal
20. The terminal history size command, used from Privileged mode, can change the size of the history buffer.
Router#terminal history size ? <0-256> Size of history buffer Router#terminal history size 25
21. Verify the change with the show terminal command.
Router#sh terminal
22. Type terminal no editing . This turns off advanced editing. Repeat steps 9-13 to see that the shortcut editing keys have no effect.
23. Type terminal editing and press Enter to re-enable advanced editing.
24. Type sh run, then press your tab key. This will finish typing the command for you.