Professional Documents
Culture Documents
Objective
Background/Preparation
HyperTerminal is a simple Windows-based terminal emulation program that can be used to connect
to the console port on the router. A PC with HyperTerminal provides a keyboard and monitor for the
router. Connecting to the console port with a rollover cable and using HyperTerminal is the most
basic way to access a router for checking or changing its configuration.
Set up a network similar to the one in the diagram. Any router that meets the interface requirements
may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The
following resources will be required:
Cisco Router
1-4
2-4
b. When the HyperTerminal session window comes up, turn on the router. If the router is already
on, press the Enter key. There should be a response from the router.
If there is, then the connection has been successfully completed. If there is no connection,
troubleshoot as necessary. For example, verify that the router has power. Check the connection
to the COM 1 port on the PC and the console port on the router. If there is still no connection,
ask the instructor for assistance.
c.
Record in the engineering journal the correct procedure for establishing a console session with
the router.
3-4
c.
The computer will then ask if the session is to be saved. Select Yes.
4-4
Objective
Use several basic router commands to determine how the router is configured.
Background/Preparation
HyperTerminal is a simple Windows-based terminal emulation program that can be used to connect
to the routers console port. A PC with HyperTerminal provides a keyboard and monitor for the router.
Connecting to the console port with a rollover cable and using HyperTerminal is the most basic way
to access a router for checking or changing its configuration.
Set up a network similar to the one in the diagram. Any router that meets the interface requirements
may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The
configuration output used in this lab is produced from a 1721 series router. Other routers may
produce slightly different output.
The following resources will be required:
1-3
Cisco Router
The following steps are intended to be executed on each router unless specifically instructed
otherwise.
What does the prompt symbol following a router name mean? _________________________
What changed in the router prompt display and what does it mean?
_______________________________________________________________________
Step 5 Use the help feature
a. Enter the help mode by typing a question mark (?) at the router privileged EXEC prompt.
Router#?
b. List ten (10) available commands from the router response.
2-3
__________________________________________________________________________
Step 7 Examine the running configuration
a. Display the running router configuration by using the command show running-config at the
privileged EXEC router prompt.
Router#show running-config
b. List six key pieces of information shown with this command:
__________________________________________________________________________
Step 9 Use the command history feature
a. Use the command history to see and reuse the previously entered commands. Press the up
arrow or Ctrl-p to see the last entered command. Press it again to go to the command before
that. Press the down arrow or Ctrl-n to go back through the list. This function lets the command
history be viewed.
b. What appeared at the router prompt when the up arrow was pressed?
__________________________________________________________________________
Step 10 Logoff and turn the router off
a. Close HyperTerminal.
b. Shut down the router.
3-3
Objective
Background/Preparation
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps before
continuing with this lab.
__________________________________________________________________________
1-5
c.
__________________________________________________________________________
Step 2 Login to the router in privileged EXEC mode
a. Enter enable at the user mode prompt.
Router>enable
b. If prompted for a password, enter the password class.
c.
__________________________________________________________________________
d. What does this prompt mean?
__________________________________________________________________________
Step 3 Enter global configuration mode
a. Enter configure terminal at the privilege mode prompt.
Router#configure terminal
b. What prompt did the router display? ____________________________________________
c.
__________________________________________________________________________
Step 4 Enter router configuration mode
a. Enter router rip at the global configuration mode.
Router(config)#router rip
b. What prompt did the router display? _________________________________________
c.
__________________________________________________________________________
Step 5 Exit from router mode and go into interface configuration mode
a. Enter exit at the prompt to return to global configuration mode.
Router(config-router)#exit
b. Enter interface serial 0 at the global configuration mode prompt.
Note: See chart for the interface identifier.
Router(config)#interface serial 0
c.
__________________________________________________________________________
e. Enter exit at the prompt to return to global configuration mode.
Router(config-if)#exit
2-5
__________________________________________________________________________
d. What change has occurred in the prompt?
__________________________________________________________________________
Step 7 Exit the router
a. Enter exit at the prompt to close out of the router.
GAD(config)#exit
b. From the privileged EXEC mode, type exit to logoff. Turn the router off.
3-5
Objective
Background/Preparation
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
__________________________________________________________________________
1-6
c.
__________________________________________________________________________
Step 2 Login to the router in privileged EXEC mode
a. Enter enable at the user EXEC mode prompt.
Router>enable
b. What prompt did the router display?
__________________________________________________________________________
c.
__________________________________________________________________________
Step 3 Enter global configuration mode
a. Enter configure terminal at the privilege EXEC mode prompt.
Router#configure terminal
b. What prompt did the router display? ____________________________________________
c.
__________________________________________________________________________
Step 4 Enter a hostname of GAD for this router
a. Enter hostname GAD at the prompt.
Router(config)#hostname GAD
b. What prompt did the router display?
__________________________________________________________________________
c.
__________________________________________________________________________
Step 5 Configure and exit
Configure the console password on the router and exit from line console:
GAD(config)#line console 0
GAD(config-line)#password cisco
GAD(config-line)#login
GAD(config-line)#exit
GAD(config)#
Password:cisco
Password:cisco
% Bad secrets
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
4-6
Objective
Retrieve the current running configuration from RAM using show running-config.
View the IOS file information using show flash and show version.
View the current status of the router interfaces using show interface.
View the status of any configured Layer 3 protocol using show protocols.
Background/Preparation
This lab helps the student become familiar with the router show commands. The show commands
are the most important information-gathering commands available for the router.
1-4
show running-config (or show run) is probably the single most valuable command to help
determine the current status of a router, because it displays the active configuration file running
in RAM.
show startup-config (or show start) displays the backup configuration file that is stored
in non-volatile RAM (NVRAM). This is the file that will be used to configure the router when it is
first started or rebooted with the reload command. All the detailed router interface settings are
contained in this file.
show flash is used to view the available flash memory and the amount used. Flash is where
the Cisco Internetwork Operating System (IOS) file or image is stored.
show interfaces displays statistics for all interfaces configured on the router.
show protocols displays global and interface-specific status of configured Layer 3 protocols,
such as IP and IPX.
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Description
Step 4 Display IOS version and other important information with the show version
command
a. Enter the show version command. The router will return information about the IOS that is
running in RAM.
b. What is the IOS version? ____________________________________________________
c.
__________________________________________________________________________
f.
How many Ethernet interfaces does this router have? _________How many serial interfaces?
_________
2-4
g. The router backup configuration file is stored in non-volatile random access memory (NVRAM).
How much NVRAM does this router have? ______________________________________
h. The router operating system (IOS) is stored in Flash memory. How much Flash memory does
this router have? __________________________________________________________
i.
__________________________________________________________________________
Step 7 Display users who are connected to the router
a. Enter the show users command. What information is displayed with show users?
__________________________________________________________________________
Step 8 Show the command buffer
a. Enter the show history command. What information is displayed with show history?
_______________________________________________________________________
Step 9 Enter privileged EXEC mode
a. From user EXEC mode, enter privileged EXEC mode using the enable command.
b. Enter the enable password class.
c.
What command did you use to enter privileged EXEC mode? __________________________
_______________________________________________________________________
b. How is this output different from the one you got in user EXEC mode in Step 3?
_______________________________________________________________________
Step 11 Show the router ARP table
a. Enter the show arp command at the router prompt. What is the ARP table?
_______________________________________________________________________
Step 12 Show information about the Flash memory device
a. Enter show flash at the router prompt.
b. How much Flash memory is available and used? ___________________________________
c.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Step 14 Show information about the backup configuration file
a. Enter show startup-config (or show start) at the router prompt. What important
information is displayed with show start, and where is this information kept?
_______________________________________________________________________
Step 15 Display statistics for all interfaces configured on the router
a. Enter show interfaces at the router prompt.
b. Find the following information for interface FastEthernet 0: (Refer to the chart at the end of the
lab to correctly identify the interface based on equipment)
1. What is MTU? ______________________________________________________
2. What is rely? _______________________________________________________
3. What is load? ______________________________________________________
c.
__________________________________________________________________________
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
4-4
Objective
Background/Preparation
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-5
g. If the Serial interface was configured, why did the show interface serial 0 say that the
interface is down?
__________________________________________________________________________
2-5
What is the difference in the Line and Protocol status recorded on GAD earlier? Why?
__________________________________________________________________________
Step 10 Verify that the serial connection is functioning
a. ping the serial interface of the other router.
BHM#ping 192.168.15.1
GAD#ping 192.168.15.2
b. From GAD, ping the BHM router serial interface. Does the ping work? _________________
c.
From BHM, ping the GAD router serial interface. Does the ping work? _________________
d. If the answer is no for either question, troubleshoot the router configurations to find the error.
Then ping the interfaces again until the answer to both questions is yes.
Upon completion of the previous steps, logoff by typing exit. Turn the router off. Remove and store
the cables and adapter.
3-5
Objective
Background/Preparation
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-5
2-5
Router
Name
Serial 0
Address
Subnet
mask
GAD
172.16.0.1
255.255.0.0
Enable
Secret
password
Enable/VTY/Console
passwords
Cisco1
b. To change information, go to the proper command mode and retype the command with the new
information.
Issue the show running-config command and note the status of interface Serial 0:
__________________________________________________________________________
Step 8 Bring up Serial interface 0
a. To make the interface operational, enable the interface by entering:
GAD(config)#interface Serial 0
GAD(config-if)#no shutdown
GAD(config-if)#exit
GAD (config)#exit
b. Issue the show interface Serial 0 and note the interface status.
c.
3-5
Objective
Configure an Ethernet interface on the router with an IP address and a subnet mask.
Background/Preparation
In this lab, students configure an Ethernet interface on the router with an IP address and a subnet
mask.
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
d. Encapsulation _________________________________
e. To what OSI layer is the Encapsulation referring? ______________________
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
2-4
Objective
Create IP host tables that allow a router to use names to identify all of the attached interfaces on
that router. These names can be used in place of an IP addresses in commands that use IP
addresses to identify a location.
Background/Preparation
IP host tables allow a router to use names to identify all of the attached interfaces on that router.
These names can be used in place of an IP address in commands that use IP addresses to identify a
location such as ping or Telnet.
Any router that meets the interface requirements may be used. Possible routers include 800, 1600,
1700, 2500, 2600 routers, or a combination. Refer to the chart at the end of the lab to correctly
identify the interface identifiers to be used based on the equipment in the lab. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce
slightly different output. The following steps are intended to be executed on each router unless
specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-6
Step 2 Configure the interfaces and routing protocol on the GAD router
a. Go to the proper command mode and enter the following text:
GAD(config)#interface fastethernet 0
GAD(config-if)#ip address 172.16.0.1 255.255.0.0
GAD(config-if)#no shutdown
GAD(config-if)#exit
GAD(config)#interface serial 0
GAD(config-if)#ip address 172.17.0.1 255.255.0.0
GAD(config-if)#clock rate 56000
GAD(config-if)#no shutdown
GAD(config-if)#exit
GAD(config)#router rip
GAD(config-router)#network 172.16.0.0
GAD(config-router)#network 172.17.0.0
GAD(config-router)#exit
GAD(config)#exit
Step 5 Configure the interfaces and routing protocol on the BHM router
a. Go to the proper command mode and enter the following:
BHM(config)#interface fastethernet 0
BHM(config-if)#ip address 172.18.0.1 255.255.0.0
BHM(config-if)#no shutdown
BHM(config-if)#exit
BHM(config)#interface serial 0
BHM(config-if)#ip address 172.17.0.2 255.255.0.0
BHM(config-if)#no shutdown
BHM(config-if)#exit
BHM(config)#router rip
BHM(config-router)#network 172.17.0.0
BHM(config-router)#network 172.18.0.0
BHM(config-router)#exit
BHM(config)#exit
2-6
__________________________________________________________________________
b. From BHM, ping the GAD router FastEthernet interface. Does the ping work?
__________________________________________________________________________
c.
If the answer is no for either question troubleshoot the router configurations to find the error.
Then do the pings again until the answer to both questions is yes.
IP Address Ethernet 0
b. From the global configuration mode, enter the command ip host followed by the name of each
router in the network, as well as all of the IP addresses of the interfaces on each of the routers.
For example to name the GAD router accessible from BHM by the name G, enter:
BHM(conf)#ip host G 172.16.0.1 172.17.0.1
c.
__________________________________________________________________________
d. What commands did you enter on BHM?
__________________________________________________________________________
Step 9 Exit configuration mode and test
a. Go to the enable, or privileged EXEC mode.
b. Examine the host table entries, using the show hosts command on each router.
c.
Are the host entries that were configured in the previous steps visible?
GAD _____________________
BHM ______________________
3-6
e. Now ping the other router by host name. From the enable prompt type ping host. The host is
the ip host name that was configured in the previous steps. For example for a host name of G,
enter:
BHM#ping G
f.
g. If the ping was not successful, check the accuracy of the IP host table entries.
h. From the enable prompt, enter the host name. Press Enter. For example for a host name of G,
enter:
BHM#G
i.
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
4-6
Objective
Verify that the network layer between source and destination is working properly.
Determine delays over the path and whether the host can be reached or is functioning.
Background/Preparation
The ping command is a good tool for troubleshooting Layers 1 though 3 of the OSI model and
diagnosing basic network connectivity. Using ping sends an ICMP packet to the specified device
(workstation, server, router or switch) and then waits for a reply. The IP address or host name can be
pinged. In order to ping the host name of a router, there must be a static host lookup table in the
router or a DNS server for name resolution to IP addresses.
Cable a network similar to the one in the diagram. Any router that meets the interface requirements
may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. Refer
to the chart at the end of the lab to correctly identify the interface identifiers to be used based on the
equipment in the lab. The configuration output used in this lab is produced from 1721 series routers.
1-6
Any other router used may produce slightly different output. The following steps are intended to be
executed on each router unless specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
Verify the routers configurations by performing a show running-config on each router. If not
correct, fix any configuration errors and verify.
IP Address
The router sends an Internet Control Message Protocol (ICMP) packet to verify the hardware
connection and network layer address. The PC is acting as the console to the router, pinging
from one router to another router.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2-6
192.168.14.2
255.255.255.0
192.168.14.1
b. The configuration for the host connected to the BHM Router is:
IP Address
IP subnet mask
Default gateway
192.168.16.2
255.255.255.0
192.168.16.1
__________________________________________________________________________
Step 9 From the Host, telnet to the directly connected router
a. Telnet to the connected router. Type telnet and the default gateway IP address of the router.
C:\>telnet 192.168.14.1
b. The password prompt will appear, enter cisco.
Type ping and press Enter. Fill out the rest of the prompts as shown following:
Protocol [ip]:
Target IP address: 192.168.16.1
Repeat count [5]: 50
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.16.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (50/50), round-trip min/avg/max = 32/32/40
ms
GAD#
b. Notice how fast the ping response is. What was the average response time? _____________
Try doing this with a standard ping, can the cable be removed before the ping is over?
__________________________________________________________________________
d. What was the result of increasing the datagram size in the extended ping? _______________
Experiment with other combinations of the extended ping commands on both the router and the
host.
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
4-6
Objective
Configure the serial interfaces on two routers with the PPP protocol.
Background/Preparation
Cable a network similar to the one in the diagram above. Any router that meets the interface
requirements displayed on the above diagram may be used. This includes the following and any of
their possible combinations:
Please refer to the chart at the end of the lab to correctly identify the interface identifiers to be used
based on the equipment in the lab. The configuration output used in this lab is produced from 1721
series routers. Any other router used may produce slightly different output. Conduct the following
steps on each router unless specifically instructed otherwise.
Start a HyperTerminal session.
Note: Refer to the erase and reload instructions sheet. Perform those steps on all routers in this
lab assignment before continuing.
1-5
The hostname
If problems occur during this configuration, refer to Lab 1.1.4a Configuring NAT.
Step 5 Enter the command show interface serial 0 (refer to interface chart) on
Washington
Washington#show interface serial 0
a. This will show the details of interface serial 0.
b. Serial 0 is _____________, line protocol is_____________.
c.
d. Encapsulation _________________________
2-5
Step 6 Enter the command show interface serial 0 (refer to interface chart) on Dublin
Dublin#show interface serial 0
a. This will show the details of interface serial 0.
b. Serial 0 is _____________, line protocol is_____________.
c.
d. Encapsulation ___________________
Step 10 Verify that the serial connection is functioning by pinging the serial interface of the
other router
Washington#ping 192.168.15.2
Dublin#ping 192.168.15.1
a. Can the serial interface on the Dublin router be pinged from Washington? ________________
b. Can the serial interface on the Washington router be pinged from Dublin? ________________
c.
If the answer is no for either question, troubleshoot the router configurations to find the error.
Then do the pings again until the answer to both questions is yes.
Upon completion of the previous steps, finish the lab by doing the following:
3-5
4-5
5-5
Objective
Configure static routes between routers to allow data transfer between routers without the use of
dynamic routing protocols.
Background/Preparation
Setup a network similar to the one in the diagram. Any router that meets the interface requirements
may be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. Refer
to the chart at the end of the lab to correctly identify the interface identifiers to be used based on the
equipment in the lab. The configuration output used in this lab is produced from 1721 series routers.
Any other router used may produce slightly different output. The following steps are intended to be
executed on each router unless specifically instructed otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
the Configuring router passwords lab. Configure interfaces and IP host tables. If there are any
difficulties, refer to the Configuring Host Tables lab. Do not configure a routing protocol.
Check connectivity between the workstations using ping. From the workstation attached to the
GAD router, ping the workstation attached to the BHM router.
C:\>ping 192.168.16.2
Pinging 192.168.16.2 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.16.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
2-6
b. Use the command show ip route, view the IP routing table for BHM.
BHM>show ip route
Output eliminated.
Gateway of last resort is not set
C
C
c.
d. "Based on the output from the show ip route command on the GAD and BHM routers, can a host
on network 192.168.16.0 connect to a host on network 192.168.14.0?"___________________
If a route is not in the routers to which the host is connected, the host cannot reach the
destination host.
b. Using the command show ip route, view the IP routing table for BHM.
BHM>show ip route
Output eliminated.
Gateway of last resort is not set
S
C
C
3-6
c.
b. If the ping was not successful, check routing table to make sure static routes are entered
correctly.
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
4-6
Objective
Background/Preparation
Setup a network similar to the one in the diagram. Any router that meets the interface requirements
displayed in the above diagram, such as 800, 1600, 1700, 2500, 2600 routers, or a combination,
may be used. Please refer to the chart at the end of the lab to correctly identify the interface
identifiers to be used based on the equipment in the lab. The configuration output used in this lab is
produced from 1721 series routers. Any other router used may produce a slightly different output.
The following steps are intended to be executed on each router unless specifically instructed
otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-5
b. Using the command show ip route, view the IP routing table for BHM.
BHM>show ip route
output eliminated
Gateway of last resort is not set
C
C
Step 7 Configure the hosts with the proper IP address, subnet mask and default gateway
Step 8 Verify that the internetwork is functioning by pinging the FastEthernet interface of
the other router
a. From the host attached to GAD, is it possible to ping the BHM router FastEthernet interface?
_____________
b. From the host attached to BHM, is it possible to ping the GAD router FastEthernet interface?
_____________
c.
If the answer is no for either question, troubleshoot the router configurations to find the error.
Then do the pings again until the answer to both questions is yes.
__________________________________________________________________________
c.
__________________________________________________________________________
Upon completion of the previous steps, log off by typing exit and turn the router off.
3-5
Objective
Background/Preparation
Cable a network similar to the one in the diagram. Any router that meets the interface requirements
displayed in the above diagram, such as 800, 1600, 1700, 2500, 2600 routers, or a combination,
may be used. Please refer to the chart at the end of the lab to correctly identify the interface
identifiers to be used based on the equipment in the lab. The configuration output used in this lab is
produced from 1721 series routers. Any other router used may produce a slightly different output.
1-5
The following steps are intended to be executed on each router unless specifically instructed
otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
Step 2 Configure the hosts with the proper IP address, subnet mask and default gateway
Step 3 Make sure that routing updates are being sent
a. Type the command debug ip rip and the privileged EXEC mode prompt. Wait for at least 45
seconds.
b. Was there any output from the debug command? __________________________________
c.
d. To turn off specific debug commands type the no option, for example no debug ip rip
events. To turn off all debug commands type undebug all.
__________________________________________________________________________
c.
__________________________________________________________________________
Step 5 Show the RIP routing table entries for each router
a. Enter show ip route rip
b. List the routes listed in the routing table? _________________________________________
c.
Step 6 Verify that the internetwork is functioning by pinging the FastEthernet interface of
the other router
a. From the host attached to GAD, is it possible to ping the BHM router FastEthernet interface?
__________________________________________________________________________
b. From the host attached to BHM, is it possible to ping the GAD router FastEthernet interface?
__________________________________________________________________________
2-5
c.
If the answer is no for either question, troubleshoot the router configurations using show ip
route to find the error. Also check the workstation IP settings. Then do the pings again until the
answer to both questions is yes.
Upon completion of the previous steps, log off by typing exit and turn the router off.
3-5
Objective
Background/Preparation
Cable a network similar to the one in the diagram. Any router that meets the interface requirements
displayed in the above diagram, such as 800, 1600, 1700, 2500, and 2600 routers, or a combination,
may be used. Please refer to the chart at the end of the lab to correctly identify the interface
identifiers to be used based on the equipment in the lab. The configuration output used in this lab is
produced from 1721 series routers. Any other router used may produce a slightly different output.
The following steps are intended to be executed on each router unless specifically instructed
otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-5
Step 2 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Test the configuration by pinging all interfaces from each host. If the pinging is not successful
troubleshoot the configuration.
_____________________________________
c.
Enter the command show ip route on both routers. List how the route is connected (directly,
RIP), the IP address and via through what network. There should be four routes in each table.
GAD
Route connected
IP address
BHM
Route connected
IP address
Step 4 Make sure that the router load balance is on a per-packet basis
a. Configure the router to load balance on a per-packet basis. Both serial interfaces must use
process switching. Process switching forces the router to look in the routing table for the
destination network of each routed packet. In contrast, fast-switching, which is the default, stores
the initial table lookup in a high-speed cache and uses the information to route packets to the
same destination.
b. Enable process switching on both serial interfaces:
GAD(config-if)# no ip route-cache
BHM(config-if)# no ip route-cache
e. Verify that fast switching is disabled by using the show ip interface command.
f.
2-5
Send 30 ping packets across the network from the host attached to BHM router to the host
attached to the GAD router. This can be done with the ping 192.168.16.2 n 30
command on the host. As the pings are responded to the router generates IP packet information.
Stop the debug by using the command undebug all on the GAD router.
Examine and record part of the debug output. Which serial interface was the packet sent out on?
__________________________________________________________________________
Upon completion of the previous steps, log off by typing exit and turn the router off.
3-5
5-6
6-6
Objective
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-6
Step 2 Save the configuration information from the privileged EXEC command mode
BERLIN#copy running-config startup-config
Destination filename [startup-config]? [Enter]
a. Why save the running configuration to the startup configuration?
__________________________________________________________________________
__________________________________________________________________________
Step 3 Configure the hosts with the proper IP address, subnet mask, and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 98, check by using Start >Run > winipcfg. If running Windows 2000, check by using
the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using OSPF as the
routing protocol.
2-6
Did the IOS version automatically add any lines under router OSPF 1? _______________
_________________________________________________
e. If there were no changes to the running configuration, type the following commands:
Berlin(config)#router ospf 1
Berlin(config-router)#log-adjacency-changes
Berlin(config-router)#end
f.
Did the IOS version automatically add any lines under router OSPF 1? _______________
_________________________________________________
e. If there were no changes to the running configuration, type the following commands:
Rome(config)#router ospf 1
Rome(config-router)#log-adjacency-changes
Rome(config-router)#end
f.
3-6
Rome#show ip route
g. Are there any OSPF entries in the routing table now? __________________________
h. What is the metric value of the OSPF route? _______________________________
i.
j.
k.
What does the O mean in the first column of the routing table? ____________________
4-6
5-6
Objective
Observe the election process for designated routers (DR) and backup designated routers (BDR)
on the multiaccess network.
Configure loopback addresses for Open Shortest Path First (OSPF) stability.
Assign each OSPF interface a priority to force the election of a specific router as DR.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
1-8
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
__________________________________________________________________________
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
Each workstation should be able to ping all of the attached routers. That is because they are all part
of the same subnetwork. Troubleshoot as necessary. Remember to assign a specific IP address and
default gateway to the workstation. If running Windows 98, check by using Start > Run > winipcfg.
If running Windows 2000, check by using the ipconfig command in a DOS window.
2-8
If the pings were not successful, troubleshoot the router configuration, until the ping is
successful.
Did the IOS version automatically add any lines under router OSPF 1? ___________________
d. If there were no changes to the running configuration, type the following commands.
London(config)#router ospf 1
London(config-router)#log-adjacency-changes
London(config-router)#end
e. Show the routing table for router:
London#show ip route
f.
g. Why? __________________________________________________________________
Did the IOS version automatically add any lines under router OSPF 1? ___________________
d. If there were no changes to the running configuration, type the following commands.
Ottawa(config)#router ospf 1
Ottawa(config-router)#log-adjacency-changes
Ottawa(config-router)#end
3-8
d. If there were no changes to the running configuration, type the following commands:
Brasilia(config)#router ospf 1
Brasilia(config-router)#log-adjacency-changes
Brasilia(config-router)#end
d. Type the command show ip ospf neighbor detail for more information.
e. What is the neighbor priority of 192.168.1.1 from router Brasilia? _______________________
f.
4-8
Write down the router ID and link address of the DR. _______________
________________
_______________
__________________
h. Type the command show ip ospf neighbor detail for more information.
i.
j.
c.
d. Why? __________________________________________________________________
e. To turn off all debugging type undebug all.
6-8
Objective
Setup an IP addressing scheme for Open Shortest Path First (OSPF) area.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
chart. Do not configure the routing protocol until specifically told to. If there are any problems
configuring the router basics, refer to the lab Review of Basic Router Configuration with RIP.
Step 2 Save the configuration information from the privileged EXEC command mode
Cairo#copy running-config startup-config
Destination filename [startup-config]?[Enter]
Moscow#copy running-config startup-config
Destination filename [startup-config]?[Enter]
Why save the running configuration to the startup configuration?
__________________________________________________________________________
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 9x/ME, check by using Start > Run > winipcfg. If running Windows NT/2000/XP,
check by using the ipconfig command in a Command Prompt window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using OSPF as the
routing protocol.
Cairo:
FastEthernet 0: ___________________________________________________________
Serial 0: ________________________________________________________________
Moscow:
FastEthernet 0: ___________________________________________________________
Serial 0: ________________________________________________________________
d. On a router, ping the serial interface of the other router.
e. Was the ping successful? ___________________________________________________
f.
If the ping was not successful, troubleshoot the router configuration until the ping is successful.
Did the IOS version automatically add any lines under router OSPF 1? ___________
Did the IOS version automatically add any lines under router OSPF 1? _______________
d. If there were no changes to the running configuration, type the following commands:
Moscow(config)#router ospf 1
Moscow(config-router)#log-adjacency-changes
Moscow(config-router)#end
What does the O mean in the first column of the routing table? _________________________
56 Kbps
1785
T1
65
10-Mbps
10
16-Mbps Token-ring
FDDI/Fast Ethernet
a. Show the properties of the Cairo router serial and FastEthernet interfaces using the show
interfaces command.
b. What is the default bandwidth of the interfaces?
c.
Step 10 Record the OSPF cost of the serial and FastEthernet interfaces
a. Using the show ip ospf interface command, record the OSPF cost of the serial and Fast
Ethernet interfaces.
b. OSPF cost of Serial Interface: _________________________
c.
Reverse the effect of this command by entering in interface configuration mode the command no
ip ospf cost.
d. Verify that the default cost for the interface has returned.
4-7
e. Enter the command bandwidth 2000 at the serial 0 interface configuration mode.
f.
g. Can the OSPF cost of an Ethernet interface be modified in this way? ____________________
h. The speed can be set on an Ethernet interface. Will this affect the OSPF cost of that interface?
__________________________________________________________________________
i.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
j.
Reset the bandwidth on the serial interface using the no bandwidth 2000 at the serial 0
interface configuration mode.
Once completion previous steps are completed, logoff by typing exit and turn the router off. Then
remove and store the cables and adapters.
5-7
6-7
Objective
Setup an IP addressing scheme for Open Shortest Path First (OSPF) area.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
chart. Do not configure the routing protocol until specifically told to. If there are any problems
configuring the router basics, refer to the lab Review of Basic Router Configuration with RIP.
Step 2 Save the configuration information from the privileged EXEC command mode
Dublin#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Washington#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Why save the running configuration to the startup configuration?
__________________________________________________________________________
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 9x/ME, check by using Start > Run > winipcfg. If running Windows NT/2000/XP,
check by using the ipconfig command in a Command Prompt window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using OSPF as the
routing protocol.
If the ping was not successful, troubleshoot the routers configurations, until the ping is
successful.
2-5
What is the OSPF password being used for md5 authentication? _______________________
g. Enter these configuration commands, one per line. End with CNTL/Z.
Washington#configure terminal
Washington(config)#interface serial 0
Washington(config-if)#ip ospf message-digest-key 1 md5 7 asecret
Washington(config-if)#router ospf 1
Washington(config-router)#area 0 authentication message-digest
h. Verify that there is an OSPF neighbor by entering show ip ospf neighbor command.
i.
j.
Ping the Washington host from Dublin. If this was not successful troubleshoot as necessary.
Once the previous steps are completed, log off by typing exit and turn the router off. Then remove
and store the cables and adapter.
3-5
4-5
Objective
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-6
Step 2 Save the configuration information from the privileged EXEC command mode
Sydney#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Rome#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Why save the running configuration to the startup configuration?
__________________________________________________________________________
Step 3 Configure the hosts with the proper IP address, subnet mask, and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 9x/ME, check by using Start > Run > winipcfg. If running WindowsNT/2000/XP,
check by using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using OSPF as the
routing protocol.
2-6
3-6
Step 15 Verify the interval timers are returned to the default values
a. Use the show ip ospf interface command to verify the timers are reset to their default
values.
b. Are the values back to the default? ________________________________________
c.
Once the previous steps are completed, logoff by typing exit and turn the router off. Then remove
and store the cables and adapter.
4-6
5-6
Objective
Configure the OSPF network so that all hosts in OSPF area can connect to outside networks.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-6
Step 3 Save the configuration information from the privileged EXEC command mode
Tokyo#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Madrid#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Why save the running configuration to the startup configuration?
__________________________________________________________________________
Step 4 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 9x/ME, check by using Start > Run > winipcfg. If running Windows NT/2000/XP,
check by using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using OSPF as the
routing protocol.
2-6
If the ping was not successful, troubleshoot the router configurations, until the ping is successful.
Next, on the host attached to Madrid, open a Command Prompt and ping the serial 1 interface
on the ISP router.
f.
g. All of these pings should be successful. If they are not, troubleshoot the configurations on the
host and the Madrid and ISP routers.
d. There is an O*E2 entry in the routing table. What type of route it is? _____________________
e. Can the ISP server address at 138.25.6.33 be pinged from both workstations? ____________
f.
Once the previous steps are completed, log off by typing exit and turn the router off. Then remove
and store the cables and adapter.
4-6
5-6
Objective
Configure and verify Enhanced Interior Gateway Routing Protocol (EIGRP) routing.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
protocol until specifically told to. If there are any problems configuring the router basics, refer to the
lab Review of Basic Router Configuration with RIP.
Step 2 Save the configuration information from the privileged EXEC command mode
Paris#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 98, check by using Start > Run > winipcfg. If running Windows 2000, check by
using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using EIGRP as the
routing protocol.
If the ping was not successful, troubleshoot the routers configuration, until the ping is successful.
c.
d. Why? __________________________________________________________________
3-5
Objective
Configure and verify Enhanced Interior Gateway Routing Protocol (EIGRP) routing.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface
requirements displayed on the above diagram may be used. For example, router series 800, 1600,
1700, 2500, and 2600 or any such combination can be used. Please refer to the chart at the end of
the lab to correctly identify the interface identifiers to be used based on the equipment in the lab. The
configuration output used in this lab is produced from 1721 series routers. Any other router used may
produce slightly different output. Perform the following steps on each router unless specifically
instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
routers in this lab assignment before continuing.
1-6
Step 2 Save the configuration information from the privileged EXEC command mode
Paris#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary.
Remember to assign a specific IP address and default gateway to the workstation. If running
Windows 98, check by using Start > Run > winipcfg. If running Windows 2000, check by
using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following
steps will demonstrate the process required to get communication working using EIGRP as the
routing protocol.
If the ping was not successful, troubleshoot the routers configuration until the ping is successful.
Paris(config-router)#end
b. Show the routing table for the Paris router.
Paris#show ip route
c.
d. Why? __________________________________________________________________
Are there any EIGRP entries in the routing table now? _______________________________
To view more specific information about a topology table entry, use an IP address with this
command:
Paris#show ip eigrp topology 192.168.1.0
d. Based on the output of this command, does it tell what external protocol originated this route to
192.168.2.0?
__________________________________________________________________________
3-6
__________________________________________________________________________
f.
Finally, use show commands to view key EIGRP statistics. On the Paris router, issue the show
ip eigrp traffic command.
g. How many hello packets has the Paris router received? _____________________________
h. How many has it sent? ______________________________________________________
Once the previous steps are completed, log off by typing exit, and turn the router off. Then remove
and store the cables and adapter.
4-6
5-6
Objective
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the Command Line option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-7
What is the range of values shown for the VTY lines? _______________________________
__________________________________________________________________________
Step 3 Assign a name to the switch
a. Enter enable and then the configuration mode. The configuration mode allows the management
of the switch. Enter ALSwitch, the name this switch will be referred to in the following:
Switch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
Switch(config)#hostname ALSwitch
ALSwitch(config)#exit
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press CtrlZ to go back into privileged mode.
2-7
What does the configuration show as the hostname of this switch? ______________________
b. Which password takes precedence, the enable password or enable secret password? _______
1900:
ALSwitch(config)#ip address 192.168.1.2 255.255.255.0
ALSwitch(config)#exit
b. Set the default gateway for the switch and the default management VLAN to 192.168.1.1 as
follows:
ALSwitch(config)#ip default-gateway 192.168.1.1
ALSwitch(config)#exit
1900:
ALSwitch(config)#ip default-gateway 192.168.1.1
ALSwitch(config)#exit
Step 8 Verify the management LANs settings (1900: Skip to Step 10)
a. Verify the interface settings on VLAN 1 as follows:
ALSwitch#show interface VLAN 1
b. What is the bandwidth on this interface? ______________________________
c.
What are the VLAN states: VLAN1 is __________, Line protocol is __________
4-7
Step 10 Examine the startup configuration file (1900: Skip to Step 11)
a. To see the configuration that is stored in NVRAM, type show startup-config from the
privileged EXEC (enable mode).
ALSwitch#show startup-config
b. What is displayed? ________________________________________________________
c.
Are all the changes that were entered recorded in the file? ____________________________
5-7
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the Command Line option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
PC2: ___________________________________________________________________
Step 5 Determine the MAC addresses that the switch has learned
a. To determine the MAC addresses the switch has learned, use the show mac-address-table
command as follows at the privileged EXEC mode prompt:
ALSwitch#show mac-address-table
b. How many dynamic addresses are there? ________________________________________
c.
Show only the MAC addresses from the table that were learned dynamically.
2-5
d. The table has not changed yet. Ping the switch IP address from the hosts two times each and
repeat Step 10.
3-5
5-5
Objective
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are intended to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the Command Line option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-7
PC2____________________________________________________________________
Step 5 Determine what MAC addresses that the switch has learned
a. Determine what MAC addresses the switch has learned by using the show mac-addresstable command as follows, at the privileged exec mode prompt:
ALSwitch#show mac-address-table
b. How many dynamic addresses are there? ________________________________________
c.
2-7
2900:
ALSwitch(config)#mac-address-table static 00e0.2917.1884 fastethernet
0/4 vlan 1
1900:
ALSwitch(config)#mac-address-table permanent 00e0.2917.1884 ethernet
0/4
1900:
ALSwitch(config)#interface ethernet 0/4
ALSwitch(config-if)#port secure ?
max-mac-count Maximum number of addresses allowed on the port
<cr>
b. To allow the switchport FastEthernet 0/4 to accept only one device enter port security as
follows:
ALSwitch(config-if)#switchport mode access
ALSwitch(config-if)#switchport port-security
ALSwitch(config-if)#switchport port-security mac-address sticky
1900:
ALSwitch(config-if)#port secure
3-7
c.
__________________________________________________________________________
Step 12 Limit the number of hosts per port
a. On interface FastEthernet 0/4 set the port security maximum MAC count to 1 as follows:
2950:
ALSwitch(config-if)#switchport port-security maximum 1
1900:
ALSwitch(config)#interface Ethernet 0/4
ALSwitch(config-if)#port secure max-mac-count 1
b. Disconnect the PC attached to FastEthernet 0/4. Connect to the port on the PC that has been
given the IP address 192.168.1.7. This PC has not yet been attached to the switch. It may be
necessary to ping the switch address 192.168.1.2 to generate some traffic.
c.
___________________________________________________
__________________________________________________________________________
Step 13 Configure the port to shut down if there is a security violation
a. It has been decided that in the event of a security violation the interface should be shut down.
Enter the following to make the port security action to shutdown:
2900XL:
ALSwitch(config-if)#switchport port-security violation shutdown
1900:
ALSwitch(config-if)#port security action shutdown
The default action upon address violation is suspend
b. What other action options are available with port security? ____________________________
c.
If necessary, ping the switch address 192.168.1.2 from the PC 192.168.1.7. This PC is now
connected to interface FastEthernet 0/4. This ensures that there is traffic from the PC to the
switch.
__________________________________________________________________________
__________________________________________________________________________
4-7
5-7
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Background/Preparation
When managing a switch, the Management Domain is always VLAN 1. The Network Administrator's
workstation must have access to a port in the VLAN 1 Management Domain. All ports are assigned
to VLAN 1 by default. This lab will also help demonstrate how VLANs can be used to separate traffic
and reduce broadcast domains.
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the Command Line option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-7
1900:
Switch_A#config terminal
Switch_A(config)#interface ethernet 0/4
Switch_A(config-if)#vlan static 2
Switch_A(config-if)#interface ethernet 0/5
Switch_A(config-if)#vlan static 2
Switch_A(config-if)#interface ethernet 0/6
Switch_A(config-if)#vlan static 2
Switch_A(config-if)#end
__________________________________________________________________________
Step 8 Assign ports 7, 8, and 9 to VLAN 3
Enter the following commands to add ports 7, 8 and 9:
Switch_A#configure terminal
Switch_A(config)#interface fastethernet 0/7
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 3
Switch_A(config-if)#interface fastethernet 0/8
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 3
Switch_A(config-if)#interface fastethernet 0/9
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 3
Switch_A(config-if)#end
1900:
Switch_A#config terminal
Switch_A(config)#interface ethernet 0/7
Switch_A(config-if)#vlan static 3
Switch_A(config-if)#interface ethernet 0/8
Switch_A(config-if)#vlan static 3
Switch_A(config-if)#interface ethernet 0/9
Switch_A(config-if)#vlan static 3
Switch_A(config-if)#end
3-7
1900:
Switch_A#show vlan-membership
b. Are ports 7 through 9 assigned to VLAN 3?
__________________________________________________________________________
Step 10 Test the VLANs
Ping from the host in port 0/4 to the host in port 0/1.
a. Was the ping successful? ____________________________________________________
b. Why? __________________________________________________________________
Ping from the host in port 0/1 to the host in port 0/4.
c.
d. Why? __________________________________________________________________
Ping from the host in port 0/4 to the switch IP 192.168.1.2.
e. Was the ping successful? ____________________________________________________
f.
Why? __________________________________________________________________
4-7
Ping from the host in port 0/5 to the host in port 0/4.
c.
Why? __________________________________________________________________
5-7
6-7
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the Privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Background/Preparation
When managing a switch, the Management Domain is always VLAN 1. The Network Administrator's
workstation must have access to a port in the VLAN 1 Management Domain. All ports are assigned
to VLAN 1 by default. This lab will also help demonstrate how to remove an interface from and
existing VLAN and how to delete an entire VLAN.
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the Command Line option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-7
Configure the hostname, access and command mode passwords, as well as the management LAN
settings. These values are shown in the chart. If problems occur while performing this configuration,
refer to the Basic Switch Configuration lab.
0/7
3
0/8
3
0/9
3
Ping from the host in port 0/1 to the host in port 0/4.
b. Was the ping successful? _____________________________________________
Why? _____________________________________________
Ping from the host in port 0/4 to the switch IP 192.168.1.2.
c.
d. Why? _____________________________________________
Ping from the host in port 0/1 to the switch IP 192.168.1.2.
d. Was the ping successful? _____________________________________________
Why? _____________________________________________
4-7
What happened to the ports that were released from VLAN 3? ______________________
5-7
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the Privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Create multiple VLANs, name them, and assign multiple member ports to them.
Create an 802.1q trunk line between the two switches to allow communication between paired
VLANs.
Test the VLANs functionality by moving a workstation from one VLAN to another.
Background/Preparation
Trunking changes the formatting of the packets. The ports need to be in agreement as to which
format is being used to transmit data on the trunk or no data will be passed. If there is different
trunking encapsulation on the two ends of the link they will not able to communicate. Similar situation
will occur if one of the ports is configured in trunking mode (unconditionally) and the other one is in
access mode (unconditionally).
When managing a switch, the Management Domain is always VLAN 1. The Network Administrator's
workstation must have access to a port in the VLAN 1 Management Domain. All ports are assigned
to VLAN 1 by default. This lab will also help demonstrate how VLANs can be used to separate traffic
and reduce broadcast domains.
1-8
Cable a network similar to one of the diagram. The configuration output used in this lab is produced
from 2950 series switch. Any other switch used may produce different output. The following steps
are intended to be executed on each switch unless specifically instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
Switch_A(config-if)#interface fastethernet
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan
Switch_A(config-if)#interface fastethernet
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan
Switch_A(config-if)#end
0/5
10
0/6
10
__________________________________________________________________________
3-8
d. Why? __________________________________________________________________
__________________________________________________________________________
c.
__________________________________________________________________________
d. On the fragment Trunking VLANs Enable from the output, what does the word ALL mean?
__________________________________________________________________________
e. What would happen if the two ports of the trunk were using different encapsulation? _________
f.
4-8
Explain _________________________________________________________________
d. Why? __________________________________________________________________
d. Why? __________________________________________________________________
d. Why? __________________________________________________________________
5-8
Why? __________________________________________________________________
d. Why? __________________________________________________________________
Ping from the host in Switch_B port 0/3 to the switch IP 192.168.1.3.
e. Was the ping successful? ___________________________________________________
f.
Why? __________________________________________________________________
g. What conclusions can be drawn from the testing that was just performed in regards to VLAN
membership and VLANs across a trunk?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Once the steps are complete, logoff by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
6-8
7-8
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the Privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Create multiple VLANs, name them and assign multiple member ports to them.
Create an 802.1q trunk line between the two switches to allow communication between paired
VLANs.
Then test the VLANs functionality by moving a workstation from one VLAN to another.
Background/Preparation
When managing a switch, the Management Domain is always VLAN 1. The Network Administrator's
workstation must have access to a port in the VLAN 1 Management Domain. All ports are assigned
to VLAN 1 by default.
Cable a network similar to the one of in diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Start a HyperTerminal session.
1-8
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
2-8
3-8
__________________________________________________________________________
5-8
d. Why? __________________________________________________________________
d. Why? __________________________________________________________________
Once the steps are complete, logoff by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
6-8
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the Privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Create multiple VLANs, name them and assign multiple member ports to them.
Create an 802.1q trunk line between the switch and router to allow communication between
VLANs.
Background/Preparation
When managing a switch, the Management Domain is always VLAN 1. The Network Administrator's
workstation must have access to a port in the VLAN 1 Management Domain. All ports are assigned
to VLAN 1 by default. This lab will also help demonstrate how VLANs can be used to separate traffic
and reduce broadcast domains.
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 2900 and 1900 Series switches. The 1900 Series switch initially
displays a User Interface Menu. Select the Command Line option from the menu to perform the
steps for this lab.
1-7
Note: The router used must have a Fast Ethernet interface in order to support trunking and interVLAN routing. The 2500 series router cannot be used for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
192.168.5.2
Subnet mask
255.255.255.0
Default gateway
192.168.5.1
192.168.7.2
Subnet mask
255.255.255.0
Default gateway
192.168.7.1
2-7
Switch_A#configure terminal
Switch_A(config)#interface fastethernet 0/5
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 10
Switch_A(config-if)#interface fastethernet 0/6
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 10
Switch_A(config-if)#interface fastethernet 0/7
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 10
Switch_A(config-if)#interface fastethernet 0/8
Switch_A(config-if)#switchport mode access
Switch_A(config-if)#switchport access vlan 10
Switch_A(config-if)#end
1900:
Switch_A#config terminal
Switch_A(config)#interface ethernet 0/5
Switch_A(config-if)vlan static 10
Switch_A(config-if)#interface ethernet 0/6
Switch_A(config-if)vlan static 10
Switch_A(config-if)#interface ethernet 0/7
Switch_A(config-if)vlan static 10
Switch_A(config-if)#interface ethernet 0/8
Switch_A(config-if)vlan static 10
Switch_A(config-if)#end
Switch_A(config-if)vlan static 20
Switch_A(config-if)#end
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Once the steps are complete, logoff by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
5-7
6-7
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the Privileged EXEC mode enter the command reload.
Switch(config)#reload
The responding line prompt will be:
System configuration has been modified. Save? [yes/no]:
b. Type n and then press Enter.
The responding line prompt will be:
Proceed with reload? [confirm] [Enter]
The first line of the response will be:
Reload requested by console.
After the switch has reloaded, the line prompt will be:
Would you like to enter the initial configuration dialog? [yes/no]:
c.
Objective
Background/Preparation
Cable a network similar to the one in the diagram. Any router that meets the interface requirements
displayed on the above diagram, such as 800, 1600, 1700, 2500, 2600 routers, or a combination,
may be used. Please refer to the chart at the end of the lab to correctly identify the interface
identifiers to be used based on the equipment in the lab. The configuration output used in this lab is
produced from 1721 series routers. Any other router used may produce a slightly different output.
The following steps are intended to be executed on each router unless specifically instructed
otherwise.
Start a HyperTerminal session as performed in the Establishing a HyperTerminal session lab.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on the
router in this lab assignment before continuing.
1-5
192.168.14.2
255.255.255.0
192.168.14.1
b. Host 2
IP address
Subnet mask
Default gateway
192.168.14.3
255.255.255.0
192.168.14.1
Step 3 Save the configuration information from the privileged EXEC command mode
GAD#copy running-config startup-config
Step 4 Confirm connectivity by pinging the default gateway from both hosts
a. If the pings are not successful, correct the configuration and repeat until they are successful.
Step 6 Prevent access to HTTP (port 80) from the Ethernet interface hosts
a. Create an access list that will prevent Web browsing access to FastEthernet 0 from the
192.168.14.0 network.
b. At the router configuration prompt type the following commands:
GAD(config)#access-list 101 deny tcp 192.168.14.0 0.0.0.255 any eq 80
GAD(config)#access-list 101 permit ip any any
c.
2-5
Upon completion of the previous steps, logoff by typing exit. Turn the router off.
3-5