BASIC ROUTER CONFIGURATION - Pdf 62

Copyright (c) 1998-2004 Boson Software, Inc. All Rights Reserved.

LAB 1 – BASIC ROUTER CONFIGURATION

1. In this lab, you will get practice with basic configuration and show commands on the
Cisco router.
2. Select Router1 from the tool bar. Press enter to get to the user prompt
Router>

3. The greater-than symbol ( >) in the prompt indicates you are in user mode. Type ? to
see a list of commands that can be entered in user mode.

Router> ?

4. Type enable to get into privileged mode. The pound sign (#) indicates you are now in
privileged mode.
Router> enable
Router#

5. Type ? to see a list of commands that can be entered in privileged mode. Notice that
there are more commands available in
privileged mode than are available in user mode. Configure and reload are two such
commands that can only be issued in privileged mode.
Router# ?

6. Exit privileged mode by typing disable.
Router# disable
Router>

7. Re-enter privileged mode and type configure terminal to get into configuration mode
Router> enable

router1(config-if)# no shutdown

11. Configure an IP address for router1’s Serial0 interface (refer to the table for IP
addresses and masks) and activate the interface.
Practice using abbreviated commands for both interface serial0 and no shutdown.
router1(config-if)# int s0
router1(config-if)# ip address 175.10.1.1 255.255.255.0
router1(config-if)# no shut

12. Exit configuration mode by keying ctrl-z . This will bring you back to the privileged
mode prompt. You could also accomplish the same thing
by keying exit twice. The exit command moves you back one level
(from interface-configuration mode - global configuration mode - privileged mode
prompt).
router1(config-if)# ctrl-z
router1#

13. Type logout to exit the command line interface
router1# logout

14. Press the enter key to get back into the user mode prompt and then type enable to get
into privileged mode. You will be prompted for the
enable secret password ‘cisco’ which you previously configured.
router1> enable
password: cisco
router1#

Copyright (c) 1998-2004 Boson Software, Inc. All Rights Reserved.

15. Display a summary of all interfaces by typing:

there go into privileged mode.
Router> enable
Router# configure terminal
Router(config)# 24. Configure a hostname of ‘router2’ and configure an enable secret password of ‘cisco’
for router2.
Copyright (c) 1998-2004 Boson Software, Inc. All Rights Reserved.

Router(config)# hostname router2
router2(config)# enable secret cisco

25. Configure an IP address for Fast Ethernet 0/0 on router2 and activate the interface
(see the diagram above for IP addresses and masks). Router2 is 2600 modular router and
must be configured using slot/port notation.
router2(config)# interface Fa 0/0
router2(config-if)# ip address 160.10.1.2 255.255.255.0
router2(config-if)# no shut

26. Display the summary status of all interfaces. Remember to get out of configuration
mode first before issuing any show commands.
a. Question: what status should interface Fa 0/0 show if it is fully activated?
b. Question: what status would Fa 0/0 show if it was in ‘shutdown’ mode?
router2(config-if)# ctrl-z
router2# show ip interface brief27. Try to ping router1’s Ethernet address (160.10.1.1) from router2.
a. Question: Were you successful? If not, what commands should you use for trouble-

it:
router2(config)# line vty 0 4
router2(config-line)# login
router2(config-line)# password cisco

6. On router1, associate a name of ‘router2’ with the remote IP address 160.10.1.2. This
will allow you to ping router2’s name rather than having to remember its IP address.
router1(config)# ip host router2 160.10.1.2

7. Verify that the name is in router1’s host table with the show hosts command.
router1# show hosts

8. Ping ‘router2’ and verify that the pings succeed.
router1# ping router2

Copyright (c) 1998-2004 Boson Software, Inc. All Rights Reserved.

9. Display the contents of flash memory on router2.
a. Question: what is the name of the IOS image in flash and how large is it?
router2# show flash

10. Display the history table on router1. This shows the last 10 commands that were
entered on the router. You can recall commands by entering CTRL-P or by hitting the up
arrow key.
router1# show history
router1# ctrl-p (to see previously entered commands)

11. On router1, do a show interfaces on Serial 0. Note on the third line of the output that
the bandwidth is assumed to be 1544kb. This is because the router assumes all serial
links are T1’s unless you configure otherwise. Configure router1’s S0 link to have a


verify router3 can ping router1

verify router3 can ping router4

save the configurations to NVRAM

Copyright (c) 1998-2004 Boson Software, Inc. All Rights Reserved.

LAB 3 - CDP

1. In this lab, you will practice using Cisco Discovery Protocol (CDP) commands to view
information about directly connected neighbors.
2. On router1, display summary information for router1’s CDP neighbors. You should
see one-line entries for both router2 and router3.
router1# sh cdp neighbors

3. On router1, display detailed information about CDP neighbors. You can do this with
either the show cdp neighbors detail or show cdp entry * commands.
router1# show cdp neighbors detail
router1# show cdp entry *

4. On router1, display the interfaces where CDP is active.
a. Question: what is the CDP advertisement interval?
b. Question: what is the holdtime interval and what does it signify?
router1# show cdp interface

5. On router1, change the CDP advertisement interval to 50 sec. and the holdtime interval
to 170 sec.
Issue the show cdp interface command to verify the new timers are set correctly.

the show sessions command. You should now see two suspended sessions: one to
router2 (160.10.1.2) and one to router3 (175.10.1.2).
router1# telnet 175.10.1.2
router3>
router3> ctrl-shift-6 x
router1#
router1# show sessions

5. Disconnect the two suspended sessions on router1. The number used in the disconnect
command comes from the
left-most column in the show sessions output. Issue show sessions to see if the
suspended Telnet sessions have disappeared.
router1# disconnect 2

router1# disconnect 1
router1# show sessions


Nhờ tải bản gốc
Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status