Lab Guide
Overview
This guide presents the instructions and other information concerning the lab activities for the
course. Hints are provided at the end of each lab. Ending configurations for each lab are
provided at the end of the lab guide.
Outline
This guide includes these activities:
Activity Objective
You are a CCNA at a job interview. The hiring manager hands you a packet of information,
leads you to a terminal, and simply says, Implement this. Your task is to plan the
implementation, then effectively configure the lab devices as per the given specifications before
verifying that your configuration fulfills the requirements. Carefully read the Information
Packet section on the following pages, and proceed through the lab to establish an
implementation requirement list, create an implementation and verification plan, and then
configure the lab devices as per the specifications. Do not forget to verify and document your
verifications, as the job interview results will depend on your implementation of the solution.
After completing this activity, you will be able to meet these objectives:
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
The company has a large network. It is clearly stated that some settings must be consistent from
one networking device to the next. The following list details the initial configuration
requirements for all switches to be connected to the company network. Your configuration
must be consistent with these requirements:
All switches must have a hostname. Hostnames are unique and must match the switch
designation on the network diagram displayed in the following pages.
Initial console access does not need to be protected by any password. Vty access and enable
password must be protected by a password.
Logging synchronous should be used so that logging messages appearing on the console of
each switch do not disturb commands that are being entered.
Time should be configured on the switches to match your class current time.
Commands entered incorrectly should not cause the switches to attempt to resolve the entry
as a DNS name.
Unless stated otherwise, all interfaces speed and duplex settings must be left to auto.
All devices must have an IP address so that they can be managed remotely.
Lab Guide
Devices Information
The table provides the information specific to each device in the network:
Device name
Role
IP address
Gateway
VLAN
ASW1
10.1.1.1/24
10.1.1.251
ASW2
10.1.1.2/24
10.1.1.252
DSW1
Layer 3 switch
10.1.1.11/24
10.1.1.251
DSW2
Layer 3 switch
10.1.1.22/24
10.1.1.252
CSW1
Layer 3 switch
10.1.1.111/24
10.1.1.251
CSW2
Layer 3 switch
10.1.1.222/24
10.1.1.252
R1
Router
Fa0/0: 10.1.1.251/24
R2
Router
Fa0/0: 10.1.1.252/24
During the implementation process, determine, for each switch, which port connects to which
neighbor. The ports represented on each device connection in the Visual Objective are generic
ports. Each port can represent one or several physical interfaces. When implementing your
solution in task 3, use the Physical Ports Map table, available at the end of the lab guide, to
document the physical interfaces used in your pod, and report this information on your lab large
network diagram, which is also available at the end of this lab guide. You will use this
information throughout the labs.
Network Diagram
SWITCH v1.03
You can use the large version of the Network Diagram available at the end of the lab guide to
write notes on the diagram.
Lab Guide
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
copy running-config
startup-config
default-router address
[address2 ... address8]
description description
domain-name domain
exec-timeout 0 0
exit
hostname hostname
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
interface vlan 1
ip address ip address
subnet-mask
ip default-gateway
logging console
logging synchronous
login
no ip domain-lookup
no shutdown
Brings up an interface.
password password
ping ip-address
show interfaces
fastethernet mod/port
switchport
show running-config
shutdown
telnet ip-address
Telnets to an IP address.
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
Information Source
Device
Implementation
Order
Lab Guide
Complete
10
Device
Implementation
Order
Lab Guide
11
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
12
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
13
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
15
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
Hint
All
switches
Hostname
Network Diagram
VLAN 1 IP address
Gateway
No DNS lookup
Lab Guide
17
Implementation Plan
In task 2, you will create an implementation plan. There are several possible correct solutions.
One possible approach groups items that are common to all switches in a template and then
applies the template to all switches. You can then configure each switch with items that are
unique to each device, such as IP addresses or gateway. The common template could be named
Common_Template created in a text editor, copied and pasted as appropriate, and contain the
following items:
no ip domain-lookup
line con 0
exec-timeout 0 0
line vty 0 4
password cisco
logging synchronous
login
Device
Implementation
Order
Step-by-step
section No
All
Paste Common_Template.
per sw
Configure hostname.
per sw
per sw
per sw
per sw
per sw
per sw
per sw
Verify configuration.
18
Verification Plan
Complete
Device
Step-by-step
section No
All
Paste
Common_Template
Paste
Common_Template
Paste
Common_Template
Configure Hostname
Configure VLAN 1 IP
address
10
Configure default
gateway
11
Show clock.
12
Verify connectivity
Lab Guide
19
Step-by-Step Procedure
Step 1
Connect to the switch interface in configuration mode
Step 2
no ip domain-lookup
line con 0
exec-timeout 0 0
line vty 0 4
password cisco
logging synchronous
login
Configure the switch hostname and IP information. Use the commands, for example in ASW1:
hostname ASW1
interface VLAN 1
ip address 10.1.1.1 255.255.255.0
exit
ip default-gateway 10.1.1.251
end
The information in italics is specific to ASW1. Use the Device Information table in the
Information Packet to find the relevant name and IP information for each switch.
Step 4
Configure the current time and date on the switch. Use the command clock set, for example:
clock set 10:06:39 08 Aug 2009
20
Step 5
Local Intrfce
Fas 0/2
Fas 0/1
Holdtme
129
129
In this example, the local switch has 2 neighbors, switches DSW2 and DSW1. The local switch
connects to switch DSW2 from interface F0/2, which links to switch DSW2 interface f0/7. The
local switch connects to switch DSW1 from interface f0/1, which links to switch DSW1
interface f0/6.
Step 6
This example applies to ASW1. On each switch, use the show cdp neighbor information to
determine which local interfaces are to be kept enabled.
Step 7
Step 8
Step 9
Step 10
Verify IP address:
sh ip interface brie
Interface
Protocol
Vlan1
Step 11
IP-Address
10.1.1.1
YES manual up
up
Verify gateway:
sh run | beg ip default
ip default-gateway 10.1.1.251
Step 12
Verify time:
show clock
16:26:43.545 eastern Sat Jun 6 2009
Lab Guide
21
Activity Objective
You were hired by NotaRoute Inc. to design and configure their branch office Layer 2 network.
Their network is not fully ready yet, but later on they intend to implement several servers and
additional routers. They know that some devices are supposed to be in VLANs and others in
trunks, but this is where their knowledge ends. They provided you with a cabling plan and
asked you to help them design and configure a typical solution for their network on a test lab.
You need to configure the existing network equipment to use the devices once they are
installed. Your configuration will be used by the customer as a configuration template as
additional network equipment is purchased. When collecting information about their network
infrastructure, you found that their requirements were all about link types, trunk encapsulation,
and EtherChannels. You realize that they have little understanding about more advanced
options such as allowed VLANs, but that they expect you to guide them to provide a
documented, functional, and reasonably secured network. After completing this activity, you
will be able to meet these objectives:
22
Implement a full Layer 2 solution including VLANs, trunks, pruning, VLAN Trunking
Protocol (VTP), and EtherChannel.
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
This deployment builds on lab 1-1. In other words, keep the configuration from lab 1-1, and
add the following requirements.
Not all network equipment is installed. The network infrastructure has been installed but not the
additional servers or the additional routers. Your configuration should include the configuration
for the switch ports to these devices. A quick call to the local administrator brings the following
elements:
FTP, Web servers and additional routers are to be connected later. You are asked to
configure, as an example, the first available port on switches ASW1 and ASW2 for the FTP
server, and the next available port for the file server. For example, if the first 4 ports are
already used after lab 1-1, configure port 5 for the FTP server and port 6 for the Web
server. Apply the same logic for the File servers and the additional routers on DSW1 and
DSW2. On each switch, the File Server will be on the first available port and the additional
router on the next available port.
Several IP addresses are already configured on each router Ethernet interfaces (routers R1
and R2) to your pod, as they need to send traffic to several of your VLAN subnets. You do
not need to configure the routers. The switches need to be configured completely, from
VLAN database to link type.
During the conversation, you mentioned VTP and its modes. The local administrator would
like to try VTP, with the following restrictions:
The administrator does not want the pruning feature of VTP enabled, and asks you
to prune all unnecessary VLANs from the inter-switch links manually.
Lab Guide
23
Using this information, your task is to design the VLAN topology with some additional
specifications:
Although the network topology allows for large redundancy, redundancy is not to be used
at this stage. Make sure to disable the links between switches ASW1 and DSW2, ASW2
and DSW1, DSW1 and CSW2, CSW1 and DSW2, CSW1 and router R2, CSW2 and router
R1. In other words, the only connection between the upper part of the network (switches
ASW1, DSW1 and CSW1) and the lower part of the network (switches ASW2, DSW2 and
CSW2) transits through the link between switches CSW1 and CSW2. Use Cisco Discovery
Protocol to learn the links between switches and shutdown the ones that are not needed.
For efficiency, several physical connections exist between some of the switches. To
simplify the network administration, group these physical links into logical links wherever
possible. Where two 100 Mbps links are grouped, use an IEEE grouping protocol, and
make sure that one end actively tries to negotiate the virtual link creation, while the other
only responds to solicitations and does not actively try to create the link. Where four 100
Mbps are to be grouped, create the virtual link unconditionally without using any
negotiation protocol. Use the description feature on each virtual links to reflect which
devices they connect. Also use the table in devices information.
Client PC in VLAN 3 and client PC in VLAN 4 need to receive their IP address from
routers R1 and R2. R1 and R2 are preconfigured.
Devices Information
The table provides the information specific to each switch in the network. This information is
the same as in lab 1-1:
24
Device name
Role
IP address
Gateway
VLAN
ASW1
10.1.1.1/24
10.1.1.251
ASW2
10.1.1.2/24
10.1.1.252
DSW1
Layer 3 switch
10.1.1.11/24
10.1.1.251
DSW2
Layer 3 switch
10.1.1.22/24
10.1.1.252
CSW1
Layer 3 switch
10.1.1.111/24
10.1.1.251
CSW2
Layer 3 switch
10.1.1.222/24
10.1.1.252
R1
Router
Fa0/0: 10.1.1.251/24
R2
Router
Fa0/0: 10.1.1.252/24
The table below provides information about the devices connected or to be connected to the
network. Use the space to document which port in your pod each device should connect per the
above policy and the previous lab information:
Device
Role
Network
location
VLAN
CLT1
Client station
ASW1 P3
CLT2
Client station
ASW2 P3
NR1
Router
DSW1 P7
trunk
NR2
Router
DSW2 P7
trunk
WEB1
Web Server
ASW1 P5
11
WEB2
Web Server
ASW2 P5
12
FTP1
FTP Server
ASW1 P4
63
FTP2
FTP Server
ASW2 P4
64
FILE1
File Server
DSW1 P6
65
FILE2
File Server
DSW2 P6
66
Lab Guide
25
Some links between switches should be bundled together. The following table shows all
possible numbering convention for these link bundles. Note that NOT all of these numbers are
needed. You should use cdp to determine which links between switches can be bundled. Once
you have determined which links has to bundle, use the following table to apply the right
bundle number:
26
Device
Link to
ASW1
ASW2
10
ASW1
DSW1
11
ASW1
DSW2
12
ASW2
ASW1
10
ASW2
DSW1
11
ASW2
DSW2
12
DSW1
ASW1
11
DSW1
ASW2
12
DSW1
DSW2
21
DSW1
CSW1
31
DSW1
CSW2
32
DSW2
ASW1
11
DSW2
ASW2
12
DSW2
DSW1
21
DSW2
CSW1
31
DSW2
CSW2
32
CSW1
DSW1
31
CSW1
DSW2
32
CSW1
CSW2
33
CSW2
DSW1
31
CSW2
DSW2
32
CSW2
CSW1
33
Network Diagram
SWITCH v1.04
Lab Guide
27
Command List
The table describes the commands that are used in this activity.
Configuration Commands
28
Command
Description
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
name vlan-name
show vlan
shutdown/no shutdown
switchport nonegotiate
switchport trunk
encapsulation dot1q
switchport trunk
encapsulation isl
interface interface-id
channel-group channelgroup-number mode
desirable
show running-config
interface interface-id
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
29
30
Information Source
Device
Information Source
Lab Guide
31
To help you decide on the VLAN implementation, use the following table to list the VLANs
you will need and decide on which devices they should be configured:
VLAN
Number
VLAN Name
Configure on switches:
32
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
33
Complete
34
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
35
Complete
36
Device
Implementation
Order
Lab Guide
37
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
38
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
39
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
41
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Lab 2-1 Hint Sheet: Design and Implement VLANs, Trunks, and EtherChannel
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
Device
Implementation Requirement
ASW1
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
ASW2
DSW1
Hint
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Lab Guide
43
Device
DSW2
44
Implementation Requirement
Hint
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Device
CSW1
CSW2
Implementation Requirement
Hint
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Link to R1 in trunk.
Network Diagram
Link to R2 in trunk.
Network Diagram
Implementation Policy
Implementation Policy
Link to R1 in trunk.
Network Diagram
Link to R2 in trunk.
Network Diagram
Lab Guide
45
Device
46
Implementation Requirement
Hint
Implementation Policy
vlan 3,4,11,12,63-66
You can implement this template to CSW1, CSW2, DSW1 and DSW2. ASW1 and ASW2
require specific VLAN configuration, so you may want to configure them manually. An
example of the Implementation and Verification Plan follows.
Complete
Device
Implementation
Order
Stepbystep
No
CSW1
Paste
Common_Template.
Lab Guide
47
Complete
Device
CSW2
DSW1
48
Implementation
Order
Stepbystep
No
Paste
Common_Template.
Paste
Common_Template,
change VTP mode to
server.
10
11/12
14
Complete
Device
DSW2
Implementation
Order
Stepbystep
No
11/12
15
11/12
13
11/12
16
10
11/12
11
16
12
18
13
Configure second
available port in trunk,
allowed VLANs 1, 3, 4, 11,
12, 63, 64, 65 and 66.
19
Paste
Common_Template.
21
21
21
Lab Guide
49
Complete
Device
ASW1
50
Implementation
Order
Stepbystep
No
21
21
21
21
21
21
10
21
11
21
12
21
13
Configure second
available port in trunk,
allowed VLANs 1, 3, 4, 11,
12, 63, 64, 65 and 66.
21
22
23
24
Complete
Device
ASW2
Implementation
Order
Stepbystep
No
23
24
25
26
27
28
29
30
29
30
31
32
33
Lab Guide
51
Step-by-Step Procedure
Step 1
Connect to the switch CSW1 in configuration mode
Step 2
Step 3
Create a notepad text file named Common_template and containing the lines:
vlan 3,4,11,12,63-66
Use the show cdp neighbor command to check the port to each neighbors:
CSW1#sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID
R1
R2
DSW1
DSW1
DSW2
DSW2
CSW2
CSW2
CSW2
CSW2
Step 4
Local Intrfce
Fas 0/11
Fas 0/12
Fas 0/2
Fas 0/1
Fas 0/4
Fas 0/3
Fas 0/10
Fas 0/9
Fas 0/8
Fas 0/7
Holdtme
85
85
144
144
148
148
138
138
138
138
Capability
R S I
R S I
S I
S I
R S I
R S I
R S I
R S I
R S I
R S I
Platform
RO-2811RO-2811WS-C3560WS-C3560WS-C3560WS-C3560WS-C3560WS-C3560WS-C3560WS-C3560-
Port ID
Fas 0
Fas 1
Fas 0/2
Fas 0/1
Fas 0/4
Fas 0/3
Fas 0/10
Fas 0/9
Fas 0/8
Fas 0/7
For each port to routers R1 and R2, enter (taking interface f0/11 as an example):
interface f0/11
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
Step 5
52
Using the show cdp neighbor information, determine if EtherChannel is to be configured on links to
switches CSW2, DSW1, and DSW2:
Switch CSW1 has 4 links to switch CSW2, EtherChannel mode on should be used.
Switch CSW1 has two links to switch DSW1 and two links to switch DSW2, EtherChannel
mode LACP should be used. Switch CSW1 will be the active side, switches DSW1 and
DSW2 will be the passive side.
Step 6
Configure the link to switch CSW2, using the show cdp neighbor information and the EtherChannel
table from the Information packet:
interface range f0/7 - 10
switchport trunk encapsulation
switchport mode trunk
switchport trunk allowed vlan
channel-group 33 mode on
exit
interface port-channel 33
switchport trunk encapsulation
switchport mode trunk
switchport trunk allowed vlan
Step 7
dot1q
1,3,4,11,12,63,64,65,66
dot1q
1,3,4,11,12,63,64,65,66
Configure the link to switch DSW1, using the show cdp neighbor information and the
EtherChannel table from the Information packet:
interface range f0/1 - 2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
channel-group 31 mode active
exit
interface port-channel 31
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
Step 8
Configure the link to switch DSW2, using the show cdp neighbor information and the
EtherChannel table from the Information packet:
interface range f0/3 - 4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
channel-group 32 mode active
shutdown
exit
interface port-channel 32
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
shutdown
Step 9
Repeat steps 1 to 8 on switch CSW2, shutting down the ports to switch DSW1 and leaving the ports
to switch DSW2 enabled.
Step 10
Step 11
Local Intrfce
Fas 0/6
Fas 0/7
Fas 0/5
Fas 0/4
Fas 0/3
Fas 0/2
Fas 0/1
Holdtme
155
156
130
128
127
163
163
Lab Guide
53
Step 12
Step 13
Using the show cdp neighbor information, determine if EtherChannel should be configured on links
to switches CSW2, DSW1m and DSW2:
DSW1 has 1 link to ASW1 and ASW2, 1 link to DSW2. EtherChannel should not be used.
DSW1 has 2 links to CSW1 and 2 links to CSW2. EtherChannel mode LACP should be
used. DSW1 will be the passive side for links to CSW1 and CSW2.
Configure the link to switch DSW2, using the show cdp neighbor information:
interface f0/5
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
shutdown
Step 14
Configure the link to switch CSW1, using the show cdp neighbor information and the EtherChannel
table from the Information packet:
interface range f0/1 - 2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
channel-group 31 mode passive
exit
interface port-channel 31
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
Step 15
Configure the link to switch CSW2, using the show cdp neighbor information and the EtherChannel
table from the Information packet:
interface range f0/3 - 4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
channel-group 32 mode passive
shutdown
exit
interface port-channel 32
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
shutdown
DSW1#sh etherchann
Channel-group listing:
---------------------Group: 31
---------Group state = L3
Maxports = 8
Ports: 2
Port-channels: 1 Max Port-channels = 1
Protocol:
Minimum Links: 0
Group: 32
---------Group state = L3
Ports: 2
Maxports = 8
Port-channels: 1 Max Port-channels = 1
Protocol:
Minimum Links: 0
54
Step 16
Configure the link to switch ASW1, using the show cdp neighbor information:
interface f0/6
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,11,63,65
Step 17
Configure the link to switch ASW2, using the show cdp neighbor information:
interface f0/7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,4,12,64,66
Step 18
Step 19
Step 20
Repeat steps 1 and 2, then steps 11 to 19 on DSW2, leaving links to switch CSW2 enabled and
links to switch CSW1 shutdown. On the EtherChannel link to switch DSW1, switch DSW2 is the
passive side. File Server is in VLAN 66.
Step 21
Step 22
Step 23
Step 24
Step 25
Step 26
Step 27
Lab Guide
55
Step 28
Step 29
Step 30
Step 31
Step 32
56
Activity Objective
There are many issues that can occur when VLANs and trunks are not properly configured.
Everything worked well in the network you configured in the previous lab. Proud of your
achievements, you decided to take a week off. During that time, one of your team assistants,
while preparing for his CCNA, filled in for you, and took care of the network. He had to face
several issues, and tried to improve your configuration on a few points. Unfortunately, it seems
that the improvements somehow affected Layer 2 connectivity in your network. In other words,
when you came back, three troubleshooting tickets were waiting for you on your desk. You
need to fix the network quickly using the tools you learned in this module. After completing
this activity, you will be able to meet these objectives:
Visual Objective
The figure illustrates what needs to be accomplished in this activity.
SWITCH v1.05
Lab Guide
57
Command List
The table describes the commands that you will use in this activity.
Configuration Commands
58
Command
Description
configure terminal
exit
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
name vlan-name
ping ip-address
show vlan
shutdown/no shutdown
switchport nonegotiate
switchport trunk
encapsulation dot1q
switchport trunk
encapsulation isl
telnet ip-address
Command
Description
interface interface-id
channel-group channelgroup-number mode
desirable
show running-config
interface interface-id
Job Aids
These job aids are available to help you complete the lab activity.
Trouble Tickets
Troubleshooting Log
Lab Guide
59
60
Instructions
As you can see from the troubleshooting tickets, this first troubleshooting lab contains three
types of issues:
Trouble Ticket A involves communication issues between switch ASW1 and router R1,
thus in the upper part of the lab.
Trouble Ticket C involves communication issues between client CLT2 and router R2, thus
in the lower part of the lab.
Trouble Ticket B involves communication issues between the upper and the lower part of
the lab.
Together with your team members, create a troubleshooting plan to divide the work, assign
each team member appropriate roles and coordinate device access between the team members.
A logical way of organizing the workload could be to assign the upper section of the pod (client
CLT1-switch ASW1-switch DSW1-switch CSW1-router R1) to one team and the lower part of
the pod (client CLT2, switches ASW2, DSW2, and CSW2) to a second team. Issues affecting
the upper part of the lab could be solved by the first team. Issues affecting the lower part of the
lab could be solved by the second team. The whole team will have to work out issues affecting
both the upper and lower section. This is just an example of possible organization. Whichever
organizational model you choose, assign the primary responsibility for each of the devices to a
team member. The team member who has primary responsibility for a device is in control of
the console of that device and changes to the devices. This means that no other team member
should access the console, make changes to the device or execute disruptive actions such as
reloading or debugging without permission from the controlling team member. All team
members can access all devices via Telnet or SSH for non-disruptive diagnostic action, without
the need for permission of the controlling member. Responsibilities can be reassigned during
later labs if necessary.
Once roles have been assigned, work together on Trouble Tickets A, B, and C to resolve the
issues. Document your progress in the Troubleshooting Log provided below in order to help
facilitate efficient communication within the team and to have an overview of your
troubleshooting process for reference during the lab debrief discussions.
The instructor will provide you with directions to prepare the lab equipment for this lab. After
the instructor indicates that the lab is fully prepared, you are ready to start troubleshooting.
Lab Guide
61
Troubleshooting Log
Use this log to document your actions and results during the troubleshooting process.
Trouble
Ticket
62
Trouble
Ticket
Lab Guide
63
Trouble
Ticket
64
Trouble
Ticket
Lab Guide
65
Activity Verification
You have completed this lab when you attain the results below.
Trouble Ticket A:
Client PCs that are connected to switch ASW1 can acquire an IP address via DHCP.
Client PCs that are connected to switch ASW1 can ping the gateway router R1.
You have documented your process, your solution, and any changes that you have made to
the device configurations.
Trouble Ticket B:
You can complete an extended ping from the router R1 interface in VLAN 66 to the router
R2 interface in VLAN 66.
You have documented your process, your solution, and any changes that you have made to
the device configurations.
Trouble Ticket C:
66
Client PCs that are connected to switch ASW2 can acquire an IP address via DHCP.
Client PCs that are connected to switch ASW2 can ping the gateway router R2.
You have documented your process, your solution, and any changes that you have made to
the device configurations.
SWITCH v1.06
Usually, you would start troubleshooting the Layer 2 connectivity between devices because you
have discovered that there is no Layer 3 connectivity between two adjacent Layer 2 hosts, such
as two hosts in the same VLAN or a host and its default gateway. Typical symptoms that could
lead you to start examining Layer 2 connectivity would be:
Failing pings between adjacent devices. (Keep in mind, though, that this may also be
caused by a host-based firewall that is blocking pings).
Successful pings between hosts in another Layer 2 domain but sharing the same physical
path, such as hosts in another VLAN on the same link.
Client CLT1 is in VLAN 3 and obtains its IP address from router R1, acting as a DHCP server.
Ping to router R1 interface in VLAN 3 from the client CLT1 command prompt interface fails.
Switch ASW1 is in VLAN1. Pings from switch ASW1 to router R1 interface in VLAN 1
succeed. This output shows that there is a physical path, Layer 2 and Layer 3 connectivity
between switch ASW1 and router R1.
You can narrow the issue down to a physical connectivity issue between switch ASW1 and
client CLT1, or a VLAN issue.
Lab Guide
67
Status
Ports
default
active
VLAN0004
active
11
VLAN0011
active
14
VLAN0014
active
63
VLAN0063
active
1002 fddi-default
Fa0/3
act/unsup
SWITCH v1.07
Once you have determined that the problem is most likely a Layer 2 or Layer 1 problem, you
will want to reduce the scope of the potential failures. You can diagnose Layer 2 problems with
this common troubleshooting method:
Verify Layer 1 and Layer 2 connectivity. If Layer 1 connectivity is broken, the interfaces
should be down. If Layer 1 connectivity is established but Layer 2 connectivity is broken, a
useful tool is cdp. Unless cdp is disabled, you should be able to use it to verify each device
adjacencies.
Determine the Layer 2 path. Based on documentation, baselines, and knowledge of your
network in general, the next step is to determine the path that you would expect frames to
follow between the affected hosts. Determining the expected traffic path beforehand will
help you in two ways: It will give you a starting point for gathering information about what
is actually happening on the network and it will make it easier to spot abnormal behavior.
The second step in determining the Layer 2 path is to follow the expected path and verify
that the links on the expected path are actually up and forwarding traffic. If the actual
traffic path is different from your expected path, this step may give you clues about the
particular links or protocols that are failing and the cause of these failures.
In this case, layer 2 connectivity might be involved as the VLAN database on switch ASW1
does not show VLAN 3. If the VLAN does not exist, CLT1 cannot communicate with its
gateway in VLAN 3. You can create VLAN 3 on switch ASW1 from the global configuration
mode.
68
SWITCH v1.08
Another key piece of information comes from the previous page that displays information about
VLAN 11. It is said to be active on interface f0/3, which is the interface to which client CLT1
connects. Verifying the f0/3 interface configuration shows that it is set to access mode, but in
VLAN 11.
You can change it to VLAN 3. If VLAN 3 has not been created before, the 2960 platform
creates the VLAN automatically as soon as a port is affected to that VLAN.
Trying to ping router R1 from client CLT 1 at this stage would still fail. You need to examine
the issue a little bit further.
Lab Guide
69
SWITCH v1.09
The next logical step could be to verify the path from switches ASW1 to DSW1. A useful tool
to verify neighbor information is CDP. If switch ASW1 does not see switch DSW1 with CDP,
then you should suspect a Layer 1 issue might be the cause:
ASW1#Show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID
DSW1
Local Intrfce
Fa 0/1
Holdtme
174
Capability
T I
Platform Port ID
CA 3550 Fa 0/6
Switch DSW1 is seen, at least by CDP. Switch ASW1 port f0/1 connects to DSW1 port f0/6 in
this example. CDP is an independent Layer 2 protocol that may see neighboring devices even if
the link configuration is partly incorrect. The next step could be to verify the switch ASW1DSW1 link configuration. This link is supposed to be a trunk.
Trunk configuration is correct on switch ASW1 as shown above. If you are managing switch
ASW1, it is time to inform your team that the issue might also be on switch DSW1, and verify
the switch DSW1 link to switch ASW1.
As shown above, the port configuration on switch DSW1 is incorrect. It is set to access mode,
in VLAN 65. VLAN 3 information coming from switch ASW1 cannot be received in this
mode. The interface command switchport mode trunk allows you to change the mode back to
trunk. On Client 1, you try to renew the IP address, which is to be assigned from router R1.
The IP address renews successfully, thus proving layer 2 connectivity between Client 1 and
router R1. You have solved Problem 1.
70
Lab Guide
71
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
72
SWITCH v1.010
The first test can be to ping router R2 from router R1 interface in VLAN 66. As reported on the
troubleshooting ticket, the ping is unsuccessful. This issue could come from IP addressing
problems on routers R1 or R2 as well as layer 2 configuration problems. If you start this
problem as a layer 2 issue, you might begin by looking at the configurations on switch CSW1
or CSW2.
Lab Guide
73
SWITCH v1.011
A logical step is to verify switch CSW1 to switch CSW2 link configuration, along with switch
CSW1 to router R1 and switch CSW2 to router R2 configurations
On switch CSW1, the link to router R1 is supposed to be a trunk:
Show run int f0/11
Building configuration...
Current configuration : 95 bytes
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
end
DSW1#sh int f0/11
FastEthernet0/11 is up, line protocol is up (connected)
/
The link to R1 is configured properly, and connected.
The next step could be to verify if VLAN 66 is known on CSW1:
CSW1#sh vlan
VLAN Name
Status
Ports
---- -------------------------------- --------- -----------------------------/
66
VLAN0066
active
/
VLAN 66 is known, at least on switch CSW1. The same verifications could be conducted on
switch CSW2, verifying the trunk link to router R2 along with switch CSW2 VLAN database.
The configuration should be valid, just like on switch CSW1.
74
In a step by step approach, you could verify the link between switches CSW1 and CSW2:
CSW1#show etherchannel 33 port-ch
Port-channels in the group:
--------------------------Port-channel: Po33
(Primary Aggregator)
The EtherChannel link is not in use! It shows LACP instead of on! You can confirm this
point by checking the physical connections:
Show run
interface FastEthernet0/7
switchport trunk encapsulation
switchport mode trunk
channel-group 33 mode passive
!
interface FastEthernet0/8
switchport trunk encapsulation
switchport mode trunk
channel-group 33 mode passive
!
interface FastEthernet0/9
switchport trunk encapsulation
switchport mode trunk
channel-group 33 mode passive
!
interface FastEthernet0/10
switchport trunk encapsulation
switchport mode trunk
channel-group 33 mode passive
dot1q
dot1q
dot1q
dot1q
They are obviously in a wrong mode. The other end (switch CSW2) is still in on mode, passive
on switch CSW1 will not create an EtherChannel. You decide to correct this:
CSW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CSW1 (config)#int ran f0/7 - 10
CSW1 (config-if-range)#no channel-gr 33 mo pas
CSW1 (config-if-range)#channel-gr 33 mo on
CSW1 (config-if-range)#end
You then may want to try again to ping router R2 from router R1 interface in VLAN 66: the
ping would still be unsuccessful. There is more than one issue to solve for this ticket.
Lab Guide
75
SWITCH v1.012
You may then shift your attention to switch CSW2 and verify its connection to switch CSW1.
The EtherChannel link does not seem to be operational on this side either. Verifying the ports
configuration shows that they are in shutdown state. Once enabled, a verification of the PortChannel for these ports show that the link is up.
CSW2#show etherchannel 33 port-channel
Port-channel: Po33
-----------Age of the Port-channel
= 0d:00h:00m:49s
Logical slot/port
= 2/24
Number of ports = 4
GC
= 0x00000000
HotStandBy port = null
Port state
= Port-channel Ag-Inuse
Protocol
=
Ports in the Port-channel:
Index
EC state
No of bits
Load
Port
------+------+------+------------------+----------0
00
Fa0/7
On
0
0
00
Fa0/8
On
0
0
00
Fa0/9
On
0
0
00
Fa0/10
On
0
Time since last port bundled:
0d:00h:00m:17s
Fa0/9
Now that the ports are enabled, you may want to reattempt a ping from router R1 to router R2.
The ping is still unsuccessful. There is still another part to the issue to solve.
76
While verifying switch CSW2 configuration, you may see that VLAN 66 is not allowed on the
EtherChannel! You might have seen this issue at an earlier stage. It is shown here to isolate it
from the shutdown issue. It is easy to correct:
CSW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
L3SW4(config)#int po 33
L3SW4(config-if)#sw trun all vla ad 66
L3SW4(config-if)#end
R1#ping
Protocol [ip]:
Target IP address: 10.1.66.252
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.1.66.251
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.66.252, timeout is 2 seconds:
Packet sent with a source address of 10.1.66.251
!!!!!
Success rate is 100 percent (5/5)
Lab Guide
77
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
79
SWITCH v1.013
A possible first step is to verify switch ASW2 port to client CLT2 configuration. In this
example, the port is f0/3. The port is in trunk mode. It should be in access mode in VLAN 4.
You obviously correct this mistake:
ASW2#conf t
Enter configuration commands, one per line.
ASW2(config)#int f0/3
ASW2(config-if)#sw mo ac
ASW2(config-if)#end
Since the switch ASW2 port configuration was incorrect, you may also want to verify the port
configuration to switch DSW2. In this example, the port is f0/1. You notice this time that the
port is in access mode, so you need to change it to trunk mode:
ASW2#conf t
Enter configuration commands, one per line.
ASW2(config)#int f0/1
ASW2(config-if)#sw mo trunk
ASW2(config-if)#end
After you have made the changes, have you resolved the issue? Test the solution by trying to
renew client CLT2 IP address and if it fails, then there are other issues.
80
SWITCH v1.014
Now turn your attention to switch DSW2 and check its connection to switch ASW2. The port is
shutdown so you need to re-enable it for communication to switch ASW2:
DSW2#conf t
Enter configuration commands, one per line.
DSW2(config)#int f0/6
DSW2(config-if)#no sh
DSW2(config-if)#end
When renewing the client CLT2 IP address this time, CLT2 does obtain an IP address but you
notice that the IP address is on the wrong VLAN. Client CLT2 has an address in VLAN 1
instead of VLAN 4.
Lab Guide
81
SWITCH v1.015
You have already checked the port configuration for client CLT2 on switch ASW2 and you
know it is an Access port in VLAN 4. The switches DSW1 and DSW2 port configuration show
that the ports are in trunking mode and a possible cause might be a native VLAN problem.
Checking the port configuration on switch DSW2 to switches CSW1 and CSW2 verifies the
problem as a Native VLAN issue:
DSW2#sh run int po 32
Building configuration...
Current configuration : 125 bytes
!
interface Port-channel32
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport mode trunk
end
DSW2#sh run int po 31
Building configuration...
Current configuration : 125 bytes
!
interface Port-channel31
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport mode trunk
end
Both links are in native VLAN 4. As all the other links are in native VLAN 1, the DHCP
request is forwarded untagged to from switch DSW2 to switch CSW2 on VLAN 4, and switch
CSW2 forwards it to its native VLAN 1 to router R2.
Changing the native VLAN between switches DSW2 and CSW1 and between switches DSW2
and CSW2 solves the problem.
82
Lab Guide
83
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
84
Lab Guide
85
Activity Objective
As private VLANs were an interesting part of module 2, you would like to experiment on this
feature. The lab has two routers, each of them having a link to both switches CSW1 and CSW2,
and you think that it would be interesting to use them to try the isolated VLAN. As you do not
want to keep your routers isolated for the next labs, this feature will have to be removed when
moving to lab 3-1. So make sure that you saved before this optional task, and that you reboot
the switches you use for this task before moving to next lab. After completing this activity, you
will be able to meet these objectives:
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
Make sure you saved your configuration before moving to this step. As you do not want to keep
your routers isolated for the next labs, private VLANs will have to be removed when moving to
lab 3-1. Be sure to save before this optional task, and reboot the switches you use for this task
before moving to next lab.
For this task, use VLANs 501 and 51, and switch CSW1. Start by configuring switch CSW1 to
support VLAN 501 and 51. Connect to routers R1 and R2, and create an interface for VLAN
51. Configure a static IP address for each router using the table below:
Device name
Interface
IP address
VLAN
R1
F0/0.51
10.1.51.1/24
51
R2
F0/1
10.1.51.2/24
51
Verify that switch CSW1 link to router R2 is enabled, and in VLAN 51. Verify that switch
CSW1 trunk to router R1 allows VLAN 51.
Verify that both routers can ping each other from their VLAN 51 interface.
Once this point is verified, convert VLAN 51 to isolated, using VLAN 501 as the primary
VLAN. If your configuration is successful, routers R1 and R2 should not be able to ping each
other anymore.
You may want to use the Hint section of the lab to verify which steps are involved in this
configuration. The end of the lab guide contains the solution for this task. Once your
configuration is working, reboot switch CSW1 and routers R1 and R2 without saving the
configuration.
86
Network Diagram
SWITCH v1.016
Lab Guide
87
Command List
The table describes the commands that are used in this activity.
Configuration Commands
88
Command
Description
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
name vlan-name
private-vlan association
vlan-list
private-vlan isolated
private-vlan primary
show vlan
shutdown/no shutdown
switchport nonegotiate
switchport trunk
encapsulation dot1q
switchport trunk
encapsulation isl
interface interface-id
channel-group channelgroup-number mode
desirable
show running-config
interface interface-id
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
89
90
Information Source
Device
Implementation
Order
Lab Guide
91
Complete
92
Device
Implementation
Order
Lab Guide
93
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
94
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
95
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
97
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
Hint
CSW1
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
R1
Implementation Policy
R2
Implementation Policy
Device
Implementation
Order
Verification method
and expected results
Stepbystep
No
CSW1
Show vlan.
Show vlan.
R1
R2
10
11
Show run.
CSW1,
R1, R2
2009 Cisco Systems, Inc.
Lab Guide
99
Step-by-Step Procedure
Step 1
Create VLANs 51 and 501 on switch CSW1:
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Configure VLAN 501 and 51 to be primary and isolated respectively, on all the involved switches:
vlan 501
private-vlan primary
private-vlan association 51
vlan 51
name TestIsolated
private-vlan isolated
Step 8
Step 9
100
Revert your configuration to a state prior to task 4: reboot routers R1, R2, and switch CSW1
without saving the configuration.
Activity Objective
Congratulations! You were chatting about spanning tree with a friend at the cafeteria, and the
head of the local University heard your conversation. She selected you to make a presentation
about spanning tree, and to demonstrate on live equipment, in front of a large audience, how
you would configure the various modes of spanning tree. You decide that preparing a little bit
for this presentation could be useful, and that you would use your pod to walk through the
different steps involved and the various spanning tree modes. In this activity, you will design
and implement Multiple Spanning Tree Protocol (MSTP) in Layer 2 topology. As you complete
the design, you will connect to your remote lab to implement your solution. After completing
this activity, you will be able to meet these objectives:
Lab Guide
101
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You will observe and configure the functioning of Spanning Tree Protocol (STP) in your
network. The following list details the preparation and configuration requirements for all
switches in the company network. Your configuration must implement all these requirements:
In the lab progression, you should observe the existing STP random state, and then
convert your configuration to MSTP.
Before configuring and enabling spanning tree, verify that the Etherchannels configured in
lab 2-1 have been be configured properly. Enable the EtherChanel links between switches
CSW1 and DSW2, between switches CSW2 and DSW1, between switches DSW1 and
ASW2, and between switches DSW2 and ASW1. Link between switch CSW1 and router
R2 and link between switch CSW2 and router R1 must also be configured, but only on the
switch side. The router side is already configured. Only the link between switch DSW1 and
switch DSW2 should remain shut.
Switch DSW1 is to be the primary root bridge for odd VLANs, switch DSW2 is to be the
primary root bridge for even VLANs. When instances are used, switch DSW1 is root for
instance 0 and 1, switch DSW2 is root for instance 2. Instance 1 contains the odd VLANs,
instance 2 contains the even VLANs. 1 region is enough for your network.
For all VLANs for which switch DSW1 is primary root, switch DSW2 must be secondary
root. For all VLANs for which switch DSW2 is primary root, switch DSW1 must be
secondary root.
The Device Information section describes the VLANs and corresponding roots.
Device Information
The table provides the Layer 3 reachability information specific to each switch in the network:
102
Device name
Role
IP address
Gateway
VLAN
ASW1
10.1.1.1/24
10.1.1.251
ASW2
10.1.1.2/24
10.1.1.252
DSW1
Layer 3 switch
10.1.1.11/24
10.1.1.251
DSW2
Layer 3 switch
10.1.1.22/24
10.1.1.252
CSW1
Layer 3 switch
10.1.1.111/24
10.1.1.251
CSW2
Layer 3 switch
10.1.1.222/24
10.1.1.252
R!
Router
Fa0/0: 10.1.1.251/24
R2
Router
Fa0/0: 10.1.1.252/24
Links between switches should already be bundled together. The following table shows all
possible numbering conventions for these link bundles. Note that NOT all of these numbers
will be used:
Device
Link to
ASW1
DSW1
11
ASW1
DSW2
12
ASW2
DSW1
11
ASW2
DSW2
12
DSW1
ASW1
11
DSW1
ASW2
12
DSW1
DSW2
21 To remain shutdown
DSW1
CSW1
31
DSW1
CSW2
32
DSW2
ASW1
11
DSW2
ASW2
12
DSW2
DSW1
21 To remain shutdown
DSW2
CSW1
31
DSW2
CSW2
32
CSW1
DSW1
31
CSW1
DSW2
32
CSW1
CSW2
33
CSW2
DSW1
31
CSW2
DSW2
32
CSW2
CSW1
33
VLAN Information
VLAN
Root
Backup
Instance
(when needed)
DSW1
DSW2
Instance1
DSW1
DSW2
Instance1
DSW2
DSW1
Instance2
11
DSW1
DSW2
Instance1
12
DSW2
DSW1
Instance2
63
DSW1
DSW2
Instance1
64
DSW2
DSW1
Instance2
65
DSW1
DSW2
Instance1
66
DSW2
DSW1
Instance2
Lab Guide
103
Network Diagram
SWITCH v1.017
Command List
The table describes the commands that you will use in this activity.
Command
Description
name name
revision version
show pending
panning-tree mst
configuration
104
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 2
Task 3
Task 4
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
105
Root
Secondary
1
3
4
11
12
63
64
65
66
106
Spanning Tree calculation will occur the same way for all VLANs allowed on the same
switches. Use the following table to determine, for each group of VLANs and from each switch
in your network, which path is used to reach the root:
VLANs
Switch
1, 3, 11, 63, 65
ASW1
Path to root
ASW2
DSW1
DSW2
CSW1
CSW2
4, 12, 64, 66
ASW1
ASW2
DSW1
DSW2
CSW1
CSW2
Lab Guide
107
108
Device role
MSTP instance
VLANs
Once the MST switch roles are clear in your mind, use the following table, the initial lab visual
objective, the implementation policy and devices information to create your implementation
requirement list. If you are unsure, you can use the hints information provided at the end of the
lab guide.
Device
Information source
Lab Guide
109
110
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
111
Complete
112
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
113
114
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
115
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
116
Lab Guide
117
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
118
Lab Guide
119
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Root
Secondary
CSW1
DSW2
CSW1
DSW2
CSW1
DSW2
11
CSW1
DSW2
12
CSW1
DSW2
63
CSW1
DSW2
64
CSW1
DSW2
65
CSW1
DSW2
66
CSW1
DSW2
If the random state of Spanning Tree is as described in the above table, the path to root could
be as follows:
VLAN
Switch
Path to root
1, 3, 11, 63, 65
ASW1
Fa 0/1
ASW2
Fa 0/2
DSW1
Po 31
DSW2
Po 32
CSW1
N/A
CSW2
Po 33
ASW1
Fa 0/1
ASW2
Fa 0/2
DSW1
Po 31
DSW2
Po 32
CSW1
N/A
CSW2
Po 33
4, 12, 64, 66
120
Step-by-Step Procedure
Step 1
Connect to DSW1 switch interface in configuration mode.
Step 2
Step 3
Step 4
Device role
MSTP instance
DSW1
primary root
primary root
1,3,11,63,65
secondary root
4,12,64,66
primary root
4,12,64,66
secondary root
secondary root
DSW2
VLANs
1,3,11,63,65
Lab Guide
121
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
122
Device
Implementation Requirement
Hint
Distribution
switches
Distribution
switches
Distribution
switches
All
switches
MST
All
switches
Verification
Device
DSW1
DSW2
ASW1
ASW2
CSW1
CSW2
Information source
Lab Guide
123
Device
Implementation
Order
Verification method
and expected results
DSW1
Mst instance 1.
Show pending.
Show pending.
Mst instance 2.
Show pending.
Show pending.
Show spanning-tree.
Show spanning-tree
root.
Show spanning-tree
root.
Mst instance 1.
Show pending.
Show pending.
10
Mst instance 2.
Show pending.
11
Show pending.
12
Show spanning-tree.
13
Show spanning-tree
root.
14
Show spanning-tree
root.
16
Mst instance 1.
Show pending.
17
Show pending.
18
Mst instance 2.
Show pending.
19
Show pending.
20
Show spanning-tree.
21
Mst instance 1.
Show pending.
22
Show pending.
23
Mst instance 2.
Show pending.
24
Show pending.
25
Show spanning-tree.
26
Mst instance 1.
Show pending.
DSW2
ASW1
ASW2
CSW1
124
Complete
Device
CSW2
Implementation
Order
Verification method
and expected results
27
Show pending.
28
Mst instance 2.
Show pending.
29
Show pending.
30
Show spanning-tree.
31
Mst instance 1.
Show pending.
32
Show pending.
33
Mst instance 2.
Show pending.
34
Show pending.
35
Show spanning-tree.
Step-by-Step Procedure
Step 1
Enter MST configuration mode on switch DSW1:
DSW1(config)# spanning-tree mst configuration
Step 2
Step 3
Configure revision:
DSW1(config-mst)# revision 1
Step 4
Step 5
Step 7
Step 8
Configure spanning-tree root primary for instance 0 and for instance 1 on switch DSW1:
Step 9
Lab Guide
125
Step 10
MST Instance
---------------MST0
MST1
MST2
Root
Hello Max Fwd
Root ID
Cost
Time Age Dly Root Port
------------------ --------- ----- --- --- --------24576 001f.2721.8680
0
2
20 15
24577 001f.2721.8680
0
2
20 15
24578 001f.2721.8600
200000
2
20 15 Fa0/5
Step 11
Step 12
Step 13
Configure spanning-tree root secondary for instance 0 and for instance 1 on switch DSW2:
Step 14
MST Instance
---------------MST0
MST1
MST2
Root
Hello Max Fwd
Cost
Time Age Dly Root Port
Root ID
------------------ --------- ----- --- --- --------0
2
20 15 Fa0/5
24576 001f.2721.8680
2
20 15 Fa0/5
24577 001f.2721.8680
200000
24578 001f.2721.8600
0
2
20 15
Step 15
Step 16
Step 17
Step 18
Step 19
Step 20
Step 21
126
Activity Objective
Congratulations! Your MSTP configuration was a success. You are asked to give another
presentation focusing on PVRST+. Here again, you decide that preparing a little bit for this
presentation could be useful, and that you would use your pod to walk through the different
steps involved. In this activity, you will design and implement Per VLAN Rapid Spanning Tree
Plus (PVRST+) in Layer 2 topology. As you complete the design, you will connect to your
remote lab to implement your solution. At the end of the lab, you will keep this solution best
adapted to this lab environment. You will then have all the steps required to perform your live
presentation. After completing this activity, you will be able to meet these objectives:
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You will migrate your configuration to PVRST+. The following list details the preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
Before configuring and enabling spanning tree, verify that the Etherchannels enabled in lab
3-1 are still enabled. You need full and redundant connectivity for this lab. Only the link
between switch DSW1 and switch DSW2 must remain shut.
Switch DSW1 is to be the primary root bridge for odd VLANs, switch DSW2 is to be the
primary root bridge for even VLANs.
For all VLANs for which switch DSW1 is primary root, switch DSW2 must be secondary
root. For all VLANs for which switch DSW2 is primary root, switch DSW1 must be
secondary root.
The Device Information section describes the VLANs and corresponding roots.
Lab Guide
127
Device Information
The table provides the Layer 3 reachability information specific to each switch in the network:
Device name
Role
IP address
Gateway
VLAN
ASW1
10.1.1.1/24
10.1.1.251
ASW2
10.1.1.2/24
10.1.1.252
DSW1
Layer 3 switch
10.1.1.11/24
10.1.1.251
DSW2
Layer 3 switch
10.1.1.22/24
10.1.1.252
CSW1
Layer 3 switch
10.1.1.111/24
10.1.1.251
CSW2
Layer 3 switch
10.1.1.222/24
10.1.1.252
R!
Router
Fa0/0: 10.1.1.251/24
R2
Router
Fa0/0: 10.1.1.252/24
Links between switches should be already be bundled together. The following table shows all
possible numbering conventions for these link bundles. Note that NOT all of these numbers
need to be used:
128
Device
Link to
ASW1
DSW1
11
ASW1
DSW2
12
ASW2
DSW1
11
ASW2
DSW2
12
DSW1
ASW1
11
DSW1
ASW2
12
DSW1
DSW2
21 To remain shutdown
DSW1
CSW1
31
DSW1
CSW2
32
DSW2
ASW1
11
DSW2
ASW2
12
DSW2
DSW1
21 To remain shutdown
DSW2
CSW1
31
DSW2
CSW2
32
CSW1
DSW1
31
CSW1
DSW2
32
CSW1
CSW2
33
CSW2
DSW1
31
CSW2
DSW2
32
CSW2
CSW1
33
VLAN Information
VLAN
Root
Backup
DSW1
DSW2
DSW1
DSW2
DSW2
DSW1
11
DSW1
DSW2
12
DSW2
DSW1
63
DSW1
DSW2
64
DSW2
DSW1
65
DSW1
DSW2
66
DSW2
DSW1
Network Diagram
SWITCH v1.018
Lab Guide
129
Command List
The table describes the commands that you will use in this activity.
Command
Description
name name
show pending
130
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
131
Root
Secondary
1
3
4
11
12
63
64
65
66
132
At this point, your lab network has a functioning MST implementation and you are ready to
migrate it to PVRST+. You have to make a list with the requirements in order to prepare a
detailed implementation and verification plan in the next task. Use the Information Packet to
gather the needed information. If you are unsure, you can use the hints information provided at
the end of the lab guide.
Device
Information Source
Lab Guide
133
Device
134
Information Source
Device
Implementation
Order
Lab Guide
135
Complete
136
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
137
Complete
138
Device
Implementation
Order
Lab Guide
139
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
140
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
141
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
143
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Device role
VLANs primary
VLANs secondary
DSW1
STP root
1,3,11,63,65
4,12,64,66
DSW2
STP root
4,12,64,66
1,3,11,63,65
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
Device
Implementation Requirement
Hint
All
switches
Distribution
switches
Distribution
switches
All
switches
Verification.
Device
Information Source
DSW1
DSW1
DSW1
DSW2
DSW2
DSW2
ASW1
ASW2
CSW1
CSW2
Lab Guide
145
Device
Implementation
Order
DSW1
Show spanning-tree.
spanning-tree vlan
1,3,11,63,65 root primary
spanning-tree vlan
4,12,64,66 root secondary
No spanning-tree mst
configuration
Show run.
Show spanning-tree.
spanning-tree vlan
4,12,64,66 root primary
spanning-tree vlan
1,3,11,63,65 root
secondary
No spanning-tree mst
configuration
Show run.
Show spanning-tree.
10
No spanning-tree mst
configuration
Show run.
11
Show spanning-tree.
12
No spanning-tree mst
configuration
Show run.
13
Show spanning-tree.
14
No spanning-tree mst
configuration
Show run.
15
Show spanning-tree.
16
No spanning-tree mst
configuration
Show run.
DSW2
ASW1
ASW2
CSW1
CSW2
146
Step-by-Step Procedure
Step 1
Change STP mode from MST to PVRST+ on switch DSW1:
DSW1(config)# spanning-tree mode rapid-pvst
Step 2
Step 3
Configure spanning-tree root secondary for VLANs 4, 12, 64 and 66 on switch DSW1:
Step 4
Step 5
Step 6
Configure spanning-tree root primary for VLANs 4, 12, 64 and 66 on switch DSW2:
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
Step 13
root primary
Vlan
---------------VLAN0001
VLAN0003
VLAN0004
VLAN0011
VLAN0012
VLAN0063
VLAN0064
VLAN0065
VLAN0066
DSW1#
Step 14
Root
Hello Max Fwd
Root ID
Cost
Time Age Dly Root Port
------------------ --------- ----- --- --- --------0
2
20 15
24577 001f.2721.8680
2
20 15
24579 001f.2721.8680
0
2
20 15 Fa0/5
24580 001f.2721.8600
19
0
2
20 15
24587 001f.2721.8680
19
2
20 15 Fa0/5
24588 001f.2721.8600
0
2
20 15
24639 001f.2721.8680
24640 001f.2721.8600
19
2
20 15 Fa0/5
24641 001f.2721.8680
0
2
20 15
24642 001f.2721.8600
19
2
20 15 Fa0/5
Lab Guide
147
Activity Objective
In this activity, you will analyze, locate, and fix STP problems on your network caused by
misconfiguration or design error. You should prepare a troubleshooting plan which will guide
you step-by-step in your efforts. You should be able to quickly fix the network using the skills
learned in this module. After completing this activity, you will be able to meet these objectives:
Develop a work plan to troubleshoot configuration and security issues, related to the STP.
Visual Objective
The figure illustrates what needs to be accomplished in this activity.
148
SWITCH v1.019
Command List
The table describes the commands that are used in this activity.
Configuration Commands
Command
Description
configure terminal
interface fastethernet
| gigabitethernet
slot/port
spanning-tree bpdufilter
enable
spanning-tree bpduguard
enable
show spanning-tree
blockedports
Shows the ports that are blocked by the spanning tree algorithm.
exit
Job Aids
These job aids are available to help you complete the lab activity.
Trouble Tickets
Troubleshooting Log
Lab Guide
149
Instructions
As you can see from the troubleshooting tickets, this troubleshooting lab contains two types of
issues:
Each ticket involves several switches, so the whole team has to work together to solve each of
them. Together with your team members, create a troubleshooting plan to divide the work,
assign each team member appropriate roles and coordinate device access between the team
members. Document your progress in the Troubleshooting Log provided below in order to
help facilitate efficient communication within the team and to have an overview of your
troubleshooting process for reference during the lab debrief discussions.
As different teams work at different speeds, this labs tickets are separated. To prepare the lab
for this exercise ask your instructor how you should initiate Trouble Ticket A. After the
instructor indicates that the lab is fully prepared, you are ready to start troubleshooting.
Once you fix ticket A, ask your instructor if time is left for you to move on to the next ticket. If
time allows, ask your instructor how you should initiate Trouble Ticket B. After the instructor
indicates that the lab is fully prepared, you are ready to start troubleshooting.
150
Troubleshooting Log
Use this log to document your actions and results during the troubleshooting process.
Trouble
Ticket
Lab Guide
151
Trouble
Ticket
152
Trouble
Ticket
Lab Guide
153
Trouble
Ticket
154
Activity Verification
You have completed this lab when you attain the results below.
Trouble Ticket A:
Verify that on the L3 switches you can see no more error log entries generated.
Verify that on the L2 switches you do not have ports in err-disabled state.
Verify the STP status is the same as the end of Lab 3-1.
Trouble Ticket B:
Verify the STP is blocking the correct VLANs on the root switches.
Lab Guide
155
DSW2#show logg
*Mar 6 18:10:41.823: %SW_MATM-4-MACFLAP_NOTIF: Host 0015.f904.bb2f in
vlan 1 is flapping between port Po45 and port Fa0/5
*Mar 6 18:10:41.823: %SW_MATM-4-MACFLAP_NOTIF: Host 0022.9042.2700 in
vlan 1 is flapping between port Po45 and port Fa0/5
CSW1#show logg
*Mar 6 18:10:41.823: %SW_MATM-4-MACFLAP_NOTIF: Host 0015.f904.bb2f in
vlan 1 is flapping between port Po45 and port Po35
*Mar 6 18:10:41.823: %SW_MATM-4-MACFLAP_NOTIF: Host 0022.9042.2700 in
vlan 1 is flapping between port Po45 and port Po35
SWITCH v1.020
You have information for error log messages on your switches DSW1, DSW2 and CSW1.
The natural first task is to access these devices and view the error messages.
You can see that the error messages on the three switches are the same, regarding a flapping
MAC address of a host on EtherChannels and physical interfaces.
Revert to the diagram, determine what links participate in these PortChannels and interfaces.
You find out that the EtherChannels connect the Core switch CSW1 with the switches DSW1
and DSW2. You, also find out that the interfaces Fa 0/5 on both Distribution switches are the
connection between them. After this examination, you find out you have a switching loop.
A switching loop is related to the functioning of the STP, in our case PVRST+.
The next logical step is to check the PVRST+ on the affected interfaces.
156
Prio.Nbr Type
Desg FWD 12
128.296
VLAN0003
Desg FWD 12
128.296
P2p
VLAN0004
Root FWD 12
128.296
P2p
VLAN0011
Desg FWD 12
128.296
P2p
VLAN0012
Root FWD 12
128.296
P2p
VLAN0063
Desg FWD 12
128.296
P2p
VLAN0064
Root FWD 12
128.296
P2p
VLAN0065
Desg FWD 12
128.296
P2p
VLAN0066
Root FWD 12
128.296
P2p
P2p
SWITCH v1.021
Lab Guide
157
SWITCH v1.022
You can verify the STP state for the affected interfaces, e.g. Po31 and Fa0/5, on DSW1.
You see that the STP state for interface Po31 looks normal, but the information returned for
interface Fa0/5 is more confusing. The same strange information appears on CSW2 Po33.
Proceed to the next switch.
158
SWITCH v1.023
Prio.Nbr Type
Desg FWD 19
128.7
P2p
VLAN0003
Desg FWD 19
128.7
P2p
VLAN0004
Desg FWD 19
128.7
P2p
VLAN0011
Desg FWD 19
128.7
P2p
VLAN0012
Desg FWD 19
128.7
P2p
VLAN0063
Desg FWD 19
128.7
P2p
VLAN0064
Desg FWD 19
128.7
P2p
VLAN0065
Desg FWD 19
128.7
P2p
VLAN0066
Desg FWD 19
128.7
P2p
DSW2#
SWITCH v1.024
You check the STP state for the affected interfaces, e.g. Po31 and Fa0/5, on DSW2.
Here the situation is the same as it is on DSW1.
Your next logical step is to analyze the interface Fa0/5, as its state looks different from the
others.
Lab Guide
159
SWITCH v1.025
You see that on interface Fa0/5 you have the bpdu filter feature enabled!
Since this is a feature that relates to access ports, preventing the BPDUs, and is a trunk
interface, you understand that this is a problem.
160
SWITCH v1.026
Check the configuration of the interface Fa0/5 on DSW1 to verify you have hit the problem:
DSW1#show run interface fastEthernet 0/5
interface fastEthernet 0/5
spanning-tree bpdufilter enable
Lab Guide
161
DSW1#conf t
Enter configuration commands, one per line.
SWITCH v1.027
162
SWITCH v1.028
The same issue appears on CSW2 Po33 link. Resolve it the same way.
Verify the STP is back to normal and you have corrected the problem:
DSW1#sho spanning-tree interface FastEthernet 0/5
Vlan
Role Sts Cost
Prio.Nbr Type
------------------- ---- --- --------- -------- ------------------VLAN0001
Desg FWD 19
128.7
P2p
VLAN0003
Desg FWD 19
128.7
P2p
VLAN0004
Root FWD 19
128.7
P2p
VLAN0011
Desg FWD 19
128.7
P2p
VLAN0012
Root FWD 19
128.7
P2p
VLAN0063
Desg FWD 19
128.7
P2p
VLAN0064
Root FWD 19
128.7
P2p
VLAN0065
Desg FWD 19
128.7
P2p
VLAN0066
Root FWD 19
128.7
P2p
Additionally, you can go to the switches again and check that there are no new error messages
in their logs.
Lab Guide
163
SWITCH v1.029
Verify if the STP state shows that the bpdu filter feature is not enabled anymore:
DSW1#sho spanning-tree interface FastEthernet 0/5 detail
Port 7 (FastEthernet0/5) of VLAN0001 is designated forwarding
Port path cost 19, Port priority 128, Port Identifier 128.7.
Designated root has priority 24577, address 001f.2721.8680
Designated bridge has priority 24577, address 001f.2721.8680
Designated port id is 128.7, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
BPDU: sent 284, received 12
Additionally, you can go to the switches again and check that there are no new error messages
in their logs.
164
Lab Guide
165
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
166
SWITCH v1.030
You check the reported switches for the blocked port and the STP status.
On DSW1 you find that Fa0/5 is in err-disabled state and that the STP is not blocking VLANs:
DSW1#sh spanning-tree blockedports
Name
Blocked Interfaces List
-------------------- -----------------------------------Number of blocked ports (segments) in the system : 0
DSW1#
sho int fa 0/5
FastEthernet0/5 is down, line protocol is down (err-disabled)
Hardware is Fast Ethernet, address is 001f.2721.8687 (bia 001f.2721.8687)
MTU 1500 bytes, BW 10000 Kbit, 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
input flow-control is off, output flow-control is unsupported
.
Lab Guide
167
SWITCH v1.031
You find a similar situation on DSW2. Port Fa0/5 is in state notconnect and the STP is not
blocking VLANs, as expected:
DSW2#sho spanning-tree blockedports
Name
Blocked Interfaces List
-------------------- -----------------------------------Number of blocked ports (segments) in the system : 0
DSW2#sho int fa 0/5
FastEthernet0/5 is down, line protocol is down (notconnect)
Hardware is Fast Ethernet, address is 001f.2721.8607 (bia 001f.2721.8607)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
You have a problem with the STP. It is not blocking VLANs as expected.
You find out that you need more information to hit the problem. The most natural first place to
look is the log.
168
SWITCH v1.032
The log on DSW1 clearly shows you the problem a security spanning-tree feature, in our case
the bpduguard has put the Fa0/5 in err-disabled state, as BPDUs appeared on this interface.
Since it is normal to have BPDUs sent and received on this interface, you check the
configuration of this interface.
Lab Guide
169
SWITCH v1.033
170
SWITCH v1.034
Verify the status of the STP and determine the correct VLANs are being blocked to be sure that
you have fixed the right problem.
Lab Guide
171
SWITCH v1.035
As the verification has been successful you have to document your findings.
172
Lab Guide
173
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
174
Lab Guide
175
Activity Objective
As the corporate network continues to grow the demands for expansion, better convergence and
reliability drove your IT manager to ask you for a solution for the migration towards a Layer 3
Core and Distribution design. He insisted on using dynamic routing protocol, to ease the
implementation of new networks, thus reducing the possibility of mistakes and risks of
operation failures. The specifications given to you from the IT manager clearly state the use of
EIGRP as routing protocol and implementation of separate networks on the links between the
Layer 3 switches. The distribution switches must become the new gateways and DHCP servers
for your access layer. Once the design is complete, you will connect to your remote lab to
implement your solution. After completing this activity, you will be able to meet these
objectives:
176
Design an L3 network.
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to configure inter-VLAN routing and a routing protocol in your network. The
following list details regarding preparation and routing configuration requirements for all
switches in the company network. Your configuration must implement all of these
requirements:
Configure all interfaces between the Distribution and Core switches to become L3 links.
Configure the interfaces between switches DSW1 and DSW2 to become L3 links. Enable
this link.
Configure the links between the core switches and the routers to become L3.
Use the networks from the table provided below for the L3 links.
Setup SVI interfaces for data VLANs on both distribution switches according to the
information provided in the Device Information section.
Change management VLAN on Access switches from VLAN 1 to first data VLAN (VLAN
3 or VLAN 4 depending on devices). You need to create an SVI for this VLAN. The IP
addresses for your switches will change. For example, if your device VLAN 1 IP address
was in 10.1.1.0/24, VLAN 1 will no longer have an IP address, and VLAN 3 IP address
will be in 10.1.3.0/24. Apply this rule to all of your devices. Refer to the Devices
Information section to know which IP address should be used on which switch.
Remove the management VLAN 1 IP address on Distribution switches, as you can manage
them via any routed interface or SVI.
Switches DSW1 and DSW2 will be default gateways for the clients and the access
switches. Switch DSW1 will be the default gateway for switches ASW1 and CLT1, switch
DSW2 will be the default gateway for switch ASW2 and client CLT2.
Configure DHCP services on switches DSW1 and DSW2 for networks 10.1.3.0/24 and
10.1.4.0/24. Switch DSW1 must allocate addresses 50 to 99 and DSW2 must allocate
addresses 100 to 149 for each scope. Clients CLT 1 and CLT2 must obtain their IP address
from switch DSW1 or switch DSW2.
Configure EIGRP AS 10 on the Core and Distribution switches and the Routers.
Lab Guide
177
Devices Information
The table provides the L3 information specific to the devices in the network. These subnets use
a /31 (255.255.255.254) mask, using RFC 3021 specifications. Notice that this type of mask is
reserved for point-to-point links, which is the case here:
Device name
L3 interface
IP address
DSW1
Po 31
10.1.253.0/31
DSW1
Po 32
10.1.253.2/31
DSW1
P3
10.1.253.4/31
DSW2
Po 31
10.1.253.6/31
DSW2
Po 32
10.1.253.8/31
DSW2
P3
10.1.253.5/31
CSW1
Po 31
10.1.253.1/31
CSW1
Po 32
10.1.253.9/31
CSW1
Po 33
10.1.253.10/31
CSW1
P1
10.1.253.12/31
CSW1
P2
10.1.253.14/31
CSW2
Po 31
10.1.253.7/31
CSW2
Po 32
10.1.253.3/31
CSW2
Po 33
10.1.253.11/31
CSW2
P1
10.1.253.16/31
CSW2
P2
10.1.253.18/31
R1
P1
10.1.253.13/31
R1
P2
10.1.253.19/31
R2
P1
10.1.253.17/31
R2
P2
10.1.253.15/31
This table provides IP addressing information regarding the SVI interfaces on the switches:
Device
178
SVI
IP address
ASW1
VLAN 3
10.1.3.10/24
ASW2
VLAN 4
10.1.4.20/24
DSW1
VLAN 3
10.1.3.1/24
DSW1
VLAN 4
10.1.4.1/24
DSW2
VLAN 3
10.1.3.2/24
DSW2
VLAN 4
10.1.4.2/24
Network Diagram
SWITCH v1.036
Lab Guide
179
Command List
The table describes the commands that are used in this activity.
Command
Description
default-router address
[address2 ... address8]
180
domain-name domain
configure terminal
interface interface-id
interface port-channel
port-channel-number
ip address ip-address
mask
ip routing
Enables IP routing.
Command
Description
ip dhcp excluded-address
low-address [highaddress]
Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
network network-number
[mask | /prefix-length]
network network-number
no auto-summary
no ip address
no switchport
show etherchannel
channel-group-number
detail
show ip protocols
show ip route
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Task 4
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
181
182
Device
SVI interfaces
L3 interfaces
Is the device a
DHCP server?
EIGRP AS No
(if applicable)
Information Source
Lab Guide
183
184
Device
Implementation
order
Lab Guide
185
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
186
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
187
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
189
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Device
SVI
interfaces
L3 interfaces
Is device a
DHCP server
EIGRP AS No
(if applicable)
ASW1
VLAN 3
No
No
No
ASW2
VLAN 4
No
No
No
DSW1
VLANs 3,4,
Po31, Po32, P3
Yes,
10.1.3.0/24
and
10.1.4.0/24
AS 10
DSW2
VLANs 3,4,
Po31, Po32, P3
Yes,
10.1.3.0/24
and
10.1.4.0/24
AS 10
CSW1
No
No
AS 10
CSW2
No
No
AS 10
R1
No
P1, P2
No
AS 10
R2
No
P1, P2
No
AS 10
Lab Guide
191
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
192
Device
Implementation Requirement
Hint
Distribution switches
Core switches
Distribution switches
SVI interfaces.
Distribution switches
DHCP server.
Enable IP routing.
Distribution Core,
switches and routers
EIGRPs.
Verification.
Device
Information Source
ASW1
ASW1
ASW2
ASW2
DSW1
DSW1
DSW1
SVI interfaces.
DSW1
DSW1
DHCP server.
DSW1
Enable IP routing.
DSW1
EIGRP.
DSW2
DSW2
DSW2
SVI interfaces.
DSW2
DSW2
DHCP server.
DSW2
Enable IP routing.
DSW2
EIGRP.
CSW1
CSW1
CSW1
CSW1
Enable IP routing.
CSW1
EIGRP.
Lab Guide
193
194
Device
Information Source
CSW2
CSW2
CSW2
CSW2
Enable IP routing.
CSW2
EIGRP.
R1
R1
EIGRP.
R2
R2
EIGRP.
Device
Implementation
order
interface port-channel XX
no switchport
ip address
DSW1
1
interface range fast
no switchport
channel-group XX mode on
interface port-channel XX
no switchport
ip address
DSW2
2
interface range fast
no switchport
channel-group XX mode on
interface port-channel XX
no switchport
ip address
CSW1
3
interface range fast
no switchport
channel-group XX mode on
interface port-channel XX
no switchport
ip address
CSW2
4
interface range fast
no switchport
channel-group XX mode on
Lab Guide
195
Complete
Device
Implementation
order
R1
interface Fa 0/X
R1
R2
R2
DSW1
DSW2
10
ASW1
11
ASW2
12
ASW1
13
ip default-gateway
ASW2
14
ip default-gateway
DSW1
15
DSW2
16
ip address
No interface f0/0.Y
interface Fa 0/X
ip address
No interface f0/0.Y
interface vlan XX
ip address
interface vlan XX
ip address
interface vlan 3
ip address
interface vlan 4
ip address
interface vlan 1
no ip address
interface vlan 1
no ip address
ip dhcp excluded-address
10.1.3.1 10.1.3.49, then 100 to
255
Sh ip dhcp binding
17
default-router 10.1.3.1
ip dhcp excluded-address
10.1.4.1 10.1.4.49, then
10.1.4.100 to 255
ip dhcp pool vlan4
network 10.1.4.0
255.255.255.0
default-router 10.1.4.1
196
Complete
Device
Implementation
order
ip dhcp excluded-address
10.1.3.1 10.1.3.99, then 150 to
255
Sh ip dhcp binding
18
default-router 10.1.3.2
ip dhcp excluded-address
10.1.4.1 10.1.4.99, then 150 to
255
ip dhcp pool vlan4
network 10.1.4.0
255.255.255.0
default-router 10.1.4.2
DSW1
19
ip routing
Sh ip route
DSW2
20
ip routing
Sh ip route
CSW1
21
ip routing
Sh ip route
CSW2
22
ip routing
Sh ip route
router eigrp 10
sh ip eigrp interfaces
no auto-summary
Sh ip route
DSW1
23
DSW2
24
router eigrp 10
sh ip eigrp interfaces
no auto-summary
sh ip route
CSW1
25
router eigrp 10
Sh ip eigrp interfaces
no auto-summary
Sh ip route
CSW2
26
router eigrp 10
Sh ip eigrp interfaces
no auto-summary
Sh ip route
R1
27
router eigrp 10
Sh ip eigrp interfaces
no auto-summary
Sh ip route
R2
28
router eigrp 10
Sh ip eigrp interfaces
no auto-summary
Sh ip route
Lab Guide
197
Step-by-Step Procedure
Step 1
Connect to switch DSW1 switch interface in configuration mode
Step 2
255.255.255.254
2
on
Step 3
Configure the same way on switch DSW1 L3 EtherChannel link to switch CSW2, using interface
Po32 and interface range f0/3 4.
Step 4
Step 5
Repeat step 2 on switch DSW2 to configure L3 EtherChannel link to switch CSW2, using interface
Po31 and interface range f0/1 2.
Step 6
Configure the same way on switch DSW2 L3 EtherChannel link to switch CSW1, using interface:
Po32 and interface range f0/3 4.
Step 7
Repeat step 4 on switch DSW2 to configure DSW2 f0/5 L3 link to switch DSW1.
Step 8
Repeat step 2 on switch CSW1 to configure L3 link to switch CSW2 (interface Po33, interface
range f0/7 10).
Step 9
Repeat step 2 on switch CSW1 to configure L3 link to switch DSW1 (interface Po31, interface
range f0/1 2).
Step 10
Repeat step 2 on switch CSW1 to configure L3 link to switch DSW2 (interface Po32, interface
range f0/3 4).
Step 11
Repeat step 4 on switch CSW1 to configure L3 link to router R1 (interface f0/11) and L3 link to
router R2 (interface f0/12).
Step 12
Repeat step 2 on switch CSW2 to configure L3 link to switch CSW1 (interface Po33, interface
range f0/7 10).
Step 13
Repeat step 2 on switch CSW2 to configure L3 link to switch DSW2 (interface Po31, interface
range f0/1 2).
Step 14
Repeat step 2 on switch CSW2 to configure L3 link to switch DSW1 (interface Po32, interface
range f0/3 4).
Step 15
Repeat step 4 on switch CSW2 to configure L3 link to router R2 (interface f0/11) and L3 link to
router R1 (interface f0/12).
198
Step 16
Step 17
Repeat steps from Repeat step 16 on router R2 to configure its interfaces to switches CSW2
and CSW1.
Step 18
Step 19
Step 20
Step 21
Step 22
Step 23
Step 24
Verify that you have reachability to all subnets. For example, on DSW1:
DSW1#sh ip route
Codes: 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
Gateway of last resort is not set
C
C
C
C
D
D
D
C
C
C
D
D
D
Lab Guide
199
Step 25
Step 26
Repeat step 24 on switch DWS2, excluding 10.1.3.1 to 10.1.3.99 then 10.1.3.159 to 10.1.3.255,
and 10.1.4.1 to 10.1.4.99 then 10.1.4.159 to 10.1.4.255
Step 27
Step 28
Step 29
DSW1(config)# ip routing
200
Repeat step 28 on switches DWS2, CSW1, CSW2, and routers R1 and R2.
Activity Objective
In this activity, you will have to analyze, locate and fix Layer 3 problems on your network,
caused by misconfiguration or wrong design. After this activity, you will be able to meet these
objectives:
Visual Objective
The figure illustrates what needs to be accomplished in this activity.
SWITCH v1.037
Lab Guide
201
Command List
The table describes the commands that are used in this activity.
Configuration Commands
Command
Description
configure terminal
network network-number
no auto-summary
show ip protocols
show ip route
show interfaces
interface-id trunk
Job Aids
These job aids are available to help you complete the lab activity.
202
Trouble Tickets
Troubleshooting Log
Instructions
As you see from the troubleshooting tickets, this troubleshooting lab contains three types of
issues:
Each ticket involves several switches, so the whole team has to work together to solve each of
them. Together with your team members, create a troubleshooting plan to divide the work,
assign each team member appropriate roles and coordinate device access between the team
members. Document your progress in the Troubleshooting Log provided below to help
facilitate efficient communication within the team and to have an overview of your
troubleshooting process for reference during the lab debrief discussions.
As different teams work at different speeds, this labs tickets are separated. To prepare the lab
for this exercise ask your instructor how you should initiate Trouble Ticket A. After the
instructor indicates that the lab is fully prepared, you are ready to start troubleshooting.
Once you fix ticket A, ask your instructor if time is left for you to move on to the next ticket. If
time allows, ask your instructor how you should initiate Trouble Ticket B. After the instructor
indicates that the lab is fully prepared, you are ready to start troubleshooting.
Repeat the same process for ticket C, if time allows.
Lab Guide
203
Troubleshooting Log
Use this log to document your actions and results during the troubleshooting process.
Trouble
Ticket
204
Trouble
Ticket
Lab Guide
205
Trouble
Ticket
206
Trouble
Ticket
Lab Guide
207
Activity Verification
You have completed this lab when you attain the results below.
Trouble Ticket A:
Verify that Client CLT1 and Client CLT2 can ping all network devices.
Trouble Ticket B:
Trouble Ticket C:
208
Verify that Client CLT1 and Client CLT2 can ping all network devices.
SWITCH v1.038
First, you verify that you can successfully ping the gateway. This means that you have
connectivity to the gateway, which is the DSW1 switch.
You try to ping to a Core switch from CLT1, but you fail. This can mean two things you are
not allowed to connect or you do not have path to this device. As you have been able to connect
previously, the first possibility is eliminated. If you do not have the path to this device, you are
also missing the route to it.
These simple tests lead you to conclude that you do not have connectivity to the Core switches
and the servers beyond them. Most probably, you face a routing problem, as you can reach the
distribution switch DSW3, which is your default gateway.
The same situation occurs for connections from CLT2 to DSW2 and CSW2: pings to DSW2
work, but pings to CSW2 fail.
This leads you to check the routing on the Distribution L3 switches DSW1 and DSW2.
Lab Guide
209
SWITCH v1.039
Your troubleshooting work continues on DSW1 and DSW2. The above example shows the
display on DSW1, as the steps and work on DSW2 are the same.
You verify the routing protocols, configured in the previous lab, and find out the EIGRP is
working properly.
Here is the next conclusionyou have a working routing protocol, but you do not have routing.
210
SWITCH v1.040
Last Use
Total Uses
Interface
Lab Guide
211
SWITCH v1.041
To fix the problem, go into configuration mode and issue the following commands:
DSW1#conf t
Enter configuration commands, one per line.
DSW1(config)#ip routing
212
SWITCH v1.042
Verify that your solution is correct and that you have spotted the problem correctly. For this,
check the routing table again:
show ip route
Codes: 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
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 17 subnets, 3 masks
C
10.1.11.0/24 is directly connected, Vlan11
C
10.1.3.0/24 is directly connected, Vlan3
C
10.1.4.0/24 is directly connected, Vlan4
D
10.1.1.0/24 [90/18176] via 10.1.253.14, 3d21h, Port-channel31
[90/18176] via 10.1.253.10, 3d21h, Port-channel32
Lab Guide
213
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
215
SWITCH v1.043
After you analyzed the preliminary data, your logical next step is to login to CSW1 and check
the routing.
Your verification shows that the EIGRP neighbors table is empty.
You check the status of the EIGRP and everything is normal.
The routing configuration on both CSW1 and CSW2 must be identical, as they provide routing
redundancy in the network, you check the Neighbors table on CSW2 and everything is normal.
This leads you to the conclusion that there must be differences in the EIGRP configuration
between the two Core switches.
The same examination of DSW1 and DSW2 also shows similar differences.
216
SWITCH v1.044
After you find the differences in the EIGRP configuration, your next step is to correct the
wrong configuration on CSW1:
CSW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CSW1(config)#no router eigrp 20
CSW1(config)#router eigrp 10
CSW1(config-router)#no auto-summary
CSW1(config-router)# network 10.1.0.0 0.0.255.255
CSW1#show ip eigrp neighbors
EIGRP-IPv4:(10) neighbors for process 10
H
Address
Hold Uptime
SRTT RTO Q Seq
Interface
(sec)
(ms)
Cnt Num
EIGRP-IPv4:(10) neighbors for process 10
H
Address
SRTT RTO Q Seq
Interface
Hold Uptime
Cnt Num
(sec)
(ms)
1
10.1.253.0
Po31
13 00:32:44 196 1176 0 283
3
10.1.253.15
Fa0/11
11 00:32:10 13
200 0 40
2
10.1.253.17
Fa0/12
14 00:32:20 1
200 0 41
4
10.1.253.4
Po32
10 00:32:18 1
200 0 49
5
10.1.253.11
Po33
10 00:32:22 1
200 0 49
Lab Guide
217
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
219
SWITCH v1.045
You find a problem with CLT1 connectivity. CLT2 has the same issue.
This flow shows how to solve CLT1 connectivity issue. CLT 2 connectivity is solved with the
same process.
To exclude deeper network problems, you check the connectivity to CLT1 from DSW1. Again,
you have a failure.
Between CLT1 and DSW1 is only the ASW1 switch. So, the logical next step is to verify the
links between these two switches.
You check the trunk configuration on the interface pointing to the ASW1 switch and confirm
all VLANs are present.
220
SWITCH v1.046
Next, you concentrate on the ASW1 switch, since the evidence indicates the problem must be
there.
To finish the check, started on DSW1, you check the trunk configuration on the interfaces
pointing to DSW1.
You find out that VLAN3, which is the VLAN where CLT1 resides, is absent.
When checking ASW2, you find that VLAN 4, which is CLT2 VLAN, is also absent from
ASW2 trunk to DSW2.
Lab Guide
221
SWITCH v1.047
To fix the problem, allow the needed VLANs on both interfaces to point to switches DSW1 and
DSW2:
ASW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ASW1(config)#interface range fastEthernet 0/1 - 2
ASW1(config-if)# switchport trunk allowed vlan add 3
222
Lab Guide
223
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
224
Lab Guide
225
Activity Objective
The dynamics of administering a large network often prevent a daily verification of each device
state and activity. This is why a solution is needed that implements logs from different devices
that are gathered in a single place. In this lab, you will implement such a solution. To achieve
this goal, you will configure your switches to send information to a syslog and a SNMP server.
To respond to the need of monitoring the network state, you will also implement an IP SLA
based solution. Once the design is complete, you will connect to your remote lab to implement
your solution. After completing this activity, you will be able to meet these objectives:
226
Design a HA solution consisting of Syslog and SNMP reporting and IP SLA solution.
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to configure SNMP, Syslog and IP SLA in your network. The following list details
preparation and configuration requirements for all switches in the company network. Your
configuration must implement all requirements:
Configure switches ASW1, DSW1, CSW1, and router R1 to send syslog information to
client CLT1.
Configure switches ASW2, DSW2, CSW2, and router R2 to send syslog information to
client CLT2.
On all switches and routers, configure the level of syslog messages to be informational.
Configure switches ASW1, DSW1, CSW1, and router R1 to send SNMP traps to client
CLT1.
Configure switches ASW2, DSW2, CSW2 and router R2 to send SNMP traps to client
CLT2.
Configure your switches to send the SNMP relevant server information of the configuration
changes, VLAN membership, and interfaces status changed to error-disable. Configure
your routers to send to the SNMP relevant server information of configuration changes.
You should in both cases use the default SNMP version with Read only community.
Configure IP SLA on switches ASW1, ASW2, CSW1, and CSW2. Configure ICMP probes
for the IP SLA between switches ASW1 and CSW1. Switch ASW1 should probe switches
CSW1 and CSW1 should probe switch ASW1.
Configure ICMP probes for the IP SLA between switch ASW2 and CSW2. Switch ASW2
should probe switch CSW2, and switch CSW2 should probe switch ASW2.
Lab Guide
227
Devices Information
The table provides information about SNMP, Syslog and IP SLA:
Device name
Send to
Syslog?
Syslog
server
Send to
SNMP
server?
SNMP
server
IP SLA to
ASW1
Yes
CLT1
Yes
CLT1
CSW1
ASW2
Yes
CLT2
Yes
CLT2
CSW2
DSW1
Yes
CLT1
Yes
CLT1
DSW2
Yes
CLT2
Yes
CLT2
CSW1
Yes
CLT1
Yes
CLT1
ASW1
CSW2
Yes
CLT2
Yes
CLT2
ASW2
R1
Yes
CLT1
Yes
CLT1
R2
Yes
CLT2
Yes
CLT2
Network Diagram
228
SWITCH v1.048
Command List
The table describes the commands that are used in this activity.
Command
Description
frequency seconds
Lab Guide
229
Command
Description
ip sla operation-number
logging host
230
Command
Description
logging synchronous
[level [severity-level |
all] | limit number-ofbuffers]
no logging console
show snmp
snmp-server community
string [view view-name]
[ro | rw] [access-listnumber]
snmp-server engineID
{local engineid-string |
remote ip-address [udpport port-number]
engineid-string}
Lab Guide
231
Command
Description
snmp-server group
groupname {v1 | v2c | v3
{auth | noauth | priv}}
[read readview] [write
writeview] [notify
notifyview] [access
access-list]
232
Enable the switch to send traps or informs and specify the type
of notifications to be sent.
Command
Description
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Task 4
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
233
234
Information Source
Device
Implementation order
Lab Guide
235
236
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
237
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
238
Lab Guide
239
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
240
Lab Guide
241
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
Syslog server
SNMP
IP SLA
IP SLA
Verification
Device
242
Hint
Information Source
ASW1
Syslog server
ASW1
SNMP
ASW1
IP SLA
ASW2
Syslog server
ASW2
SNMP
ASW2
IP SLA
DSW1
Syslog server
DSW1
SNMP
DSW2
Syslog server
DSW2
SNMP
CSW1
Syslog server
CSW1
SNMP
CSW1
IP SLA
CSW2
Syslog server
CSW2
SNMP
CSW2
IP SLA
R1
Syslog server
R1
SNMP
R2
Syslog server
R2
SNMP
Lab Guide
243
Complete
244
Device
Implementation
order
ASW1
Logging on
Show logging.
ASW1
Logging 10.1.3.50
Show logging.
ASW1
Logging traps
informational
Show logging.
ASW2
Logging on
Show logging.
ASW2
Logging 10.1.4.100
Show logging
ASW2
Logging traps
informational
Show logging.
DSW1
Logging on
Show logging.
DSW1
Logging 10.1.3.50
Show logging.
DSW1
Logging traps
informational
Show logging.
DSW2
10
Logging on
Show logging.
DSW2
11
Logging 10.1.4.100
Show logging.
DSW2
12
Logging traps
informational
Show logging.
CSW1
13
Logging on
Show logging.
CSW1
14
Logging 10.1.3.50
Show logging.
CSW1
15
Logging traps
informational
Show logging.
CSW2
16
Logging on
Show logging.
CSW2
17
Logging 10.1.4.100
Show logging.
CSW2
18
Logging traps
informational
Show logging.
ASW1
19
snmp-server enable
traps errdisable
Show snmp.
ASW1
20
snmp-server enable
traps config
Show snmp.
ASW1
21
snmp-server enable
traps vlan-membership
Show snmp.
ASW1
23
snmp-server community
ciscor ro
Show snmp.
ASW1
24
snmp-server host
10.1.3.50 traps ciscor
Show snmp.
ASW2
25
snmp-server enable
traps errdisable
Show snmp.
ASW2
26
snmp-server enable
traps config
Show snmp.
ASW2
27
snmp-server enable
traps vlan-membership
Show snmp..
ASW2
28
snmp-server community
ciscor ro
Show snmp.
Complete
Device
Implementation
order
ASW2
29
snmp-server host
10.1.4.100 traps ciscor
Show snmp.
30
snmp-server enable
traps errdisable
Show snmp.
31
snmp-server enable
traps config
Show snmp.
32
snmp-server enable
traps vlan-membership
Show snmp.
33
snmp-server community
ciscor ro
Show snmp.
34
snmp-server host
10.1.3.50 traps ciscor
Show snmp.
35
snmp-server enable
traps errdisable
Show snmp.
36
snmp-server enable
traps config
Show snmp.
37
snmp-server enable
traps vlan-membership
Show snmp.
38
snmp-server community
ciscor ro
Show snmp.
39
snmp-server host
10.1.4.100 traps ciscor
Show snmp.
40
snmp-server enable
traps errdisable
Show snmp.
41
snmp-server enable
traps config
Show snmp.
42
snmp-server enable
traps vlan-membership
Show snmp.
43
snmp-server community
ciscor ro
Show snmp.
44
snmp-server host
10.1.3.50 traps ciscor
Show snmp.
45
snmp-server enable
traps errdisable
Show snmp.
46
snmp-server enable
traps config
Show snmp.
47
snmp-server enable
traps vlan-membership
Show snmp.
48
snmp-server community
ciscor ro
Show snmp.
49
snmp-server host
10.1.4.100 traps ciscor
Show snmp.
50
snmp-server enable
traps config
Show snmp.
51
snmp-server community
ciscor ro
Show snmp.
DSW1
DSW1
DSW1
DSW1
DSW1
DSW2
DSW2
DSW2
DSW2
DSW2
CSW1
CSW1
CSW1
CSW1
CSW1
CSW2
CSW2
CSW2
CSW2
CSW2
R1
R1
Lab Guide
245
Complete
Device
Implementation
order
52
snmp-server host
10.1.3.50 traps ciscor
Show snmp.
53
snmp-server enable
traps config
Show snmp.
54
snmp-server community
ciscor ro
Show snmp.
55
snmp-server host
10.1.4.100 traps ciscor
Show snmp.
ASW1
56
Ip sla 1
ASW1
57
Icmp-echo 10.1.253.1
ASW1
58
ASW2
59
Ip sla 1
ASW2
60
Icmp-echo 10.1.253.7
ASW2
61
CSW1
62
Ip sla 1
CSW1
63
Icmp-echo 10.1.3.1
CSW1
64
CSW2
65
Ip sla 1
CSW2
66
Icmp-echo 10.1.4.2
CSW2
67
R1
R2
R2
R2
246
Step-by-Step Procedure
Step 1
Connect to ASW1 switch interface in configuration mode
Step 2
Step 3
Repeat steps 1 and 2 on switches ASW2, DSW1, DSW2, CSW1, CSW2,and routers R1 and R2.
Verify syslog server configuration, for example on DSW1:
DSW1#show logging
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0
flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
Lab Guide
247
Step 5
Repeat step 4 on switches ASW2, DSW1, DSW2, CSW1, and CSW2. On routers R1 and R2, repeat
step 4 without errdisable and without vlan-membership. Verify the snmp configuration, for
example on CSW1:
CSW1#show snmp
Chassis: FDO1310X136
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
5 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
5 Trap PDUs
SNMP global trap: disabled
SNMP logging: enabled
Logging to 10.1.3.51.162, 0/10, 5 sent, 0 dropped.
SNMP agent enabled
Step 6
Step 7
Repeat step 6 on switches CSW1, ASW2, and CSW2. Verify that the IP SLA test is running:
CSW1#show ip sla statistics
Index 1
Round Trip Time (RTT) for
Latest RTT: 1 ms
Latest operation start time: *22:24:34.231 eastern Fri Mar 5 1993
Latest operation return code: OK
Number of successes: 290
Number of failures: 0
Operation time to live: Forever
248
Activity Objective
The Cisco account manager for your company has become a friend of yours. Once, while
having a friendly chat with him and an engineer from Cisco, the engineer mentioned the need
for a network to have a redundancy mechanism implemented. You like the idea as you do not
want to take unnecessary risks. You dig deep into the documentation and find out about the
existence of a protocol called Hot Standby Router Protocol (HSRP). After an informal
discussion with your IT manager, he gives a green light to proceed with the project, but asks
you to demonstrate HSRP step by step, to understand how it really works and what the various
features are. As you leave him, you realize the need to create a design, implementation plan,
and perform the reconfiguration. Once the design is complete, you will connect to your remote
lab to implement your solution. After completing this activity, you will be able to meet these
objectives:
Lab Guide
249
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to configure HSRP in your network. The following lists details preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
250
You must implement two HSRP solutions: one offering first hop redundancy for client
CLT1 in VLAN 3, and one offering first hop redundancy for client CLT2 in VLAN 4.
For both cases, switches DSW1 and DSW2 will be the default gateways for the clients.
Switch DSW1 will be the primary HSRP router on VLAN3 and secondary HSRP router on
VLAN4.
Switch DSW2 will be the primary HSRP router on VLAN4 and secondary HSRP router on
VLAN3.
Primary HSRP on switch DSW1 will track interfaces Po31 and Po32. The loss of
connectivity to these interfaces will decrement the priority of switch DSW1 by 30.
Primary HSRP on switch DSW2 will track interfaces Po31 and Po32. The loss of
connectivity to these interfaces will decrement the priority of switch DSW1 by 30.
Preempt should be configured so that each Layer 3 switch tries to become primary
whenever possible.
Once this has been tested, implement the preempt feature. Test.
Devices Information
The table provides information about IP addresses:
Device name
HSRP
IP address
VLAN 3
IP address
VLAN 4
HSRP IP address
ASW1
No
ASW2
No
DSW1
Yes
10.1.3.3
10.1.4.3
10.1.3.1
DSW2
Yes
10.1.3.2
10.1.4.2
10.1.4.1
CSW1
No
CSW2
No
R1
No
R2
No
Network Diagram
SWITCH v1.049
Lab Guide
251
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
interface interface-id
standby version {1 | 2}
standby [group-number] ip
[ip-address [secondary]]
standby [group-number]
priority priority
[preempt [delay delay]]
standby [group-number]
track type number
[interface-priority]
1 Select HSRPv1.
2 Select HSRPv2.
Creates (or enables) the HSRP group using its number and
virtual IP address.
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Task 4
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
253
254
Information Source
Device
Implemen
-tation
order
Lab Guide
255
Complete
256
Device
Implemen
-tation
order
Start by implementing HSRP in both VLANs, without preempt, without tracking, and
without priority. Test by shutting down the link to the primary HSRP router, then reenabling the link.
Once you have tested this, implement the preempt feature. Test.
Once your solution is implemented, verify your configuration is working and fulfills the
requirements specified. Use the previous table to document the verifications you conducted to
ensure that your solution is complete. Hints are available at the end of this lab if you are unsure
about the verification steps.
Lab Guide
257
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
258
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
259
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
261
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
Hint
DSW1
HSRP
DSW2
HSRP
Device
Information Source
DSW1
DSW2
Lab Guide
263
Device
Implementatio
n order
DSW1
interface vlan 3
ip address 10.1.3.3
255.255.255.0
DSW1
standby 3 ip 10.1.3.1
DSW1
DSW1
standby 3 preempt
DSW1
DSW1
interface vlan 4
DSW1
ip address 10.1.4.3
255.255.255.0
DSW1
DSW1
DSW1
10
standby 4 ip 10.1.4.1
DSW1
11
standby 4 preempt
DSW2
12
interface vlan 3
DSW2
13
standby 3 ip 10.1.3.1
DSW2
14
standby 3 preempt
DSW2
15
interface vlan 4
DSW2
16
standby 4 ip 10.1.4.1
DSW2
17
DSW2
18
standby 4 preempt
19
20
DSW2
DSW2
Show standby.
Show standby.
Show standby.
Show standby.
Step-by-Step Procedure
Step 1
Connect to switch DSW1 switch interface in configuration mode
264
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Lab Guide
265
Activity Objective
In the previous labs, you designed and implemented a redundant network for its core layer. As
you analyze the network, you notice that the two routers in your aggregation layer are not in a
redundant mode of operation, which may lead to unexpected problems. To prevent any future
connectivity issue, you decide to implement the Virtual Router Redundancy Protocol (VRRP),
a standardized solution supported by your Cisco equipment, into your network. You have to
prepare an implementation plan, make the needed configuration changes, and test according to
a verification plan. After completing this activity, you will be able to meet these objectives:
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to configure VRRP in your network. The following lists details preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
266
Configure switch CSW1 so that its interfaces to routers R1 and R2 are set to access mode
in VLAN10.
Configure switch CSW2 so that its interfaces to routers R1 and R2 are set to access mode
in VLAN20.
Router R1 interface Fa0/0 will be in VRRP group 1 and Fa0/1 will be in VRRP group 2.
Router R2 interface Fa0/0 will be in VRRP group 2 and Fa0/1 will be in VRRP group 1.
Devices Information
The table provides information about IP addresses. All masks are /29:
Device
name
IP address
VLAN 10
IP address
VLAN 20
IP address
Fa0/0
VRRP IP
address Fa0/0
IP address
Fa0/1
VRRP IP
address Fa0/1
ASW1
ASW2
DSW1
DSW2
CSW1
10.1.253.25
CSW2
10.1.253.33
R1
10.1.253.27
10.1.253.30
10.1.253.36
10.1.253.34
R2
10.1.253.35
10.1.253.34
10.1.253.26
10.1.253.30
Network Diagram
SWITCH v1.050
Lab Guide
267
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
ip address ip-address
mask
Job Aids
These are the job aids for this lab activity:
268
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Information Source
Lab Guide
269
270
Device
Implemen
-tation
order
Lab Guide
271
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
272
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
273
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
275
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
Hint
CSW1
Access ports
CSW1
SVI
CSW2
Access ports
CSW2
SVI
R1
VRRP
R2
VRRP
Device
Information Source
CSW1
Access ports
CSW1
SVI
CSW2
Access ports
CSW2
SVI
R1
VRRP
R2
VRRP
Lab Guide
277
Device
Implemen
-tation
order
CSW1
CSW1
switchport
CSW1
CSW1
CSW1
interface Vlan10
CSW1
Show vlan.
Show interface
vlan10.
CSW2
CSW2
switchport
CSW2
CSW2
10
CSW2
11
interface Vlan20
12
R1
13
interface FastEthernet0/0
R1
14
R1
15
vrrp 1 ip 10.1.253.30
R1
16
Show vrrp.
R1
17
interface FastEthernet0/1
Show interface
fa0/1.
R1
18
R1
19
vrrp 2 ip 10.1.253.34
Show vrrp.
23
interface FastEthernet0/0
Show interface
fa0/0.
R2
24
R2
25
vrrp 2 ip 10.1.253.34
R2
26
R2
27
interface FastEthernet0/1
CSW2
R2
R2
R2
278
Verification
method and
expected
results
28
29
Show vlan.
Show interface
vlan20.
Show interface
fa0/0.
Show vrrp.
Show interface
fa0/1.
vrrp 2 ip 10.1.253.34
Show vrrp.
Step-by-Step Procedure
Step 1
Connect to switch CSW1 switch interface in configuration mode
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Repeat steps from 5 to 6 on router R2. Verify VRRP configuration and priorities, for example
on R2:
R2#show vrrp
FastEthernet0/0 - Group 2
State is Master
Virtual IP address is 10.1.253.34
Virtual MAC address is 0000.5e00.0102
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 120
Master Router is 10.1.253.35 (local), priority is 120
Master Advertisement interval is 1.000 sec
Master Down interval is 3.414 sec
FastEthernet0/1 - Group 1
State is Backup
Virtual IP address is 10.1.253.30
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Master Router is 10.1.253.27, priority is 120
Master Advertisement interval is 1.000 sec
Master Down interval is 3.414 sec
Lab Guide
279
Activity Objective
In a meeting with the IT manager, you discussed the current status of the corporate network and
its future development. You have agreed that you currently have a very good network
infrastructure, but you lack mechanisms to protect your client PCs. You agreed to analyze your
security needs and risks in front of the network. As a first step, you must implement the
required set of port-based security measures. The second important step is to manage the
network traffic with VLAN access-lists. You have taken care of end-user security, now you
think of how to protect the operation of your Spanning Tree Protocol (STP). When protected,
the STP is a stable operation, reducing the risks of unwanted topology changes. As you
analyzed the corporate network and its services, you find that one of your major services
running is the DHCP service. As all the end users rely on DHCP to acquire IP addresses and
network settings, you decide to secure the DHCP service operation in your network. Also, since
you are afraid of possible ARP table exploits, you must take care of this.
After completing this activity, you will be able to meet these objectives:
280
Identify possible threats, points of attack, and vulnerability points in the network.
Write a plan to test and verify security threat mitigation measures for VLANs.
Document the switch and VLAN security plan, settings, operations, and maintenance.
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to configure security in your network. The following list details the preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
Port security should be configured on ASW1 and ASW2 ports to client PC ports (to clients
CLT1 and CLT2 respectively). Port security should be configured to limit the maximum
MAC addresses on a port to 1.
Port security on ASW1 and ASW2 should dynamically learn MAC address. Violation
should set the port to err-disable and send a trap.
Use VACLs on switches DSW1 and DSW2 to ban clients PC1 and PC2 from performing
telnet sessions to any destination, but permit any other traffic.
Protect the root bridge switches from other switches becoming roots.
Globally protect the access ports on all switches from receiving bridge protocol data units
(BPDUs) through the use of. Use BPDU guard.
Protect the DHCP service with DHCP snooping on the ASW switches.
Network Diagram
SWITCH v1.051
Lab Guide
281
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
282
Command
Description
access-list access-listnumber
source source-wildcard
destination destinationwildcard [precedence
precedence] [tos tos]
[fragments] [log] [loginput] [time-range timerange-name] [dscp dscp]
ip access-list standard
name
Lab Guide
283
Command
Description
or
permit {source [sourcewildcard] | host source |
any} [log]
ip access-list extended
name
284
Command
Description
show port-security
spanning-tree portfast
bpduguard default
spanning-tree guard root
spanning-tree loopguard
default
Lab Guide
285
Command
Description
switchport port-security
[violation {protect |
restrict | shutdown |
shutdown vlan}]
switchport port-security
[mac-address mac-address
[vlan {vlan-id | {access
| voice}}]
switchport port-security
mac-address sticky
286
Command
Description
switchport port-security
mac-address sticky [macaddress | vlan {vlan-id |
{access | voice}}]
(Optional) Sets the action for the map entry. The default is to
forward.
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
287
288
Information Source
Device
Implementation
order
Lab Guide
289
290
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
291
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
292
Lab Guide
293
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
294
Lab Guide
295
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Lab 7-1 Hint Sheet: Secure Network Switches to Mitigate Security Attacks
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
296
Device
Implementation Requirement
Hint
ASW1
Port security
ASW2
Port security
DSW1
VACL
DSW2
VACL
DSW1
Root guard
DSW2
Root guard
ASW1
ASW2
DSW1
DSW2
ASW1
Loop guard
ASW2
Loop guard
DSW1
Loop guard
DSW2
Loop guard
ASW1
DHCP snooping
ASW2
DHCP snooping
DSW1
ARP snooping
DSW2
ARP snooping
Device
Information Source
ASW1
Port security
ASW2
Port security
DSW1
VACL
DSW2
VACL
DSW1
Root guard
DSW2
Root guard
ASW1
ASW2
DSW1
DSW2
ASW1
Loop guard
ASW2
Loop guard
DSW1
Loop guard
DSW2
Loop guard
ASW1
DHCP snooping
ASW2
DHCP snooping
DSW1
ARP snooping
DSW2
ARP snooping
Lab Guide
297
298
Device
Implementation
order
ASW1
ASW1
interface FastEthernet0/3
ASW1
switchport port-security
ASW1
ASW1
ASW2
interface FastEthernet0/3
ASW2
switchport port-security
ASW2
DSW1
DSW1
10
Verification method
and expected results
DSW1
11
DSW1
12
action drop
DSW1
13
DSW1
14
DSW1
15
action forward
DSW1
16
DSW2
17
DSW2
18
DSW2
19
DSW2
20
action drop
DSW2
21
DSW2
22
DSW2
23
action forward
DSW2
24
show port-security
interface fastEthernet
0/3
show port-security
interface fastEthernet
0/3
show access-list
show access-list
Complete
Device
Implementation
order
DSW1
25
DSW1
26
DSW2
27
DSW2
28
ASW1
29
ASW2
30
DSW1
31
DSW2
32
ASW1
33
ASW2
34
DSW1
35
DSW2
36
ASW1
37
ip dhcp snooping
ASW1
38
ASW1
39
ASW1
40
ASW2
41
ip dhcp snooping
ASW2
42
ASW2
43
ASW2
44
DSW1
45
DSW2
46
DSW1
47
DSW1
48
DSW2
49
DSW2
50
Verification method
and expected results
Lab Guide
299
Step-by-Step Procedure
Step 1
Connect to switch ASW1 switch interface in configuration mode:
Step 2
Step 3
Step 4
300
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Trusted
------yes
yes
Step 11
Step 12
Lab Guide
301
Vlan
---1
2
3
4
5
6
7
8
9
10
11
12
Configuration
------------Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Enabled
Vlan
Configuration
---------------/ (long output ommited)
Vlan
Dest MAC Failures
-------------------4088
0
4089
0
4090
0
4091
0
4092
0
4093
0
4094
0
Step 13
302
Operation
--------Active
Inactive
Active
Active
Inactive
Inactive
Inactive
Inactive
Inactive
Inactive
Active
Active
ACL Match
---------
Static ACL
----------
Operation
---------
ACL Match
---------
Static ACL
----------
IP Validation Failures
---------------------0
0
0
0
0
0
0
Activity Objective
You receive information from the IT manager that a VoIP solution is expected to be
implemented in a near future. Your task is to make the needed changes and prepare the network
for the future project in such a way that it will work without interruption. An email from the
voice consultant informs you that the voice part of the implementation will be externalized. A
list of the planned voice equipment is attached. Your assignment is to prepare the wired
infrastructure for this addition. You will have to design the voice VLANs, Auto QoS, DHCP
and High availability features for to prepare the network. Your first task is to analyze the
information and make a plan for the needed steps to prepare the network for the implementation
of the voice solution.
After completing this activity, you will be able to meet these objectives:
Lab Guide
303
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to integrate voice in your network. The following lists details preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
304
IP phones will be connected to switches ASW1 and ASW2. Refer to the Device
Information table and configure each port accordingly.
For every switch port connecting an IP phone, you have to allow the Voice VLAN (VLAN
63 on switch ASW1 and VLAN 64 on switch ASW2) and a data VLAN (VLAN 3 on
switch ASW1 and VLAN 4 on switch ASW2).
Cisco Unified Call Manager Express units (CMEs) will be connected to switches DSW1
and DSW2 as per the Devices Information section information.
The CME on switch DSW1 must be in Voice VLAN 63, the CME on switch DSW2 must
be in Voice VLAN 64.
HSRP on switches DSW1 and DSW2 for Voice VLAN (VLAN 63 and VLAN 64) should
be configured. Switch DSW1 should be the primary gateway with a priority of 120. Both
switches DSW1 and DSW2 should preempt. Both switches DSW1 and DSW2 should track
their links to switches CSW1 and CSW2. Loss of connectivity to either Core switch should
decrease the priority by 30.
Switches DSW1 and DSW2 should be DHCP servers for Voice VLAN (VLAN 63 and
VLAN 64). For each Voice VLAN, DSW1 will distribute addresses .50 to .99, and switch
DSW2 will distribute addresses .100 to .149.
You should configure option 150 in each DHCP scope and point VLAN 63 DHCP clients
to CME1 IP address, and VLAN 64 DHCP clients to CME2 IP address. Make sure that
both CME IP addresses are excluded from the DHCP scopes.
Verify that routing is properly configured to allow communication between these various
VLANs.
You should configure Auto QoS on access ports to IP phones, trunk ports between
switches, and access ports to CMEs.
Class of service (CoS) values sent by IP phones and PCs connected to them should be
trusted.
Power adapters were ordered along with the phones. Some Power over Ethernet (PoE)
switches will be added to your network at a later date. Use the Task 2 section to make sure
that you know how to plan and configure PoE to support IP phones where needed.
Devices Information
The table provides information about device locations:
Device
Role
IP address
Network location
IP phone 1
IP phone
DHCP assigned
ASW1 P4
IP phone 2
IP phone
DHCP assigned
ASW1 P5
IP phone 3
IP phone
DHCP assigned
ASW2 P4
IP phone 4
IP phone
DHCP assigned
ASW2 P5
CME 1
10.1.63.11/24
DSW1 P6
CME 2
10.1.64.12/24
DSW2 P6
Network Diagram
SWITCH v1.052
Lab Guide
305
Command List
The table describes the commands that are used in this activity.
Command
Description
cdp enable
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
ip helper-address address
Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
306
default-router ip-address
Command
Description
switchport priority
extend
{cos value | trust}
show interfaces
interface-id switchport
Sets the priority of data traffic received from the Cisco IP Phone
access port:
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
307
308
Information Source
Device
Implementatio
n order
Lab Guide
309
Complete
310
Device
Implementatio
n order
PoE configuration: PoE switches will be added later to your network. Answer the following
questions:
1. How will the phones be powered?
________________________________________________________________________
________________________________________________________________________
2.
3.
Are all PoE devices equal (requiring the same power from the PoE switch)?
________________________________________________________________________
________________________________________________________________________
Lab Guide
311
312
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
313
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
314
Lab Guide
315
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
316
Lab Guide
317
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
Lab 8-1 Hint Sheet: Plan Implementation and Verification of VoIP in a Campus
Network
Implementation Requirements
To facilitate the configuration of your network, the first task asks you to create an
Implementation Requirements list. The list details the elements needed to develop an
implementation plan. The following is an example of such a list:
318
Device
Implementation Requirement
ASW1
IP Phone 1
ASW1
IP Phone 2
ASW2
IP Phone 3
ASW2
IP Phone 4
DSW1
CME 1
DSW1
HSRP
DSW1
DHCP
DSW2
HSRP
DSW2
CME 2
DSW2
DHCP
All switches
Auto QoS
Hint
Device
Information Source
ASW1
IP Phone 1
ASW1
IP Phone 2
ASW2
IP Phone 3
ASW2
IP Phone 4
DSW1
CME 1
DSW2
CME 2
DSW1
HSRP
DSW2
HSRP
DSW1
DHCP
DSW2
DHCP
All
switches
Auto QoS
Lab Guide
319
Device
Implementation
order
interface range
FastEthernet0/14-15
ASW1
ASW1
ASW1
ASW1
ASW1
ASW1
sh interface
Fa0/14
interface range
FastEthernet0/14-15
ASW2
ASW2
10
ASW2
11
12
13
14
sh interface
Fa0/14
15
ASW1
ASW1
ASW2
ASW2
ASW2
ASW2
ASW2
320
Verification method
and expected results
Complete
Device
Implementation
order
16
Interface Fastethernet
0/15
DSW1
17
DSW1
18
19
Interface Fastethernet
0/15
DSW2
20
DSW2
21
DSW1
22
Ip dhcp excluded-address
10.1.63.1 10.1.63.49
DSW1
23
Ip dhcp excluded-address
10.1.63.100 10.1.63.255
DSW1
24
Ip dhcp excluded-address
10.1.64.1 10.1.64.49
DSW1
25
Ip dhcp excluded-address
10.1.64.100 10.1.64.255
DSW1
26
27
network 10.1.63.0
255.255.255.0
28
default-router 10.1.63.1
29
30
lease 8
31
32
network 10.1.64.0
255.255.255.0
33
default-router 10.1.64.1
34
35
lease 8
DSW1
DSW2
DSW1
DSW1
DSW1
DSW1
DSW1
DSW1
DSW1
DSW1
DSW1
Verification method
and expected results
show ip dhcp
pool
show ip dhcp
pool
Lab Guide
321
Complete
Device
Implementation
order
DSW2
36
Ip dhcp excluded-address
10.1.63.1 10.1.63.99
DSW2
37
Ip dhcp excluded-address
10.1.63.150 10.1.63.255
DSW2
38
Ip dhcp excluded-address
10.1.64.1 10.1.64.99
DSW2
39
Ip dhcp excluded-address
10.1.64.150 10.1.64.255
DSW2
40
41
network 10.1.63.0
255.255.255.0
42
default-router 10.1.63.1
43
44
lease 8
45
46
network 10.1.64.0
255.255.255.0
47
default-router 10.1.64.1
48
49
lease 8
50
interface Vlan 63
51
ip address 10.1.63.3
255.255.255.0
DSW1
52
standby 63 ip 10.1.63.1
DSW1
53
DSW1
54
standby 63 preempt
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
DSW1
DSW1
322
Verification method
and expected results
show ip dhcp
pool
show ip dhcp
pool
sh interface
Vlan 63 / show
ip interface
brief
Complete
Device
Implementation
order
55
56
57
interface Vlan 64
58
ip address 10.1.64.3
255.255.255.0
DSW1
59
standby 64 ip 10.1.64.1
DSW1
60
standby 64 priority 90
DSW1
61
standby 64 preempt
62
63
64
interface Vlan 63
65
ip address 10.1.63.2
255.255.255.0
66
standby 63 ip 10.1.63.1
67
68
69
standby 63 preempt
sh stanby
70
interface Vlan 64
Sh interface
vlan 64 / show
ip interface
brief
DSW1
DSW1
DSW1
DSW1
DSW1
DSW1
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
DSW2
Verification method
and expected results
sh stanby
sh interfave
vlan 64 / show
ip interface
brief
sh interface
Vlan 63 / show
ip interface
brief
Lab Guide
323
Complete
Device
Implementation
order
71
ip address 10.1.64.3
255.255.255.0
DSW2
72
standby 64 ip 10.1.64.1
DSW2
73
74
75
DSW2
76
Standby 64 preempt
ASW1
77
interface range
FastEthernet0/1-2
ASW1
78
ASW2
79
interface range
FastEthernet0/1-2
ASW2
80
81
interface range
FastEthernet0/1-7 ,
FastEthernet0/15
82
83
interface range
FastEthernet0/1-7 ,
FastEthernet0/15
84
85
interface range
FastEthernet0/1-4 ,
FastEthernet0/7-12
86
87
interface range
FastEthernet0/1-4 ,
FastEthernet0/7-12
88
DSW2
DSW2
DSW2
DSW1
DSW1
DSW2
DSW2
CSW1
CSW1
CSW2
CSW2
324
Verification method
and expected results
Sh standby
PoE configuration:
1. How will the phones be powered?
With AC power cords at first, PoE will be needed later.
2. Are all PoE switches the same?
No. Some provide standard PoE, some High Power, some only have power for a
number of ports etc, negotiation can take place or not, there are many differences
between models.
3. Are all PoE devices equal (requiring the same power from the PoE switch)?
No. Some use less power, some use MORE, some can negotiate.
4. Are other PoE devices likely to be installed in the network?
Very likely, many devices use PoE, although the list is not clearly stated in this lab.
IP Phones use standard PoE. To enable this feature for example on interface f0/1, use the
command sequence:
Switch(config)# interface FastEthernet0/1
Switch(config-if)# power inline auto
Lab Guide
325
Step-by-Step Procedure
Step 1
Connect to ASW1 switch interface in configuration mode
Step 2
Step 3
Step 4
Step 5
Step 6
Configure DHCP pool for Voice VLAN 63 and VLAN 64 on switch DSW1:
DSW1(config)# ip dhcp excluded-address 10.1.63.1 10.1.63.49
DSW1(config)# ip dhcp excluded-address 10.1.63.100 10.1.63.255
DSW1(config)# ip dhcp pool vlan63
DSW1(dhcp-config)# network 10.1.63.0 255.255.255.0
DSW1(dhcp-config)# default-router 10.1.63.1
DSW1(dhcp-config)# option 150 ip 10.1.63.11 10.1.64.12
DSW1(dhcp-config)# lease 8
DSW1(config)# ip dhcp excluded-address 10.1.641 10.1.64.49
DSW1(config)# ip dhcp excluded-address 10.1.64.100 10.1.64.255
DSW1(config)# ip dhcp pool vlan64
DSW1(dhcp-config)# network 10.1.64.0 255.255.255.0
DSW1(dhcp-config)# default-router 10.1.64.1
DSW1(dhcp-config)# option 150 ip 10.1.63.11 10.1.64.12
DSW1(dhcp-config)# lease 8
Step 7
326
Step 8
Step 9
Step 10
Step 11
Lab Guide
327
Step 12
Step 13
Step 14
Step 15
328
Activity Objective
During a daily morning meeting, your IT manager informed you that, after voice, wireless
capabilities should be added to the existing network. You must prepare the switched network
for a wireless integration that will take place next month. An email from the wireless consultant
informs you that the wireless part of the implementation will be externalized. A list of the
planned wireless equipment is attached. Your assignment is to prepare the wired infrastructure
for this wireless addition. Your first task is to analyze the information and make a plan for the
needed steps to prepare the network for the implementation of the wireless solution.
After completing this activity, you will be able to meet these objectives:
Lab Guide
329
Information Packet
This packet contains the information needed to accomplish in this activity. Read it carefully.
The Information Packet describes the requirements common to all devices in the network,
along with information specific to each device.
Implementation Policy
You have to integrate wireless in your network. The following lists details preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
330
Several standard Cisco 1240 series access points will be connected to ASW1 and ASW2.
Refer to the Device Information table and configure each port accordingly.
WCS and WLC will be connected to DSW1 and DSW2 per the Devices Information
section.
For the autonomous AP on ASW1, allow the voice VLAN (VLAN 63) and data VLAN
(VLAN 3). For the autonomous AP on ASW2, you have to allow the voice VLAN (VLAN
64) and data VLAN (VLAN 4).
One Hybrid Remote Edge Access Point (HREAP) must be connected to each access switch.
HREAP are specific types of controller based access points. HREAP on ASW1 has to
service the voice VLAN (VLAN 63) and data VLAN (VLAN 3). HREAP on ASW2 has to
service the voice VLAN (VLAN 64) and data VLAN (VLAN 4). The configuration of the
switch port to the HREAP AP is similar to the configuration of a port to an autonomous
AP.
The Lightweight AP (LAP) on ASW1 must be in the AP VLAN (VLAN 11). The
Lightweight AP (LAP) on ASW2 must be in the AP VLAN (VLAN 12). Ports to these APs
should be in forward state as soon as the AP is switched on.
The Wireless Control System on DSW1 must be in the VLAN 3, the Wireless Control
System on DSW2 must be in the VLAN 4.
The WLC 2106 will be connected with one port in a trunk mode, with all VLANs (wired
and wireless) allowed on the trunk. Ports to the 2106s should be in forward state as soon as
the controller is switched on, even if the port is a trunk.
On ports to the LAPs and on ports to the WLCs, apply the appropriate QoS policy.
In the future, 1250 802.11n access points will be added to your network. These access
points need enhanced PoE. Use task 2 section to make sure that you know how to configure
802.3at to support these access points where needed. The first series of access points to be
installed will use AC power adapters.
Devices Information
The table provides information about device locations:
Device
Role
Network location
AP1
Autonomous AP
ASW1 P4
AP2
HREAP
ASW1 P5
AP3
Lightweight AP
ASW1 P6
AP4
Autonomous AP
ASW2 P4
AP5
HREAP
ASW2 P5
AP6
Lightweight AP
ASW2 P6
WLC1
DSW1 P7
WCS1
DSW1 P6
WLC2
DSW2 P7
WCS2
DSW2 P6
Network Diagram
SWITCH v1.053
Lab Guide
331
Command List
The table describes the commands that are used in this activity.
332
Command
Description
interface fastethernet |
gigabitethernet slot/port
interface range
fastethernet |
gigabitethernet
slot/starting_port ending_port
name vlan-name
show vlan
shutdown/no shutdown
switchport nonegotiate
switchport trunk
encapsulation dot1q
vlan vlan-id
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Lab Guide
333
334
Information Source
Device
Implementation
order
Lab Guide
335
Complete
336
Device
Implementation
order
Enhanced PoE configuration: Later on, 1250 APs and Enhanced PoE (802.3at) switches will be
added to your network.
Answer the following questions:
1. How will the first APs be powered?
__________________________________________________________________________
__________________________________________________________________________
2. Can you use the same PoE switch for both the first APs and the future 1250 APs?
__________________________________________________________________________
__________________________________________________________________________
3. Can the 1250 APs be powered from a standard 802.3af switch or do they need a special
switch?
__________________________________________________________________________
__________________________________________________________________________
4. Document the steps required to configure PoE on switch ports to these access points:
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
337
338
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
339
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
340
Lab Guide
341
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
342
Lab Guide
343
Hints
You are encouraged to complete the labs using your knowledge. If you need a tip, this section
contains a series of hints to help you complete the lab.
344
Device
Implementation Requirement
Hint
ASW1
AP1
ASW1
AP2
ASW1
AP3
ASW2
AP4
ASW2
AP5
ASW2
AP6
DSW1
WLC1
DSW1
WCS1
DSW2
WLC2
DSW2
WCS2
Device
Information Source
ASW1
AP2
ASW1
AP3
ASW2
AP4
ASW2
AP5
ASW2
AP6
DSW1
WLC1
DSW1
WCS1
DSW2
WLC2
DSW2
WCS2
Device
Implement
ation order
ASW1
interface FastEthernet0/11
ASW1
sh interface
Fa0/11 trunk
ASW1
ASW1
ASW1
interface FastEthernet0/12
ASW1
ASW1
ASW1
interface FastEthernet0/13
ASW1
ASW1
10
ASW1
11
spanning-tree portfast
ASW1
12
ASW2
13
interface FastEthernet0/11
ASW2
14
15
ASW2
16
ASW2
17
interface FastEthernet0/12
ASW2
18
19
ASW1
ASW2
ASW2
Verification
method and
expected results
sh interface
Fa0/12 trunk
show vlan
sh interface
Fa0/11 trunk
sh interface
Fa0/12 trunk
Lab Guide
345
Complete
Device
Implement
ation order
ASW2
20
ASW2
21
vlan 12
ASW2
22
interface FastEthernet0/13
ASW2
23
ASW2
24
ASW2
25
spanning-tree portfast
ASW2
26
ASW2
27
interface f0/1
ASW2
28
DSW1
29
interface FastEthernet0/11
DSW1
30
DSW1
31
32
DSW1
33
spanning-tree portfast
DSW1
34
DSW1
35
interface FastEthernet0/12
DSW1
36
DSW1
37
DSW2
38
vlan 12
DSW2
39
interface FastEthernet0/11
DSW2
40
DSW2
41
42
43
spanning-tree portfast
DSW1
DSW2
DSW2
346
Verification
method and
expected results
show vlan
sh interface
Fa0/12 trunk
show vlan
sh interface
Fa0/12 trunk
Complete
Device
Implement
ation order
DSW2
44
DSW2
45
interface f0/6
DSW2
46
DSW2
47
interface FastEthernet0/12
DSW2
48
DSW2
49
Verification
method and
expected results
show vlan
Lab Guide
347
Step-by-Step Procedure
Step 1
Connect to ASW1 switch interface in configuration mode
Step 2
Configure AP on ASW1:
ASW1(config)# interface range FastEthernet0/11-12
ASW1(config-if)# switchport mode trunk
ASW1(config-if)# switchport trunk allowed vlan 4,63
ASW1(config-if)# interface f0/11
ASW1(config-if)# mls qos trust cos
ASW1(config-if)# interface f0/12
ASW1(config-if)# mls qos trust dscp
ASW1(config-if)# interface FastEthernet0/13
ASW1(config-if)# switchport mode access
ASW1(config-if)# switchport access vlan 11
ASW1(config-if)# spanning-tree portfast
ASW1(config-if)# mls qos trust dscp
Step 3
Step 4
Step 5
Step 6
348
Ending Configurations
Lab 1-1: New Hire Test
Your configuration should be similar to the following example.
On switch ASW1:
ASW1#show running-config
Building configuration...
Current configuration : 2689 bytes
!
!
version 12.2
service config
no service pad
service timestamps debug datetime localtime
service timestamps log uptime
no service password-encryption
!
hostname ASW1
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
clock timezone eastern -5
system mtu routing 1500
ip subnet-zero
no ip domain-lookup
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
shutdown
!
interface FastEthernet0/4
shutdown
!
/ (output omitted, all subsequent interfaces are shut)
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
shutdown
!
interface GigabitEthernet0/2
shutdown
!
interface Vlan1
ip address 10.1.1.1 255.255.255.0
no ip route-cache
!
!
2009 Cisco Systems, Inc.
Lab Guide
349
ip default-gateway 10.1.1.251
ip http server
ip http secure-server
!
control-plane
!
alias exec init-2-2 configure replace flash:/switch/lab2-2.cfg force
alias exec init-3-2-A configure replace flash:/ switch/lab_3_2_A.cfg force
alias exec init-3-2-B configure replace flash:/switch/lab_3_2_B.cfg force
alias exec init-4-2-A configure replace flash:/switch/lab_4_2_A.cfg force
alias exec init-4-2-B configure replace flash:/switch/lab_4_2_B.cfg force
alias exec init-4-2-C configure replace flash:/switch/lab_4_2_C.cfg force
!
line con 0
logging synchronous
line vty 0 4
password cisco
logging synchronous
login
line vty 5 15
password cisco
login
!
end
The switch automatically generated some of these configuration lines; others were pasted by
your instructor before the beginning of the class. All the items that you configured should be
there.
Other Switches:
Repeat the same process on the other switches, changing the values that are different on each
switch.
350
On switch ASW2:
ASW2#sh run
!
!
interface FastEthernet0/1
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
!
interface FastEthernet0/3
switchport access vlan 4
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 63
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 11
switchport mode access
Lab Guide
351
On switch DSW1:
DSW1#sh run
!
!
interface Port-channel31
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel32
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 31 mode passive
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 31 mode passive
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 32 mode passive
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 32 mode passive
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface FastEthernet0/6
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,11,63,65
switchport mode trunk
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
!
interface FastEthernet0/8
switchport access vlan 65
switchport mode access
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
!
352
On switch DSW2:
DSW2#sh run
!
!
interface Port-channel31
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode passive
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode passive
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 31 mode passive
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 31 mode passive
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface FastEthernet0/6
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,11,63,65
switchport mode trunk
!
interface FastEthernet0/8
switchport access vlan 66
switchport mode access
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
Lab Guide
353
On switch CSW1:
CSW1#sh run
!
interface Port-channel31
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel32
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel33
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 31 mode active
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 31 mode active
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 32 mode active
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 32 mode active
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
shutdown
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 33 mode on
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 33 mode on
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
354
channel-group 33 mode on
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 33 mode on
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/13
shutdown
On switch CSW2:
CSW2#sh run
!
!
interface Port-channel31
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel33
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode active
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode active
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 31 mode active
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
2009 Cisco Systems, Inc.
Lab Guide
355
356
Router R2:
Interface f0/1
Ip address 10.1.51.2 255.255.255.0
No shutdown
Switch CSW1:
Vlan 51,501
!
vlan 501
private-vlan primary
private-vlan association 51
vlan 51
name TestIsolated
private-vlan isolated
!
Interface f0/11
Switchport trunk allowed vlan add 51
!
Interface f0/12
Switchport mode access
Switchport access vlan 51
No shutdown
Lab Guide
357
On switch CSW2:
interface Port-channel32
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
On switch DSW2:
interface Port-channel32
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
On switch CSW2:
interface Port-channel32
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 32 mode on
358
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Desg
Desg
Desg
Desg
Desg
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
MST1
Spanning tree enabled protocol mstp
Root ID
Priority
24577
Address
001f.2721.8680
This bridge is the root
Hello Time
2 sec Max Age 20 sec
Bridge ID
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Desg
Desg
Desg
Desg
Desg
Type
---------------------P2p
P2p
P2p
P2p
P2p
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
Type
-----------------------P2p
P2p
P2p
P2p
P2p
Lab Guide
359
MST2
Spanning tree enabled protocol mstp
Priority
24578
Root ID
Address
001f.2721.8600
Cost
200000
Port
7 (FastEthernet0/5)
Hello Time
2 sec Max Age 20 sec
Bridge ID
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Root
Desg
Desg
Desg
Altn
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
Type
------------------------P2p
P2p
P2p
P2p
P2p
DSW1#
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
360
Role
---Root
Desg
Desg
Altn
Altn
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
Type
-------------------------P2p
P2p
P2p
P2p
P2p
MST1
Spanning tree enabled protocol mstp
Priority
24577
Root ID
Address
001f.2721.8680
Cost
200000
Port
7 (FastEthernet0/5)
Hello Time
2 sec Max Age 20 sec
Bridge ID
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Root
Desg
Desg
Altn
Altn
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
MST2
Spanning tree enabled protocol mstp
Root ID
Priority
24578
Address
001f.2721.8600
This bridge is the root
2 sec Max Age 20 sec
Hello Time
Bridge ID
Priority
Address
Hello Time
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Desg
Desg
Desg
Desg
Desg
Type
------------------------P2p
P2p
P2p
P2p
P2p
Cost
--------200000
200000
200000
100000
100000
Prio.Nbr
-------128.7
128.8
128.9
128.296
128.304
Type
-------------------------P2p
P2p
P2p
P2p
P2p
DSW2#
Lab Guide
361
362
Lab Guide
363
On switch DSW2:
logging 10.1.4.100
logging trap informational
snmp-server community ciscor ro
snmp-server host 10.1.4.100 traps ciscor
snmp-server enable traps config
snmp-server enable traps vlan-membership
snmp-server enable traps errdisable
On switch DSW2:
interface Vlan3
ip address 10.1.3.2 255.255.255.0
standby 3 ip 10.1.3.1
standby 3 preempt
interface Vlan4
ip address 10.1.4.2 255.255.255.0
standby 4 ip 10.1.4.1
standby 4 priority 120
standby 4 preempt
standby 4 track Port-channel31 20
standby 4 track Port-channel32 20
end
364
On switch CSW2:
interface FastEthernet0/11
switchport mode access
switchport access vlan 20
interface FastEthernet0/12
switchport mode access
switchport access vlan 20
interface Vlan20
ip address 10.1.253.33 255.255.255.248
On router R1:
interface FastEthernet0/0
ip address 10.1.253.27 255.255.255.248
duplex auto
speed auto
vrrp 1 ip 10.1.253.30
vrrp 1 priority 150
interface FastEthernet0/1
ip address 10.1.253.36 255.255.255.248
duplex auto
speed auto
vrrp 2 ip 10.1.253.34
end
FastEthernet0/0 - Group 1
State is Master
Virtual IP address is 10.1.253.30
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 150
Master Router is 10.1.253.27 (local), priority is 150
Master Advertisement interval is 1.000 sec
Master Down interval is 3.414 sec
FastEthernet0/1 - Group 2
State is Backup
Virtual IP address is 10.1.253.34
Virtual MAC address is 0000.5e00.0102
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Master Router is 10.1.253.35, priority is 150
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.389 sec)
Lab Guide
365
On router R2:
interface FastEthernet0/0
ip address 10.1.253.35 255.255.255.248
duplex auto
speed auto
vrrp 2 ip 10.1.253.34
vrrp 2 priority 150
interface FastEthernet0/1
ip address 10.1.253.26 255.255.255.248
duplex auto
speed auto
vrrp 1 ip 10.1.253.30
show vrrp
FastEthernet0/1 - Group 1
State is Backup
Virtual IP address is 10.1.253.30
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Master Router is 10.1.253.27, priority is 150
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.217 sec)
FastEthernet0/0 - Group 2
State is Master
Virtual IP address is 10.1.253.34
Virtual MAC address is 0000.5e00.0102
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 150
Master Router is 10.1.253.35 (local), priority is 150
Master Advertisement interval is 1.000 sec
Master Down interval is 3.414 sec
On switch ASW2:
spanning-tree portfast bpduguard default
spanning-tree loopguard default
ip dhcp snooping
ip dhcp snooping vlan 1-4094
366
On switch DSW1:
ip access-list extended NOTEL
permit tcp any any eq telnet
vlan access-map TEST 10
action drop
match ip address NOTEL
vlan access-map TEST 20
action forward
vlan filter TEST vlan-list 2-3
ip arp inspection vlan 1-4094
spanning-tree portfast bpduguard default
spanning-tree loopguard default
interface FastEthernet0/5
spanning-tree guard root
ip arp inspection trust
interface range FastEthernet0/6 - 7
ip arp inspection trust
On switch DSW2:
ip access-list extended NOTEL
permit tcp any any eq telnet
vlan access-map TEST 10
action drop
match ip address NOTEL
vlan access-map TEST 20
action forward
vlan filter TEST vlan-list 2-3
spanning-tree portfast bpduguard default
spanning-tree loopguard default
ip arp inspection vlan 1-4094
interface FastEthernet0/5
spanning-tree guard root
ip arp inspection trust
interface range FastEthernet0/6 - 7
ip arp inspection trust
Lab Guide
367
interface FastEthernet0/14
switchport mode access
switchport access vlan 3
switchport voice vlan 63
switchport priority extend trust
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
service-policy input AutoQoS-Police-CiscoPhone
interface FastEthernet0/15
switchport mode access
switchport access vlan 3
switchport voice vlan 63
switchport priority extend trust
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
service-policy input AutoQoS-Police-CiscoPhone
368
On switch DSW1:
ip dhcp excluded-address 10.1.63.1 10.1.63.49
ip dhcp excluded-address 10.1.63.100 10.1.63.255
ip dhcp excluded-address 10.1.64.1 10.1.64.49
ip dhcp excluded-address 10.1.64.100 10.1.64.255
ip dhcp pool vlan63
network 10.1.63.0 255.255.255.0
default-router 10.1.63.1
option 150 ip 10.1.63.11 10.1.64.12
lease 8
ip dhcp pool vlan64
network 10.1.64.0 255.255.255.0
default-router 10.1.64.1
option 150 ip 10.1.63.11 10.1.64.12
lease 8
interface FastEthernet0/5
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/6
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/7
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/15
switchport mode access
switchport access vlan 63
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
no shut
interface Vlan 63
ip address 10.1.63.3 255.255.255.0
standby 63 ip 10.1.63.1
standby 63 priority 120
standby 63 preempt
standby 63 track Port-channel31 30
standby 63 track Port-channel32 30
interface Vlan 64
ip address 10.1.64.3 255.255.255.0
standby 64 ip 10.1.64.1
standby 64 priority 120
standby 64 preempt
standby 64 track Port-channel31 30
standby 64 track Port-channel32 30
Lab Guide
369
On switch DSW2:
ip dhcp excluded-address 10.1.63.1 10.1.63.99
ip dhcp excluded-address 10.1.63.150 10.1.63.255
ip dhcp excluded-address 10.1.64.1 10.1.64.99
ip dhcp excluded-address 10.1.64.150 10.1.64.255
ip dhcp pool vlan63
network 10.1.63.0 255.255.255.0
default-router 10.1.63.1
option 150 ip 10.1.63.11 10.1.63.12
lease 8
ip dhcp pool vlan64
network 10.1.64.0 255.255.255.0
default-router 10.1.64.1
option 150 ip 10.1.63.11 10.1.64.12
lease 8
interface FastEthernet0/5
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/6
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/7
switchport mode trunk
switchport trunk allowed vlan 3,4,11,12,63-66
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
interface FastEthernet0/15
switchport mode access
switchport access vlan 63
srr-queue bandwidth share 10 10 60 20
priority-queue out
mls qos trust dscp
auto qos voip trust
no shut
interface Vlan 63
ip address 10.1.63.2 255.255.255.0
standby 63 ip 10.1.63.1
standby 63 priority 120
standby 63 preempt
standby 63 track Port-channel31 30
standby 63 track Port-channel32 30
interface Vlan 64
ip address 10.1.64.2 255.255.255.0
standby 64 ip 10.1.64.1
standby 64 priority 120
standby 64 preempt
standby 64 track Port-channel31 30
standby 64 track Port-channel32 30
370
Lab Guide
371
On ASW2:
interface FastEthernet0/11
description AP4
switchport trunk allowed vlan 4,63
switchport mode trunk
interface FastEthernet0/12
description AP5
switchport trunk allowed vlan 4,63
switchport mode trunk
interface FastEthernet0/13
description AP6
switchport access vlan 11
switchport mode access
spanning-tree portfast
mls qos trust dscp
On DSW1:
mls qos
interface FastEthernet0/11
description WLC1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,11,63
switchport mode trunk
channel-group 11 mode on
spanning-tree portfast trunk
mls qos trust cos
interface FastEthernet0/12
description WCS1
switchport mode access
switchport access vlan 3
372
On DSW2:
mls qos
interface FastEthernet0/11
description WLC2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,11,63
switchport mode trunk
channel-group 11 mode on
spanning-tree portfast trunk
mls qos trust cos
interface FastEthernet0/12
description WCS2
switchport mode access
switchport access vlan 4
Lab Guide
373
P2
R2
P3
DSW2
P1
R2
P2
DSW2
P2
R1
P1
DSW2
P1
R1
P5
DSW1
P5
CSW2
P4
DSW1
P4
CSW2
P3
DSW1
P3
CSW2
P2
DSW1
P2
P1
DSW1
CSW2
P1
CSW2
P3
ASW2
CSW1
P2
ASW2
P5
P4
CSW1
P1
ASW2
374
P4
P5
DSW2
DSW2
CSW1
P3
ASW1
P3
P2
P2
ASW1
CSW1
P1
P1
ASW1
CSW1
Device
Device
During the implementation process, you must determine, for each switch, which port connects
to which neighbor. The ports represented on each device connection in the Visual Objective are
generic ports. Each port can represent one or several physical interface. Use the following table
to document the physical interfaces used in your pod. You will use this information throughout
the labs:
SWITCH v1.01
SWITCH v1.02
Lab Guide
375
376
SWITCH v1.03
SWITCH v1.04
Lab Guide
377
378
SWITCH v1.05
SWITCH v1.06
Lab Guide
379
380
SW ITCH v1.07
SWITCH v1.08
Lab Guide
381
382
SWITCH v1.09
SWITCH v1.011
Lab Guide
383
384
SWITCH v1.012
SWITCH v1.013
Lab Guide
385
386
SWITCH v1.014
SWITCH v1.015
Lab Guide
387
388
SWITCH v1.016
Lab Guide
389
390