Hands-on Labs
249
15. Type exit. Notice how this brings you back one level.
16. Press Ctrl+Z. Notice how this brings you out of configuration mode and places you back
into privileged mode.
17. Type disable. This will put you into user mode.
18. Type exit, which will log you out of the router.
Hands-on Lab 4.2: Using the Help and Editing Features
1. Log into the router and go to privileged mode by typing en or enable.
2. Type a question mark (?).
3. Type cl? and then press Enter. Notice that you can see all the commands that start with cl.
4. Type clock ? and press Enter.
Notice the difference between steps 3 and 4. Step 3 has you type letters with
no space and a question mark, which will give you all the commands that start
with cl. Step 4 has you type a command, space, and question mark. By doing
this, you will see the next available parameter.
5. Set the router’s clock by typing clock ? and, following the help screens, setting the
router’s time and date.
6. Type clock ?.
7. Type clock set ?.
8. Type clock set 10:30:30 ?.
9. Type clock set 10:30:30 14 March ?.
10. Type clock set 10:30:30 14 March 2002.
11. Press Enter.
12. Type show clock to see the time and date.
13. From privileged mode, type show access-list 10. Don’t press Enter.
14. Press Ctrl+A. This takes you to the beginning of the line.
15. Press Ctrl+E. This should take you back to the end of the line.
16. Press Ctrl+A, then Ctrl+F. This should move you forward one character.
17. Press Ctrl+B, which will move you back one character.
18. Press Enter, then press Ctrl+P. This will repeat the last command.
19. Press the up arrow key on your keyboard. This will also repeat the last command.
20. Type sh history. This shows you the last 10 commands entered.
21. Type terminal history size ?. This changes the history entry size. The ? is the number
of allowed lines.
22. Type show terminal to gather terminal statistics and history size.
47020.book Page 249 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales