Lab 8_2_1 Individual router config.

advertisement
Lab 8.2.1 Individual router config. - Overview
Estimated time: 30 min.
Objectives:
 Configure a router for the standard lab setup using only the lab diagram
 Configure the router using only the Command Line Interface (CLI)
 Configure workstation IP address settings to communicate with the router via Ethernet
 Prepare for Part A of the Final Exam (Timed Router Configuration)
Background:
In this lab you will configure one of the five lab routers from the command line by yourself
without the use of any notes, only the network topology. You may use the router help facility
and the router diagram above. Your goal will be to configure the router as quickly as possible
without errors. You will also configure the IP settings for one of the corresponding Ethernet
attached workstations.
Tools / Preparation:
Prior to starting this lab you should have the equipment for the standard 5-router lab available.
The NVRAM of the router you will be configuring should be erased. Before beginning the lab,
the instructor or lab assistant should login to each router, enter the privileged EXEC mode,
issue the erase startup-config command, and then issue the reload command. This
will force the routers to come up with a blank configuration. The IP configuration for the
associated workstation should also be changed so that it is incorrect. The answer section
includes examples of the detailed command sets that the students will have to master. The
instructor will review the router configuration when finished.
Worksheet
Step 1 - Review the physical connections on the standard lab setup.
Review the standard semester 5-lab diagram in the overview section of this lab and check all
physical devices, cables and connections of the lab setup to familiarize yourself with them.
Step 2 - Console into the router.
Verify that you have a good console connection and that HyperTerminal is configured
properly. The router should be booted with no startup configuration file in NVRAM.
533578889
Seite 1 von 10
Step 3 - Identify IP address information.
1. Fill in the table with IP interface information from the diagram for each of the five routers.
Cisco Lab Router IP Configuration (Answers from router diagram - your answers may
vary)
Router Name
Model Number
Interface E0 Address
Interface E0 Subnet
Mask
Interface EI IP
Address
Interface EI Subnet
Mask
Interface S0 IP
Address
Interface SO Subnet
Mask
Interface SO + Clock
Rate
Interface SI IP
Address
Interface SI Subnet
Mask
Other Intfc(s)
Lab-A
Lab-B
Lab-C
Lab-D
Lab-E
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
* Note: Clock rate must be set on the DCE end (S0) of the WAN link between routers.
Step 4 - Configure the router via the console connection.
1. Select a router and time yourself. Configure the following information for each router: Host
name, passwords, IP addresses for interfaces, routing protocol and associated network
numbers, IP host lookup table. Repeat with other routers.
Note: make sure you copy the running configuration to the startup configuration when you are
finished or you will lose the configuration upon next reboot.
Step 5 - Configure the workstation IP settings using the Control Panel / Network icon.
1. Configure the IP address, subnet mask and default gateway to be compatible with the
router.
533578889
Seite 2 von 10
Step 6 - Test your configuration with ping and telnet.
1. From the PC DOS prompt, use the ping and telnet commands to test your configuration.
Listed below are the outputs from the show running-config command for all five router in
the standard lab setup. If you have problems configuring a particular router refer to these for
help. Answers may vary depending on the router model number and exact configuration of
your lab setup.
Router: LAB-A
LAB-A#show run
Building configuration...
Current configuration:
version 11.1
service udp-small-servers
service tcp-small-servers
hostname LAB-A
enable secret 5 $1$xT7v$9EC3X5IBHLwq2RehHNvWc0
interface Ethernet0
ip address 192.5.5.1 255.255.255.0
interface Ethernet1
ip address 205.7.5.1 255.255.255.0
interface Serial0
ip address 201.100.11.1 255.255.255.0
clockrate 56000
interface Serial1
no ip address
shutdown
router rip
network 192.5.5.0
network 205.7.5.0
network 201.100.11.0
ip host LAB-B 201.100.11.2 219.17.100.1 199.6.13.1
ip host LAB-C 199.6.13.2 223.8.151.1 204.204.7.1
ip host LAB-D 204.204.7.2 210.93.105.1
ip host LAB-E 210.93.105.2
ip host LAB-A 192.5.5.1 205.7.5.1 201.100.11.1
no ip classless
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
!end
533578889
Seite 3 von 10
Router: LAB-B
LAB-B#show run
Building configuration...
Current configuration:
version 11.1
service udp-small-servers
service tcp-small-servers
hostname LAB-B
enable secret 5 $1$xT7v$9EC3X5IBHLwq2RehHNvWc0
interface Ethernet0
ip address 219.17.100.1 255.255.255.0
no mop enabled
interface Serial0
ip address 199.6.13.1 255.255.255.0
clockrate 56000
interface Serial1
ip address 201.100.11.2 255.255.255.0
interface BRI0
no ip address
shutdown
router rip
network 219.17.100.0
network 199.6.13.0
network 201.100.11.0
ip host LAB-B 201.100.11.2 219.17.100.1 199.6.13.1
ip host LAB-C 199.6.13.2 223.8.151.1 204.204.7.1
ip host LAB-D 204.204.7.2 210.93.105.1
ip host LAB-E 210.93.105.2
ip host LAB-A 192.5.5.1 205.7.5.1 201.100.11.1
no ip classless
snmp-server community public RO
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
533578889
Seite 4 von 10
Router: LAB-C
LAB-C#show run
Building configuration...
Current configuration:
version 11.1
service udp-small-servers
service tcp-small-servers
hostname LAB-C
enable secret 5 $1$xT7v$9EC3X5IBHLwq2RehHNvWc0
interface Ethernet0
ip address 223.8.151.1 255.255.255.0
interface Serial0
ip address 204.204.7.1 255.255.255.0
clockrate 56000
interface Serial1
ip address 199.6.13.2 255.255.255.0
interface BRI0
no ip address
shutdown
router rip
network 223.8.151.0
network 199.6.13.0
network 204.204.7.0
ip host LAB-A 192.5.5.1 205.7.5.1 201.100.11.1
ip host LAB-B 201.100.11.2 219.17.100.1 199.6.13.1
ip host LAB-C 199.6.13.2 223.8.151.1 204.204.7.1
ip host LAB-D 204.204.7.2 210.93.105.1
ip host LAB-E 210.93.105.2
no ip classless
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
!
533578889
Seite 5 von 10
Router: LAB-D
LAB-D#show run
Building configuration...
Current configuration:
version 11.1
service udp-small-servers
service tcp-small-servers
hostname LAB-D
enable secret 5 $1$xT7v$9EC3X5IBHLwq2RehHNvWc0
interface Ethernet0
ip address 210.93.105.1 255.255.255.0
no ip mroute-cache
no ip route-cache
interface Serial0
no ip address
no ip mroute-cache
no ip route-cache
shutdown
interface Serial1
ip address 204.204.7.2 255.255.255.0
no ip mroute-cache
no ip route-cache
router rip
network 204.204.7.0
network 210.93.105.0
ip host LAB-A 102.5.5.1 205.7.5.1 201.100.11.1
ip host LAB-B 201.100.11.2 219.17.100.1 199.6.13.1
ip host LAB-C 199.6.13.2 223.8.151.1 204.204.7.1
ip host LAB-D 204.204.7.2 210.93.105.1
ip host LAB-E 210.93.105.2
no ip classless
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
533578889
Seite 6 von 10
Router: LAB-E
LAB-E#show run
Building configuration...
Current configuration:
version 11.1
service udp-small-servers
service tcp-small-servers
hostname LAB-E
enable secret 5 $1$q/QJ$EA8tfOg1/Rxn/28FSrLgJ/
interface Ethernet0
ip address 210.93.105.2 255.255.255.0
interface Serial0
no ip address
shutdown
interface Serial1
no ip address
shutdown
router rip
network 210.93.105.0
ip host LAB-A 192.5.5.1 205.7.5.1 201.100.11.1
ip host LAB-B 201.100.11.2 219.17.100.1 199.6.13.1
ip host LAB-C 199.6.13.2 223.8.151.1 204.204.7.1
ip host LAB-D 204.204.7.2 210.93.105.1
ip host LAB-E 210.93.105.2
no ip classless
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
!
533578889
Seite 7 von 10
Lab 8.2.1 Individual router config. - Answers
Students should be able to repetitively configure the
practice lab. At the start of this section you should log
onto each router in the enable exec mode and issue the
erase startup-config command, them issue the reload
command. This will force the routers to come up with a
blank configuration and allow the students to practice
the skills they will need to pass the semester two final
lab exam. Below are the detailed command sets that the
students will have to master. All commands are provided
for router Lab-A. A table of configuration settings for
the other routers follows these instructions.
Router Lab-A (2514) Basic Configuration Commands (see
next table for other routers)
Step Description /
Explanation
Enable privileged mode
Configure (the router) from
Terminal (keyboard)
Name Router Lab-A (the
prompt will change)
Set privileged mode encrypted
(secret) password to class
Set privileged mode text
password (optional)
Disable DNS lookup
Router Command Prompt
IOS Command
Router>
Enable
Router#
Config T
Router(config)#
Hostname LAB-A
Lab-A(config)#
Enable secret class
Lab-A(config)#
Enable password cisco
Lab-A(config)#
No ip domain-lookup
Select E0 interface
Provide description for E0
(optional on any interface)
Set E0 IP addr. & subnet
mask
Bring interface E0 up
Lab-A(config)#
Interface Ethernet0
Description connected to LAN
A
Ip address 192.5.5.1
255.255.255.0
No shutdown
Select E1 interface
Set E1 IP addr. & subnet
mask
Bring interface E0 up
Lab-A(config)#
Select S0 interface
Set S0 IP addr. & subnet
mask
Set IGRP bandwidth metric
Set DCE clock synch at 56000
Bring interface S0 up
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Lab-A(config-if)#
Interface Ethernet1
Ip address 205.7.5.1
255.255.255.0
No shutdown
Interface Serial0
ip address 201.100.11.1
255.255.255.0
Bandwidth 56
Clock rate 56000
no shutdown
!
Select S1 interface (not
used)
533578889
Lab-A(config-if)#
Seite 8 von 10
Interface Serial1
Set no IP address for S1
Lab-A(config-if)#
Administratively shut down S1 Lab-A(config-if)#
No ip address
Shutdown
Exit interface config mode
Lab-A(config-if)#
Exit
Start RIP routing protocol
Specify directly connected
network for routing updates
Specify directly connected
network for routing updates
Specify directly connected
network for routing updates
Lab-A(config)#
Router rip
Lab-A(config-router)#
Network 192.5.5.0
Lab-A(config-router)#
Network 205.7.5.0
Lab-A(config-router)#
Network 201.100.11.0
Exit router config mode
Lab-A(config-router)#
Exit
Enable browser management Lab-A(config)#
Define router host name
table
Specify host table entry for
Lab-A (with interface IP
addresses)
Specify host table entry for
Lab-B (with interface IP
addresses)
Specify host table entry for
Lab-C (with interface IP
addresses)
Specify host table entry for
Lab-D (with interface IP
addresses)
Specify host table entry Lab-E
with interface IP addresses
Disable classless IP routing
N/A
N/A
Lab-A(config)#
ip host Lab-A 192.5.5.1
205.7.5.1 201.100.11.1
Lab-A(config)#
ip host Lab-B 219.17.100.1
199.6.13.1 201.100.11.2
Lab-A(config)#
ip host Lab-C 223.8.151.1
204.204.7.1 199.6.13.2
Lab-A(config)#
ip host LAB-D 210.93.105.1
204.204.7.2
Lab-A(config)#
ip host LAB-E 210.93.105.2
Lab-A(config)#
no ip classless
Lab-A(config)#
Configure console line
(direct attach to console port)
Enable console login
password checking
Set user mode password for
console connection login
Configure telnet line (virtual
terminal or VTY)
Enable telnet login password
checking
Set user mode password for
telnet connection login
Line con 0
Lab-A(config-line)#
Login
Lab-A(config-line)#
Password cisco
Lab-A(config-line)#
Line vty 0 4
Lab-A(config-line)#
Login
Lab-A(config-line)#
Password cisco
Save the current running
Lab-A#
configuration to the startup
533578889
Ip http server
Copy running-config startupconfig
Seite 9 von 10
configuration
1 - Fill in the table below with IP interface information for each of the five
routers.
Cisco Lab Router IP Configuration
(Answers from router diagram - your answers may vary)
Router Name
Model Number
Interface E0 Address
Interface E0 Subnet
Mask
Interface EI IP
Address
Interface EI Subnet
Mask
Interface S0 IP
Address
Interface SO Subnet
Mask
Interface SO + Clock
Rate
Interface SI IP
Address
Interface SI Subnet
Mask
Other Intfc(s)
Lab-A
2514
192.5.5.1
Lab-B
2503
219.17.100.1
Lab-C
2503
223.8.151.1
Lab-D
2501
210.93.105.1
Lab-E
2501
210.93.105.2
255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0
205.7.5.1
Not Present
Not Present
Not Present
Not Present
255.255.255.0 Not Present
Not Present
Not Present
Not Present
201.100.11.1 199.6.13.1
204.204.7.1
Not Used
Not Used
255.255.255.0 255.255.255.0 255.255.255.0 Not Used
Not Used
56000
56000
56000
Not Used
Not Used
Not Used
201.100.11.2
196.6.13.2
204.204.7.2
Not Used
Not Used
255.255.255.0 255.255.255.0 255.255.255.0 Not Used
Console,
AUX
ISDN BRI0,
Console,
AUX
ISDN BRI0,
Console,
AUX
Console,
AUX
Console,
AUX
* Note:
Clock rate must be set on the DCE end (S0) of the WAN link
between routers.
533578889
Seite 10 von 10
Download