Lab
Lab
Lab
Host
Device IP Address VLAN 1 Subnet IP Address Subnet Default
Name /
Designation Fa0/0 IP Address Mask S0/0/0 Mask Gateway
Interface
Router1 R1 192.168.1.1 255.255.255.0 192.168.2.1 255.255.255.0
Router2 R2 192.168.3.1 255.255.255.0 192.168.2.2 255.255.255.0
Switch Switch1 192.168.1.5 255.255.255.0 192.168.1.1
Host1 PC1 192.168.1.10 255.255.255.0 192.168.1.1
Host2 PC2 192.168.3.10 255.255.255.0 192.168.3.1
Objectives
• Configure static routes.
• Configure a routing protocol (RIP v2).
• Configure a switch management VLAN IP address.
• Test and verify configurations.
Background / Preparation
This lab reviews the primary IOS commands used to manage, configure, and monitor devices in a multirouter
network. In this lab, you will configure two routers using static routes and then using a routing protocol;
configure a switch, including access to management functions; and configure two hosts. You will make and
verify configuration changes on the switch. You will also verify network configurations and connectivity.
The following resources are required:
• Cisco 2960 switch or other comparable switch
• Two 1841 or other compatible Cisco routers with Fast Ethernet interfaces to connect to switch and
host
• Two Windows-based PCs, at least one with a terminal emulation program
• At least one RJ45-to-DB-9 connector console cable
• Two straight-through Ethernet cables
• One crossover Ethernet cable
• Access to the PC command prompt
• Access to PC network TCP/IP configuration
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
NOTE: Go to the “Erasing and Reloading the Switch” instructions at the end of this lab. Perform those steps
on the switch in this lab assignment before continuing.
NOTE: Go to the “Erasing and Reloading the Router” instructions at the end of this lab. Perform those steps
on all routers in this lab assignment before continuing.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
NOTE: When you use the banner motd command, you must issue a delimited character, a character to let
the router know is the beginning (or ending) part of the message. Examples of delimiting characters
include +, @, %, or $. Once you enter the beginning delimited character, you press Enter and type the
lines you want to appear when someone accesses a network device. Press Enter after each line. When
finished, type the same delimiting character.
R1(config)#banner motd +
**************************************************
Authorized Users Only!
**************************************************
+
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
R1(config)#
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
Step 11: Remove Static Route and configure a routing protocol on router R1
a. Remove the static route to 192.168.3.0.
R1(config)#no ip route 192.168.3.0 255.255.255.0 192.168.2.2
b. Enable RIP v2 routing and advertise the participating networks.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.2.0
c. Return to privileged EXEC mode.
d. Save the configuration.
Step 12: Remove Static Route and configure a routing protocol on router R2
a. Remove the static route to 192.168.1.0.
R2(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1
b. Enable RIP v2 routing and advertise the participating networks.
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.3.0
c. Return to privileged EXEC mode.
d. Save the configuration.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 11
CCNA Discovery
Introducing Routing and Switching in the Enterprise
Router(config)#interface Fa0/0
Router(config-if)#ip address 10.10.10.1 255.255.255.248
Router(config-if)#no shutdown
p. Enable the router's HTTP/HTTPS server, using the following Cisco IOS commands:
Router(config)#ip http server
Router(config)#ip http secure-server
Router(config)#ip http authentication local
r. Configure SSH and Telnet for local login and privilege level 15.
Router(config)#line vty 0 4
Router(config-line)#privilege level 15
Router(config-line)#login local
Router(config-line)#transport input telnet
Router(config-line)#transport input telnet ssh
Router(config-line)#exit
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 11