Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Interconnecting Cisco
Networking Devices,
Part 1
Volume 1
Version 2.0
Lab Guide
Part Number: 97-3244-01
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Americas Headquarters
Cisco Systems, Inc.
San Jose, CA
Europe Headquarters
Cisco Systems International BV
Amsterdam,
The Netherlands
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco Website at
www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To
view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third party trademarks mentioned are the property
of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other
company. (1110R)
DISCLAIMER WARRANTY: THIS CONTENT IS BEING PROVIDED AS IS. CISCO MAKES AND YOU RECEIVE NO
WARRANTIES IN CONNECTION WITH THE CONTENT PROVIDED HEREUNDER, EXPRESS, IMPLIED, STATUTORY OR IN
ANY OTHER PROVISION OF THIS CONTENT OR COMMUNICATION BETWEEN CISCO AND YOU. CISCO SPECIFICALLY
DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT AND
FITNESS FOR A PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
This learning product may contain early release content, and while Cisco believes it to be accurate, it falls subject to the
disclaimer above.
Table of Contents
L1
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Perform a Reload and Verify that the Switch Is Unconfigured
Task 2: Configure the Switch with a Hostname and an IP Address
Task 3: Explore Context-Sensitive Help
Task 4: Improve the Usability of the CLI
L2
L3
L3
L4
L6
L8
L10
L11
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Lab Setup
Task 2: Troubleshoot Connectivity Between Computer PC1 and Switch SW1
Task 3: Troubleshoot Connectivity Between Switch SW1 and the Branch Router
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Configure a Manual IP Address and Static Default Route
Task 2: Configure a DHCP-Obtained IP Address
Task 3: Configure NAT
Task 4: Configure NAT with PAT
L13
L14
L14
L15
L15
L16
L17
L18
L19
L20
L20
L21
L21
L23
L24
L26
L28
L31
L32
L32
L33
L33
L35
L39
L42
L47
L53
L54
L54
L55
L56
L73
L74
L74
L75
L75
L77
L78
L81
L83
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Disable Unused Ports
Task 2: Configure Port Security on a Switch
Task 3: Disable Unused Services
Task 4: Configure NTP
L57
L64
L69
L71
L85
L86
L86
L87
L87
L88
L95
L96
L111
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Configure a VLAN
Task 2: Configure the Link Between Switches as a Trunk
Task 3: Configure a Trunk Link on the Router
L112
L112
L113
L113
L115
L120
L121
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Configure DHCP Pools
Task 2: Exclude Specific IP Addresses from DHCP Pools
Task 3: Configure DHCP Relay Agent
Task 4: Manually Assign IP Addresses
ii
L125
L126
L126
L126
L127
L129
L133
L134
L135
L139
L140
L140
L141
Job Aids
Task 1: Connect the Router to the WAN
Task 2: Configure OSPF
L141
L143
L144
L147
L148
L148
L149
L149
L150
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Enable IPv6 on the Router
L153
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Enable Stateless Autoconfiguration on the Router
L154
L154
L155
L155
L156
L161
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Enable IPv6 Static Routing
Task 2: Enable OSPFv3
L162
L162
L163
L163
L164
L166
L169
Visual Objective
Required Resources
Command List
Job Aids
Task 1: Configure Basic Settings, VLANs, Trunks, and Port Security on Switches
Task 2: Configure Inter-VLAN Routing
L170
L170
L170
L172
L175
L180
L190
L196
L201
L208
L217
L217
L224
L227
L229
L232
L235
L238
L239
Lab Guide
iii
L242
L244
L245
L245
L246
L246
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
iv
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will observe the switch boot procedure and perform basic switch configuration. After
you have completed this activity, you will be able to meet these objectives:
Restart the switch and verify the initial configuration messages
Complete the initial configuration of the Cisco Catalyst switch
Explore context-sensitive help
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
PC1
SW1
L2
Required Resources
No additional resources are required for this lab.
Command List
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Description
? or help
clock set
configure terminal
delete name
do command
enable
end
erase startup-config
exit
Sets the number of lines that are held in the history buffer for
recall. Two separate buffers are used: one for EXEC mode
commands and the other for configuration mode commands
hostname hostname
interface vlan 1
line console 0
logging synchronous
reload
Restarts the switch and reloads the Cisco IOS operating system
and configuration
show clock
Lab Guide
L3
Description
show flash:
show startup-config
show terminal
show version
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
SW1
PC1
Hardware
Operating System
c2960-lanbasek9-mz.150-1.SE3
Any PC
Microsoft Windows 7
There are no console or enable passwords set for the router and switch in the initial lab setup. The table
shows the username and password that are used to access PC1.
Device
PC1
L4
Username
Password
Administrator
admin
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1
Fa0/1
10.1.1.100
10.1.1.11
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Interface
IP Address
Subnet Mask
SW1
VLAN1
10.1.1.11
255.255.255.0
PC1
10.1.1.100
255.255.255.0
Lab Guide
L5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On a PC, click Start and choose Control Panel. Click Change Adapter Settings and then right-click
Local Area Network. Choose Properties. When you are presented with the Local Area Connection
Properties dialog, click Internet Protocol version 4 (TCP/IPv4) and then click Properties. In the Internet
Protocol Version 4 (TCP/IPv4) Properties window, click the Use the Following IP Address radio button
and enter the appropriate IP address, subnet mask, and default gateway.
In this task, you will use the erase startup-config command to ensure that the switch has no prior
configuration in the startup-config file. You will then reload the switch software and observe the output that
is generated during the reload. Finally, you will investigate the properties of the switch.
Activity Procedure
Complete the following steps:
Step 1
Access the CLI of switch SW1 and enter user EXEC mode.
You will be provided with information about how to access the lab equipment.
L6
Step 2
To see the effect of entering a privileged-level command in user EXEC mode, enter the command erase
startup-config.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
What was the result of issuing the command in an incorrect EXEC mode?
Step 3
How do you know if you are in privileged EXEC mode and not user EXEC mode?
Step 4
Erase the startup configuration. Because the switch also stores a small part of the configuration in the file,
vlan.dat, stored in flash memory, delete it before performing a reload. Observe the output during the reload.
Step 5
Press Enter when the switch boots and skip the initial configuration dialog. You will know when the switch
has finished booting when you see "Press RETURN to get started!" in the console output.
How do you know that the startup configuration has been erased?
Step 6
Using the appropriate show command, investigate the switch model number, software version, and amount
of RAM and flash memory.
Activity Verification
You have completed this task when you attain these results:
You performed a switch reload.
Lab Guide
L7
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Procedure
Complete the following steps:
Assign an IP address to the VLAN 1 interface on switch SW1. Be sure that you assign the correct IP
address, as described in the Job Aids section in the beginning of the lab document.
Note
Configuring the IP address on the switch is not mandatory to start the switch running, but it is necessary
for remote management access to the switch.
Step 3
Access the PC1. Use the username and password that is described in the Job Aids section in order to log in.
L8
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Assign the IP address of PC1, as listed in the Job Aids section. Leave the default gateway empty.
Step 5
From PC1, ping the VLAN 1 IP address of SW1 to confirm Layer 3 connectivity.
Activity Verification
You have completed this task when you attain these results:
Your ping from PC1 to the VLAN 1 IP address of SW1 was successful.
Lab Guide
L9
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On switch SW1, enter privileged EXEC mode and enter ? (or help) to list the available commands.
Using the ? command, set the clock on the switch to the current time and date.
Note
Pressing the Tab key automatically completes the command if the characters that you have entered are
not ambiguous.
Step 3
Verify the current date and time using the appropriate show command.
Step 4
Type the following comment line at the prompt and then press Enter:
!ths command changuw the clck sped for the swch
Note
An exclamation point (!) at the beginning of the line indicates that you are entering a comment. The
comment will not be part of the switch configuration. Comments are a great help when you are working
on a configuration in a text editor and plan to upload it to a device.
Step 5
Press Ctrl-P or press the Up Arrow key to see the previous line. Use the editor commands Ctrl-A, Ctrl-F,
Ctrl-E, and Ctrl-B to move along the line, and use the Backspace key to delete unwanted characters.
Using the editing commands, correct the comment line to read:
!This command changes the clock speed for the switch.
Activity Verification
You have completed this task when you attain these results:
You used the built-in editor and the keystrokes for cursor navigation.
L10
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 1
Using the show terminal command, verify that history is enabled, and determine the current history size for
the console line.
Step 2
Change the history size to 100 for the console line and verify that the change has taken place.
Note
Alternatively, you could use the begin keyword. You will see the output beginning from the first match.
Step 3
The no ip domain lookup command disables the resolution of symbolic names. If you mistype a command,
the system will not try to translate it into an IP address (it will take about 5 seconds to time out). Disable IP
domain lookup.
Step 4
The default console access EXEC timeout is set to 10 minutes. After 10 minutes of inactivity, the user is
disconnected from console access and is required to reconnect. Change this timer to 60 minutes.
Note
Make sure that you are in console line configuration mode. To execute user EXEC or privileged EXEC
commands from global configuration mode or other configuration modes or submodes, use the do
command in any configuration mode.
Step 5
The logging synchronous command synchronizes unsolicited messages and debugs privileged EXEC
command output with the input from the CLI. If you are in the middle of typing a command, status
messages will appear where you are typing. Enable synchronous logging on line console 0.
Step 6
Lab Guide
L11
Activity Verification
You have completed this task when you attain these results:
You changed the history buffer size.
You disabled resolution of symbolic names.
You set the inactivity timeout on the console line to 60 minutes.
You enabled synchronous logging on the console line.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L12
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will use troubleshooting guidelines to isolate and correct switch media issues. After
completing this activity, you will be able to meet these objectives:
Follow troubleshooting guidelines to determine the source of connectivity problems between a
computer and a switch, and fix them
Follow troubleshooting guidelines to determine the source of connectivity problems between a router
and a switch, and fix them
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
Troubleshooting Task 2
Troubleshooting Task 1
PC1
SW1
Required Resources
These are the resources and equipment that are required to complete this activity:
Successful completion of Lab 1-1: Performing Switch Startup and Initial Configuration
L14
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
duplex full
enable
shutdown/no shutdown
ping ip-address
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
There are no console or enable passwords set for the router and switch in the initial lab setup. The table
shows the username and password that are used to access PC1.
Device
Username
Password
PC1
Administrator
admin
Devices are connected with Ethernet connections. The figure illustrates the interface identification and IP
addresses that are used in this lab setup.
Lab Guide
L15
10.1.1.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Fa0/13
PC1
SW1
Fa0/1
10.1.1.100
10.1.1.11
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
SW1
PC1
Interface
IP Address/Subnet Mask
Gi0/0
10.1.1.1/24
VLAN1
10.1.1.11/24
10.1.1.100/24
In this setup task, you will load the configuration from the switch flash drive.
Activity Procedure
Complete these steps:
Step 1
You will be provided with information about accessing the lab equipment.
L16
Step 2
Load the configuration file tshoot_media_issues_start.cfg from the flash drive of the switch.
SW1#copy flash:tshoot_sw_media.cfg run
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
At this point, you have loaded a configuration file that includes your trouble tickets, presented in Tasks 2
and 3.
Activity Verification
You have completed this task when you attain this result:
In this task, you will troubleshoot connectivity problems between switch SW1 and computer PC1.
Activity Procedure
Complete the following steps:
Step 1
John calls you about an issue that he is experiencing while using PC1. He says that PC1 has no network
connectivity, and he insists that somebody unplugged his computer from the switch. The senior engineers
are out. You are the only one who can solve this problem right now. You have access only to switch SW1.
Determine whether or not you can ping PC1 from switch SW1. The IP address of PC1 is listed in the Job
Aids section of this document. Is there Layer 3 connectivity between the computer and the switch?
Step 2
What is the status of interface FastEthernet0/1 on switch SW1, which connects to the PC1? What does this
status mean?
Note
Use the ? command and the Tab key to help you with the command syntax.
Lab Guide
L17
Step 3
Correct the issue so that John can continue his work.
Do not forget to verify Layer 3 connectivity between PC1 and SW1.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 4
Save the configuration of switch SW1.
Activity Verification
You have completed this task when you attain this result:
You identified and corrected the problem that was reported by the user on PC1.
In this task, you will troubleshoot connectivity problems between the Branch router and switch SW1. You
will correct the existing problem.
Activity Procedure
Complete the following steps:
Step 1
Your colleague informs you that switch SW1 is showing messages about duplex mismatch and they are
unable to prevent the messages. The senior engineers went out for lunch and left you alone to resolve this
issue. How do you solve the problem indicated by this message?
Using the appropriate show commands from the Command List section, identify the status of interface
FastEthernet0/13, which connects to the Branch router.
Step 2
Correct the issue that you identified. Do not forget to save the changes that you made.
Activity Verification
You have completed this task when you attain this result:
L18
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will observe the router boot procedure and perform basic router configuration. After
completing this activity, you will be able to meet these objectives:
Inspect router hardware and software
Perform initial router configuration
Improve the usability of the CLI
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
Perform router
initial configuration.
PC1
SW1
Required Resources
L20
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
description
enable
erase startup-config
exec-timeout
hostname hostname
line console 0
logging synchronous
ping ip_address
reload
Restarts the router and reloads the Cisco IOS operating system.
show cdp
show interfaces
show startup-config
show version
[no] shutdown
Job Aids
These job aids are available to help you complete the lab activity.
Lab Guide
L21
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
Device
PC1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
There are no console or enable passwords set for the router and switch in the initial lab setup. The table
shows the username and password that are used to access PC1.
Username
Password
Administrator
admin
Devices are connected with Ethernet connections. The figure illustrates the interface identification and IP
addresses that are used in this lab setup.
Gi0/0
10.1.1.1
Fa0/13
PC1
SW1
Fa0/1
10.1.1.100
10.1.1.11
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
SW1
PC1
L22
Interface
IP Address/Subnet Mask
Gi0/0
10.1.1.1/24
VLAN1
10.1.1.11/24
10.1.1.100/24
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Procedure
Complete the following steps:
Step 1
Access the CLI of router Branch and enter privileged EXEC mode.
Step 2
Use the correct verification command to display hardware and software properties. Find and write down the
following information:
Router model
Serial number
RAM
Flash
Software version
Use command show version in privileged EXEC mode on the Branch router to display information about
the currently loaded software, along with hardware and device information.
Router#show version
Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(4)M1,
RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thu 26-Jul-12 20:54 by prod_rel_team
ROM: System Bootstrap, Version 15.0(1r)M15, RELEASE SOFTWARE (fc1)
Router uptime is 15 minutes
System returned to ROM by reload at 17:06:50 UTC Thu Nov 22 2012
System restarted at 17:09:24 UTC Thu Nov 22 2012
System image file is "flash0:c2900-universalk9-mz.SPA.152-4.M1.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command
<output omitted>
Cisco CISCO2901/K9 (revision 1.0) with 483328K/40960K bytes of memory.
Processor board ID FCZ1642C5XJ
2 Gigabit Ethernet interfaces
1 Serial(sync/async) interface
1 terminal line
DRAM configuration is 64 bits wide with parity enabled.
255K bytes of non-volatile configuration memory.
250880K bytes of ATA System CompactFlash 0 (Read/Write)
<output omitted>
Lab Guide
L23
Step 3
Use the correct show command to verify that the router has a startup configuration. If it has, erase the
startup configuration by issuing the erase startup-config command.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
Router#
After you have erased the startup configuration, verify that it no longer exists.
Router#show startup-config
startup-config is not present
Step 4
Reload the router and observe the console output during startup.
Router#reload
Proceed with reload? [confirm]
Sep 11 11:31:16.663: %SYS-5-RELOAD: Reload requested by console. Reload Reason:
Reload Command.
System Bootstrap, Version 15.0(1r)M1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.
Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB
CISCO2901/K9 platform with 524288 Kbytes of main memory
Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC enabled
Readonly ROMMON initialized
program load complete, entry point: 0x80803000, size: 0x1b340
program load complete, entry point: 0x80803000, size: 0x1b340
IOS Image Load Test
<output omitted>
Activity Verification
You have completed this task when you attain these results:
In this task, you will skip the initial configuration dialog and proceed with manual configuration. You will
configure system parameters and router interfaces. You will then verify connectivity.
L24
Activity Procedure
Complete the following steps:
Step 1
Skip the initial configuration dialog, terminate the autoinstall, and enter privileged EXEC mode.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Set the router host name to Branch. The prompt will reflect the new hostname.
Step 3
Enable interface GigabitEthernet0/0 and set its description to Link to LAN Switch.
Step 4
Configure the IP address 10.1.1.1 on the interface. Use subnet mask of 255.255.255.0.
Step 5
Return to the privileged EXEC command and verify GigabitEthernet0/0 interface status, interface
description, and correct IP address assignment by using a suitable verification command.
Step 6
Activity Verification
You have completed this task when you attain these results:
Step 1
Lab Guide
L25
Step 2
You verified IP connectivity between router Branch and PC1 by using ICMP ping:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms
The ping might fail due to slow STP convergence on the SW1 switch. If the ping fails, try to issue another
ping after a few seconds.
Note
The first ICMP packet could time out because ARP needs to obtain Layer 2 addressing before the
packet can be sent out of the interface.
In this task, you will improve the CLI experience by increasing the inactivity timer on the console line and
by disabling the resolution of symbolic names.
Activity Procedure
Complete the following steps:
Step 1
Change the EXEC timeout on the console line, which is set to 10 minutes by default, to a value of 60
minutes.
L26
Step 2
Verify the EXEC timeout value on the Branch router:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Improve the readability of the console access by synchronizing unsolicited messages and debug outputs
with the input from the CLI.
Step 4
Disable the resolution of symbolic names to prevent the system from attempting to translate a mistyped
command into an IP address.
Step 5
Activity Verification
You have completed this task when you attain these results:
You have set the inactivity timeout on the console line to 60 minutes.
You have enabled synchronous logging on the console line.
You have disabled resolution of symbolic names.
Lab Guide
L27
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Procedure
Complete the following steps:
On the Branch router, issue the show cdp command to verify that Cisco Discovery Protocol is enabled and
to display its global information.
Branch#show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
L28
Step 2
Enter the Cisco Discovery Protocol verification command to display all known neighboring Cisco devices.
Write down the information about the discovered neighbors in the table:
Platform
Local Interface
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device ID
#
#
The information that you gather about the local and remote interfaces that are used reveals how neighboring
devices are physically interconnected.
On the Branch router, use the show cdp neighbors command to display all neighboring Cisco devices:
Branch#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID
Local Intrfce
Holdtme
Capability Platform Port ID
SW1
Gig 0/0
158
S I
WS-C2960- Fas 0/13
Use the Cisco Discovery Protocol verification command with the keyword detail to display additional
information about other Cisco devices. Write down the IP address of a neighboring switch, with exact
information about its platform and software version.
Lab Guide
L29
Activity Verification
You have completed this task when you attain these results:
You observed Cisco Discovery Protocol output for directly attached Cisco neighbors.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L30
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will establish Internet connectivity by enabling static routing, DHCP, and NAT. After
completing this activity, you will be able to meet these objectives:
Configure a static default route
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
HQ
Outside
Inside
Internet
Server
SW1
PC1
PC2
Required Resources
L32
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Description
configure terminal
debug ip icmp
interface interface
ip address dhcp
ip nat inside
ip nat outside
ping ip_address
Pings an IP address
show ip route
show users
shutdown
Disables an interface
telnet ip_address
terminal monitor
undebug all
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Lab Guide
L33
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
HQ
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
PC2
Any PC
Microsoft Windows 7
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
There are no console or enable passwords set for the routers and switches in the initial lab setup. The table
shows the username and password that are used to access PC1 and PC2.
Device
PC1
PC2
Username
Password
Administrator
admin
Administrator
admin
Devices are connected with Ethernet links. The figure illustrates the interface identification and IP
addresses that are used in this lab setup.
Gi0/1
209.165.201.2
Branch
Server
Internet
VLAN 1: 10.1.1.1
Gi0/0
172.16.1.100
HQ
Fa0/13
PC1
10.1.1.100
Fa0/1
SW1
10.1.1.11
0/3
Fa0/3
PC2
10.1.1.101
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
Branch
HQ
L34
Interface
IP Address/Subnet Mask
Gi0/1
209.165.201.1/27
Gi0/0
10.1.1.1/24
Gi0/1
209.165.201.2/27
Device
Interface
IP Address/Subnet Mask
HQ
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
PC1
10.1.1.100/24
PC2
10.1.1.101/24
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
OK?
YES
YES
YES
YES
Method
NVRAM
manual
NVRAM
NVRAM
Status
Protocol
administratively down down
up
up
administratively down down
administratively down down
You should see that only GigabitEthernet0/0 is up and configured with an IP address.
Step 3
Enable the GigabitEthernet0/1 interface. Manually assign the 209.165.201.1 IP address to the interface. Use
a mask of 255.255.255.224.
Lab Guide
L35
Step 4
Verify interface status and IP address on the Branch router again.
OK?
YES
YES
YES
YES
YES
Method
NVRAM
manual
manual
NVRAM
manual
Status
Protocol
administratively down down
up
up
up
up
administratively down down
administratively down down
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#ping 209.165.201.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.201.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 m
The ping should be successful, because the destination IP address is in a directly connected network.
Step 6
From the Branch router, ping the server at 172.16.1.100, which is behind the HQ router.
Branch#ping 172.16.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.100, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
The ping should not be successful. What is the reason for an unsuccessful ping?
L36
Step 7
Verify the routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C
10.1.1.0/24 is directly connected, GigabitEthernet0/0
L
10.1.1.1/32 is directly connected, GigabitEthernet0/0
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C
209.165.201.0/27 is directly connected, GigabitEthernet0/1
L
209.165.201.1/32 is directly connected, GigabitEthernet0/1
On the Branch router, configure a static default route that points to the next-hop IP address 209.165.201.2.
Step 9
Branch#ping 172.16.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
The ping should be successful because you configured a static default route.
Lab Guide
L37
Step 11
Verify the routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is 209.165.201.2 to network 0.0.0.0
S*
0.0.0.0/0 [1/0] via 209.165.201.2
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C
10.1.1.0/24 is directly connected, GigabitEthernet0/0
L
10.1.1.1/32 is directly connected, GigabitEthernet0/0
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C
209.165.201.0/27 is directly connected, GigabitEthernet0/1
L
209.165.201.1/32 is directly connected, GigabitEthernet0/1
Remove the previously configured static default route from the Branch router to prepare the router for the
next task.
Step 13
Verify the routing table on the Branch router again to make sure that no default route is present on the
router.
Branch#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C
10.1.1.0/24 is directly connected, GigabitEthernet0/0
L
10.1.1.1/32 is directly connected, GigabitEthernet0/0
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C
209.165.201.0/27 is directly connected, GigabitEthernet0/1
L
209.165.201.1/32 is directly connected, GigabitEthernet0/1
L38
Activity Verification
No additional verification is needed in this task.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this task, you will configure the Branch router to obtain an IP address using DHCP from the HQ router.
The HQ router has been preconfigured as a DHCP server. You will also verify connectivity between the
Branch router, HQ router, and server.
Activity Procedure
Complete the following steps:
Step 1
OK?
YES
YES
YES
Method
NVRAM
manual
DHCP
Status
Protocol
administratively down down
up
up
up
up
The GigabitEthernet0/1 interface should be up and it should have an IP address that was configured through
DHCP. Write down the IP address in the space that is provided.
Lab Guide
L39
Step 5
Verify the routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is 209.165.201.2 to network 0.0.0.0
S*
0.0.0.0/0 [254/0] via 209.165.201.2
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C
10.1.1.0/24 is directly connected, GigabitEthernet0/0
L
10.1.1.1/32 is directly connected, GigabitEthernet0/0
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C
209.165.201.0/27 is directly connected, GigabitEthernet0/1
L
209.165.201.3/32 is directly connected, GigabitEthernet0/1
You should see a default route present in the table. Where did the default route come from?
Step 6
Branch#ping 209.165.201.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.201.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 m
Branch#ping 172.16.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
The ping should be successful because the Branch router received knowledge of the default gateway from
the DHCP server. The Branch router set the default route automatically and it set the route next-hop IP
address to the IP address of the default gateway..
L40
Step 8
Access PC1.
Step 9
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From PC1, ping the Branch router at its public IP address, which was obtained through DHCP.
C:\>ping 209.165.201.1
Pinging 209.165.201.1 with 32 bytes of data:
Reply from 209.165.201.1: bytes=32 time=1ms TTL=255
Reply from 209.165.201.1: bytes=32 time<1ms TTL=255
Reply from 209.165.201.1: bytes=32 time<1ms TTL=255
Reply from 209.165.201.1: bytes=32 time<1ms TTL=255
Ping statistics for 209.165.201.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\>ping 172.16.1.100
Pinging 172.16.1.100 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.16.1.100:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
The ping should not be successful. In the next step, you will examine why the ping is not successful.
Step 11
Return to the Branch router and establish a remote Telnet session to the HQ router at 209.165.201.2. Enable
debugging of ICMP packets using the debug ip icmp command. Direct the output of the debug messages to
the Telnet session using the terminal monitor command. Leave the console window open.
Branch#telnet 209.165.201.2
Trying 209.165.201.2 ... Open
HQ#debug ip icmp
ICMP packet debugging is on
HQ#terminal monitor
Lab Guide
L41
Note
Establishing remote Telnet sessions and redirecting output of the debug messages to a remote session
has not been discussed so far. In this task, it is needed only to verify that packets from PC1 actually
reach the HQ router.
Step 12
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Return to PC1 and ping the server at 172.16.1.100 again. Return to the HQ Telnet session and observe the
debugging messages.
HQ#
Sep 7 13:18:27.881: ICMP: echo
topology BASE, dscp 0 topoid 0
HQ#
Sep 7 13:18:32.853: ICMP: echo
topology BASE, dscp 0 topoid 0
HQ#
Sep 7 13:18:37.857: ICMP: echo
topology BASE, dscp 0 topoid 0
HQ#
Sep 7 13:18:42.861: ICMP: echo
topology BASE, dscp 0 topoid 0
You should see one debugging message for each ping packet coming from PC1. You can see that the pings
actually reach the HQ router and replies are sent back to PC1. However, the HQ router is not aware of the
network that PC1 is coming from and therefore discards the returning packets. You can verify this
conclusion by verifying the routing table on the HQ router.
What solution could be implemented on the Branch router to overcome this problem?
Step 13
Return to the HQ Telnet session. Disable debugging and exit the Telnet session.
HQ#undebug all
All possible debugging has been turned off
HQ#exit
[Connection to 209.165.201.2 closed by foreign host]
Branch#
Activity Verification
No additional verification is needed in this task.
In this task, you will configure dynamic NAT on the Branch router to translate the IP addresses of inside
hosts to public IP addresses. Then, you will verify the NAT configuration and connectivity from PC1 and
PC2 to the server.
L42
Activity Procedure
Complete the following steps:
Step 1
Access the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Configure a standard ACL that allows the 10.1.1.0/24 network. Use 1 as the ACL identifier. This ACL will
be used to define networks that are eligible for NAT translations.
Step 3
NAT_POOL
Starting IP address
209.165.201.5
Ending IP address
209.165.201.10
Network mask
255.255.255.224
How many hosts that require NAT can you accommodate at the same time using this NAT pool?
Step 4
When you enable the interface as NAT inside, the router will block for approximately 1 minute. After that,
you will see a log message about the router creating NVI0 interface. This interface is used internally by
the router to perform NAT.
Step 5
Configure a dynamic source NAT rule that will translate inside hosts into the IP addresses that were defined
in the previously configured NAT pool. Use the previously configured ACL to specify hosts that are
eligible for translations, and use the previously configured NAT pool.
Step 7
Lab Guide
L43
Activity Verification
You have completed this task when you attain these results:
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open PuTTY by double-clicking the PuTTY icon and establish a remote Telnet session to the
server at 172.16.1.100 by clicking the Telnet radio button and entering the IP address into the Host Name
input field.
L44
Recall that the server is actually implemented as loopback interface on the HQ router. Therefore, you will
actually establish a Telnet session to the HQ router for testing purposes.
Step 2
Verify the user connection to the server using the show users command. This command will display
management sessions to the router via console or via remote access.
User
Host(s)
idle
idle
Idle
00:42:00
00:00:00
Location
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
HQ#show users
Line
0 con 0
*514 vty 0
209.165.201.5
You should see that the Telnet session from PC1 is seen as originating from a translated IP address. The
translated IP address is the first free IP address from the NAT pool.
Note
The session marked with an asterisk (*) is the one that is currently active and used.
Lab Guide
L45
Step 3
Access PC2. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L46
Step 4
Verify the user connection to the server using the show users command.
User
Host(s)
idle
idle
Idle
00:00:29
00:00:00
Location
209.165.201.5
209.165.201.6
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
HQ#show users
Line
514 vty 0
*515 vty 1
You should see that the Telnet session from PC2 is seen as originating from a translated IP address. The
translated IP address is the next free IP address from the NAT pool.
Step 5
Return to the Branch router. Verify that there are active NAT translations.
Branch#show ip nat translations
Pro Inside global
Inside local
tcp 209.165.201.5:1035 10.1.1.100:1035
--- 209.165.201.5
10.1.1.100
tcp 209.165.201.6:1030 10.1.1.101:1030
--- 209.165.201.6
10.1.1.101
Outside local
172.16.1.100:23
--172.16.1.100:23
---
Outside global
172.16.1.100:23
--172.16.1.100:23
---
Notice that inside local IP addresses are translated into inside global IP addresses.
Step 6
In this task, you will configure dynamic NAT with PAT on the Branch router to translate the IP addresses
of inside hosts to the public IP address of the Branch router. Then you will verify the NAT configuration
and connectivity from PC1 and PC2 to the server.
Activity Procedure
Complete the following steps:
Step 1
Lab Guide
L47
Step 3
Configure a dynamic source NAT/PAT (NAT with overload) rule that will translate inside hosts into the IP
address of the router outside interface. Use the previously configured ACL to specify the hosts that are
eligible for translations.
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
How many hosts that require NAT can you accommodate at the same time by overloading the IP address of
the interface?
Activity Verification
You have completed this task when you attain these results:
L48
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Verify the user connection to the server using the show users command.
HQ#show users
Line
*514 vty 0
User
Host(s)
idle
Idle
Location
00:00:00 209.165.201.1
You should see that the Telnet session from PC1 is seen as originating from the IP address of the Branch
router outside interface.
Lab Guide
L49
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
L50
Step 4
Verify the user connection to the server using the show users command.
User
Host(s)
idle
idle
Idle
Location
00:01:05 209.165.201.1
00:00:00 209.165.201.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
HQ#show users
Line
514 vty 0
*515 vty 1
You should see that the Telnet session from PC2 is again seen as originating from the IP address of the
Branch router outside interface.
Step 5
Return to the Branch router. Verify that there are active NAT translations.
Branch#show ip nat translations
Pro Inside global
Inside local
tcp 209.165.201.1:1042 10.1.1.100:1042
tcp 209.165.201.1:1036 10.1.1.101:1036
Outside local
172.16.1.100:23
172.16.1.100:23
Outside global
172.16.1.100:23
172.16.1.100:23
Notice that two inside local IP addresses are translated into the same inside global IP address, which is
configured on the Branch router outside interface. To provide two distinct translations, different source
ports are used.
Step 6
Lab Guide
L51
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L52
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Securing administrative access to devices is crucial because you do not want unauthorized users to have
access to your network devices. In this lab, you will increase the security of the initial switch and router
configuration. After you have completed this activity, you will be able to meet these objectives:
Configure passwords on a router and switch
Configure and limit remote access to SSH
Configure an ACL to limit remote access
Configure the login banner
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch
PC1
S W1
Required Resources
There are no additional resources that are required for this lab.
L54
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
access-class number direction
Applies the ACL to the vty line. The direction argument can have the
value of either in or out.
banner login
end
ip domain-name name
ip ssh version [1 | 2]
line console 0
Enters vty configuration mode. Vty lines allow access to the switch for
remote network management. The number of vty lines available is
dependent on the Cisco IOS Software version. Typical values are 0-4
and 0-15 (inclusive).
login
login local
Makes the login process on the console or vty lines rely on (or use)
the local authentication database.
logout
password
show access-list
show running-config
show users
Lab Guide
L55
Command
Description
Job Aids
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
Any PC
Microsoft Windows 7
Any PC
Microsoft Windows 7
Branch
PC1
PC2
There are no console or enable passwords that are set for the routers and switches in the initial lab setup.
The table shows the username and password that are used to access PC1 and PC2.
Device
PC1
PC2
Username
Password
Administrator
admin
Administrator
admin
Devices are connected with Ethernet links. The figure illustrates the interface identification and IP
addresses that are used in this lab setup.
L56
SW1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
PC1
Fa0/1
10.1.1.11
10.1.1.100
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Interface
IP Address/Subnet Mask
Branch
Gi0/1
209.165.201.1/27
Branch
Gi0/0
10.1.1.1/24
Headquarters
Gi0/1
209.165.201.2/27
Headquarters
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
PC1
10.1.1.100/24
PC2
10.1.1.101/24
Following the initial configuration of the switch, where passwords have been configured for the vty lines,
two potential security holes exist. First, a security breach is possible when the vty lines have the login
process deactivated and the password is too simple. Second, security can be breached because the console
port initially is not protected by a password at all. In this task, you will secure console access and access to
privileged EXEC mode on a router and a switch.
Activity Procedure
Complete the following steps:
Step 1
Lab Guide
L57
Step 2
Secure the console line with the password cisco.
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Exit to the console login screen by issuing the end and exit commands.
You will be asked for the password that you configured in the previous step.
Branch(config-line)# end
Branch# exit
Branch con0 is now available
Press RETURN to get started.
User Access Verification
Password:
Branch>
Step 4
Examine the running configuration and identify the password that was configured for the console line. Note
that the password is in cleartext.
Branch# show running-config | section line con
line con 0
exec-timeout 60 0
password cisco
logging synchronous
login
Step 5
Create the username ccna and assign the secret password cisco to it. Look at the Command List section to
identify the correct command.
Then change the mode of authentication on the console line so that this user is authenticated using this
username and password.
L58
Step 6
Exit to the console login screen by issuing the end and exit commands.
You will be asked for a username and password. Enter the credentials that you created in the previous step.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch(config-line)# end
Branch# exit
Branch con0 is now available
Press RETURN to get started.
User Access Verification
Username: ccna
Password:
Branch>
Step 7
Examine the running configuration and identify the username and password that you created.
Note that the password is encrypted, not in cleartext. You could use the service password-encryption
command to encode the cleartext password, but this encryption type is weak.
Branch# show running-config | section username
username ccna secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY
Step 8
Secure vty lines 0 through 15. Users should be able to log in using the username ccna and password cisco
that you previously defined.
For security reasons, the passwords for console and vty access should be different. Also, in production
environments, you should use strong passwords (at least eight characters and a combination of letters,
numbers, and special characters). In the lab environment, we are using the same passwords for console and
vty access.
Lab Guide
L59
Step 9
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC1, open PuTTY and establish a Telnet session to the Branch router to verify that you configured vty
security correctly.
L60
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 10
On the Branch router, secure access to privileged EXEC mode with the password cisco. The password must
be encrypted with strong encryption.
Step 11
Exit privileged EXEC mode and then re-enter it. When prompted, enter the password that you configured in
the previous step.
Branch# disable
Branch> enable
Password:
Branch#
Step 13
Examine the running configuration of the Branch router and identify the line where the password that
allows access to privileged EXEC mode is configured. Notice that the password is encrypted.
Branch# show running-config | section enable
enable secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY
Lab Guide
L61
Step 14
Access switch SW1. Configure it with the enable secret password cisco. Users should be able to log into the
console and vty lines by using the username ccna and the password cisco. Use strong encryption.
Step 15
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On the SW switch, go to the user EXEC mode by entering the end and exit commands. Log into the switch
SW console by using the previously configured username and password in order to verify console
protection.
SW1(config-line)# end
SW1# exit
SW1 con0 is now available
Press RETURN to get started.
User Access Verification
Username: ccna
Password:
SW1>
Step 17
On the SW switch, enter the privileged EXEC mode by entering the previously configured password.
SW1> enable
Password:
SW1#
L62
Step 18
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Return to PC1, open PuTTY, and establish a Telnet session to the SW1 switch to verify that you configured
vty security correctly.
Lab Guide
L63
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Verification
No additional verification is needed in this task.
Previously, you protected passwords by using encryption. However, when remote management uses the
Telnet protocol, which sends all characters in cleartext, including passwords, the potential exists for packet
capture and exploitation of this information. In this task, you will configure SSH as an alternative to Telnet.
If it is possible in your environment, it would be best to replace Telnet with SSH.
Activity Procedure
Complete the following steps:
Step 1
Use cisco.com as the domain name. The key length should be 1024 bits. Use SSH version 2 and make SSH
the only remote access that is allowed.
Step 2
L64
Step 3
Configure the SW1 switch for SSH access.
Use cisco.com as the domain name, specify a key length of 1024 bits, use SSH version 2, and make SSH
the only remote access that is allowed.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 4
On PC1, open PuTTY and try to connect to the Branch router using Telnet. Your attempt will be
unsuccessful.
Lab Guide
L65
Step 6
Now try to remotely connect from PC1 to the Branch router using SSH. Your attempt should be successful.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L66
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 7
On the Branch router, show the users that are logged into the system. Identify the user that is using the vty
line.
Branch# show users
Line
User
* 0 con 0
ccna
514 vty 0
ccna
Interface
User
Host(s)
idle
idle
Mode
Idle
Location
00:00:00
00:00:27 10.1.1.100
Idle
Peer Address
Lab Guide
L67
Step 8
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Return to PC1. Open another PuTTY and apply SSH to the SW1 switch in order to verify the SSH
configuration on the switch. Your attempt should be successful.
L68
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Verification
No additional verification is needed in this task.
On the SW1 switch, define a standard ACL that will permit only the IP address of the Branch router.
Any attempts to establish remote sessions from unauthorized devices should be logged.
Step 2
Apply the defined ACL to all vty lines of the SW1 switch.
SW1(config)# line vty 0 15
SW1(config-line)# access-class 1 in
Step 3
Lab Guide
L69
Activity Verification
You have completed this task when you attain this result:
Step 1
Try to establish an SSH remote session from PC1 to SW1 at 10.1.1.11.
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should not be successful because the ACL that you defined allows only the Branch router to establish
sessions to the SW1 switch.
L70
Step 3
On the SW1 switch, show the ACL that you defined for the vty lines.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Notice that the counters for both the permit and deny statements increased. If you did not define an explicit
deny statement, a remote session from PC1 would still be denied, but you would not be able to see counters
for denied remote session attempts.
SW1# show access-lists
Standard IP access list 1
10 permit 10.1.1.1 (2 matches)
20 deny
any log (3 matches)
As part of any security policy, you must ensure that network resources are clearly identified as being off
limits to the casual visitor. Hackers have successfully used the fact that a welcome screen was presented
at login as their legal defense for forced entry into the network. Therefore, a message that clearly states that
access is restricted should be presented when a user is attempting to access a network device (switch, router,
and so on). The Cisco IOS banner command allows you to do so.
Activity Procedure
Complete the following steps:
Step 1
Configure the Branch router with the following login banner message:
********** Warning *************
Access to this device is restricted to authorized persons only!
Unauthorized access is prohibited. Violators will be prosecuted.
***********************************************
Step 2
Configure the SW1 switch with the same login banner that you used for the Branch router in the previous
step:
********** Warning *************
Access to this device is restricted to authorized persons only!
Unauthorized access is prohibited. Violators will be prosecuted.
***********************************************
Lab Guide
L71
Step 4
Save the changes that you made on the SW1 switch.
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Verification
You have completed this task when you attain these results:
Access the Branch router. Log out of the Branch router and then log back in.
Notice the login banner that you were presented with as you logged in.
Branch# logout
Branch con0 is now available
Press RETURN to get started.
********** Warning *************
Access to this device is restricted to authorized persons only!
Unauthorized access is prohibited. Violators will be prosecuted.
***********************************************
User Access Verification
Username: ccna
Password:
Step 2
Access SW1. Log out of the SW1 switch console and then log back in.
Notice the login banner that you were presented with as you logged in.
SW1# logout
SW1 con0 is now available
Press RETURN to get started.
********** Warning *************
Access to this device is restricted to authorized persons only!
Un-authorized access is prohibited. Violators will be prosecuted.
***********************************************
User Access Verification
Username: ccna
Password:
Note
L72
When accessing network devices via the SSH protocol, some terminal clients such as PuTTY display the
login banner only after the username parameter is entered as input.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device hardening is crucial to increasing security in the network. In this lab, you will perform security
device hardening on a router and switch. After you have completed this activity, you will be able to meet
these objectives:
Disable unused ports
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch
HQ
Outside
Internet
Server
Inside
NTP server
PC1
SW1
Required Resources
L74
Command List
The table that follows describes the commands that are used in this activity. The commands are listed in
alphabetical order so that you can easily locate the information that you need. Refer to this list if you need
configuration command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
[no] cdp enable
configure terminal
interface interface
ping dest_IP
show interfaces
Displays statistics for all interfaces that are configured on the router
Displays the port security settings that are defined for an interface
[no] shutdown
switchport port-security
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
Lab Guide
L75
Device
Hardware
Operating System
PC1
Any PC
Microsoft Windows 7
PC2
Any PC
Microsoft Windows 7
The table shows usernames and passwords that are used to access the lab devices.
Username
Password
PC1
Administrator
admin
Administrator
admin
ccna
cisco
cisco
ccna
cisco
cisco
PC2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
Devices are connected with Ethernet links. The figure illustrates the interface identification and IP
addresses that are used in this lab setup.
Gi0/1
209.165.201.2
Branch
Server
Internet
VLAN 1: 10.1.1.1
Gi0/0
172.16.1.100
HQ
Fa0/13
PC1
10.1.1.100
Fa0/1
SW1
10.1.1.11
0/3
Fa0/3
PC2
10.1.1.101
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
Branch
Headquarters
L76
Interface
IP Address/Subnet Mask
Gi0/1
209.165.201.1/27
Gi0/0
10.1.1.1/24
Gi0/1
209.165.201.2/27
Device
Interface
IP Address/Subnet Mask
Headquarters
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
PC1
10.1.1.100/24
PC2
10.1.1.101/24
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Unused ports on a switch can be a security risk. A hacker can plug a switch into an unused port and become
part of the network. In this task, you will disable unused ports on a network switch.
Activity Procedure
Complete the following steps:
Step 1
Disable unused interfaces FastEthernet 0/14 to FastEthernet 0/24 with as few configuration steps as
possible.
Step 3
Status
Vlan
Duplex
Speed Type
connected
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
1
1
1
1
1
1
1
1
1
1
1
1
a-full
auto
auto
auto
auto
auto
auto
auto
auto
auto
auto
auto
a-100
auto
auto
auto
auto
auto
auto
auto
auto
auto
auto
auto
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
10/100BaseTX
Step 4
Lab Guide
L77
Activity Verification
No additional verification is needed in this task.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Port security is a feature that is supported on Cisco Catalyst switches that restricts a switch port to a specific
set or number of MAC addresses. In this task, you will configure port security on the switch interface that
faces the router. You will also demonstrate a port security violation.
Activity Procedure
Complete the following steps:
Step 1
Examine the MAC address of the Branch router interface GigabitEthernet 0/0, which faces the SW1 switch.
Write down the MAC address, which you will need to configure the port security feature.
Note
Your MAC address might be different from the the address that is shown in the output.
Step 3
Configure interface FastEthernet0/13, which faces the Branch router, as a static access port.
Step 5
Enable the port security feature on interface FastEthernet0/13. Manually specify the secure MAC address
f866.f231.7251 (which is not the MAC address of the Branch router).
You will simulate a port security violation by misconfiguring the secure MAC address.
L78
Step 6
Observe the switch output and verify the status of SW1 interface FastEthernet0/13. Make sure that a port
security violation occurred because of the misconfigured secure MAC address.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
A port security violation occurs due to management traffic (Cisco Discovery Protocol, for example) coming
from the router toward the switch.
Step 7
Try to ping PC1 at 10.1.1.100 from the Branch router. Your attempt should fail because the switch port
connecting to the Branch router is error-disabled.
Branch# ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
Step 8
Change the port security of the secure MAC address on SW1 interface FastEthernet0/13 to the correct MAC
address, which you wrote down.
Note
Your MAC address for the Branch router might be different from the address that was shown in the
output.
Lab Guide
L79
Step 9
Make the FastEthernet0/13 interface on SW1 operational again.
Step 10
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Observe the switch output. Verify the status of the FastEthernet0/13 interface on SW1 and make sure that
the interface is operational again.
Step 11
Try to ping PC1 at 10.1.1.100 from the Branch router. Your attempt should succeed now.
Branch# ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
!!!!!
Step 12
L80
Step 13
Display the port security settings for the SW1 switch.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 14
Some services may not be needed on the router and therefore can be disabled. You will disable Cisco
Discovery Protocol on the switch interface toward the router.
Activity Procedure
Complete the following steps:
Step 1
Lab Guide
L81
Step 3
Disable Cisco Discovery Protocol on the SW1 interface that is facing the Branch router.
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Note
It may take up to 3 minutes for the neighbor to disappear from the output because of the holddown timer
that is set to 180 seconds.
Step 5
You should see no neighbor device because you disabled Cisco Discovery Protocol on the switch interface
toward the Branch router.
SW1# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID
Local Intrfce
Holdtme
Capability Platform Port ID
Step 6
Enable Cisco Discovery Protocol on the SW1 interface that faces the Branch router.
Step 7
L82
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Procedure
Complete the following steps:
Step 1
You should see that the Branch router synchronized its clock with the server.
Note
It may take several minutes in order to synchronize the clock with the NTP server.
Step 3
Lab Guide
L83
Step 5
Step 6
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Configure SW1 as an NTP client that will synchronize its time with the Branch router. Although the Branch
router is configured only with NTP client configuration, it will respond to time requests from other clients.
It will act as a server for switch SW1.
Verify the NTP status and the NTP association status on the SW1 switch.
You should see that SW1 synchronized its clock with the Branch router.
What is the stratum of the clock on the SW1 switch?
Note
It may take several minutes in order to synchronize the clock with the NTP server.
Step 7
L84
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
A common mechanism for filtering traffic is ACLs, which enable you to allow, limit, or restrict access to a
network resource. In this lab, you will configure traffic filtering using ACLs. After you have completed this
activity, you will be able to meet these objectives:
Configure extended, named ACLs
Troubleshoot ACLs
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Telnet Allowed
Configure ACL
Troubleshoot ACL
Branch
HQ
Server
Internet
Telnet Blocked
SW1
PC1
PC2
Required Resources
L86
Command List
The table that follows describes the commands that are used in this activity. The commands are listed in
alphabetical order so that you can easily locate the information that you need. Refer to this list if you need
configuration command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
interface interface
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
PC2
Any PC
Microsoft Windows 7
The table shows usernames and passwords that are used to access the lab devices.
Device
Username
Password
PC1
Administrator
admin
PC2
Administrator
admin
ccna
cisco
cisco
ccna
cisco
cisco
Server (HTTP)
ccna
cisco
Lab Guide
L87
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Gi0/1
209.165.201.1
Branch
Server
Internet
VLAN 1: 10.1.1.1
Gi0/0
172.16.1.100
HQ
Fa0/13
PC1
10.1.1.100
Fa0/1
SW1
10.1.1.11
0/3
Fa0/3
PC2
10.1.1.101
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Interface
IP Address/Subnet Mask
Gi0/1
209.165.201.1/27
Gi0/0
10.1.1.1/24
Headquarters
Gi0/1
209.165.201.2/27
Headquarters
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
10.1.1.100/24
10.1.1.101/24
Branch
Branch
PC1
PC2
ACLs enable you to control access to network resources based on Layer 3 packet-header information. In
this task, you will configure an ACL that will prevent a Telnet connection from PC2 to the server. All other
IP traffic will be permitted.
Activity Procedure
Complete the following steps:
L88
Step 1
Access the Branch router. Use the credentials provided in the Job Aids section of the document in order to
log in.
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Configure an extended ACL named Telnet that will prevent a Telnet connection from PC2 to the server. All
other IP traffic should be permitted.
Step 3
Step 4
Apply the configured ACL to the GigabitEthernet0/0 interface in the correct direction.
Step 5
Verify that the configured interface is applied to the GigabitEthernet0/0 interface in the correct direction.
Branch# show ip interface GigabitEthernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet address is 10.1.1.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is Telnet
Proxy ARP is enabled
Local Proxy ARP is disabled
<...output omitted...>
Step 6
Lab Guide
L89
Step 7
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
L90
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Verify that the counter that was matched by the permit ACL statement increased.
Branch# show access-lists Telnet
Extended IP access list Telnet
10 deny tcp host 10.1.1.101 host 172.16.1.100 eq telnet
20 permit ip any any (10 matches)
Note
The actual number of ACL hits may differ from the outputs that are provided in the lab guide.
Lab Guide
L91
Step 9
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
L92
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should not be successful because the configured ACL blocks Telnet traffic from PC2 to the server.
Step 10
Verify that the counter that was matched by the deny ACL statement increased.
Lab Guide
L93
Step 11
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
L94
Step 12
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
Verify that the counter that was matched by the permit ACL statement increased.
Activity Verification
No additional verification is needed in this task.
In this lab setup procedure, you will load a configuration to the Branch router to create a trouble ticket. You
will resolve this ticket in the next task.
Lab Guide
L95
Activity Procedure
Complete the following steps:
Step 1
Access the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Copy the TSHOOT_Troubleshoot_ACLs_Branch.cfg file from the router flash memory into the router
running configuration.
Branch# copy flash:TSHOOT_Troubleshoot_ACLs_Branch.cfg running-config
3341 bytes copied in 3.490 secs (957 bytes/sec)
Activity Verification
No additional verification is needed in this task.
It is very important to be able to analyze the behavior of configured ACLs and to troubleshoot them. In this
task, you will troubleshoot the previously loaded trouble ticket. You should change the configuration so that
a Telnet connection from PC2 to the server is not permitted, while all other IP traffic to the server is
allowed.
Activity Procedure
Complete the following steps:
L96
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Lab Guide
L97
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L98
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Lab Guide
L99
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You will be successful, although Telnet traffic from PC2 to the server should be blocked.
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
Lab Guide
L101
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
Step 6
Verify that the configured ACL is applied to the GigabitEthernet0/0 interface in the correct direction.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 7
Apply the configured ACL to the GigabitEthernet0/0 interface in the correct direction.
Step 8
Step 9
Change the Telnet ACL so that it prevents Telnet connections from PC2 to the server. All other IP traffic
should be permitted.
Step 10
Lab Guide
L103
Step 11
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Lab Guide
L105
Step 12
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open PuTTY by double-clicking the PuTTY icon and establish a Telnet session to the server
at 172.16.1.100.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should not be successful because the configured ACL blocks Telnet traffic from PC2 to the server.
Lab Guide
L107
Step 13
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
Step 14
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC2. Open Internet Explorer and try to reach the HTTP server at IP address 172.16.1.100. Use the
credentials that are provided in the Job Aids section of the document in order to log in.
Activity Verification
No additional verification is needed in this task.
Lab Guide
L109
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L110 Interconnecting Cisco Networking Devices, Part 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this lab, you will configure two switches to meet specified VLAN requirements. After completing this
activity, you will be able to meet these objectives:
Configure VLANs
Configure trunking
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
Gi0/1
PC1
Fa0/13
Fa0/1
SW1
VLAN 10
Fa0/3
PC2
Configure a router
with a trunk link
Configure trunking
Fa0/3
Fa0/1
VLAN 20
SW2
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
encapsulation dot1q vlan
interface interface_name
interface_number
show vlan
show vlans
[no] shutdown
Specifies VLANs from which traffic is allowed over the trunk link.
vlan vlan_number
Creates the VLAN that is specified. Issue this command from global
configuration mode.
Description
ping ip_address
tracert ip_address
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Lab Guide
L113
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
SW2
c2960-lanlitek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
Any PC
Microsoft Windows 7
PC2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
The table shows usernames and passwords that are used to access the lab devices.
Device
Username
Password
Administrator
admin
Administrator
admin
ccna
cisco
cisco
ccna
cisco
cisco
Server (HTTP)
ccna
cisco
PC1
PC2
Devices are connected with Ethernet links. The figure illustrates the interface identification and IP
addresses that will be used in this lab.
Gi0/1
209.165.201.2
Branch
Server
Internet
VLAN1:10.1.1.1
172.16.1.100
Gi0/0
HQ
Fa0/13
SW1
PC1
Fa0/1
10.1.1.100
10.1.1.11
a0/3
Fa0/3
Fa0/3
SW2
PC2
Fa0/1
10.1.1.101
10.1.1.12
The table shows the interface identification and IP addresses that are used in this lab setup.
Interface
IP Address/Subnet Mask
Branch
Gi0/1
209.165.201.1/27
Branch
Gi0/0
10.1.1.1/24
Headquarters
Gi0/1
209.165.201.2/27
Headquarters
Loopback0
172.16.1.100/24
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
SW1
VLAN1
10.1.1.11/24
SW2
VLAN1
10.1.1.12/24
PC1
10.1.1.100/24
PC2
10.1.1.101/24
In this task, you will create VLANs and assign the ports that are specified to them.
Activity Procedure
Complete the following steps:
Step 1
For the purpose of management, configure the VLAN 1 interface with the IP address 10.1.1.12/24.
Lab Guide
L115
Step 2
Access PC2.
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Assign the IP address 10.1.1.101/24 to it. The default gateway should be set to the IP address of a Branch
router.
The ping should be successful because ports on both PCs are access ports belonging to VLAN 1.
C:\Users\Administrator> ping 10.1.1.101
Pinging 10.1.1.101 with 32 bytes of data:
Reply from 10.1.1.101: bytes=32 time<3ms TTL=128
Reply from 10.1.1.101: bytes=32 time<3ms TTL=128
Reply from 10.1.1.101: bytes=32 time<2ms TTL=128
Reply from 10.1.1.101: bytes=32 time<2ms TTL=128
Ping statistics for 10.1.1.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 3ms, Average = 3ms
Step 4
On both switches, SW1 and SW2, create VLANs 10 and 20.
Step 5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On SW1, assign the port to which PC1 connects (FastEthernet0/1) to VLAN 10.
On SW2, assign the port to which PC2 connects (FastEthernet0/1) to VLAN 20.
Step 6
Change the IP address of PC1 to 10.1.10.100/24. Set the default gateway to 10.1.10.1, which you will later
configure on the Branch router.
This step provides PC1 addressing in accordance with its VLAN assignment.
Lab Guide
L117
Step 8
Change the IP address of PC2 to 10.1.20.100/24. Set the default gateway to 10.1.20.1, which you will later
configure on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
This step provides PC2 addressing in accordance with its VLAN assignment.
Activity Verification
You have completed this task when you attain these results:
Step 1
On SW1 and SW2, verify that VLANs 10 and 20 are present.
SW1 should have FastEthernet0/1 belonging to VLAN 10, and SW2 should have FastEthernet0/1 belonging
to VLAN 20.
show vlan
Name
Status
Ports
-------------------------------- --------- ------------------------------default
active
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
VLAN0010
active
Fa0/1
VLAN0020
active
fddi-default
act/unsup
token-ring-default
act/unsup
fddinet-default
act/unsup
trnet-default
act/unsup
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1#
VLAN
---1
10
20
1002
1003
1004
1005
SW2#
VLAN
---1
show vlan
Name
Status
Ports
-------------------------------- --------- ------------------------------default
active
Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
10
VLAN0010
active
20
VLAN0020
active
Fa0/1
1002 fddi-default
act/unsup
1003 token-ring-default
act/unsup
1004 fddinet-default
act/unsup
1005 trnet-default
act/unsup
<output omitted>
Lab Guide
L119
Step 2
At this point, PC1 belongs to VLAN 10, and PC2 belongs to VLAN 20.
From PC1, ping PC2 (10.1.20.100).
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The connectivity test should not be successful. You first need to configure a trunk between switches that
will carry traffic from both VLANs and then configure a Layer 3 device that will route between those two
VLANs.
C:\Users\Administrator> ping 10.1.20.100
Pinging 10.1.20.100 with 32 bytes of data:
Reply from 10.1.10.100: Destination host unreachable.
Reply from 10.1.10.100: Destination host unreachable.
Reply from 10.1.10.100: Destination host unreachable.
Reply from 10.1.10.100: Destination host unreachable.
Ping statistics for 10.1.20.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
On switch SW1, configure the link toward switch SW2 (FastEthernet0/3) as a trunk. To follow the best
practice, allow only VLANs 1, 10, and 20 to cross the trunk. You can limit which VLANs are allowed to
traverse the trunk link with the switchport trunk allowed vlan command.
By default, ports are in DTP negotiation mode (dynamic auto). This mode presents a security risk, so the
best practice is to configure the ports manually to non-negotiation modes (access or trunk).
Repeat the same procedure on SW2.
Step 2
Step 3
On switch SW1, verify that the link toward SW2 is trunking and that VLANs 1, 10, and 20 are the only
VLANs that are allowed.
Status
trunking
Native vlan
1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On switch SW2, verify that the link toward SW1 is trunking and that VLANs 1, 10, and 20 are the only
VLANs that are allowed.
SW2# show interfaces trunk
Port
Mode
Encapsulation
Fa0/3
on
802.1q
Port
Vlans allowed on trunk
Fa0/3
1,10,20
<output omitted>
Status
trunking
Native vlan
1
Step 4
At this point, PC1 belongs to VLAN 10, and PC2 belongs to VLAN 20. The link between the two switches
is configured to carry more than one VLAN. It is a trunk.
From PC1, ping PC2 (10.1.20.100).
The connectivity test will not be successful. You first need to configure a trunk between switches that will
carry traffic from both VLANs and then configure a Layer 3 device that will route between those two
VLANs.
C:\Users\Administrator> ping 10.1.20.100
Pinging 10.1.20.100 with 32 bytes of data:
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Ping statistics for 10.1.20.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Activity Verification
No additional verification is needed in this task.
In this task, you will configure a trunk link on the Branch router. It will serve as a Layer 3 device that will
route between the two VLANs.
Lab Guide
L121
Activity Procedure
Complete the following steps:
Step 1
On switch SW1, configure the link toward the Branch router (FastEthernet0/13) as a trunk.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Save the running configuration to the startup configuration on the SW1 switch.
Step 3
On the Branch router, remove the IP address from the GigabitEthernet0/0 interface.
Step 4
On the Branch router, configure three subinterfaces. Subinterface GigabitEthernet0/0.1 should have an IP
address of 10.1.1.1/24 and belong to VLAN 1. Subinterface GigabitEthernet0/0.10 should have an IP
address of 10.1.10.1/24 and belong to VLAN 10. Subinterface GigabitEthernet0/0.20 should have an IP
address of 10.1.20.1/24 and belong to VLAN 20.
Step 5
Save the running configuration to the startup configuration on the Branch router.
Step 6
On the Branch router, verify that you have interface IP addresses that are configured in VLANs 1, 10, and
20.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Transmitted:
0
2
Transmitted:
0
1
Transmitted:
0
1
Activity Verification
You have completed this task when you attain these results:
Step 1
The attempt should be successful. The first ping or first few pings might fail due to the ARP process.
C:\Users\Administrator> ping 10.1.20.100
Pinging 10.1.20.100 with 32 bytes of data:
Reply from 10.1.20.100: bytes=32 time<3ms TTL=128
Reply from 10.1.20.100: bytes=32 time<3ms TTL=128
Reply from 10.1.20.100: bytes=32 time<2ms TTL=128
Reply from 10.1.20.100: bytes=32 time<2ms TTL=128
Ping statistics for 10.1.20.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 3ms, Average = 3ms
Lab Guide
L123
Step 2
From PC1, use the traceroute (tracert command) utility to trace the path from PC1 to PC2.
Notice that the traffic goes through the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this lab, you will assign IP addresses to network devices using DHCP. After completing this activity, you
will be able to meet these objectives:
Configure a DHCP server
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Configure the
DHCP server
DHCP
Server
Configure the
DHCP relay agent
PC1
SW1
Configure DHCP
clients
PC2
SW2
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Cisco Commands
Command
Description
default-router address
dns-server address
ip helper-address address
Description
show running-config
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
Description
ping ip_address
ipconfig {/all}
ipconfig /release
ipconfig /renew
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
SW2
c2960-lanlitek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
PC2
Any PC
Microsoft Windows 7
The table shows the usernames and passwords that are used to access the lab equipment.
Device
Username
Password
PC1
Administrator
admin
PC2
Administrator
admin
ccna
cisco
cisco
ccna
cisco
cisco
Lab Guide
L127
Branch 209.165.201.1
Gi0/1
209.165.201.2
DHCP
Server
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Gi0/0VLAN 1:10.1.1.1
Gi0/0.10VLAN 10: 10.1.10.1
Gi0/0.20VLAN 20: 10.1.20.1
172.16.1.100
HQ
Fa0/13
PC1
10.1.10.100
Fa0/1
SW1
10.1.1.11
Fa0/3
Fa0/3
PC2
SW2
10.1.1.12
Fa0/1
10.1.20.100
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
Branch
Branch
Branch
HQ
HQ
SW1
SW2
PC1
PC2
Interface
IP Address/Subnet Mask
Gi0/1
209.165.201.1/27
Gi0/0.1
10.1.1.1/24
Gi0/0.10
10.1.10.1/24
Gi0/0.20
10.1.20.1/24
Gi0/1
209.165.201.2/27
Loopback0
172.16.1.100/24
VLAN1
10.1.1.11/24
VLAN1
10.1.1.12/24
10.1.10.100/24
10.1.20.100/24
VLAN Setup
Three VLANs are configured on the switches. VLAN 1 is used for switch management, VLAN 10 is used
to connect PC1, and VLAN 20 is used to connect PC2. A trunk is enabled between the switches and
between the SW1 switch and the Branch router. The figure illustrates the trunk and VLAN setup.
VLAN Setup
Branch
Trunk
VLAN 10
SW1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
PC1
VLAN 1
PC2
SW2
VLAN 20
In this task, you will configure DHCP pools to enable the DHCP server implementation on a router.
Activity Procedure
Complete the following steps:
Step 1
Configure a DHCP pool named VLAN 10. The leased addresses should be part of network 10.1.10.0 /24.
Step 2
Determine the router interface IP address for VLAN 10 and configure it as a default gateway for DHCP
clients. Configure the same IP address for the DNS server.
Lab Guide
L129
Step 3
Change the default lease time to 2 hours.
Step 4
Step 5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Save the running configuration to the startup configuration on the Branch router.
Access PC1.
Open the network adapter settings and edit the IPv4 settings. Set them to obtain an IP address and DNS
address automatically.
Step 6
Verify that PC1 has obtained an IP address dynamically by executing a DHCP verification command on the
Branch router.
Type
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Automatic
In addition, verify the IP address settings using the command prompt on PC1.
C:\Windows\system32> ipconfig /all
<output omitted>
Ethernet adapter LAB:
Connection-specific DNS Suffix
Description . . . . . . . . . .
Physical Address. . . . . . . .
DHCP Enabled. . . . . . . . . .
Autoconfiguration Enabled . . .
Link-local IPv6 Address . . . .
IPv4 Address. . . . . . . . . .
Subnet Mask . . . . . . . . . .
Lease Obtained. . . . . . . . .
Lease Expires . . . . . . . . .
Default Gateway . . . . . . . .
DHCP Server . . . . . . . . . .
DHCPv6 IAID . . . . . . . . . .
DHCPv6 Client DUID. . . . . . .
DNS Servers . . . . . . . . . .
NetBIOS over Tcpip. . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
Step 7
The leased addresses should be part of network 10.1.20.0 /24. For the DNS server and default gateway, use
the router VLAN 20 interface (10.1.20.1). Set the lease time to 12 hours.
Lab Guide
L131
Step 8
On the Branch router, verify the configured pools by using the show ip dhcp pool verification command.
Step 9
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Leased addresses
1
Leased addresses
0
Access PC2.
Open the network adapter settings and edit the IPv4 settings. Set them to obtain an IP address and DNS
address automatically.
Step 10
Check the DHCP address bindings on the router to verify that PC2 has obtained an IP address dynamically.
Activity Verification
You have completed this task when you attain these results:
Step 1
You verified that both PC1 and PC2 have dynamically assigned IP addresses.
Step 2
You have successfully verified connectivity between the PCs using the ping command:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The configured DHCP server can assign any valid IP address from the pool to DHCP clients. Commonly,
certain IP addresses within the subnet that are assigned to the DCHP pool are configured manually on some
end hosts, such as servers or printers. In this task, you will configure DHCP to limit the valid IP addresses
within the pool to the desired uses.
Activity Procedure
Complete the following steps:
Step 1
On the Branch router, change the configuration of the DHCP server to assign IP addresses to DHCP clients
only from x.x.x.100 to x.x.x.150 within the configured pools.
Step 2
Save the running configuration to the startup configuration on the Branch router.
Step 3
To verify the DHCP configuration, connect to PC1, enter the command prompt, and release the existing
DHCP lease with the ipconfig /release command.
Repeat this step on PC2.
Step 4
Instruct PC1 to request new a DCHP lease by issuing the ipconfig /renew command.
Repeat this step on PC2.
Lab Guide
L133
Activity Verification
You have completed this task when you have attained this result:
Step 1
On the Branch router, verify that PC1 and PC2 have been assigned new IP addresses:
Type
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Automatic
Automatic
In this task, you will reconfigure the Branch router to support a centralized DHCP server.
Activity Procedure
Complete the following steps:
Step 1
Access the Branch router and remove the DHCP server configuration.
Step 2
Verify that no DHCP server configuration is present on the Branch router by using a DHCP pool show
command.
Branch# show ip dhcp pool
Branch#
Step 3
Configure a DHCP relay agent on the Branch router to forward DHCP messages to a centralized DHCP
server with IP address 172.16.1.100. Configure the relay agent on both logical subinterfaces, which are part
of VLAN 10 and VLAN 20.
Step 4
Save the running configuration to the startup configuration on the Branch router.
Step 5
Step 6
Renew the DHCP lease using the ipconfig /renew command and verify that PC1 has dynamically obtained
an IP address from the 10.1.10.20010.1.10.254 range.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
C:\Windows\system32> ipconfig
Windows IP Configuration
Ethernet adapter LAB:
Connection-specific DNS Suffix
Link-local IPv6 Address . . . .
IPv4 Address. . . . . . . . . .
Subnet Mask . . . . . . . . . .
Default Gateway . . . . . . . .
<output omitted>
.
.
.
.
.
:
:
:
:
:
fe80::1844:cd29:1d13:1905%13
10.1.10.200
255.255.255.0
10.1.10.1
Step 7
Renew the DHCP lease using the ipconfig /renew command and verify that PC2 has dynamically obtained
an IP address from the 10.1.20.20010.1.20.254 range.
C:\Windows\system32> ipconfig /all
<output omitted>
Ethernet adapter LAB:
Connection-specific DNS Suffix
Description . . . . . . . . . .
Physical Address. . . . . . . .
DHCP Enabled. . . . . . . . . .
Autoconfiguration Enabled . . .
Link-local IPv6 Address . . . .
IPv4 Address. . . . . . . . . .
Subnet Mask . . . . . . . . . .
Lease Obtained. . . . . . . . .
Lease Expires . . . . . . . . .
Default Gateway . . . . . . . .
DHCP Server . . . . . . . . . .
<output omitted>
.
.
.
.
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
:
:
:
:
Activity Verification
No additional verification is needed in this task.
Lab Guide
L135
Step 1
Access both PCs and edit the IPv4 network settings. Manually set the parameters according to the table.
IP Addressing
IP Address
Subnet Mask
Default Gateway
PC1
10.1.10.100
255.255.255.0
10.1.10.1
PC2
10.1.20.100
255.255.255.0
10.1.20.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
On PC1:
On PC2:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
To verify the manual settings, use the ping command to verify connectivity between PC1 and PC2.
C:\Windows\system32> ping 10.1.20.100
Pinging 10.1.20.100 with 32 bytes of data:
Reply from 10.1.20.100: bytes=32 time=12ms TTL=127
Reply from 10.1.20.100: bytes=32 time=1ms TTL=127
Reply from 10.1.20.100: bytes=32 time=1ms TTL=127
Reply from 10.1.20.100: bytes=32 time=1ms TTL=127
Ping statistics for 10.1.20.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 12ms, Average = 3ms
Activity Verification
No additional verification is needed in this task.
Lab Guide
L137
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L138 Interconnecting Cisco Networking Devices, Part 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
After completing this activity, you will be able to meet these objectives:
Configure a WAN interface
Configure OSPF
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
Server
WAN
HQ
Configure OSPF
PC1
SW1
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
command assistance during the lab activity.
Cisco Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
interface interface
Starts the OSPF routing process with the specified process ID. The
process ID is of local significance, so two routers can have different
process IDs and still become neighbors.
show ip route
Description
ping ip_address
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
Headquarter
s
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
SW2
c2960-lanlitek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
PC2
Any PC
Microsoft Windows 7
The table shows the usernames and passwords that are used to access the lab equipment.
Lab Guide
L141
Username
Password
PC1
Administrator
admin
PC2
Administrator
admin
ccna
cisco
cisco
ccna
cisco
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
cisco
Devices are connected with Ethernet and serial connections. The figure illustrates the interface
identification and IP addresses that are used in this lab setup.
Eth0/1
192.168.1.2
Branch
Server
WAN
172.16.1.100
VLAN 110.1.1.1
VLAN 1010.1.10.1
VLAN 2010.1.20.1
Eth0/0
HQ
Eth1/0
PC1
Eth0/1
SW1
10.1.10.100
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Interface
IP Address/Subnet Mask
Gi0/1
192.168.1.1/24
Gi0/0.1
10.1.1.1/24
Gi0/0.10
10.1.10.1/24
Gi0/0.20
10.1.20.1/24
Headquarters
Gi0/1
192.168.1.2/24
Headquarters
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
10.1.10.100/24
Branch
Branch
Branch
Branch
PC1
VLAN Setup
Three VLANs are configured on the switch. VLAN 1 is used for switch management, VLAN 10 is used to
connect PC1. VLAN 20 is used to connect PC2, which is not used in this lab exercise.
VLAN Setup
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch
Trunk
VLAN 10
PC1
VLAN 1
SW1
In this task, you will disconnect the Branch router from the Internet by removing DHCP and NAT
configuration from the GigabitEthernet0/1 interface. You will use this link for WAN Ethernet connectivity
instead. You will configure the interface for WAN connectivity by setting a private IP address on the
interface. The Headquarters router has been already preconfigured for WAN connectivity.
Activity Procedure
Complete the following step:
Step 1
Configure IP address 192.168.1.1 with network mask 255.255.255.0 on the GigabitEthernet0/1 interface.
Activity Verification
You have completed this task when you attain these results:
Lab Guide
L143
Step 1
On the Branch router, verify the operational state of interface GigabitEthernet0/1. Verify that the interface
is configured with the correct IP address.
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Your attempt should not be successful because the Headquarters router does not have a path back to the
10.1.10.0/24 network.
C:\Users\Administrator> ping 172.16.1.100
Pinging 172.16.1.100 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.16.1.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
The Headquarters router was configured with OSPF by your coworker. In this task, you will configure
OSPF on the Branch router. The two routers will then become neighbors and exchange routing information.
Activity Procedure
Complete the following steps:
Step 1
On the Branch router, enable single-area OSPF (area 0) and configure it so that it advertises networks
10.1.1.0/24, 10.1.10.0/24, 10.1.20.0./24, and 192.168.1.0/24.
The Headquarters router was already configured with OSPF by your colleague.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Verification
You have completed this task when you attain these results:
Step 1
On the Branch router, determine whether you see the Headquarters router as a neighbor.
The Headquarters router is configured with the router ID of 1.1.1.1.
Branch# show ip ospf neighbor
Neighbor ID
Pri
State
1.1.1.1
1
FULL/BDR
Dead Time
00:00:35
Address
192.168.1.2
Interface
GigabitEthernet0/1
Step 2
Cost
1
1
1
1
State
DR
DR
DR
DR
Nbrs F/C
1/1
0/0
0/0
0/0
Lab Guide
L145
Step 3
On the Branch router, view the routing table. Note the entry for the 172.16.1.0/24 network that was
acquired via the OSPF routing process.
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From PC1, ping the 172.16.1.100 server. Your attempt should be successful because the HQ router now
knows how to get back to the 10.1.10.0/24 network.
C:\Users\Administrator>ping 172.16.1.100
Pinging 172.16.1.100 with 32 bytes of data:
Reply from 172.16.1.100: bytes=32 time=44ms TTL=128
Reply from 172.16.1.100: bytes=32 time=41ms TTL=128
Reply from 172.16.1.100: bytes=32 time=36ms TTL=128
Reply from 172.16.1.100: bytes=32 time=36ms TTL=128
Ping statistics for 172.16.1.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 36ms, Maximum = 44ms, Average = 39ms
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will enable IPv6 globally and manually configure an IPv6 address on the interface.
After completing this lab activity, you will be able to meet this objective:
Enable IPv6 support on a router and perform basic configuration
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
HQ
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
or verification Cisco IOS command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
exit
interface interface
ipv6 unicast-routing
ping destination_address
telnet ip_address
traceroute ip_address
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
HQ
c2900-universalk9-mz.SPA.152-4.M1
The table shows the usernames and passwords that are used to access the lab equipment.
Device
Username
Password
ccna
cisco
cisco
Devices are connected with an Ethernet connection. The figure illustrates IP addresses that are used in this
lab setup.
Lab Guide
L149
HQ
2001:DB8:AC10:100::64
Internet
2001:DB8:D1A5:C900::2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
2001:DB8:D1A5:C900::1
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
HQ
HQ
Interface
IP Address/Subnet Mask
Gi0/1
2001:DB8:D1A5:C900::1/64
Gi0/1
2001:DB8:D1A5:C900::2/64
Loopback0
2001:DB8:AC10:100::64/64
In this task, you will enable IPv6 globally and manually configure an IPv6 address on the interface.
The HQ router is already configured with an IPv6 address on the Gigabit Ethernet interface.
Activity Procedure
Complete the following steps:
Step 1
Activity Verification
You have completed this task when you attain this result:
Step 1
On the Branch router, verify IPv6 setup on the GigabitEthernet 0/1 interface.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The GigabitEthernet0/1 interface is up and running. An IPv6 address is successfully enabled on the
interface.
Step 2
On the Branch router, ping the HQ router GigabitEthernet0/1 interface (2001:DB8:D1A5:C900::2). The
ping should be successful.
Branch# ping 2001:db8:D1A5:C900::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:D1A5:C900::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
Lab Guide
L151
Step 3
On the Branch router, trace route to the IPv6 address 2001:DB8:D1A5:C900::2. You should see a response
from the HQ router.
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From the Branch router, use Telnet to connect to IPv6 address 2001:DB8:D1A5:C900::2. You should see a
successful Telnet to the HQ router.
Branch# telnet 2001:db8:D1A5:C900::2
Trying 2001:DB8:D1A5:C900::2 ... Open
HQ#
HQ# exit
[Connection to 2001:db8:D1A5:C900::2 closed by foreign host]
Branch#
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will enable stateless autoconfiguration. After completing this lab activity, you will be
able to meet this objective:
Configure and verify stateless autoconfiguration
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Branch
HQ
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
or verification Cisco IOS command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
exit
interface interface
ping destination_address
telnet ip_address
traceroute ip_address
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
HQ
c2900-universalk9-mz.SPA.152-4.M1
The table shows the usernames and passwords that are used to access the lab equipment.
Device
Username
Password
ccna
cisco
cisco
Devices are connected with an Ethernet connection. The figure illustrates IP addresses that are used in this
lab setup.
Lab Guide
L155
HQ
2001:DB8:AC10:100::64
Internet
2001:DB8:D1A5:C900::2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
2001:DB8:D1A5:C900::1
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
HQ
HQ
Interface
IP Address/Subnet Mask
Gi0/1
2001:DB8:D1A5:C900::1/64
Gi0/1
2001:DB8:D1A5:C900::2/64
Loopback0
2001:DB8:AC10:100::64/64
In this task, you will first remove a configured IPv6 address from the interface and then configure stateless
autoconfiguration on the interface.
The HQ router is already configured with the IPv6 address on the Gigabit Ethernet interface.
Activity Procedure
Complete the following steps:
Step 1
On the Branch router, verify the current GigabitEthernet 0/1 configuration.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On the Branch router, remove the IPv6 address from the GigabitEthernet 0/1 interface.
Step 3
On the Branch router, configure stateless autoconfiguration on the GigabitEthernet 0/1 interface.
Activity Verification
You have completed this task when you attain these results:
Lab Guide
L157
Step 1
On the Branch router, verify the IPv6 setup on the GigabitEthernet 0/1 interface.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The GigabitEthernet 0/1 interface is up and running. The IPv6 address is successfully set on the interface.
The IPv6 prefix is the same as what is configured on the HQ router, and the host portion of the IPv6 address
is calculated from the GigabitEthernet 0/1 interface MAC address.
Step 2
On the Branch router, ping the HQ router GigabitEthernet0/1 interface (2001:DB8:D1A5:C900::2). The
ping should be successful.
Branch# ping 2001:db8:D1A5:C900::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:D1A5:C900::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
Step 3
On the Branch router, trace route to the IPv6 address 2001:DB8:D1A5:C900::2. You should see a response
from the HQ router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Lab Guide
L159
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L160 Interconnecting Cisco Networking Devices, Part 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will configure and verify IPv6 routing by enabling static routing and OSPFv3. After
completing this lab activity, you will be able to meet these objectives:
Enable and verify static routing
Enable and verify OSPFv3
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Server
HQ
PC1
SW1
PC2
SW2
Enable OSPFv3
Server
Branch
HQ
Required Resources
Command List
The table describes the commands that are used in this activity. The commands are listed in alphabetical
order so that you can easily locate the information that you need. Refer to this list if you need configuration
or verification Cisco IOS command assistance during the lab activity.
Commands
Description
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
configure terminal
interface interface
ping destination_address
router-id router-id
Configures the OSPFv3 router ID. The router ID is 32-bit value, written
in the IPv4 form (x.x.x.x).
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Device
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
HQ
c2900-universalk9-mz.SPA.152-4.M1
The table shows the usernames and passwords that are used to access the lab equipment.
Device
Username
Password
ccna
cisco
cisco
Devices are connected with an Ethernet connection. The figure illustrates IP addresses that are used in this
lab setup.
Lab Guide
L163
HQ
2001:DB8:AC10:100::64
Internet
2001:DB8:D1A5:C900::2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
2001:DB8:D1A5:C900::1
The table shows the interface identification and IP addresses that are used in this lab setup.
Device
Branch
HQ
HQ
Interface
IP Address/Subnet Mask
Gi0/1
2001:DB8:D1A5:C900::1/64
Gi0/1
2001:DB8:D1A5:C900::2/64
Loopback0
2001:DB8:AC10:100::64/64
In this task, you will configure the IPv6 default route on the Branch router.
Activity Procedure
Complete the following steps:
Step 1
The ping is not successful because there is no valid route for network 2001:DB8:AC10:100::/64 in the
routing table.
Step 2
On the Branch router, verify the IPv6 routing table.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From the IPv6 routing table output, you can confirm there is no route for a desirable network.
Step 3
On the Branch router, configure a default IPv6 route pointing to the HQ router.
Activity Verification
You have completed this task when you attain these results:
Step 1
On the Branch router, ping the server at 2001:DB8:AC10:100::64. The ping should be successful.
Lab Guide
L165
Step 2
On the Branch router, verify the IPv6 routing table.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
There is still no route for network 2001:DB8:AC10:100::/64, but there is a static default route. The Branch
router uses the default route to reach IPv6 networks that are not present in the routing table.
In this task, you will first remove the default IPv6 route that is configured in the previous task, and you will
enable OSPFv3.
The HQ router is already configured with OSPFv3.
Activity Procedure
Complete the following steps:
Step 1
On the Branch router, enable OSPFv3 with process ID 1 and router ID 0.0.0.2.
Step 3
Step 1
On the Branch router, observe the output on the console.
Nov 14 10:13:05.399: %OSPFv3-5-ADJCHG: Process 1, Nbr 0.0.0.1 on GigabitEthernet0/1
from LOADING to FULL, Loading Done
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The OSPFv3 adjacency between the Headquarters and Branch routers is established.
Step 2
Dead Time
00:00:39
Interface ID
4
Interface
GigabitEthernet0/1
The Branch router has an active OSPFv3 neighborship to the router with router ID 0.0.0.1. The HQ router is
using OSPFv3 router ID 0.0.0.1.
Step 3
The OSPFv3 on the Branch router is using process ID 1 and router ID 0.0.0.2.
Lab Guide
L167
Step 4
On the Branch router, display the IPv6 routing table.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
In this activity, you will repeat what you have learned throughout the course. After completing this activity,
you will be able to meet these objectives:
Configure basic settings, VLANs, trunks, and port security on the Cisco switch
Configure inter-VLAN routing
Visual Objective
The figure illustrates what you will accomplish in this activity.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Configure basic
settings and interVLAN routing
Branch
Server
Internet/WAN
Enable IPv6
connectivity
HQ
VLAN 10
Configure Internet
connectivity
SW1
PC1
VLAN 20
PC2
Configure VLANs,
trunk, and port security
SW2
Configure VLANs,
trunk, and port security
Required Resources
A PC that is connected to the on-site lab or a PC with Internet connectivity to access the remote lab
Command List
The table that follows describes the commands that are used in this activity. The commands are listed in
alphabetical order so that you can easily locate the information that you need. Refer to this list if you need
configuration command assistance during the lab activity.
Command
Description
configure terminal
delete name
enable
Description
erase startup-config
hostname hostname
interface interface
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
interface interface.subinterface
ip domain-name domain
ip nat inside
ip nat outside
ip ssh version 2
ipv6 unicast-routing
line console 0
logging synchronous
login
login local
password
ping ip_address
reload
Restarts the switch and reloads the Cisco IOS operating system
and configuration.
Lab Guide
L171
Description
show ip access-lists
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Command
show ip route
show users
shutdown
switchport port-security
telnet ip_address
vlan vlan_id
Job Aids
These job aids are available to help you complete the lab activity.
The table shows the hardware that is used in the lab and the operating system that is running on the devices.
Hardware
Operating System
Branch
c2900-universalk9-mz.SPA.152-4.M1
HQ
c2900-universalk9-mz.SPA.152-4.M1
SW1
c2960-lanbasek9-mz.150-1.SE3
SW2
c2960-lanlitek9-mz.150-1.SE3
PC1
Any PC
Microsoft Windows 7
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Device
PC2
Any PC
Microsoft Windows 7
Devices are connected with Ethernet and serial connections. The figure illustrates the interface
identification and IP addresses that will be used in this lab.
Gi0/1
209.165.201.1
192.168.1.1
Gi0/1
209.165.201.2
192.168.1.2
Server
Internet
VLAN 110.1.1.1
VLAN 1010.1.10.1 Gi0/0
VLAN 2010.1.20.1
172.16.1.100
HQ
Fa0/13
PC1
Fa0/1
SW1
10.1.1.11
Fa0/3
10.1.10.100
Fa0/3
PC2
Fa0/1
SW2
10.1.1.12
10.1.20.100
The table shows the interface identification and IP addresses that will be used in this lab setup.
Device
Interface
Branch
Looback10
10.100.100.100/32
Branch
Gi0/0.1 (VLAN1)
10.1.1.1/24
Branch
Gi0/0.10 (VLAN10)
10.1.10.1/24
Branch
Gi0/0.20 (VLAN20)
10.1.20.1/24
Branch
Gi0/1
209.165.201.1/27, 192.168.1.1/24
HQ
Gi0/1
209.165.201.2/27, 192.168.1.2/24
HQ
Loopback0
172.16.1.100/24
SW1
VLAN1
10.1.1.11/24
Lab Guide
L173
Device
Interface
SW2
VLAN1
10.1.1.12/24
PC1
10.1.10.100/24
PC2
10.1.20.100/24
IPv6 Addressing
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The figure illustrates IPv6 addresses that will be used in this lab.
IPv6 Addressing
Gi0/1
2001:db8 :D1A5:C900::2/64
2001:db8 :C0A8:100::2/64
Branch
Server
Internet
Gi0/1
2001:db8 :D1A5:C900::1/64
2001:db8 :C0A8:100::1/64
PC1
SW1
PC2
SW2
2001:db8 :AC10:100::64/64
HQ
The table shows the interface identification and IPv6 addresses that will be used in this lab.
Device
Branch
Branch
Branch
Branch
HQ
HQ
Interface
Gi0/0.1 (VLAN1)
2001:db8 :0A01:100::1/64
Gi0/0.10 (VLAN10)
2001:db8 :0A01:A00::1/64
Gi0/0.20 (VLAN20)
2001:db8 :0A01:1400::1/64
Gi0/1
2001:db8 :D1A5:C900::1/64,
2001:db8 :C0A8:100::1/64
Gi0/1
2001:db8 :D1A5:C900::2/64,
2001:db8 :C0A8:100::2/64
Loopback0
2001:db8 :AC10:100::64/64
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Procedure
Complete the following steps:
Step 1
Delete the startup configuration from the SW1 and SW2 switches. Delete the vlan.dat file from the flash
memory of the switches and delete the VLAN information. Reload the switches in order to boot the
switches with an empty configuration.
Step 3
Configure IPv4 addresses on both switches for management purposes. Assign the IP address to the VLAN 1
interface. Use the Job Aids section of the document to determine the IP address for each switch. Enable the
VLAN 1 interface.
Step 5
Configure the enable password on the SW1 and SW2 switches. Use the command that will store the
configured password in encrypted form. Use cisco as a password.
Step 6
Secure console access to the switches by enabling the password on the console. Use cisco as a password.
Enable synchronous logging on the console to make the input of commands easier.
Step 7
Enable SSH version 2 remote access to the SW1 and SW2 switches. Use 1024-bit long RSA keys and
cisco.com as the domain name. Allow Telnet and SSH on the virtual lines.
Lab Guide
L175
Step 8
Step 9
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Create a local user account on the switches that will be used to authenticate users accessing the switches via
SSH or Telnet. Use ccna as a username and cisco as a password. Configure the virtual lines for checking
the username and password.
Create two additional VLANs on the switches. Use VLAN 10 and 20.
Step 10
Configure a trunk between SW1 and SW2 switches over the FastEthernet0/3 port. Allow only VLANs 1,
10, and 20 on the trunk link. Shut down the FastEthernet0/4 port on both switches.
Step 11
On SW1, configure the port connecting to PC1 (FastEthernet0/1) as the access port. Put the port into VLAN
10.
Step 12
On SW2, configure the port connecting to PC2 (FastEthernet0/1) as the access port. Put the port into VLAN
20.
Step 13
Access PC1. Use administrator as a username and admin as a password in order to log in. Set the
following IP settings on the LAB network adapter:
Mask
Default Gateway
10.1.10.100
255.255.255.0
10.1.10.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
IP Address
Lab Guide
L177
Step 14
Access PC2. Use administrator as a username and admin as a password in order to log in. Set the
following IP settings on the LAB network adapter:
Mask
Default Gateway
10.1.20.100
255.255.255.0
10.1.20.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
IP Address
Step 15
From PC1, which is in VLAN 10, ping the management IP address of SW1 (10.1.1.11) in VLAN 1.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The ping should be unsuccessful because routing between VLAN 1 and VLAN 10 has not been configured
yet.
Step 16
From PC2, which is in VLAN 20, ping the management IP address of SW1 (10.1.1.11) in VLAN 1.
C:\Windows\system32> ping 10.1.1.11
Pinging 10.1.1.11 with 32 bytes of data:
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Reply from 10.1.20.100: Destination host unreachable.
Ping statistics for 10.1.1.11:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
The ping should be unsuccessful because routing between VLAN 1 and VLAN 20 has not been configured
yet.
Step 17
Return to SW1 and verify the MAC address table. Note the MAC address of PC1 and write it down.
SW1# show mac address-table
Mac Address Table
------------------------------------------Vlan
Mac Address
Type
Ports
------------------------All
0100.0ccc.cccc
STATIC
CPU
All
0100.0ccc.cccd
STATIC
CPU
<output omitted>
1
001e.145e.4983
DYNAMIC
Fa0/3
1
fc99.47e5.2700
DYNAMIC
Fa0/13
10
000c.293b.709d
DYNAMIC
Fa0/1
10
000f.34f9.9181
DYNAMIC
Fa0/1
Lab Guide
L179
Note
If there is more then one MAC address that is seen on the FastEthernet0/1 interface, go to the PC and
determine its MAC address using the ipconfig /all command.
Step 18
Return to SW2 and verify the MAC address table. Note the MAC address of PC2 and write it down.
Note
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
If there is more than one MAC address that is seen on the FastEthernet0/1 interface, go to the PC and
determine its MAC address using the ipconfig /all command.
Step 19
On the SW1 and SW2 switches, enable port security on the interfaces connecting to the PCs
(FastEthernet0/1) in order to allow only PCs to connect to the switches. You should first set up the
parameters and then enable port security; otherwise, the port will be shut down due to a port security
violation. Use the following port security parameters:
Violation action: Protect
Activity Verification
Verification of this task will be done after configuration of inter-VLAN routing.
In this task, you will first delete the existing configuration from the Branch router and reload it. You will
then secure administrative access to the router and configure inter-VLAN routing among VLAN 1, 10, and
20. This way, you will enable connectivity among PC1, PC2, and management IP addresses on the
switches. You will implement inter-VLAN routing on the Branch router by establishing a trunk link
between the router and SW1 switch.
Activity Procedure
Complete the following steps:
Step 1
Access the Branch router.
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Delete the startup configuration from the Branch router. Reload the router in order to boot the router with an
empty configuration.
Step 3
Configure the enable password on the Branch router. Use the command that will store the configured
password in secure encrypted form. Use cisco as a password.
Step 5
Secure console access to the router by enabling the password on the console. Use cisco as a password.
Enable synchronous logging on the console to make the input of commands easier.
Step 6
Secure Telnet access to the router by enabling the password on virtual lines. Use cisco as a password.
Step 7
Enable the GigabitEthernet0/0 interface on the Branch router. Create three subinterfaces on the interface
and configure them with the following parameters:
Subinterface Identifier
VLAN Identifier
IP Address/Mask
GigabitEthernet0/0.1
1 (native VLAN)
10.1.1.1/24
GigabitEthernet0/0.10
10
10.1.10.1/24
GigabitEthernet0/0.20
20
10.1.20.1/24
Step 8
Lab Guide
L181
Step 9
Configure the FastEthernet 0/13 port on the switch as a trunk. Allow only VLANs 1, 10, and 20 on the
trunk link. This way, you will enable the switch to send traffic to or from all configured VLANs over the
same port toward the Branch router.
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Activity Verification
You have completed this task when you attain this result:
Verify the switchport status of the FastEthernet0/13 port on the SW1 switch:
SW1# show interfaces FastEthernet0/13 switchport
Name: Fa0/13
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Verify the switch port status of the FastEthernet0/3 port on the SW1 switch:
SW1# show interfaces FastEthernet0/3 switchport
Name: Fa0/3
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Step 3
Verify the trunking status of the FastEthernet0/3 port on the SW1 switch:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the interface is in trunking mode, encapsulation is 802.1q, and VLANs 1, 10, and 20
are active and not pruned.
Step 4
Verify the trunking status of the FastEthernet0/3 port on the SW2 switch:
You should see that the interface is in trunking mode, encapsulation is 802.1q, and VLANs 1, 10, and 20
are active and not pruned.
Step 5
OK?
YES
YES
YES
YES
YES
Method
unset
unset
manual
manual
manual
Status
Protocol
administratively down down
up
up
up
up
up
up
up
up
You should see that the subinterfaces are configured with IP addresses and are operational.
Lab Guide
L183
Step 6
Access PC1. Ping the SW1 management IP address at 10.1.1.11.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 8
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC1, start PuTTY by double-clicking the PuTTY icon on the desktop. Establish an SSH session to the
SW1 management IP address at 10.1.1.11. Accept the fingerprint of the switches when asked. Use ccna as a
username and cisco as a password in order to log in. Enter the privileged EXEC mode using the cisco
password in order to verify that the enable password is properly configured.
Lab Guide
L185
Step 9
Verify port security information on the FastEthernet0/1 port on the SW1 switch. Use the previously
established SSH session to access SW1.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the port is protected, the security violation is set to protect, and the last seen MAC
address is PC1 in VLAN 10.
Step 10
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC1, open another PuTTY window by double-clicking the PuTTY icon again. Establish a Telnet session
to the Branch router at 10.1.10.1. Use the cisco password to log in. Enter privileged EXEC mode using the
cisco password in order to verify if the enable password is properly configured.
Lab Guide
L187
Step 11
Access PC2. Ping the SW2 management IP address at 10.1.1.12.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 12
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC2, start PuTTY by double-clicking the PuTTY icon on the desktop. Establish an SSH session to the
SW2 management IP address at 10.1.1.12. Accept the fingerprint of the switches when asked. Use ccna as a
username and cisco as a password in order to log in. Enter the privileged EXEC mode using the cisco
password in order to verify if the enable password is properly configured.
Lab Guide
L189
Step 13
Verify port security information on the FastEthernet0/1 port on the SW2 switch. Use the previously
established SSH session to access SW2.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the port is protected, the security violation is set to protect, and the last seen MAC
address is PC2 in VLAN 20.
Step 14
In this task, you will configure the Branch router to provide Internet connectivity. This includes configuring
IP addresses on an interface and default route. You will also configure NAT with PAT to hide internal
addressing from the Internet. Finally, you will configure an ACL that will protect the router and LAN from
traffic on the Internet.
Activity Procedure
Complete the following steps:
Step 1
Configure an IP address on the Branch router on the interface connecting to the Internet
(GigabitEthernet0/1). Use 209.165.201.1/27 for the IP address. Enable the interface.
Step 3
Configure a default route on the Branch router that will point to the HQ router as the next hop.
Step 4
Create a standard ACL that will permit users on VLAN 10 and 20. This ACL will be used to specify IP
addresses that are eligible for NAT. Use 1 for the access list identifer.
Step 5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Configure NAT with PAT on the Branch router for all LAN users. This includes users on VLAN 10 and 20.
Refer to the previously configured ACL. Use the IP address on the GigabitEthernet0/1 interface for the
translated IP address.
Step 6
Configure a named extended ACL on the Branch router that will deny all TCP and UDP traffic coming
from a source port greater than 1024. Permit all other IP traffic. Apply the ACL to the GigabitEthernet0/1
interface in the inbound direction.
Note
This ACL will effectively block all connection attempts from the Internet, while the returning traffic to the
LAN will be allowed. With a majority of well-known applications, you can expect that the source port of
traffic returning from a server will have a value that is lower than 1024. For example, returning traffic that
is coming from a Telnet server will have a source port with a value of 23. On the other hand, Telnet
traffic that originates from a host will have a source port greater than 1024.
Activity Verification
You have completed this task when you attain these results:
Step 1
You should see that the interface is operational and that it has an IP address configured.
Lab Guide
L191
Step 2
Verify the routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the router has a default route that is configured, which points to the HQ router.
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Access PC1. Start PuTTY by double-clicking the PuTTY icon on the desktop. Establish a Telnet session to
the server at 172.16.1.100.
HQ#
Recall that the server is simulated as the loopback interface on the HQ router.
Lab Guide
L193
Step 4
On the HQ router, verify the user connection to the server using the show users command. Use the
previously established Telnet session.
Host(s)
idle
Idle
Location
00:00:00 209.165.201.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the Telnet session from PC1 is seen as originating from the translated IP address. The
translated IP address is the IP address of the GigabitEthernet0/1 interface on the Branch router.
Step 5
Access PC2. Start PuTTY by double-clicking the PuTTY icon on the desktop. Establish a Telnet session to
the server at 172.16.1.100.
HQ#
Step 6
On the HQ router, verify the user connection to the server using the show users command. Use the
previously established Telnet session.
Host(s)
idle
idle
Idle
Location
00:01:02 209.165.201.1
00:00:00 209.165.201.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should also see that the Telnet session from PC2 is seen as originating from the translated IP address.
The translated IP address is the IP address of the GigabitEthernet0/1 interface on the Branch router..
Step 7
Outside local
172.16.1.100:23
172.16.1.100:23
Outside global
172.16.1.100:23
172.16.1.100:23
You should see two PAT translations. One translation is for PC1 at 10.1.10.100, and the second is for PC2
at 10.1.10.100. Both IP addresses translated to the same global IP address but with different source ports.
Step 8
Return to the Telnet session on PC1. Try to establish a Telnet session from the HQ router to the Branch
router twice or three times.
HQ# telnet 209.165.201.1
Trying 209.165.201.1 ...
% Destination unreachable; gateway or host down
HQ# telnet 209.165.201.1
Trying 209.165.201.1 ...
% Destination unreachable; gateway or host down
HQ# telnet 209.165.201.1
Trying 209.165.201.1 ...
% Destination unreachable; gateway or host down
You should not be successful because the ACL denies connections that are initiated from the Internet.
Lab Guide
L195
Step 9
Return to the Branch router console and verify the ACL hits.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that the ACL denied three TCP packets coming from the TCP source port greater than 1024
to the Branch router.
Step 10
In this task, you will configure the Branch router with WAN connectivity to the HQ router. This activity
includes removing the NAT configuration from the GigabitEthernet0/1 interface and changing the IP
address on the interface. You will also configure single-area OSPF on the Branch router in order to
exchange routing information with the HQ router. The HQ router has been preconfigured with OSPF.
However, you will have to change the IP addressing on the HQ router as well.
Activity Procedure
Complete the following steps:
Step 1
Change the IP address on the GigabitEthernet0/1 interface on the HQ router to 192.168.1.2 with network
mask 255.255.255.0. Be careful not to mistype the IP address.
Note
Changing the IP address on the HQ router will terminate your Telnet session. If the session freezes,
press Ctrl-Shift-6, followed by X. This action will pause the Telnet session, and you will return to the
Branch router console. At the Branch router prompt, enter Disconnect to disconnect the frozen Telnet
session permanently.
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On the Branch router, remove the NAT configuration from the GigabitEthernet0/1 interface.
Step 5
Configure the IP address on the Branch router on the GigabitEthernet0/1 interface. Use 192.168.1.1/24 for
the IP address.
Step 6
Configure a loopback interface on the Branch router. Use 10 as the interface ID and 10.100.100.100/32 as
the IP address.
Why is it recommended to configure a loopback interface when enabling an OSPF routing protocol?
Step 7
Create the OSPF routing process on the Branch router. Use 1 as the OSPF process ID.
Step 8
10.1.10.0/24
10.1.20.0/24
10.100.100.100/32
Activity Verification
You have completed this task when you attain these results:
Lab Guide
L197
Step 1
From the Branch router, ping the HQ router at 192.168.1.2.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Dead Time
00:00:35
Address
192.168.1.2
Interface
GigabitEthernet0/1
You should see the HQ router as the OSPF neighbor in FULL state.
Step 3
Verify the routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see the 172.16.1.0/24 network as the OSPF route. The network should be accessible over the
GigabitEthernet0/1 interface.
Step 4
Access PC1. Open a command prompt and ping the server at 172.16.1.100.
C:\Windows\system32> ping 172.16.1.100
Pinging 172.16.1.100 with 32 bytes of data:
Reply from 172.16.1.100: bytes=32 time=42ms TTL=254
Reply from 172.16.1.100: bytes=32 time=36ms TTL=254
Reply from 172.16.1.100: bytes=32 time=35ms TTL=254
Reply from 172.16.1.100: bytes=32 time=36ms TTL=254
Ping statistics for 172.16.1.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 35ms, Maximum = 42ms, Average = 37ms
Lab Guide
L199
Step 5
HQ#
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC1, start PuTTY by double-clicking the PuTTY icon on the desktop. Establish a Telnet session to the
HQ router at 192.168.1.2.
Step 6
On the HQ router, verify the routing table. Use the previously established Telnet session.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see LAN networks accessible over the the Serial0/0/0 interface, with the Branch router as the
next hop router.
Step 7
In this task, you will enable IPV6 connectivity in the LAN. This activity includes enabling IPv6 on the
Branch router and setting IPv6 addresses on the LAN subinterfaces of the router. On the PCs with
Microsoft Windows 7, IPv6 is enabled by default. Therefore, the PCs will obtain IPv6 addresses
automatically by using stateless autoconfiguration.
Activity Procedure
Complete the following steps:
Step 1
Lab Guide
L201
Step 3
Configure subinterfaces on the GigabitEthernet0/0 interface with the following IPv6 addresses:
VLAN Identifier
IPv6 Address/Mask
GigabitEthernet0/0.1
2001:db8:0A01:100::1/64
GigabitEthernet0/0.10
10
2001:db8:0A01:A00::1/64
GigabitEthernet0/0.20
20
2001:db8:0A01:1400::1/64
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Subinterface Identifier
By configuring the IPv6 address on a router interface, the router starts sending router advertisements out of
the interface. This enables PCs that are connected to the interface to automatically configure the IPv6
address on a network adapter and to set a default gateway.
Activity Verification
You have completed this task when you attain these results:
Step 1
Verify IPv6 settings and the status on all subinterfaces:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Lab Guide
L203
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see all three subinterfaces that are enabled for IPv6. Each subinterface should have a link-local
IPv6 address and one global IPv6 address.
Note that the link-local IPv6 address is the same on all subinterfaces. Why is the link-local IPv6 address the
same on all subinterfaces?
Step 2
.
.
.
.
.
.
.
:
:
:
:
:
:
:
2001:db8:a01:a00:15e4:2bea:367f:8c5c
2001:db8:a01:a00:191b:d8a9:e435:33c1
fe80::15e4:2bea:367f:8c5c%13
10.1.10.100
255.255.255.0
fe80::fe99:47ff:fee5:2700%13
10.1.10.1
You should see that the PC is configured with one global IPv6 address, one temporary IPv6 address, the
link-local IPv6 address, and the default gateway.
You will see a percentage sign (%), followed by a number, at the end of the link-local IPv6 address and at
the end of the default gateway. The number following the percentage sign identifies an interface on the PC,
and it is not part of the IPv6 address and should be ignored when determining the IPv6 address of the the
default gateway.
Which router IPv6 address is configured as the default gateway on the PC?
Step 3
From PC1, ping the default gateway. Use the link-local IPv6 address as the destination IPv6 address.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From PC1, ping the directly connected interface of the Branch router. Use the global IPv6 address as the
destination IPv6 address.
C:\Windows\system32> ping 2001:DB8:A01:A00::1
Pinging 2001:db8:a01:a00::1 with 32 bytes of data:
Reply from 2001:db8:a01:a00::1: time=5ms
Reply from 2001:db8:a01:a00::1: time<1ms
Reply from 2001:db8:a01:a00::1: time<1ms
Reply from 2001:db8:a01:a00::1: time<1ms
Ping statistics for 2001:db8:a01:a00::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 5ms, Average = 1ms
Lab Guide
L205
Step 5
On PC1, verify the neighbor discovery table to see mappings between IPv6 addresses and MAC addresses.
Examine entries for the LAB interface.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Type
----------Stale (Router)
Stale
Stale (Router)
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
You should see neighbor discovery entries for link-local and global IPv6 addresses of the Branch router that
you pinged before.
Step 6
.
.
.
.
.
.
.
:
:
:
:
:
:
:
2001:db8:a01:1400:19eb:7144:6b5d:3377
2001:db8:a01:1400:78bd:f560:d1fd:b766
fe80::19eb:7144:6b5d:3377%13
10.1.20.100
255.255.255.0
fe80::fe99:47ff:fee5:2700%13
10.1.20.1
You should see that the PC is configured with one global IPv6 address, one temporary IPv6 address, the
link-local IPv6 address and the default gateway.
You will see a percent sign (%), followed by a number, at the end of the link-local IPv6 address and at the
end of the default gateway. The number following the percent sign identifies an interface on the PC, and it
is not part of the IPv6 address and should be ignored when determining the IPv6 address of the default
gateway.
Which router IPv6 address is configured as the default gateway on the PC?
Step 7
From PC2, ping the default gateway. Use the link-local IPv6 address as the destination IPv6 address.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From PC2, ping the directly connected interface of the Branch router. Use the global IPv6 address as the
destination IPv6 address.
C:\Windows\system32> ping 2001:DB8:A01:A00::1
Pinging 2001:db8:a01:a00::1 with 32 bytes of data:
Reply from 2001:db8:a01:a00::1: time=9ms
Reply from 2001:db8:a01:a00::1: time<1ms
Reply from 2001:db8:a01:a00::1: time<1ms
Reply from 2001:db8:a01:a00::1: time<1ms
Ping statistics for 2001:db8:a01:a00::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 9ms, Average = 2ms
Lab Guide
L207
Step 9
On PC2, verify the neighbor discovery table to see mappings between IPv6 addresses and MAC addresses.
Examine entries for the LAB interface.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Type
----------Stale (Router)
Stale
Stale (Router)
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
Permanent
You should see neighbor discovery entries for the link-local and global IPv6 addresses of the Branch router
that you pinged before.
Step 10
Age
3
11
4
8
Link-layer Addr
000c.29a8.a05a
000c.293b.709d
000c.29a8.a05a
000c.293b.709d
State
STALE
STALE
STALE
STALE
Interface
Gi0/0.20
Gi0/0.10
Gi0/0.20
Gi0/0.10
You should see two entries for each PC. One entry is for the link-local IPv6 address, and the other is for the
global IPv6 address.
In this task, you will enable the OSPFv3 routing protocol to route for IPv6 between the Branch and HQ
routers. The HQ router has been preconfigured.
Activity Procedure
Complete the following steps:
Step 1
Access the Branch router.
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
From the Branch router, use Telnet to connect to the HQ router at 192.168.1.2 using IPv4.
Step 3
Remove the existing IPv6 address from the GigabitEthernet0/1 interface on the HQ router. Set the IPv6
address on the interface to 2001:db8:c0a8:100::2/64. Include the interface into the OSPFv3 routing protocol
with Process ID 1 and Area 0. Exit the Telnet session.
Step 4
On the Branch router, configure the GigabitEthernet0/1 interface with 2001:db8:c0a8:100::1/64 IPv6
address.
Step 5
From the Branch router, ping the HQ router at 2001:db8:c0a8:100::2 to verify IPv6 connectivity between
the routers.
Branch# ping 2001:db8:c0a8:100::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:C0A8:100::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/54/56 ms
From the Branch router, use Telnet to connect to the HQ router at 2001:db8:c0a8:100::2.
Branch# telnet 2001:db8:c0a8:100::2
Trying 2001:DB8:C0A8:100::2 ... Open
HQ#
Lab Guide
L209
Step 7
Verify the existing OSPFv3 configuration on the HQ router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
interface Loopback0
ip address 172.16.1.100 255.255.255.0
ipv6 address 2001:DB8:AC10:100::64/64
ipv6 ospf network point-to-point
ipv6 ospf 1 area 0
!
<output omitted>
!
interface GigabitEthernet0/1
description Link to Branch
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
ipv6 address 2001:DB8:C0A8:100::2/64
ipv6 ospf 1 area 0
!
<output omitted>
!
ipv6 router ospf 1
router-id 0.0.0.1
You should see that the OSPFv3 process is configured and that Loopback0 and GigabitEthernet0/1 are
enabled for OSPFv3.
Step 8
Create an OSPFv3 process on the Branch router. Use 1 as the Process ID.
Branch(config)# ipv6 router ospf 1
Step 10
Enable the following interfaces for OSPFv3 in Area 0:
GigabitEthernet0/1
GigabitEthernet0/0.1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
GigabitEthernet0/0.10
GigabitEthernet0/0.20
You should see that OSPFv3 adjacency went up immediately after you enabled OSPFv3 on the
GigabitEthernet0/1 interface:
*Dec 7 13:59:21.815: %OSPFv3-5-ADJCHG: Process 1, Nbr 0.0.0.1 on
GigabitEthernet0/1 from LOADING to FULL, Loading Done
Activity Verification
You have completed this task when you attain these results:
Step 1
Lab Guide
L211
Step 2
Verify OSPFv3 settings on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see that OSPFv3 is enabled for four interfaces in Area 0.
What is the Branch router ID?
Step 3
Verify the IPv6 routing table on the Branch router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see the 2001:DB8:AC10:100::/64 network that is learned through OSPF and with the HQ router
as the next hop. This is the network where the server is located.
Step 4
Access PC1 and open a command prompt. Ping the server at 2001:db8:ac10:100::64.
C:\Windows\system32> ping 2001:db8:ac10:100::64
Pinging 2001:db8:ac10:100::64 with 32 bytes of data:
Reply from 2001:db8:ac10:100::64: time=56ms
Reply from 2001:db8:ac10:100::64: time=45ms
Reply from 2001:db8:ac10:100::64: time=46ms
Reply from 2001:db8:ac10:100::64: time=46ms
Ping statistics for 2001:db8:ac10:100::64:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 45ms, Maximum = 56ms, Average = 48ms
Lab Guide
L213
Step 5
HQ#
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
On PC1, start PuTTY by double-clicking the PuTTY icon on the desktop. Establish a Telnet session to the
server at 2001:DB8:AC10:100::64.
Recall that the server is simulated as the loopback interface on the HQ router.
Step 6
Verify the IPv6 routing table on the HQ router.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You should see all three LANs that are learned through OSPFv3 with the Branch router as the next hop
router.
Lab Guide
L215
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
L216 Interconnecting Cisco Networking Devices, Part 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Since the erase startup-config command is a privileged-level command, entering it in user EXEC mode
will have no effect on the system. You were informed that the command is invalid.
Switch>erase startup-config
^
% Invalid input detected at '^' marker.
Step 3
When you have a right arrow (>) symbol after the device hostname, you are in user EXEC mode. When you
issued the enable command, you moved into privileged EXEC mode, which is indicated by the pound sign
(#) after the hostname. Enter privileged EXEC mode by typing enable in user EXEC mode.
Switch>enable
Switch#
Step 4
When you enter the erase startup-config command within privileged EXEC mode, it is accepted and you
are prompted to press Enter to confirm this action.
SwitchX#delete vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]
Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
When you enter the reload command within privileged EXEC mode, you are asked to confirm the reload.
Press Enter at that point.
Switch#reload
Proceed with reload? [confirm]
*Mar 1 00:16:18.229: %SYS-5-RELOAD: Reload requested by console. Reload Reason:
Reload command.
Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 00:1e:14:7c:bd:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 549 files, 19 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 14942208
flashfs[0]: Bytes available: 17571840
flashfs[0]: flashfs fsck took 11 seconds.
...done Initializing Flash.
done.
Loading "flash:/c2960-lanbasek9-mz.150-1.SE3/c2960-lanbasek9-mz.150-1.SE3.bin"...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
< output omitted >
64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address
: 00:1E:14:7C:BD:00
Motherboard assembly number
: 73-10390-04
Power supply part number
: 341-0097-02
Motherboard serial number
: FOC114131RV
Power supply serial number
: AZS113600YM
Model revision number
: D0
Motherboard revision number
: A0
Model number
: WS-C2960-24TT-L
System serial number
: FOC1141Z8W9
Top Assembly Part Number
: 800-27221-03
Top Assembly Revision Number
: B0
Version ID
: V03
CLEI Code Number
: COM3L00BRB
Hardware Board Revision Number : 0x01
Switch Ports Model
SW Version
SW Image
------ ----- ----------------------*
1 26
WS-C2960-24TT-L
15.0(1)SE3
C2960-LANBASEK9-M
Press RETURN to get started!
Step 5
Your results should resemble the output displayed here. You should have answered No to the question
(Would you like to enter the initial configuration dialog?).
--- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>
If you skipped the initial configuration dialog, there is no startup configuration present. Alternatively, you
can verify that there is no configuration present by entering privileged EXEC mode and issuing the show
startup-config command.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Switch>enable
Switch#show startup-config
startup-config is not present
Step 6
You can issue the show version command from either user or privileged EXEC mode. In the output here,
you see that the switch is a WS-C2960-24TT-L type, the software version is 15.0(1)SE3, and there is 65536
KB (or 64 MB) of RAM.
Note that your device may have different properties.
Switch#show version
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(1)SE3, RELEASE
SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Wed 30-May-12 14:26 by prod_rel_team
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE6, RELEASE SOFTWARE
(fc1)
Switch1 uptime is 4 hours, 31 minutes
System returned to ROM by power-on
System restarted at 09:25:53 UTC Fri Aug 17 2012
System image file is "flash:/c2960-lanbasek9-mz.150-1.SE3/c2960-lanbasek9-mz.
150-1.SE3.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C2960-24TT-L (PowerPC405) processor (revision D0) with 65536K bytes of
memory.
< output omitted >
The show flash: command output here shows that the switch has 32514048 bytes (32 MB) of flash memory
and that 17569280 bytes of that memory is free (16.8 MB).
Note that your device may have different properties.
Lab Guide
L219
Switch#show flash
Directory of flash:/
2 drwx
256
Aug 8 2012
567 -rwx
556 Nov 21 2012
568 -rwx
2072 Nov 21 2012
32514048 bytes total (17573376 bytes
12:23:45 +00:00
08:17:08 +00:00
11:05:33 +00:00
free)
c2960-lanbasek9-mz.150-1.SE3
vlan.dat
multiple-fs
Step 1
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Enter privileged EXEC mode and then global configuration mode. Issue the hostname command, as shown
in the following output. Notice the change in the hostname of the device in the last line of the output.
Switch#enable
Switch#configure terminal
Enter configuration commands, one per line.
Switch(config)#hostname SW1
SW1(config)#
Step 2
Then enter interface configuration mode for VLAN 1 and assign it the proper IP address and network mask.
SW1(config)#interface vlan 1
SW1(config-if)#ip address 10.1.1.11 255.255.255.0
Step 5
On PC1, click the Start button, enter cmd, and click Enter. When you are presented with a command
prompt window, enter ping, followed by the IP address of the VLAN 1 interface on the switch. This Layer
3 test should succeed.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1>enable
SW1#?
Exec commands:
access-enable
Create a temporary Access-List entry
access-profile
Apply user-profile to interface
access-template Create a temporary Access-List entry
archive
manage archive files
beep
Blocks Extensible Exchange Protocol commands
< output omitted >
where
List active connections
write
Write running configuration to memory, network, or terminal
Step 2
First, make sure that you are in privileged EXEC mode. Enter clock, followed by ?. Complete the
configuration as displayed here.
SW1#clock ?
set Set the time and date
SW1#clock set ?
hh:mm:ss Current Time
SW1#clock set 12:57:22 ?
<1-31> Day of the month
MONTH
Month of the year
SW1#clock set 12:57:22 17 ?
MONTH Month of the year
SW1#clock set 12:57:22 17 8 ?
% Unrecognized command
Lan_Switch_1#clock set 12:57:22 17 August ?
<1993-2035> Year
SW1#clock set 12:57:22 17 August 2012 ?
<cr>
SW1#clock set 12:57:22 17 August 2012
Step 3
When you are familiar only with how a command begins, you can get help by using the ? command. It will
list all commands that begin with the sequence of letters that you entered.
Lab Guide
L221
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1#sh?
shell show
SW1#show ?
aaa
access-lists
aliases
archive
arp
authentication
auto
beep
boot
buffers
cable-diagnostics
call-home
capability
cca
cdp
cisp
class-map
clock
cluster
cns
configuration
controllers
crypto
SW1#show clock?
clock
SW1#show clock
13:01:24.145 UTC Fri
Aug 17 2012
You can enter the show terminal command and then investigate the output to determine the current history
size. Alternatively, you can use the pipe (|) along with the include command and the keyword history size
to print out just the line with the information.
SW1>show terminal | include history size
History is enabled, history size is 20.
Step 2
SW1#configure terminal
Enter configuration commands, one per line.
Issue the exit command twice to get back to privileged EXEC mode.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1(config-line)#exit
SW1(config)#exit
Step 3
You must be in global configuration mode before issuing the no ip domain lookup command.
SW1>enable
SW1#configure terminal
SW1(config)#no ip domain-lookup
Step 4
Issue the exec-timeout 60 command to set the console timeout expiration timer to one hour.
SW1(config-line)#exec-timeout 60
Verify that idle exec timeout is set to one hour. Use the verification command directly from console
configuration mode.
SW1(config-line)#do show terminal | begin Timeouts
Timeouts:
Idle EXEC
Idle Session
Modem Answer
01:00:00
never
<output omitted>
SW1(config-line)#exit
Session
none
Dispatch
not set
Step 5
Make sure that you are in global configuration mode and then enter line console 0 configuration mode. Last,
enable synchronous logging as shown in the output here.
SW1(config)#line console 0
SW1(config-line)#logging synchronous
SW1(config-line)#exit
SW1(config)#exit
Lab Guide
L223
Step 6
This command copies the running configuration to the startup configuration. If you do not save the
configuration, you will lose it the next time the switch is restarted.
SW1#copy running-config startup-config
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
If you press Enter when asked for the destination filename, the running configuration is stored as the
startup configuration.
Destination filename [startup-config]?
Building configuration...
[OK]
When you issue a ping from SW1 to PC1, your success rate is 0 percent, so there is no Layer 3 connectivity
between the two devices.
SW1>ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.11, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Step 2
The output of the show interfaces FastEthernet0/1 command tells you that the interface toward PC1 is
administratively down, which means that the interface was disabled by the administrator.
SW1>enable
SW1#show interfaces FastEthernet0/1
FastEthernet0/1 is administratively down, line protocol is down (disabled)
Hardware is Fast Ethernet, address is 001e.147c.bd01 (bia 001e.147c.bd01)
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100BaseTX
Step 3
Enter global configuration mode.
SW1#configure terminal
Enter configuration commands, one per line.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Enter interface configuration mode for FastEthernet 0/1 and enable the interface with the no shutdown
command.
SW1(config)#interface FastEthernet 0/1
SW1(config-if)#no shutdown
Finally, verify Layer 3 connectivity between PC1 and SW1 by issuing a ping command. It should be
successful.
SW1#ping 10.1.1.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/9 ms
Step 4
It is important to save the configuration of SW1 because the no shutdown command would disappear if the
switch is restarted. John would again be cut off from the network.
SW1#copy running-config startup-config
Because you have console logging enabled (which you can verify with the show logging command), the
switch is reporting. This message tells you that the interfaces of SW1 and Branch have different duplex
settings. It looks like the Branch router FastEthernet0/0 interface is configured for full duplex, while
interface FastEthernet0/13 on the switch is not configured for full duplex.
Aug 21 14:39:52.112: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
FastEthernet0/13 (not full duplex), with Branch FastEthernet0/0 (full duplex).
Use the show interfaces FastEthernet Fa0/13 command to identify the duplex setting on the interface.
Lab Guide
L225
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
You can also use the show ip interface brief command to verify status of all interfaces. It shows that
interface FastEthernet 0/13 is in an up/up state. This status means that even though the duplex settings are
mismatched on the link, it is still functional. The drawback is that the connection is not efficient. With halfduplex operation, data cannot be sent and received at the same time.
SW1#show ip interface brief
Interface
IP-Address
< output omitted >
FastEthernet0/13
unassigned
<output omitted>
Step 2
Protocol
YES unset
up
up
SW1#configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
SW1(config-if)#duplex full
Save your changes by copying the running configuration to the startup configuration.
SW1(config)#interface FastEthernet 0/13
SW1(config-if)#end
SW1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Answer No to the initial configuration dialog question and use the enable command to enter privileged
EXEC mode.
Would you like to enter the initial configuration dialog? [yes/no]: no
Would you like to terminate autoinstall? [yes]:
<output omitted>
Router>
Router>enable
Router#
Step 2
Step 3
Enter these commands on the Branch router to enter interface configuration mode, enable the interface, and
provide a description:
Branch(config)#interface GigabitEthernet 0/0
Branch(config-if)#no shutdown
%LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
%LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
Branch(config-if)#description Link to LAN Switch
Lab Guide
L227
Step 4
Enter this command on the Branch router:
Step 6
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch#configure terminal
Branch(config)#line console 0
Branch(config-line)#exec-timeout 60 0
Step 3
Step 4
On the Branch router, use the command no ip domain lookup in global configuration mode to disable the
resolution of symbolic names.
Branch(config)#no ip domain lookup
Step 5
On the Branch router, use the command write memory to copy the configuration into NVRAM.
Branch#write memory
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Enter the following commands on the Branch router:
Branch(config)#interface GigabitEthernet0/1
Branch(config-if)#no shutdown
Branch(config-if)#ip address 209.165.201.1 255.255.255.224
Step 6
The Branch router does not have a route to reach networks that are not directly connected.
Step 7
Branch#configure terminal
Branch(config)#ip route 0.0.0.0 0.0.0.0 209.165.201.2
Step 9
Branch(config)#exit
Branch#copy running-config startup-config
Step 12
Lab Guide
L229
Step 2
Enter the following commands on the Branch router:
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch(config-if)#interface GigabitEthernet0/1
Branch(config-if)#ip address dhcp
Branch(config-if)#exit
Branch(config)#exit
Branch#copy running-config startup-config
Step 5
The default route was set by the Branch router automatically. The Branch router received knowledge of the
default gateway from the DHCP server and it set the static route next-hop IP address to the IP address of the
default gateway.
Step 12
The solution that could be implemented on the Branch router to provide connectivity between PC1 and the
server is NAT. With NAT, the source IP address in a packet would be translated into the outside IP address
of the Branch router. The HQ router would then know how to send a returning packet back to the Branch
router, because the routers are directly connected. The destination IP address in the packet would be then
translated back to the IP address of PC1 and sent to PC1.
Step 3
You can accommodate up to six hosts at the same time using the configured NAT pool.
Step 4
Enter the following commands on the Branch router:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch(config)#interface GigabitEthernet0/0
Branch(config-if)#ip nat inside
Step 5
Branch(config)#interface GigabitEthernet0/1
Branch(config-if)#ip nat outside
Step 6
Step 7
Branch(config)#exit
Branch#copy running-config startup-config
Step 3
Enter the following command on the Branch router (and then answer with yes):
Lab Guide
L231
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch(config)#exit
Branch#copy running-config startup-config
Step 5
Step 8
Step 10
Step 11
Enter this command on the Branch router:
Branch# copy running-config startup-config
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 14
Step 15
Step 2
Lab Guide
L233
Step 3
Enter this sequence of commands on the SW1 switch:
Step 4
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Step 2
Enter this command on the Branch router:
Branch# copy running-config startup-config
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Step 4
Step 4
Lab Guide
L235
Step 4
Enter these commands on the SW1 switch:
Step 5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 8
Step 9
Step 14
Step 15
Step 3
Enter this sequence of commands into the switch.
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 6
Step 7
Step 3
Step 6
Lab Guide
L237
Step 7
Enter the following commands on the SW1 switch and Branch router:
SW1# copy running-config startup-config
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 4
Step 6
Step 9
Enter this sequence of commands into the Branch router:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 10
Step 4
Lab Guide
L239
Step 5
Enter this sequence of commands on SW1:
SW1(config)# interface FastEthernet0/1
SW1(config-if)# switchport access vlan 10
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 6
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Step 3
Step 4
Step 5
Lab Guide
L241
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Enter global configuration mode and enter this sequence of commands on the Branch router:
Branch(config)# ip dhcp pool VLAN10
Branch(dhcp-config)# network 10.1.10.0 /24
Step 2
Define the default gateway and DNS server for the configured DHCP pool, as indicated in the output.
Branch(config)# ip dhcp pool VLAN10
Branch(dhcp-config)# default-router 10.1.10.1
Branch(dhcp-config)# dns-server 10.1.10.1
Step 3
Branch(dhcp-config)# lease 0 2
Step 4
Step 7
Step 10
Use the show ip dhcp binding command to verify that PC2 has obtained an IP address dynamically.
Type
Automatic
Automatic
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
To exclude specific IP addresses, use the ip dhcp excluded-address command, as indicated in the output.
Branch(config)#
Branch(config)#
Branch(config)#
Branch(config)#
ip
ip
ip
ip
dhcp
dhcp
dhcp
dhcp
excluded-address
excluded-address
excluded-address
excluded-address
10.1.10.1 10.1.10.99
10.1.10.150 10.1.10.254
10.1.20.1 10.1.20.99
10.1.20.150 10.1.20.254
Step 2
Step 3
Configure the DHCP relay agent using the ip helper-address command on both subinterfaces, as indicated
in the output:
Branch(config)# interface GigabitEthernet 0/0.10
Branch(config-subif)# ip helper-address 172.16.1.100
Branch(config-subif)# exit
Branch(config)# interface GigabitEthernet 0/0.20
Branch(config-subif)# ip helper-address 172.16.1.100
Lab Guide
L243
Step 4
Enter the following commands on the Branch router.
Step 5
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Release the current DHCP lease using the ipconfig /release command.
Step 3
ospf 100
network 10.1.1.0 0.0.0.255 area 0
network 10.1.10.0 0.0.0.255 area 0
network 10.1.20.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Step 3
Step 3
Lab Guide
L245
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 2
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Step 4
Step 5
Lab Guide
L247
Step 6
Enter the following commands on the SW1 switch:
con 0
password cisco
login
logging synchronous
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1(config)# line
SW1(config-line)#
SW1(config-line)#
SW1(config-line)#
Step 7
con 0
password cisco
login
logging synchronous
Step 8
Step 9
Enter the following commands on the SW1 switch:
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
SW1(config)# vlan 10
SW1(config-vlan)# exit
SW1(config)# vlan 20
Step 10
Step 11
Step 12
Lab Guide
L249
Step 19
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Step 4
Step 5
Enter the following commands on the Branch router:
con 0
password cisco
login
logging synchronous
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Branch(config)# line
Branch(config-line)#
Branch(config-line)#
Branch(config-line)#
Step 6
Step 7
Step 9
Lab Guide
L251
Step 2
Enter the following commands on the Branch router:
Step 3
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 4
Step 5
Step 6
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
Step 3
Step 4
Step 5
Step 6
Each router running OSPF requires a router ID. The router ID will be the highest IP address of the router on
a loopback interface, if configured, or the highest IP address on an interface, if a loopback interface is not
configured. Because loopback is a stable interface and cannot go down, it is recommended to configure the
loopback interface for the OSPF router ID.
Lab Guide
L253
Step 7
Enter the following command on the Branch router:
Step 8
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
network
network
network
network
network
Step 3
Step 1
The link-local IPv6 address is the same on all subinterfaces because the link-local IPv6 address is derived
from the MAC address, which is the same on all subinterfaces. All subinterfaces use the MAC address of
the physical interface.
Step 2
The default gateway on the PC is the link-local IPv6 address of the router of the directly connected interface
(GigabitEthernet0/0.10).
Step 6
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The default gateway on the PC is the link-local IPv6 address of the router of the directly connected interface
(GigabitEthernet0/0.20).
Step 3
Step 4
Branch#configure terminal
Branch(config)#interface GigabitEthernet0/1
Branch(config-if)#ipv6 address 2001:db8:c0a8:100::1/64
Step 1
The HQ router ID is 0.0.0.1. OSPFv3 uses an IPv4 address-like format of the router ID.
Lab Guide
L255
Step 2
Po D
st o N
be o
ta, t D
no upl
t f ica
or te
re :
lea
se
.
The Branch router ID is 10.100.100.100, which is the IPv4 address on the Loopback0 interface. OSPFv3
uses the same mechanisms as OSPF to determine the router ID.