Beruflich Dokumente
Kultur Dokumente
Implementing Cisco
IP Switched Networks
Version 1.0
SWITCH
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 Cisco CCNA, and you are 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 Materials section on the following pages, and proceed through the lab to establish an
implementation requirements 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:
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 that will 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 a password. Vty access and the enable
password must be protected by a password.
The logging synchronous command 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 the current time in your class.
Commands entered incorrectly should not cause the switches to attempt to resolve the entry
as a DNS name.
Unless stated otherwise, the speed and duplex settings for all interfaces must be left to auto.
All devices must have an IP address so that they can be managed remotely.
Lab Guide
Device 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 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 interfaces. When implementing
your solution in Task 3, use the Pod Physical Ports Map table, available at the end of this Lab
Guide, to document the physical interfaces used in your pod, and report this information on the
large network diagram for this lab (Lab 1-1), which is also available at the end of this Lab Guide.
You will use this information throughout the labs.
Visual Objective
The figure illustrates what you will accomplish in this activity.
SWITCH v1.03
You can use the large version of the Visual Objective, which is available at the end of this 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
description description
domain-name domain
exec-timeout 0 0
exit
hostname hostname
interface fastethernet |
gigabitethernet slot/port
interface vlan 1
ip default-gateway
logging console
logging synchronous
login
no ip domain-lookup
no shutdown
Brings up an interface.
password password
ping ip-address
show running-config
shutdown
telnet ip-address
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Lab Guide
High-Level Task
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. However, if you need help, this
section contains a series of hints to help you complete the lab.
Implementation Requirement
All
switches
Hostname
Visual Objective
Implementation Policy
Implementation Policy
VLAN 1 IP address
Device Information
Gateway
Device Information
Implementation Policy
Implementation Policy
Implementation Policy
No DNS lookup
Implementation Policy
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 gateways. The common template could be named
Common_Template, created in a text editor, copied and pasted as appropriate, and could
contain the following items:
no ip domain-lookup
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 15
password cisco
login
Device
Implementation
Order
Step Number
All
Paste Common_Template.
Per
switch
Configure hostname.
Per
switch
Per
switch
Per
switch
Per
switch
Per
switch
Per
switch
Per
switch
Verify configuration.
18
Verification Plan
Complete
Device
Step Number
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
Create a notepad text file named Common_template and containing the lines:
no ip domain-lookup
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 15
password cisco
login
Configure the switch hostname and IP information. Use these commands, for example in
switch 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 switch ASW1. Use the Device Information table in the
Information Packet Materials section 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
Verify neighbor and connecting ports using Cisco Discovery Protocol. For example:
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
DSW2
DSW1
Local Intrfce
Fas 0/2
Fas 0/1
Holdtme
129
129
In this example, the local switch has two 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 switch ASW1. On each switch, use the show cdp neighbor information
command to determine which local interfaces are to remain 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 and 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, VTP, and
EtherChannel
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network and the information specific to each device.
Read the information carefully.
Note: With the command show alias you can see which alias command can be used for replace
the current running config with an appropriate mentioned configuration file from flash. There
will be a hint in a lab, when you should replace actual configuration with another one from flash.
Implementation Policy
This deployment builds on Lab 1-1. In other words, keep the configuration from Lab 1-1, and add
the following requirements.
If you have not yet completed Lab 1-1 successfully, than in order to prepare for this lab use
the alias command init-2_1 on the switches. On the routers this is a must!
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 identifies the
following elements:
FTP, Web servers, and additional routers are to be connected later. For example, you are
asked to configure the first available port on switches ASW1 and ASW2 for the FTP server,
and the next available port for the WEB server. For example, if the first four 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 switches 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. ( on DSW1 & 2 use int gi0/1 instead of fa0/9 ).
Several IP addresses are already configured on the Ethernet interfaces on each router (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 to be enabled, and asks
you to manually prune all unnecessary VLANs from the inter-switch links.
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, DSW1 and DSW2, CSW1 and router R2, and
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 determine the links between switches and shut down 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-Mb/s 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. When there is a grouping of 2
interfaces on the switches DSW1 or DSW2, use only responds function while on all other
switches use the active form for virtual link creation.Where four 100-Mb/s links are to be
grouped, create the virtual link unconditionally without using any negotiation protocol. Use
the description feature on each virtual link to reflect the devices they connect. Also use the
table in the Device Information section.
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.
Use VLAN 64 on ASW1 and VLAN 66 on ASW2 including them also in the connecting
trunks ( because we need them in other labs, otherwise it makes no sense yet).
Device 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 the port in your pod to which 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
Note: The devices NR1, NR2, WEB1, WEB2, FTP1, FTP2, FILE1 and FILE2 do not
exist in real, we only simulate, that these devices are connected!
Some links between switches should be bundled together. The following table shows all possible
numbering conventions for these link bundles. Note that not all of these numbers are needed.
You should use Cisco Discovery Protocol to determine which links between switches can be
bundled. Once you have determined which links must be bundled, use the following table to
apply the right bundle number:
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
Visual Objective
The figure illustrates what you will accomplish in this activity.
26
FTP
WWW
WWW
File Server
File Server
SW ITCH v1.02-51
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
name vlan-name
show vlan
shutdown/no shutdown
switchport nonegotiate
interface interface-id
channel-group channel-groupnumber mode active | passive |
on
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Lab Guide
29
30
High-Level Task
Information Source
Device
High-Level Task
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 determine the devices on which 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. However, if you need help, 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, Task 1 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
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
ASW2
DSW1
Lab Guide
43
Device
DSW2
44
Implementation Requirement
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Device
CSW1
CSW2
Implementation Requirement
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
Visual Objective
Visual Objective
Implementation Policy
Implementation Policy
Visual Objective
45
Device
46
Implementation Requirement
Visual Objective
Implementation Policy
vlan 3,4,11,12,63-66
You can implement this template on switches CSW1, CSW2, DSW1, and DSW2. Switches
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
Step
Number
CSW1
Paste Common_Template.
Lab Guide
47
Complete
Device
CSW2
DSW1
48
Implementation
Order
Step
Number
Paste Common_Template.
Paste Common_Template,
change VTP mode to
server.
10
11/12
14
Complete
Device
DSW2
Implementation
Order
Step
Number
11/12
15
11/12
13
11/12
16
10
11/12
11
16
12
18
13
19
Paste Common_Template.
21
21
21
Lab Guide
49
Complete
Device
ASW1
50
Implementation
Order
Step
Number
21
21
21
21
21
21
10
21
11
21
12
21
13
21
22
23
24
Complete
Device
ASW2
Implementation
Order
Step
Number
23
24
25
26
27
28
29
30
29
30
31
32
33
Lab Guide
51
Step-by-Step Procedure
Step 1
Connect to switch CSW1 in configuration mode.
Step 2
Create a notepad text file named Common_template that contains the lines:
vlan 3,4,11,12,63-66
Step 3
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
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/0
Fas 0/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):
Step 4
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
Switch CSW1 has 4 links to switch CSW2, and 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, and 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 Required Resources section of this lab:
interface range f0/7 - 10
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
channel-group 33 mode on
exit
interface port-channel 33
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,3,4,11,12,63,64,65,66
Step 7
Configure the link to switch DSW1, using the show cdp neighbor information and the
EtherChannel table from the Required Resources section of this lab:
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 Required Resources section of this lab:
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
Capability
S I
S I
R S I
R S I
R S I
R S I
R S I
Platform
WS-C2960WS-C2960WS-C3560WS-C3560WS-C3560WS-C3560WS-C3560-
Port ID
Fas 0/1
Fas 0/2
Fas 0/5
Fas 0/4
Fas 0/3
Fas 0/2
Fas 0/1
Lab Guide
53
Step 12
Step 13
Switch DSW1 has one link to switches ASW1 and ASW2, one link to switch DSW2.
EtherChannel should not be used.
DSW1 has two links to switch CSW1 and two links to switch CSW2. EtherChannel mode
LACP should be used. Switch DSW1 will be the passive side for links to switches 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 Required Resources section of this lab:
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 Required Resources section of this lab:
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 = L2
Ports: 2
Maxports = 8
Port-channels: 1 Max Port-channels = 1
Protocol:
Minimum Links: 0
Group: 32
---------Group state = L2
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
Step 21
Repeat Steps 1 and 2, then Steps 11 to 19 on switch DSW2, leaving links to switch
CSW2 enabled and links to switch CSW1 shut down. On the EtherChannel link to switch DSW1,
switch DSW2 is the passive side. The file server is in VLAN 66.
On switch ASW1, configure the VTP mode.
ASW1(config)# vtp domain cisco
ASW1(config)# vtp mode transparent
ASW1(config)# vtp password cisco
ASW1# show vtp status
VTP Version
: running VTP1 (VTP2 capable)
Configuration Revision
: 0
Maximum VLANs supported locally : 1005
Number of existing VLANs
: 17
VTP Operating Mode
: Transparent
VTP Domain Name
: cisco
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0xDE 0x86 0x25 0xBD 0x56 0x50 0xDE 0x3E
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Step 22
Step 23
Use the Step 16 model to configure links to switches DSW1 and DSW2.
Step 24
Step 25
Step 26
Lab Guide
55
Step 27
Step 28
Step 29
Use the Step 16 model to configure links to switches DSW1 and DSW2.
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 you will accomplish 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
name vlan-name
ping ip-address
show vlan
shutdown/no shutdown
switchport nonegotiate
telnet ip-address
Command
Description
interface interface-id
channel-group channel-groupnumber mode active | passive |
on
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 troubleshooting lab includes three types of
issues ( Use for all switches use the alias command init-2-2 and on the routers use the
alias command init-2_2, afterwards reload all devices with the new configurations in
order to prepare the devices for this lab ):
Trouble Ticket A involves communication issues between switch ASW1 and router R1, and
therefore originates in the upper part of the client network.
Trouble Ticket C involves communication issues between client CLT2 and router R2, and
therefore originates in the lower part of the client network.
Trouble Ticket B involves communication issues between the upper and the lower parts of
the client network.
Together with your team members, create a troubleshooting plan to divide the work, assign each
team member appropriate roles, and coordinate device access among 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 teams will have to work together to resolve issues
affecting both the upper and lower section. This is an example of a possible organization of the
teams. 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 device. This means that no other team
member should access the console, make changes to the device, or execute unauthorized 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 nondisruptive diagnostic action, without
the need for permission from 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 debriefing 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.
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. A
ping to router R1 interface in VLAN 3 from the client CLT1 command prompt interface fails.
Switch ASW1 is in VLAN 1. Pings from switch ASW1 to the router R1 interface in VLAN 1
succeed. This output shows that there is a physical pathLayer 2 and Layer 3 connectivity
between switch ASW1 and router R1.
You can identify the issue as either 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 Cisco Discovery Protocol. Unless Cisco Discovery Protocol is disabled, you
should be able to use it to verify all 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, client 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, which 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
SW ITCH v1.02-56
The next logical step could be to verify the path from switch ASW1 to switch DSW1. A useful
tool to verify neighbor information is Cisco Discovery Protocol. If switch ASW1 does not
recognize switch DSW1 with Cisco Discovery Protocol, 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 recognized, at least by Cisco Discovery Protocol. Switch ASW1 port f0/1
connects to switch DSW1 port f0/6 in this example. Cisco Discovery Protocol is an independent
Layer 2 protocol that may recognize neighboring devices even if the link configuration is partly
incorrect. The next step could be to verify the switch ASW1-DSW1 link configuration. This link
is supposed to be a trunk.
The 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, 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
resolved Trouble Ticket 1.
70
Lab Guide
71
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
72
SWITCH v1.010
The first test can be to ping router R2 from the router R1 interface in VLAN 66. As reported on
the troubleshooting ticket, the ping is unsuccessful. This issue could be as a result of IP
addressing problems on routers R1 or R2 as well as Layer 2 configuration problems. If you
approach this problem as a Layer 2 issue, you might begin by looking at the configurations on
switch CSW1 or switch CSW2.
Lab Guide
73
SWITCH v1.011
A logical step is to verify the switch CSW1 to switch CSW2 link configuration, along with the
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 the switch CSW2 VLAN database.
The configuration should be valid, as it is 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 an incorrect 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 as follows:
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 the router R1 interface in VLAN 66, but
the ping will still be unsuccessful. There is more than one issue to solve for this ticket.
Lab Guide
75
SW ITCH v1.04-52
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 port
configurations show that they are in shutdown state. Once enabled, a verification of the port
channel for these ports shows 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
Load
Port
EC state
No of bits
------+------+------+------------------+----------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 of the issue to solve.
76
While verifying the 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 the 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 as follows:
ASW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ASW2(config)#int f0/3
ASW2(config-if)#sw mo ac
ASW2(config-if)#end
Because 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. End with CNTL/Z.
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 the client CLT2 IP address. 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 has
been shut down, so you need to re-enable it for communication to switch ASW2:
DSW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
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 switch DSW1 and DSW2 port configurations 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 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 switches CSW1 and CSW2, and
you think that it would be interesting to use them to experiment the isolated VLAN feature.
Because 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 the next lab. After completing
this activity, you will be able to meet these objectives:
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read this information carefully.
Implementation Policy
Make sure you have 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 VLANs 501 and 51. Connect to routers R1 and R2, and create a sub-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.51
10.1.51.2/24
51
Verify that the switch CSW1 link to router R2 is enabled and is in VLAN 51. Verify that the
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 Hints section at the end of this lab to verify the steps that are involved
in this configuration. The end of this 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
Visual Objective
The figure illustrates what you will accomplish in this activity.
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
name vlan-name
private-vlan isolated
private-vlan primary
show vlan
shutdown/no shutdown
switchport nonegotiate
interface interface-id
channel-group channel-groupnumber mode active | passive |
on
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Lab Guide
89
90
High-Level Task
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. However, if you need help, this
section contains a series of hints to help you complete the lab.
Implementation Requirement
CSW1
Implementation Policy
Implementation Policy
Implementation Policy
Implementation Policy
R1
Implementation Policy
R2
Implementation Policy
Device
Implementation
Order
Step
Number
CSW1
show vlan
show vlan
R1
R2
10
11
show run
CSW2
CSW1,
R1, R2
Lab Guide
99
Step-by-Step Procedure
Step 1
Create VLANs 51 and 501 on switch CSW1:
Step 2
interface f0/11
switchport trunk allowed vlan add 51
Step 3
Step 4
Step 5
Step 6
Try to ping from router R1 to router R2 or from router R2 to router R1; ping should be
successful:
R2#ping 10.1.51.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.51.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5)
Step 7
Configure VLAN 501 and 51 to be primary and isolated, respectively, on all the involved
switches:
vlan 51
name TestIsolated
private-vlan isolated
vlan 501
name TestIsolated
private-vlan primary
private-vlan association 51
Step 8
Try to ping from router R1 to router R2 or from router R2 to router R1; ping should fail:
R2#ping 10.1.51.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.51.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
100
Step 9
Revert your configuration to a state prior to Step 4: reboot routers R1, R2, and switch
CSW1 without saving the configuration.
Lab Guide
101
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 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 a
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:
102
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read this information carefully.
Note: To prepare for the appropriate lab config on the routers, use the alias command
init-3_1-4_1.
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 EtherChannel links between switches
CSW1 and DSW2, between switches CSW2 and DSW1, between switches DSW1 and
ASW2, and between switches DSW2 and ASW1. A link must be configured between switch
CSW1 and router R2; a link must also be configured between switch CSW2 and router R1,
but only on the switch side. The router side is already configured. Configure the link between
DSW1 and DSW2.
Switch DSW1 is to be the primary root bridge for odd VLANs, and switch DSW2 is to be the
primary root bridge for even VLANs. When instances are used, switch DSW1 is the root for
instance 0 and 1, and switch DSW2 is the root for instance 2. Instance 1 contains the odd
VLANs, and instance 2 contains the even VLANs. One region is enough for your network.
The name of the region must be region1, the revision number must be 1
For all VLANs for which switch DSW1 is the primary root, switch DSW2 must be the
secondary root. For all VLANs for which switch DSW2 is the primary root, switch DSW1
must be the 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:
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
Lab Guide
103
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
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
VLAN Information
104
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
Visual Objective
The figure illustrates what you will accomplish in this activity.
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
Lab Guide
105
Job Aids
These are the job aids for this lab activity:
106
Value
Location
Task 1
Task 2
Task 3
Task 4
Hint Section
Implementation hints
Hint Section
Verification hints
Hint Section
Root
Secondary
1
3
4
11
12
63
64
65
66
Lab Guide
107
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
ASW1
Path to Root
ASW1
DSW1
DSW2
CSW1
CSW2
1, 14, 12, 64
ASW2
ASW2
DSW1
DSW2
CSW1
CSW2
108
Device Role
MSTP Instance
VLANs
Lab Guide
109
Once the MST switch roles are clear in your mind, use the following table, the Visual Objective
for this lab, and the Implementation Policy and Device Information sections to create your
implementation requirements list. If you are unsure, use the information in the Hints section at
the end of this lab.
Device
110
High-Level task
Information Source
Device
Implementation
Order
Lab Guide
111
Complete
112
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
113
Complete
114
Device
Implementation
Order
Lab Guide
115
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
116
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
117
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
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 the same 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
Fa0/1
ASW1
Fa0/2
DSW1
Po31
DSW2
Po32
CSW1
N/A
CSW2
Po33
ASW2
Fa0/1
ASW2
Fa0/2
DSW1
Po31
DSW2
Po32
CSW1
N/A
CSW2
Po33
1, 4, 12, 64, 66
Lab Guide
121
Step-by-Step Procedure
Step 1
Connect to the DSW1 switch interface in configuration mode.
Step 2
DSW1(config)#interface po 32
DSW1(config-if)# no shutdown
DSW1(config-if)#interface fa0/5
DSW1(config-if)# no shutdown
DSW1(config-if)# interface fa0/7
DSW1(config-if)# no shutdown
Step 3
Repeat the same process on switches DSW2, CSW1, and CSW2 while using the
appropriate interfaces.
Verify the spanning tree root status on all switches. For example, on switch DSW2:
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
122
VLANs
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
Distribution
switches
MST configurationregion 1,
instances 0,1, and 2
Implementation Policy
Distribution
switches
Implementation Policy
Distribution
switches
Implementation Policy
All
switches
MST
Implementation Policy
All
switches
Verification
Implementation Policy
Lab Guide
123
Device
DSW1
DSW2
ASW1
ASW2
CSW1
CSW2
124
High-Level Task
Information Source
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
2009 Cisco Systems, Inc.
Lab Guide
125
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
Configure revision:
Step 3
DSW1(config-mst)# revision 1
Step 4
Step 5
Step 6
DSW1(config-mst)#sho pending
Pending MST configuration
Name
[]
Revision 1
Instances configured 3
Instance Vlans mapped
-------- -----------------------------------------------------------0
2,5-10,13-62,67-4094
1
1,3,11,63,65
2
4,12,64,66
---------------------------------------------------------------------DSW1(config-mst)#
Step 7
Configure spanning-tree root primary for instance 0 and for instance 1 on switch
Step 8
DSW1:
DSW1(config)# spanning-tree mst 0-1 root primary
Step 9
Step 10
126
Step 11
Configure spanning-tree root secondary for instance 0 and for instance 1 on switch
Step 12
DSW2:
DSW2(config)# spanning-tree mst 0-1 root secondary
Step 13
MST Instance
---------------MST0
MST1
MST2
Step 14
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
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 Fa0/5
24577 001f.2721.8680
200000
2
20 15 Fa0/5
24578 001f.2721.8600
0
2
20 15
Step 15
Step 16
Step 17
Step 18
Step 19
Step 20
Step 21
Lab Guide
127
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 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
a 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, which is the 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:
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read this information carefully.
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:
128
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.
Switch DSW1 is to be the primary root bridge for odd VLANs, and switch DSW2 is to be the
primary root bridge for even VLANs.
For all VLANs for which switch DSW1 is the primary root, switch DSW2 must be the
secondary root. For all VLANs for which switch DSW2 is the primary root, switch DSW1
must be the 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:
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:
Device
Link To
ASW1
DSW1
11
ASW1
DSW2
12
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
Lab Guide
129
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
Visual Objective
The figure illustrates what you will accomplish in this activity.
130
SWITCH v1.018
Command List
The table describes the commands that you will use in this activity.
Command
Description
name name
show pending
Lab Guide
131
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
132
Root
Secondary
1
3
4
11
12
63
64
65
66
Lab Guide
133
At this point, your lab network has a functioning MST implementation and you are ready to
migrate it to PVRST+. You must make a list of the requirements in order to prepare a detailed
implementation and verification plan in the next task. Use the Required Resources section to
gather the needed information. If you are unsure, use the information in the Hints section at the
end of this lab.
Device
134
High-Level Task
Information Source
Device
High-Level Task
Information Source
Lab Guide
135
136
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
137
Complete
138
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
139
140
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
141
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
142
Lab Guide
143
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
144
Lab Guide
145
Hints
You are encouraged to complete the labs using your knowledge. However, if you need help, 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:
146
Device
Implementation Requirement
All
switches
Implementation Policy
Distribution
switches
Implementation Policy
Distribution
switches
Implementation Policy
All
switches
Verification.
Implementation Policy
Device
High-Level Task
Information Source
DSW1
DSW1
DSW1
DSW2
DSW2
DSW2
ASW1
ASW2
CSW1
CSW2
Device
Implementation
Order
DSW1
spanning-tree mode
rapid-pvst
show spanning-tree.
spanning-tree vlan
1,3,11,63,65
spanning-tree vlan
4,12,64,66 root
secondary
no spanning-tree mst
configuration
show run
spanning-tree mode
rapid-pvst
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
spanning-tree mode
rapid-pvst
show spanning-tree
10
no spanning-tree mst
configuration
show run
11
spanning-tree mode
rapid-pvst
show spanning-tree
12
no spanning-tree mst
configuration
show run
13
spanning-tree mode
rapid-pvst
show spanning-tree
14
no spanning-tree mst
configuration
show run
15
spanning-tree mode
rapid-pvst
show spanning-tree
16
no spanning-tree
configuration
show run
DSW2
ASW1
ASW2
CSW1
CSW2
Lab Guide
147
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
Configure spanning-tree root primary for VLANs 1, 3, 63, and 65 on switch DSW1:
DSW1(config)# spanning-tree vlan 1,3,11,63,65 root primary
Step 3
Configure spanning-tree root secondary for VLANs 4, 12, 64 and 66 on switch DSW1:
DSW1(config)# spanning-tree vlan 4,12,64,66 root secondary
Step 4
Step 5
Step 6
Configure spanning-tree root primary for VLANs 4, 12, 64, and 66 on switch DSW2:
DSW2(config)# spanning-tree vlan 4,12,64,66
Step 7
root primary
Configure spanning-tree root secondary for VLANs 1, 3, 63, and 65 on switch DSW2:
DSW2(config)# spanning-tree vlan 1,3,11,63,65 root secondary
Step 8
Step 9
Step 10
Step 11
Step 12
Step 13
Vlan
---------------VLAN0001
VLAN0003
VLAN0004
VLAN0011
VLAN0012
VLAN0063
VLAN0064
VLAN0065
VLAN0066
DSW1#
Step 14
148
Root
Hello Max Fwd
Root ID
Cost
Time Age Dly Root Port
------------------ --------- ----- --- --- --------24577 001f.2721.8680
0
2
20 15
24579 001f.2721.8680
0
2
20 15
24580 001f.2721.8600
19
2
20 15 Fa0/5
24587 001f.2721.8680
0
2
20 15
24588 001f.2721.8600
19
2
20 15 Fa0/5
24639 001f.2721.8680
0
2
20 15
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
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 that will guide you
in a step-by-step manner 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.
SWITCH v1.019
Lab Guide
149
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 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
150
Instructions
As you can see from the troubleshooting tickets, this troubleshooting lab involves two types of
issues:
Ticket one involves error messages on several switches in the lab. ( Use for all switches the
alias command init-3-3-A and reload afterwards each device with this new config ):
Ticket two involves problems with switch interfaces the in error-disabled state. ( Use for all
switches the alias command init-3-3-B and reload afterwards each device with this
new config )
Each ticket involves several switches, so the whole team must 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 among the team members.
Document your progress in the Troubleshooting Log section 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 debriefing discussions.
Because different teams work at different speeds, the lab tickets are separated. To prepare the lab
for this exercise, ask your instructor how to initiate Trouble Ticket A. After the instructor
indicates that the lab is fully prepared, you are ready to start troubleshooting.
Once you fix Trouble Ticket A, ask your instructor if there is time remaining for you to move on
to the next ticket. If time allows, ask your instructor how to initiate Trouble Ticket B. After the
instructor indicates that the lab is fully prepared, you are ready to start troubleshooting.
Lab Guide
151
Troubleshooting Log
Use this log to document your actions and results during the troubleshooting process.
Trouble
Ticket
152
Trouble
Ticket
Lab Guide
153
Trouble
Ticket
154
Trouble
Ticket
Lab Guide
155
Activity Verification
You have completed this lab when you attain the results below.
Trouble Ticket A:
Verify that there are no more error log entries being generated on the Layer 3 switches.
Verify that the STP status is the same as it was at the end of Lab 3-1.
Trouble Ticket B:
156
Verify that the STP is blocking the correct VLANs on the root switches.
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 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 sameall involve a flapping
MAC address of a host on EtherChannels and physical interfaces.
Refer to the Visual Objective and determine what links participate in these PortChannels and
interfaces.
You discover that the EtherChannels connect the core switch CSW1 with switches DSW1 and
DSW2. You also discover that interface Fa 0/5 on both distribution switches act as the connection
between them. After this examination, you discover that you have a switching loop.
A switching loop is related to the functioning of the STP; in this case, PVRST+.
The next logical step is to check the PVRST+ on the affected interfaces.
Lab Guide
157
158
SW ITCH v1.04-52
128.6
128.6
P2p
P2p
SW ITCH v1.04-52
You can verify the STP state for the affected interfaces; for example, Po32 and Fa0/5 on DSW1.
You see that the STP state for interface Po32 looks normal, but the information returned for
interface Fa0/5 is more confusing. The same unusual information appears on switch CSW2
interface Po33.
Proceed to the next switch.
FWD
FWD
FWD
FWD
FWD
FWD
FWD
FWD
FWD
12
12
12
12
12
12
12
12
12
128.304
128.304
128.304
128.304
128.304
128.304
128.304
128.304
128.304
P2p
P2p
P2p
P2p
P2p
P2p
P2p
P2p
P2p
SWITCH v1.04-52
Lab Guide
159
FWD
FWD
FWD
FWD
FWD
FWD
FWD
FWD
FWD
19
19
19
19
19
19
19
19
19
128.6
128.6
128.6
128.6
128.6
128.6
128.6
128.6
128.6
P2p
P2p
P2p
P2p
P2p
P2p
P2p
P2p
P2p
SW ITCH v1.04-53
Check the STP state for the affected interfaces; for example, Po31 and Fa0/5 on DSW2.
Here the situation is the same as it is on switch DSW1.
Your next logical step is to analyze interface Fa0/5, as its state looks different from the others.
160
SWITCH v1.025
You can see that the BPDU filter feature is enabled on interface Fa0/5.
Because this is a feature that relates to access ports, prevents the BPDUs, and is a trunk interface,
you understand that this is a problem.
Lab Guide
161
SWITCH v1.026
Check the configuration of interface Fa0/5 on switch DSW1 to verify that you have identified the
problem:
DSW1#show run interface fastEthernet 0/5
interface fastEthernet 0/5
spanning-tree bpdufilter enable
You have discovered an incorrect configuration issue involving an STP security feature.
162
DSW1#conf t
Enter configuration commands, one per line.
SWITCH v1.027
Lab Guide
163
SWITCH v1.028
The same issue appears on the switch CSW2 interface Po33 link. Resolve it using the same
method.
Verify that 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
You can also go to the switches again and check that there are no new error messages in their
logs.
164
SWITCH v1.029
Verify that the STP state shows that the BPDU filter feature is no longer enabled:
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
You can also go to the switches again and check that there are no new error messages in their
logs.
Lab Guide
165
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
167
SWITCH v1.03-66
Check the reported switches for the blocked port and the STP status.
On switch DSW1 you find that interface 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 : 6
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
.
168
SWITCH v1.03-65
You find a similar situation on switch DSW2. Port Fa0/5 is in the notconnect state 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 : 6
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 will need more information in order to identify the problem. The first place to look is in the
log.
Remark: The number of blocked ports can vary.
Lab Guide
169
SWITCH v1.032
The log on switch DSW1 clearly shows the problem. A security spanning-tree feature, in this
case the BPDU Guard has put the Fa0/5 in error-disabled state because BPDUs appeared on this
interface.
Because it is normal to have BPDUs sent and received on this interface, you should check the
configuration of this interface.
170
SW ITCH v1.03-63
You find that the BPDU Guard feature is configured on a trunk port.
You have identified a problem.
The next steps involve correction of the mistaken configuration and tests to determine if this is
the problem.
Lab Guide
171
SW ITCH v1.03-64
Verify the status of the STP and verify that the correct VLANs are being blocked to be sure that
you have fixed the right problem.
172
SW ITCH v1.04-53
Because the verification has been successful, you must document your findings.
Lab Guide
173
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
175
Activity Objective
As the corporate network continues to grow, the demands for expansion, better convergence, and
reliability drive your IT manager to ask you for a solution for the migration toward a Layer 3 core
and distribution design. He insists 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 by the IT manager clearly include the use of EIGRP as the 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:
Lab Guide
177
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully.
Implementation Policy
You must configure inter-VLAN routing and a routing protocol in your network. The following
list provides details regarding preparation and routing configuration requirements for all switches
in the company network. Your configuration must implement all of these requirements:
178
Configure all interfaces between the distribution and core switches to become Layer 3 links.
Configure the interfaces between switches DSW1 and DSW2 to become Layer 3 links.
Enable these links.
Configure the links between the core switches and the routers to become Layer 3 links.
Use the networks from the table provided below for the Layer 3 links.
Set up SVI interfaces for data VLANs on both distribution switches according to the
information provided in the Device Information section.
Change the management VLAN on access switches from VLAN 1 to the 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 the VLAN 3 IP address
will be in 10.1.3.0/24. Apply this rule to all of your devices. Refer to the Device
Information section for information on the IP address that should be used on each switch.
Remove the management VLAN 1 IP address on the distribution switches, because you can
manage them via any routed interface or SVI. Remove the ip default-gateway commands
on the distribution- and core-switches.
Switches DSW1 and DSW2 will be default gateways for the client and the access switches.
Switch DSW1 will be the default gateway for switches ASW1 and client 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.
Device Information
The table provides the Layer 3 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
Layer 3 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 32
10.1.253.6/31
DSW2
Po 31
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 32
10.1.253.7/31
CSW2
Po 31
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
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
DSW2
VLAN 4
10.1.4.1/24
CSW1
VLAN 3
10.1.3.2/24
CSW2
VLAN 4
10.1.4.2/24
Visual Objective
The figure illustrates what you will accomplish in this activity.
2009 Cisco Systems, Inc.
Lab Guide
179
.8
180
SW ITCH v1.04-38
Command List
The table describes the commands that are used in this activity.
Command
Description
domain-name domain
configure terminal
interface interface-id
ip routing
Enables IP routing.
Lab Guide
181
Command
Description
Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
network network-number
no auto-summary
no ip address
no switchport
show ip protocols
show ip route
Job Aids
These are the job aids for this lab activity:
182
Value
Location
Task 1
Task 2
Task 3
Task 4
Device
SVI Interfaces
Layer 3
Interfaces
Is the Device a
DHCP Server?
EIGRP AS No.
(if applicable)
Lab Guide
183
184
High-Level Task
Information Source
Device
Implementation
Order
Lab Guide
185
186
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
187
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
188
Lab Guide
189
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
190
Lab Guide
191
Hints
You are encouraged to complete the labs using your knowledge. However, if you need help, this
section contains a series of hints to help you complete the lab.
192
Device
SVI
Interfaces
Layer 3 Interfaces
Is the Device
a DHCP
Server?
EIGRP AS
Number (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
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
Implementation Policy
Distribution switches
Implementation Policy
Core switches
Implementation Policy
Implementation Policy
Distribution switches
SVI interfaces
Implementation Policy
Implementation Policy
Distribution switches
DHCP server
Implementation Policy
Enable IP routing
Implementation Policy
EIGRPs
Implementation Policy
Verification
Implementation Policy
Lab Guide
193
194
Device
High-Level Task
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.
Device
High-Level Task
Information Source
CSW2
CSW2
CSW2
CSW2
Enable IP routing.
CSW2
EIGRP.
R1
R1
EIGRP.
R2
R2
EIGRP.
Lab Guide
195
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
196
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
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
Lab Guide
197
Complete
Device
Implementation
Order
ip dhcp excluded-address
10.1.3.1 10.1.3.99, then 150 to
255
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
show ip route
DSW2
20
ip routing
show ip route
CSW1
21
ip routing
show ip route
CSW2
22
ip routing
show ip route
router eigrp 10
no auto-summary
show ip route
DSW1
23
DSW2
24
router eigrp 10
no auto-summary
show ip route
CSW1
25
router eigrp 10
no auto-summary
show ip route
CSW2
26
router eigrp 10
no auto-summary
show ip route
R1
27
router eigrp 10
no auto-summary
show ip route
R2
28
router eigrp 10
no auto-summary
show ip route
198
Step-by-Step Procedure
Step 1
Connect to the switch DSW1 switch interface in configuration mode:
Step 2
255.255.255.254
2
passive
Step 3
In the same manner as seen in Step 2, configure a Layer 3 EtherChannel link on switch
DSW1 to switch CSW2, using interface Po32 and interface range f0/3 to f0/4.
Step 4
Step 5
Step 6
Step 7
Repeat Step 4 on switch DSW2 to configure a Layer 3 link on f0/5 to switch DSW1.
Step 8
Step 9
Step 10
Step 11
Repeat Step 4 on switch CSW1 to configure a Layer 3 link to router R1 interface f0/11
and a Layer 3 link to router R2 interface f0/12.
Step 12
Step 13
Step 14
Step 15
Repeat Step 4 on switch CSW2 to configure a Layer 3 link to router R2 interface f0/11)
and a Layer 3 link to router R1 interface f0/12.
Lab Guide
199
Step 16
Step 17
Step 18
Repeat Step 16 on router R2 to configure its interfaces to switches CSW2 and CSW1.
Remove all subinterfaces.
Configure an SVI interface on switch DSW1:
DSW1(config)# interface vlan3
DSW1(config-if)# ip address 10.1.3.1 255.255.255.0
DSW1(config-if)# no shutdown
DSW1(config)# interface vlan1
DSW1(config)# no ip address
DSW1(config-if)# shutdown
Step 19
Step 20
Step 21
Step 22
Step 23
Step 24
Step 25
Step 26
Step 27
200
Step 28
Step 29
Step 31
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
D
D
D
D
C
C
C
D
D
D
D
Step 32
Lab Guide
201
Activity Objective
In this activity, you must analyze, locate, and fix Layer 3 problems in your network, caused by
misconfiguration or incorrect 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.
202
SWITCH v1.037
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
Job Aids
These job aids are available to help you complete the lab activity.
Trouble Tickets
Troubleshooting Log
Lab Guide
203
Instructions
As you see from the troubleshooting tickets, this troubleshooting lab contains three types of
issues:
Trouble Ticket A involves lost connectivity problems to a specific subnet. ( Use for all
switches the alias command init-4-2-A, on the routers init-4_2-5_1 and reload
afterwards each device with this new configuration ).
Trouble Ticket B involves problems with the routing protocol. ( Use for all switches the
alias command init-4-2-Band reload afterwards each device with this new
configuration ) .
Trouble Ticket C involves problems with trunk misconfiguration. ( Use for all switches the
alias command init-4-2-C and reload afterwards each device with this new
configuration ).
Each ticket involves several switches, so the whole team must work together to solve the
problems on each switch. Together with your team members, create a troubleshooting plan to
divide the work, assign appropriate roles to each team member, and coordinate device access
among 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 debriefing discussions.
Because different teams work at different speeds, the tickets in this lab are separated. To prepare
the lab for this exercise use the instructions above or ask your instructor how to initiate Trouble
Ticket A. After the instructor indicates that the lab is fully prepared, you are ready to start
troubleshooting.
204
Once you fix the issue in Trouble Ticket A, ask your instructor if time is left for you to move on
to the next ticket. If time allows, use the instructions above or ask your instructor how to 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 Trouble Ticket C, if time allows.
Lab Guide
205
Troubleshooting Log
Use this log to document your actions and results during the troubleshooting process.
Trouble
Ticket
206
Trouble
Ticket
Lab Guide
207
Trouble
Ticket
208
Trouble
Ticket
Lab Guide
209
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:
Verify that Layer 3 switches have EIGRP adjacencies with each other.
Trouble Ticket C:
210
Verify that Client CLT1 and Client CLT2 can ping all network devices.
SW ITCH v1.02-57
First, verify that you can successfully ping the gateway. This means that you have connectivity to
the gateway, which is the DSW1 switch.
When you try to ping to a core switch from client CLT1, the ping fails. This can indicate one of
two thingsyou are not allowed to connect or you do not have a 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 the device.
These simple tests lead you to conclude that you do not have connectivity to the core switches
and the servers beyond them. This is most likely due to a routing problem, because you can reach
the distribution switch DSW1, which is your default gateway.
The same situation occurs for connections from client CLT2 to switches DSW2 and CSW2:
pings to switch DSW2 work, but pings to switch CSW2 fail.
This leads you to check the routing on the Layer 3 distribution switches DSW1 and DSW2.
Lab Guide
211
DSW1#sh ip protocols
*** IP Routing is NSF aware ***
DSW1#
SWITCH v1.039
Your troubleshooting work continues on switches DSW1 and DSW2. The example in the figure
shows only the display on switch DSW1 because the steps and work on switch DSW2 are the
same.
You verify the routing protocols, which were configured in the previous lab, and find out whether
the EIGRP is working properly.
You conclude that you have no working routing protocol EIGRP.
212
SWITCH v1.040
Last Use
Total Uses
Interface
Lab Guide
213
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. End with CNTL/Z.
DSW1(config)#ip routing
DSW1(config)#router eigrp 10
DSW1(config)#network 10.1.0.0 0.0.255.255
The ip routing command enables the Layer 3 functionality on a Layer 3 switch and afterwards
you can enable EIGRP routing.
214
SW ITCH v1.02-56
Verify that you have accurately identified the problem and that your solution is correct. 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.3.0/24 is directly connected, Vlan3
D
10.1.1.0/24 [90/18176] via 10.1.253.9, 3d21h, Port-channel31
[90/18176] via 10.1.253.3, 3d21h, Port-channel32
Lab Guide
215
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
217
Po32
Num
10.1.253.2
0 55
10.1.253.19
0 121
10.1.253.17
0 117
Hold Uptime
SRTT
(sec)
(ms)
12 00:01:34
186
Hold Uptime
SRTT
(sec)
(ms)
Po31
14 00:45:50
Fa0/12
12 01:17:19
Fa0/11
14 02:15:47
SWITCH v1.04-52
After you analyze the preliminary data, your logical next step is to log in to switch CSW1 and
check the routing.
Your verification shows that the EIGRP neighbor table contains not all expected neighbors..
When you check the status of the EIGRP, everything is normal.
The routing configuration on switches CSW1 and CSW2 must be identical because they provide
routing redundancy in the network. When you check the neighbor table on switch CSW2, you see
no neighborship to CSW1.
This leads you to the conclusion that there must be differences in the EIGRP configurations of
the two core switches.
When you examine switches DSW1 and DSW2, you also see similar differences.
218
Interface
(ms)
Cnt Num
4 10.1.253.8
Po32
13 00:00:30
14
200
3 10.1.253.11
Po33
12 00:00:30
200
18
65
2 10.1.253.13
Fa0/11
12 00:00:30
12
200
28
1 10.1.253.15
Fa0/12
13 00:00:30
12
200
28
0 10.1.253.0
Po31
12 00:00:30
14
200
15
CSW1#
SW ITCH v1.02-56
After you find the differences in the EIGRP configurations, your next step is to correct the
configuration on switch 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)# network 10.1.0.0 0.0.255.255
CSW1#show ip eigrp neighbors
EIGRP-IPv4:(10) neighbors for process 10
H
Address
Interface
Hold Uptime
SRTT RTO Q Seq
(sec)
(ms)
Cnt Num
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
219
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
221
Mode
Encapsulation
Status
Native
on
802.1q
trunking
Port
Fa0/6
Port
Fa0/6
Port
Fa0/6
SWITCH v1.045
You find a problem with client CLT1 connectivity, and client CLT2 has the same issue.
This flow shows how to solve the client CLT1 connectivity issue. The client CLT 2 connectivity
is solved by using the same process.
To exclude deeper network problems, check the connectivity to client CLT1 from switch DSW1.
Again, you see that there is a failure.
Between client CLT1 and switch DSW1 there is only the ASW1 switch. The logical next step is
to verify the links between these two switches.
When you check the trunk configuration on the interface pointing to the ASW1 switch, you can
confirm that all VLANs are present.
222
Encapsulation
Status
802.1q
trunking
Port
Fa0/1
Port
Fa0/1
Port
pruned
Fa0/1
ASW1#
1,11,63,65
SWITCH v1.04-52
Next, concentrate on the ASW1 switch because the evidence indicates that the problem must be
on that switch.
To finish the check that you started on switch DSW1, check the trunk configuration on the
interfaces pointing to switch DSW1.
You find out that VLAN 3, which is the VLAN where client CLT1 resides, is absent.
When checking switch ASW2, you find that VLAN 4, which is the client CLT2 VLAN, is also
absent from the switch ASW2 trunk to switch DSW2.
Lab Guide
223
Encapsulation
Status
802.1q
trunking
Port
Fa0/1
Port
Fa0/1
Port
pruned
Fa0/1
ASW1#
SWITCH v1.04-52
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
After the changes are made, verify that they are correct:
ASW1#show interfaces fastEthernet 0/1 trunk
Port
Mode
Encapsulation Status
Native vlan
Fa0/1
on
802.1q
trunking
1
Port
Vlans allowed on trunk
Fa0/1
1-4094
Port
Vlans allowed and active in management domain
Fa0/1
1,3,11,63,65
In the same way, add VLAN 4 to the switch ASW2 trunk to switch DSW2.
224
Lab Guide
225
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
226
Lab Guide
227
Activity Objective
The dynamics of administering a large network often prevent a daily verification of the state and
activity on each device. 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 an SNMP
server. To respond to the need for 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:
228
Design a high availability solution consisting of a syslog, SNMP reporting, and an IP SLA
solution
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read this information carefully.
Implementation Policy
You must 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 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 switch
CSW1, and CSW1 should probe switch ASW1.
Configure ICMP probes for the IP SLA between switches ASW2 and CSW2. Switch ASW2
should probe switch CSW2, and switch CSW2 should probe switch ASW2.
Lab Guide
229
Device 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
Switch
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
Visual Objective
The figure illustrates what you will accomplish in this activity.
230
SWITCH v1.048
Command List
The table describes the commands that are used in this activity.
Command
Description
frequency seconds
icmp-echo {destination-ip-address |
destination-hostname} [source-ip {ipaddress | hostname} | sourceinterface interface-id]
destination-ip-address | destination-hostnameSpecify
the destination IP address or hostname.
Lab Guide
231
Command
Description
ip sla operation-number
logging host
232
Command
Description
no logging console
show snmp
233
Command
Description
234
Command
Description
udp-jitter {destination-ip-address |
destination-hostname} destinationport [source-ip {ip-address |
hostname}] [source-port portnumber] [control {enable | disable}]
[num-packets number-of-packets]
[interval interpacket-interval]
destination-ip-address | destination-hostnameSpecify
the destination IP address or hostname.
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Lab Guide
235
236
High-Level Task
Information Source
Device
Implementation Order
Lab Guide
237
238
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
2009 Cisco Systems, Inc.
Lab Guide
239
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
240
Lab Guide
241
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
242
Lab Guide
243
Hints
You are encouraged to complete the labs using your knowledge. However, if you need help, this
section contains a series of hints to help you complete the lab.
Lab 5-1 Hint Sheet: Implementing High Availability and Reporting in a Network Design
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
Syslog server
Implementation Policy
SNMP
Implementation Policy
IP SLA
Implementation Policy
IP SLA
Implementation Policy
Verification
Implementation Policy
Device
244
High-Level Task
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
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
Lab Guide
245
Complete
Device
Implementation
Order
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
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
DSW1
DSW1
DSW1
DSW1
DSW1
DSW2
DSW2
DSW2
DSW2
DSW2
CSW1
CSW1
CSW1
CSW1
CSW1
CSW2
CSW2
CSW2
246
Complete
Device
Implementation
Order
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
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
CSW2
CSW2
R1
R1
R1
R2
R2
R2
Lab Guide
247
Step-by-Step Procedure
Step 1
Connect to the ASW1 switch interface in configuration mode:
Step 2
ASW1(config)# logging on
ASW1(config)# logging 10.1.3.50
ASW1(config)# logging trap informational
Step 3
Repeat Steps 1 and 2 on switches ASW2, DSW1, DSW2, CSW1, and CSW2, and on
routers R1 and R2 using the appropriate IP addresses of the syslog server. Verify the syslog
server configuration; for example, on switch 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.
248
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 with the appropriate IP addresses.
Verify that the IP SLA test is running:
CSW1#show ip sla statistics
Round Trip Time (RTT) for
Index 1
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
Lab Guide
249
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 because 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 tells you to proceed with the project, but asks you to demonstrate
HSRP in a step-by-step manner so he can understand the various features and how it really
works. 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:
250
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully. ( To prepare the routers for this lab, use the alias
command init-6_1-6_2 ).
Implementation Policy
You must configure HSRP in your network. The following list details preparation and
configuration requirements for all switches in the company network. Your configuration must
implement all these requirements:
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 VLAN 3 and the secondary HSRP router
on VLAN 4.
Switch DSW2 will be the primary HSRP router on VLAN 4 and the secondary HSRP router
on VLAN 3.
The 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.
The 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.
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 this has been tested, implement the preempt feature and test.
Lab Guide
251
Device 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
Visual Objective
The figure illustrates what you will accomplish in this activity.
252
SWITCH v1.049
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
interface interface-id
standby version {1 | 2}
1 Select HSRPv1.
2 Select HSRPv2.
Creates (or enables) the HSRP group using its number and
virtual IP address.
Lab Guide
253
Job Aids
These are the job aids for this lab activity:
254
Value
Location
Task 1
Task 2
Task 3
High-Level Task
Information Source
Lab Guide
255
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 re-enabling
the link.
Once you have tested this, implement the preempt feature and test.
Once your solution is implemented, verify that 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. If you are unsure about the verification steps, use the
information provided in the Hints section at the end of this lab.
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. However, if you need help, this
section contains a series of hints to help you complete the lab.
Implementation Requirement
DSW1
HSRP
Implementation Policy
DSW2
HSRP
Implementation Policy
Device
High-Level Task
Information Source
DSW1
DSW2
Lab Guide
263
Device
DSW1
Implementation Order
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
10
standby 4 ip 10.1.4.1
DSW1
11
standby 4 preempt
DSW2
12
interface vlan 3
13
ip address 10.1.3.2
255.255.255.0
DSW2
14
standby 3 ip 10.1.3.1
DSW2
15
standby 3 preempt
DSW2
16
interface vlan 4
17
ip address 10.1.4.2
255.255.255.0
DSW2
18
standby 4 ip 10.1.4.1
DSW2
19
DSW2
20
standby 4 preempt
21
22
DSW1
DSW1
DSW2
DSW2
DSW2
DSW2
show standby
show standby
show standby
show standby
Step-by-Step Procedure
Step 1
Connect to the switch DSW1 switch interface in configuration mode
264
Step 2
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, in 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:
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully.
Implementation Policy
You must 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
VLAN 10.
Configure switch CSW2 so that its interfaces to routers R1 and R2 are set to access mode in
VLAN 20.
On switch CSW1, create a switch virtual interface (SVI) for VLAN 10.
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.
Device 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
Visual Objective
The figure illustrates what you will accomplish in this activity.
SWITCH v1.050
Lab Guide
267
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
Job Aids
These are the job aids for this lab activity:
268
Value
Location
Task 1
Task 2
Task 3
High-Level Task
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. However, if you need help, this
section contains a series of hints to help you complete the lab.
Implementation Requirement
CSW1
Access ports
Implementation Policy
CSW1
SVI
Implementation Policy
CSW2
Access ports
Implementation Policy
CSW2
SVI
Implementation Policy
R1
VRRP
Implementation Policy
R2
VRRP
Implementation Policy
Device
High-Level Task
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
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
CSW1
CSW2
R2
R2
R2
278
28
29
Verification
Method and
Expected
Results
show vlan
show interface
vlan10
show vlan
show interface
vlan20
show interface
fa0/0
show vrrp
show interface
fa0/1
vrrp 1 ip 10.1.253.30
show vrrp
Step-by-Step Procedure
Step 1
Connect to the switch CSW1 switch interface in configuration mode:
Step 2
Step 4
Step 5
Step 6
Step 7
Repeat Steps 5 and 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. After you have taken care of end-user security, 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 the 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. You must also guard against possible ARP table
exploits.
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
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully. ( To prepare the routers for this lab, use the alias
command init-7_1-9_1 ).
Implementation Policy
You must 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 switches 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 switches ASW1 should allow only CLT1 and ASW2 should dynamically
learn the MAC address. Violation should set the port to error-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) by using BPDU guard.
Protect the DHCP service with DHCP snooping on the ASW switches.
Lab Guide
281
Visual Objective
The figure illustrates what you will accomplish in this activity.
SWITCH v1.051
Command List
The table describes the commands that are used in this activity.
Command
Description
configure terminal
282
Command
Description
access-list access-list-number
Lab Guide
283
Command
Description
destination destination-wildcard
[precedence precedence] [tos tos]
[fragments] [log] [log-input] [timerange time-range-name]
ip dhcp snooping
284
Command
Description
show port-security
Lab Guide
285
Command
Description
(Optional) Sets the action for the map entry. The default is to
forward.
286
Job Aids
These are the job aids for this lab activity:
Value
Location
Task 1
Task 2
Task 3
Lab Guide
287
288
High-Level Task
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 help, 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
ASW1
Port security
Implementation Policy
ASW2
Port security
Implementation Policy
DSW1
VACL
Implementation Policy
DSW2
VACL
Implementation Policy
DSW1
Root guard
Implementation Policy
DSW2
Root guard
Implementation Policy
ASW1
Implementation Policy
ASW2
Implementation Policy
DSW1
Implementation Policy
DSW2
Implementation Policy
ASW1
Loop guard
Implementation Policy
ASW2
Loop guard
Implementation Policy
DSW1
Loop guard
Implementation Policy
DSW2
Loop guard
Implementation Policy
ASW1
DHCP snooping
Implementation Policy
ASW2
DHCP snooping
Implementation Policy
DSW1
ARP snooping
Implementation Policy
DSW2
ARP snooping
Implementation Policy
Device
High-Level Task
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
Complete
Device
Implementation
Order
ASW1
ASW1
interface FastEthernet0/3
ASW1
switchport port-security
ASW1
ASW1
ASW2
interface FastEthernet0/3
ASW2
switchport port-security
ASW2
ASW2
DSW1
10
DSW1
11
DSW1
12
DSW1
13
action drop
DSW1
14
DSW1
15
DSW1
16
action forward
17
DSW2
18
DSW2
19
DSW2
20
DSW2
21
action drop
DSW2
22
DSW2
23
DSW2
24
action forward
25
Verification Method
and Expected Results
DSW1
DSW2
show port-security
interface fastEthernet
0/3
show port-security
interface fastEthernet
0/3
show access-list
show access-list
Lab Guide
299
Complete
300
Device
Implementation
Order
DSW1
26
DSW1
27
DSW2
28
DSW2
29
ASW1
30
ASW2
31
DSW1
32
DSW2
33
ASW1
34
ASW2
35
DSW1
36
DSW2
37
ASW1
38
ip dhcp snooping
ASW1
39
ASW1
40
ASW1
41
ASW2
42
ip dhcp snooping
ASW2
43
ASW2
44
ASW2
45
DSW1
46
DSW2
47
DSW1
48
DSW1
49
DSW2
50
DSW2
51
Verification Method
and Expected Results
show ip dhcp
snooping
show ip dhcp
snooping binding
show ip arp
inspection statistics
vlan 3
show ip arp
inspection statistics
vlan 4
Step-by-Step Procedure
Step 1
Connect to the switch ASW1 switch interface in configuration mode:
Step 2
Step 4
Lab Guide
301
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Trusted
------yes
yes
Step 11
Step 12
302
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
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
Lab Guide
303
Activity Objective
You receive information from the IT manager that a VoIP solution is expected to be implemented
in the 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 to the voice consultant email. Your assignment is to prepare the
wired infrastructure for this addition. You will have to design the voice VLANs, Cisco AutoQoS,
DHCP, and high availability features to prepare the network. Your first task is to analyze the
information and create 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:
304
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully.
Implementation Policy
You must 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:
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 that connects an IP phone, you must allow a 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 Communications Manager Express units will be connected to switches DSW1
and DSW2 as per the Device Information section information.
The Cisco Unified Communications Manager Express unit on switch DSW1 must be in voice
VLAN 63, and the Cisco Unified Communications Manager Express unit on switch DSW2
must be in voice VLAN 64.
HSRP should be configured on switches DSW1 and DSW2 for voice VLAN (VLAN 63 and
VLAN 64). 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, switch 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
the Cisco Unified Communications Manager Express unit 1 IP address, and VLAN 64 DHCP
clients to Cisco Unified Communications Manager Express unit 2 IP address. Make sure that
both Cisco Unified Communications Manager Express unit IP addresses are excluded from
the DHCP scopes.
Verify that routing is properly configured to allow communication between these various
VLANs.
You should configure Cisco AutoQoS on access ports to IP phones, trunk ports between
switches, and access ports to Cisco Unified Communications Manager Express units.
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.
Lab Guide
305
Device 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
Cisco Unified
Communications
Manager
Express unit 1
Cisco Unified
Communications
Manager Express
10.1.63.11/24
DSW1 P6
Cisco Unified
Communications
Manager
Express unit 2
Cisco Unified
Communications
Manager Express
10.1.64.12/24
DSW2 P6
Network Diagram
306
SWITCH v1.052
Command List
The table describes the commands that are used in this activity.
Command
Description
mls qos
cdp enable
interface fastethernet |
gigabitethernet slot/port
ip helper-address address
Creates a name for the DHCP server address pool and enters
DHCP pool configuration mode.
default-router ip-address
Lab Guide
307
Command
Description
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:
308
Value
Location
Task 1
Task 2
Task 3
High-Level Task
Information Source
Lab Guide
309
310
Device
Implementation Order
Complete
Device
Implementation Order
Lab Guide
311
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)?
_______________________________________________________________________
_______________________________________________________________________
312
Lab Guide
313
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
314
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
315
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
317
Hints
You are encouraged to complete the labs using your knowledge. If you need help, 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:
Device
Implementation Requirement
ASW1
IP Phone 1
Implementation Policy
ASW1
IP Phone 2
Implementation Policy
ASW2
IP Phone 3
Implementation Policy
ASW2
IP Phone 4
Implementation Policy
DSW1
Implementation Policy
DSW1
HSRP
Implementation Policy
DSW1
DHCP
Implementation Policy
DSW2
HSRP
Implementation Policy
DSW2
Implementation Policy
DSW2
DHCP
Implementation Policy
All switches
Cisco AutoQoS
Implementation Policy
Lab Guide
319
Device
320
High-Level Task
Information Source
ASW1
IP Phone 1
ASW1
IP Phone 2
ASW2
IP Phone 3
ASW2
IP Phone 4
DSW1
DSW2
DSW1
HSRP
DSW2
HSRP
DSW1
DHCP
DSW2
DHCP
All
switches
Cisco AutoQoS
Device
Implementation
Order
ASM1
mls qos
ASW1
ASW1
ASW1
ASW1
ASW1
ASW1
Verification Method
and Expected Results
ASW1
sh interface Fa0/4
ASW1
ASW2
mls qos
ASW2
10
ASW2
11
ASW2
12
ASW2
13
ASW2
14
ASW2
15
ASW2
16
sh interface Fa0/4
ASW2
17
DSW1
18
mls qos
DSW1
19
DSW1
20
Lab Guide
321
Complete
322
Device
Implementation
Order
DSW1
21
DSW2
22
mls qos
DSW2
23
DSW2
24
DSW2
25
DSW1
26
DSW1
27
ip dhcp excluded-address
10.1.63.100 10.1.63.255
DSW1
28
DSW1
29
ip dhcp excluded-address
10.1.64.100 10.1.64.255
DSW1
30
DSW1
31
DSW1
32
default-router 10.1.63.1
DSW1
33
DSW1
34
lease 8
DSW1
35
DSW1
36
DSW1
37
default-router 10.1.64.1
DSW1
38
DSW1
39
lease 8
DSW2
40
DSW2
41
ip dhcp excluded-address
10.1.63.150 10.1.63.255
DSW2
42
DSW2
43
ip dhcp excluded-address
10.1.64.150 10.1.64.255
DSW2
44
Verification Method
and Expected Results
Complete
Device
Implementation
Order
DSW2
45
DSW2
46
default-router 10.1.63.1
DSW2
47
DSW2
48
lease 8
DSW2
49
DSW2
50
DSW2
51
default-router 10.1.64.1
DSW2
52
DSW2
53
lease 8
DSW1
54
interface Vlan 63
55
DSW1
56
standby 63 ip 10.1.63.1
DSW1
57
DSW1
58
standby 63 preempt
DSW1
59
DSW1
60
DSW1
61
interface Vlan 64
62
DSW1
63
standby 64 ip 10.1.64.1
DSW1
64
standby 64 priority 90
DSW1
65
standby 64 preempt
DSW1
66
DSW1
67
DSW1
DSW1
Verification Method
and Expected Results
sh interface Vlan 63 /
show ip interface brief
sh stanby
sh interfave vlan 64 /
show ip interface brief
Lab Guide
323
Complete
Device
Implementation
Order
Verification Method
and Expected Results
68
interface Vlan 63
sh interface Vlan 63 /
show ip interface brief
DSW2
69
DSW2
70
standby 63 ip 10.1.63.1
DSW2
71
DSW2
72
DSW2
73
standby 63 preempt
DSW2
73
standby 63 priority 90
75
interface Vlan 64
DSW2
76
DSW2
77
standby 64 ip 10.1.64.1
DSW2
78
DSW2
79
DSW2
80
DSW2
81
ASW1
82
ASW1
83
ASW2
84
ASW2
85
DSW1
86
DSW1
87
DSW1
88
DSW1
89
DSW2
DSW2
324
standby 64 preempt
sh stanby
sh interface vlan 64 /
show ip interface brief
Sh standby
Complete
Device
Implementation
Order
Verification Method
and Expected Results
90
DSW2
91
DSW2
92
DSW2
93
CSW1
94
CSW1
95
CSW1
96
CSW1
97
CSW1
98
CSW2
99
CSW2
100
CSW2
101
CSW2
102
CSW2
103
Lab Guide
325
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, and so on; negotiation can take place or not; and 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 ( on the PODs not possible due to the lack of a PoE switch ):
Switch(config)# interface FastEthernet0/1
Switch(config-if)# power inline auto
326
Step-by-Step Procedure
Step 1
Connect to the switch ASW1 switch interface in configuration mode:
Step 2
Step 3
Step 4
DSW1:
DSW1(config)# interface FastEthernet0/8
DSW1(config-if)# switchport mode access
DSW1(config-if)# switchport access vlan 63
DSW1(config-if)# no shut
Step 5
Step 6
Configure the 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.64.1 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
Lab Guide
327
Step 8
Step 9
Step 10
Step 11
328
Step 12
Configure trunk interfaces and Port-Channels for QoS on switch DSW1 ( Attention:
Must be configured before assigning an interface to Port-Cannel, otherwise an error will occur ),
here as an example for two interfaces belonging to a Port-Channel and four trunk ports::
DSW1(config)# interface range FastEthernet0/5-8
DSW1(config-if)# auto qos voip trust
DSW1(config-if)# interface range FastEthernet0/1-2
DSW1(config-if)# no channel-group 31 mode passive
DSW1(config-if)# auto qos voip trust
DSW1(config-if)# channel-group 31 mode passive
DSW1#sh mls qos
QoS is enabled
QoS ip packet dscp rewrite is enabled
DSW1#sh mls qos int f0/7
FastEthernet0/7
trust state: trust cos
trust mode: trust cos
trust enabled flag: ena
COS override: dis
default COS: 0
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based
DSW1#sh auto qos
FastEthernet0/1
auto qos voip trust
FastEthernet0/2
auto qos voip trust
FastEthernet0/3
auto qos voip trust
FastEthernet0/4
auto qos voip trust
FastEthernet0/5
auto qos voip trust
FastEthernet0/6
auto qos voip trust
FastEthernet0/7
auto qos voip trust
FastEthernet0/8
auto qos voip trust
Step 13
Step 14
Step 15
Lab Guide
329
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 to the wireless consultants email. 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:
330
Required Resources
This section contains the information needed to accomplish in this activity, and describes the
requirements common to all devices in the network, along with information specific to each
device. Read the information carefully.
Implementation Policy
You must 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:
Several standard Cisco 1240 series access points will be connected to switches ASW1 and
ASW2. Refer to the Device Information section and configure each port accordingly.
WCS and WLC will be connected to switches DSW1 and DSW2 per the Device
Information section.
For the autonomous AP on switch ASW1, allow the voice VLAN (VLAN 63) and data
VLAN (VLAN 3). For the autonomous AP on switch ASW2, you must 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 switch ASW1 must
service the voice VLAN (VLAN 63) and data VLAN (VLAN 3). HREAP on switch ASW2
must 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 switch ASW1 must be in the AP VLAN (VLAN 11). The
Lightweight AP (LAP) on switch ASW2 must be in the AP VLAN (VLAN 12). Ports to
these APs should be in the forward state as soon as the AP is switched on.
The Cisco Wireless Control System on switch DSW1 must be in VLAN 3. The Cisco
Wireless Control System on switch DSW2 must be in VLAN 4.
The Cisco 2106 WLC will be connected with one port in a trunk mode, with all VLANs
(wired and wireless) allowed on the trunk. Ports to the Cisco 2106 WLCs should be in the
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 Cisco WLCs, apply the appropriate QoS policy.
In the future, 1250 IEEE 802.11n access points will be added to your network. These access
points need enhanced PoE. Use Task 2 to make sure that you know how to configure IEEE
802.3at to support these access points where needed. The first series of access points to be
installed will use AC power adapters.
Lab Guide
331
Device 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
Visual Objective
The figure illustrates what you will accomplish in this activity.
332
SWITCH v1.053
Command List
The table describes the commands that are used in this activity.
Command
Description
interface fastethernet |
gigabitethernet slot/port
name vlan-name
show vlan
shutdown/no shutdown
switchport nonegotiate
vlan vlan-id
Lab Guide
333
Job Aids
These are the job aids for this lab activity:
334
Value
Location
Task 1
Task 2
Task 3
High-Level Task
Information Source
Lab Guide
335
336
Device
Implementation
Order
Complete
Device
Implementation
Order
Lab Guide
337
Enhanced PoE configuration: Later on, Cisco Aironet Series 1250 Access Points 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 Cisco Aironet 1250
Series APs?
__________________________________________________________________________
__________________________________________________________________________
3. Can the Cisco Aironet 1250 Series 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:
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
338
Lab Guide
339
Student Notes
Use the following space to document the details that you think are important to remember.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
340
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
341
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Lab Guide
343
Hints
You are encouraged to complete the labs using your knowledge. If you need help, this section
contains a series of hints to help you complete the lab.
Implementation Requirement
ASW1
AP1
Implementation Policy
ASW1
AP2
Implementation Policy
ASW1
AP3
Implementation Policy
ASW2
AP4
Implementation Policy
ASW2
AP5
Implementation Policy
ASW2
AP6
Implementation Policy
DSW1
WLC1
Implementation Policy
DSW1
WCS1
Implementation Policy
DSW2
WLC2
Implementation Policy
DSW2
WCS2
Implementation Policy
Device
High-Level Task
Information Source
ASW1
AP2
ASW1
AP3
ASW2
AP4
ASW2
AP5
ASW2
AP6
DSW1
WLC1
DSW1
WCS1
DSW2
WLC2
DSW2
WCS2
Lab Guide
345
Device
Implementation
Order
ASW1
interface FastEthernet0/4
ASW1
sh interface
Fa0/4 trunk
ASW1
ASW1
ASW1
interface FastEthernet0/5
ASW1
ASW1
ASW1
interface FastEthernet0/6
ASW1
ASW1
10
ASW1
11
spanning-tree portfast
ASW1
12
ASW2
13
interface FastEthernet0/4
ASW2
14
15
ASW2
16
ASW2
17
interface FastEthernet0/5
ASW2
18
19
ASW2
20
ASW2
21
interface FastEthernet0/6
ASW2
22
ASW2
23
ASW2
24
spanning-tree portfast
ASW2
25
ASW2
26
interface f0/1
ASW2
27
ASW1
ASW2
ASW2
346
Verification
Method and
Expected
Results
sh interface
Fa0/5 trunk
show vlan
sh interface
Fa0/4 trunk
sh interface
Fa0/5 trunk
show vlan
Complete
Device
Implementation
Order
DSW1
28
interface FastEthernet0/8
DSW1
29
DSW1
30
31
DSW1
32
spanning-tree portfast
DSW1
33
DSW1
34
interface GigabitEthernet0/1
DSW1
35
DSW1
36
DSW2
37
interface FastEthernet0/11
DSW2
38
DSW2
39
40
DSW2
41
spanning-tree portfast
DSW2
42
DSW2
43
interface GigabitEthernet0/1
DSW2
44
DSW2
45
DSW1
DSW2
Verification
Method and
Expected
Results
sh interface
Fa0/8 trunk
show vlan
sh interface
Fa0/8 trunk
show vlan
Lab Guide
347
3. Can the Cisco Aironet 1250Series APs be powered from a standard 802.3af switch or do they
need a special switch?
The standard switch provides 15 W max, as per the 802.3af specification, which is not
enough for the Cisco Aironet 1250 Series AP, but is enough for most other APs. The
Cisco Aironet 1250 Series AP needs a switch that provides enhanced power.
Enhanced PoE is configured at the port level. For the Cisco Aironet 1250 Series AP, you need to
allow 20 W. This is done, for example, on interface g0/1 (Cisco Aironet 1250 Series APs require
gigabit interfaces). Again, the PODs do not have a PoE-Switch with that capability:
Switch(config)# interface gigabitEthernet0/1
Switch(config-if)# power inline port maximum 20000
Step-by-Step Procedure
Step 1
Connect to the ASW1 switch interface in configuration mode:
Step 2
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
no service pad
service timestamps debug datetime msec
service timestamps log datetime
no service password-encryption
!
hostname ASW1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$mTdi$ALXy4V.TkqEcTuB6TNYZm0
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
description Link to DSW1
!
interface FastEthernet0/2
description Link to DSW2
!
interface FastEthernet0/3
description Link to CTL1
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
shutdown
!
interface FastEthernet0/7
shutdown
!
interface FastEthernet0/8
shutdown
!
interface GigabitEthernet0/1
shutdown
2009 Cisco Systems, Inc.
Lab Guide
349
!
interface Vlan1
ip address 10.1.1.1 255.255.255.0
no ip route-cache
!
ip default-gateway 10.1.1.251
ip http server
no ip http secure-server
!
control-plane
!
alias exec init-2-1 configure replace flash:/switch/lab_2_1.cfg force
alias exec init-2-2 configure replace flash:/switch/lab_2_2.cfg force
alias exec init-3-1 configure replace flash:/switch/lab_3_1.cfg force
alias exec init-3-2 configure replace flash:/switch/lab_3_2.cfg force
alias exec init-3-3-A configure replace flash:/switch/lab_3_3_A.cfg force
alias exec init-3-3-B configure replace flash:/switch/lab_3_3_B.cfg force
alias exec init-4-1 configure replace flash:/switch/lab_4_1.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
alias exec init-5-1 configure replace flash:/switch/lab_5_1.cfg force
alias exec init-6-1 configure replace flash:/switch/lab_6_1.cfg force
alias exec init-6-2 configure replace flash:/switch/lab_6_2.cfg force
alias exec init-7-1 configure replace flash:/switch/lab_7_1.cfg force
alias exec init-8-1 configure replace flash:/switch/lab_8_1.cfg force
alias exec init-9-1 configure replace flash:/switch/lab_9_1.cfg force
!
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
password cisco
logging synchronous
login
line vty 5 15
password cisco
logging synchronous
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
Lab Guide
351
On switch DSW1:
DSW1#sh run
!
interface Port-channel31
description PortChannel trunk to CSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel32
description PortChannel trunk to CSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface FastEthernet0/1
description Link to CSW1
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
description Link to CSW1
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
description Link to CSW2
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
description Link to CSW2
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
description Trunk to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface FastEthernet0/6
description Trunk to ASW1
switchport access vlan 65
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,11,63,65
switchport mode access
!
interface FastEthernet0/7
description Trunk to ASW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
352
shutdown
!
interface FastEthernet0/8
description Port to FILE1
switchport access vlan 65
!
interface GigabitEthernet0/1
description Port to NR1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
!
On switch DSW2:
DSW2#sh run
!
interface Port-channel31
description PortChannel trunk to CSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
description PortChannel Trunk to CSW2
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
description Link to CSW2
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode passive
!
interface FastEthernet0/2
description Link to CSW2
switchport trunk encapsulation dot1q
switchport trunk native vlan 4
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode passive
!
interface FastEthernet0/3
description Link to CSW1
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
description Link to CSW1
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
description Trunk to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
2009 Cisco Systems, Inc.
Lab Guide
353
shutdown
!
interface FastEthernet0/6
description Trunk to ASW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,4,12,64,66
switchport mode trunk
shutdown
!
interface FastEthernet0/7
description Trunk to ASW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,11,63,65
switchport mode trunk
shutdown
!
interface FastEthernet0/8
description Port to FILE2
switchport access vlan 66
!
interface GigabitEthernet0/1
description Port to NR2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
On switch CSW1:
CSW1#sh run
!
interface Port-channel31
description PortChannel trunk to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel32
description PortChannel trunk to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel33
description PortChannel trunk to CSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
description Link to DSW1
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
description Link to DSW1
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
description Link to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
354
On switch CSW2:
CSW2#sh run
!
interface Port-channel31
description PortChannel trunk to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
description PortChannel trunk to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel33
description PortChannel trunk to CSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-65
switchport mode trunk
!
interface FastEthernet0/1
description Link to DSW2
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
description Link to DSW2
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
description Link to DSW1
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
description Link to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
channel-group 31 mode active
Lab Guide
355
Router R2:
interface f0/1.51
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 trunk allowed vlan add 51
no shutdown
356
On switch CSW1:
interface Port-channel31
description PortChannel trunk to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel32
description PortChannel trunk to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel33
description PortChannel trunk to CSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
On switch DSW2:
interface Port-channel31
description PortChannel trunk to CSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
description PortChannel Trunk to CSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface FastEthernet0/1
description Link to CSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
channel-group 32 mode passive
2009 Cisco Systems, Inc.
Lab Guide
357
On switch CSW2:
interface Port-channel31
description PortChannel trunk to DSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
shutdown
!
interface Port-channel32
description PortChannel trunk to DSW2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
!
interface Port-channel33
description PortChannel trunk to CSW1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,3,4,11,12,63-66
switchport mode trunk
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
358
Priority
Address
Hello Time
Type
---------------------P2p
P2p
P2p
P2p
P2p
Interface
------------------Fa0/5
Fa0/6
Fa0/7
Po31
Po32
Role
---Desg
Desg
Desg
Desg
Desg
Sts
--FWD
FWD
FWD
FWD
FWD
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
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
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
DSW1#
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
Type
-------------------------P2p
P2p
P2p
P2p
P2p
Lab Guide
359
MST1
Spanning tree enabled protocol mstp
Root ID
Priority
24577
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
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
DSW2#
360
Lab Guide
361
no ip address
channel-group 33 mode on
!
interface FastEthernet0/11
description Trunk to R1
no switchport
ip address 10.1.253.12 255.255.255.254
!
interface FastEthernet0/12
description Trunk to R2
no switchport
ip address 10.1.253.14 255.255.255.254
!
router eigrp 10
network 10.1.0.0 0.0.255.255
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 30
standby 4 track Port-channel32 30
364
On switch CSW2:
interface FastEthernet0/11
description Trunk to R2
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
description Trunk to R1
switchport access vlan 20
switchport mode access
!
interface Vlan20
ip address 10.1.253.33 255.255.255.248
On router R1:
interface FastEthernet0/0
description Link to CSW1
ip address 10.1.253.27 255.255.255.248
duplex auto
speed auto
vrrp 1 ip 10.1.253.30
vrrp 1 priority 120
!
interface FastEthernet0/1
description Link to CSW2
ip address 10.1.253.36 255.255.255.248
duplex auto
speed auto
vrrp 2 ip 10.1.253.34
R1# show vrrp
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
2009 Cisco Systems, Inc.
Lab Guide
365
On router R2:
interface FastEthernet0/0
description Link to CSW2
ip address 10.1.253.35 255.255.255.248
duplex auto
speed auto
vrrp 2 ip 10.1.253.34
vrrp 2 priority 120
!
interface FastEthernet0/1
description Link to CSW1
ip address 10.1.253.26 255.255.255.248
duplex auto
speed auto
vrrp 1 ip 10.1.253.30
R2# 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
366
!
ip dhcp snooping
ip dhcp snooping vlan 1-4094
!
ip arp inspection vlan 1-4094
!
interface range FastEthernet0/1 - 2
ip dhcp snooping trust
!
interface FastEthernet0/3
description Port to CTL2
switchport port-security
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0050.5692.3032
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
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
!
Lab Guide
369
On switch DSW2:
ip dhcp excluded-address 10.1.63.150 10.1.63.255
ip dhcp excluded-address 10.1.64.150 10.1.64.255
ip dhcp excluded-address 10.1.63.1 10.1.63.99
ip dhcp excluded-address 10.1.64.1 10.1.64.99
!
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
!
370
10 10 60 20
10 10 60 20
10 10 60 20
10 10 60 20
Lab Guide
371
On ASW2:
interface FastEthernet0/04
description AP4
switchport trunk allowed vlan 4,64
switchport mode trunk
mls qos trust cos
!
interface FastEthernet0/05
description AP5
switchport trunk allowed vlan 4,64
switchport mode trunk
mls qos trust cos
!
interface FastEthernet0/06
description AP6
switchport access vlan 12
switchport mode access
spanning-tree portfast
mls qos trust dscp
372
On DSW1:
mls qos
!
interface FastEthernet0/08
description WCS1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 3,11,63
switchport mode trunk
spanning-tree portfast trunk
mls qos trust cos
!
interface GigabitEthernet0/1
description WLC1
switchport mode access
switchport access vlan 3
spanning-tree portfast
mls qos trust cos
On DSW2:
mls qos
!
interface FastEthernet0/08
description WCS2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 4,12,64
switchport mode trunk
spanning-tree portfast trunk
mls qos trust cos
!
interface GigabitEthernet0/1
description WLC2
switchport mode access
switchport access vlan 4
spanning-tree portfast
mls qos trust cos
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
CSW2
P1
DSW1
P1
CSW2
P3
ASW2
P5
CSW1
P2
ASW2
P4
CSW1
P1
ASW2
P3
CSW1
P3
ASW1
P2
CSW1
P2
ASW1
P1
P1
ASW1
374
P4
P5
DSW2
DSW2
CSW1
Device
Device
During the implementation process, you must determine, for each switch, the port that connects
to each neighbor. The ports represented on each device connection in the Visual Objective are
generic ports. Each port can represent one or several physical interfaces. 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.03-5
Lab Guide
379
380
SWITCH v1.07
SWITCH v1.08
Lab Guide
381
382
SW ITCH v1.03-8
SWITCH v1.010
Lab Guide
383
384
SWITCH v1.011
SWITCH v1.012
Lab Guide
385
386
SWITCH v1.013
SWITCH v1.014
Lab Guide
387
388
SWITCH v1.015
SWITCH v1.016
Lab Guide
389
390