Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
11 views5 pages

Discovery 3: Configure An Access Switch For An Endpoint: Activity

This document outlines a lab exercise for configuring Voice and Data VLANs on a switch to support IP Phones. It includes step-by-step instructions for accessing the switch, configuring VLANs, and verifying the configuration using specific commands. The lab is designed to enhance understanding of VLANs and power usage for connected devices within a 30-minute timeframe.

Uploaded by

Dúber Pérez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

Discovery 3: Configure An Access Switch For An Endpoint: Activity

This document outlines a lab exercise for configuring Voice and Data VLANs on a switch to support IP Phones. It includes step-by-step instructions for accessing the switch, configuring VLANs, and verifying the configuration using specific commands. The lab is designed to enhance understanding of VLANs and power usage for connected devices within a 30-minute timeframe.

Uploaded by

Dúber Pérez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Discovery 3: Configure an Access Switch for an Endpoint

Introduction
In this discovery lab you will learn to configure a Voice and Data VLAN on the switch to support the IP Phones in
the lab environment. You will also identify the commands to confirm your configuration, identify the phones through
the use of Cisco Discovery Protocol (CDP) and finally identify the power budget and power usage of the phones
connected to the switch.

This lab will take approximately 30 minutes to complete.

Topology

Credentials
Usernames and Passwords

Device IP address Username Password

Switch-1 10.1.5.253 Administrator C0ll@B

PC-1 10.1.5.200 Student C0ll@B

Task 1: Configure Voice and Data VLANs on the Switch


Activity
Step 1
Open PuTTY from the Desktop on PC-1.
Step 2
From the list of Saved Sessions, click Switch 1. Select Load.

Step 3
Confirm the IP address of the switch (10.1.5.253) is shown in the Host Name field, then click Open.

Step 4
When prompted with a PuTTY Security Alert indicating the server key does not match the key PuTTY has in its
cache, click Yes.

Step 5
Login with the username (Administrator) and the password (C0ll@B).

Step 6
Enter into Global Configuration mode.

configure terminal

Step 7
Configure interface gigabitEthernet 0/0 with a description of Cisco CIPC Phone 1.

interface gigabitEthernet 0/0


description Cisco CIPC Phone 1

Before we configure the VLANs on the switch, let’s take a moment to understand how the Voice and Data VLANs
work when an IP Phone is involved.

Keeping Voice and Data traffic separated is important for two reasons.
1. It provides security between the voice and data traffic.
2. It simplified QoS implementation by having the traffic separated into different VLANs

In the diagram you can see the IP Phone has been connected directly to the switch with an Ethernet cable. The PC
has been connected via an Ethernet cable to the IP Phone.

From the perspective of the switch, there are two devices connected to the same port. Considering this will be
configured as an access port, and access ports can only belong to a single VLAN, this creates a challenge to
identify the difference between the Voice and Data traffic. Fortunately, Cisco has a special command that can be
configured on the port to identify if traffic has been tagged or not tagged. This allows the switch to identify two types
of traffic without the need to configure the port as a trunk port.

When tagged traffic arrives at the switch, it is placed into the Voice VLAN on condition the tag matches the Voice
VLAN configured on the switch. Any traffic that arrives at the switch that is not tagged, is placed into the Data
VLAN configured on the port.

In the diagram, when traffic is sent by the PC to the IP phone, the phone leaves the traffic untagged and forwards it
to the switch. The switch will therefore place this traffic into the Data VLAN configured on the port, in this scenario
that is VLAN 110 (Data VLAN).

When traffic is generated by the IP Phone (a voice call), the traffic is tagged by the IP phone with the Voice VLAN
which is VLAN 100 in this scenario. The Voice VLAN is sent the IP Phone via Cisco Discovery Protocol (CDP)
during the boot phase of the IP Phone. The CDP exchange during the boot phase is also used to negotiate the
amount of power (PoE) required by the IP Phone.
Step 8
Issue the command switchport access vlan 110 to configure the data VLAN on the port.

Step 9
Issue the command switchport voice vlan 100 to configure the voice VLAN on the port

Step 10
Issue the command no shutdown to ensure the port not administratively shutdown

Step 11
Repeat the previous four steps on gigabitEthernet 0/1 interface with a description of Cisco CIPC Phone 2

Interface gigabitEthernet 0/1


description Cisco CIPC Phone 2
switchport access vlan 110
switchport voice vlan 100
no shut

Step 12
Exit out of configuration mode

exit
exit
SWITCH#

Task 2: Verification of VLANs and Power Usage


Activity
Step 1
Issue the command show vlan to verify that ports Gi0/1 and Gi0/2 are associated to VLAN 100 and VLAN 110,
named Headquarters and PC respectively.

SWITCH# show vlan

VLAN Name Status Ports


--- ------------ ------------- --------------------
1 default active Gi0/2
100 VLAN0100 active Gi0/0, Gi0/1
110 VLAN0110 active Gi0/0, Gi0/1
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

Step 2
Issue the command show cdp neighbors to verify the two IP phones are discovered on ports Gi0/0 and Gi0/1.
SWITCH# show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge


S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID Local Intrfce Holdtme Capability Platform Port ID


SEP222222222222 Gig 0/1 144 H P M R B Gig 0/0
SEP111111111111 Gig 0/0 173 H P M R B Gig 0/0

Total cdp entries displayed : 2


SWITCH#

Your IP Phone names might differ from those shown.

You might also like