You are on page 1of 3

BCMSN

Configuring IP
Telephony Support
– Lab Solutions

Lab Solution

Task 1: Configure Access Switches to Carry Voice Traffic


The following commands need to be entered on both access switches:
interface FastEthernet0/1
switchport trunk allowed vlan 1,11,15,211,1002-1005
switchport mode trunk
!
interface FastEthernet0/2
switchport voice vlan 211
Configuration 1: Enabling Voice VLAN on both access switches

Task 2: Configure User Access Ports for CoS Marking


The following commands need to be entered on both access switches:
interface FastEthernet0/2
mls qos trust cos
mls qos trust device cisco-phone
switchport priority extend cos 0
Configuration 2: CoS configuration on both access switches
Task 3: Configure Distribution Ports to Carry Voice Traffic
The following commands need to be entered on the distribution switch:
interface FastEthernet0/1
switchport trunk allowed vlan 1,11,15,211,1002-1005
switchport mode trunk
switchport voice vlan 211
!
interface FastEthernet0/3
switchport trunk allowed vlan 1,11,15,211,1002-1005
switchport mode trunk
switchport voice vlan 211
Configuration 3: Enabling Voice VLAN on the distribution switch

Task 4: Configure Distribution Interfaces to Trust CoS Value from


Access Switches
The following commands need to be entered on the distribution switch:
mls qos
!
interface FastEthernet0/1
mls qos trust cos
!
interface FastEthernet0/2
mls qos trust cos
Configuration 4: CoS configuration on the distribution switches

Task 5: Configure QoS for TFTP Traffic on a Distribution Switch Using a


Policy Map
The following commands need to be entered on the DSw1 switch:
access-list 108 permit udp any any
!
class-map match-all Test1
match access-group 108
!
policy-map InTest
class Test1
set ip dscp af21
!
class-map match-all Test2
match ip dscp af21
!
policy-map OutTest
class Test2
police 200000 56000 exceed-action drop
!
mls qos
!
interface FastEthernet0/1
service-policy output OutTest
!
interface FastEthernet0/3
service-policy output OutTest
!
interface FastEthernet0/24
service-policy input InTest
Configuration 5: Layer 3 QoS policy configuration on DSw1 switch

2 Configuring IP Telephony Support – Lab Solutions Copyright  2006 NIL


Note The DSCP value AF21 is displayed as DSCP 18 in the switch configuration.

Step 15 Enter the following commands on Distribution switch (DSw1) to remove outgoing
policy from both interfaces connected to the Access Switches.
interface FastEthernet0/1
no service-policy output OutTest
!
interface FastEthernet0/3
no service-policy output OutTest
Configuration 1: Layer 3 QoS policy remove on DSw1 switch interfaces

The Table 1 shows approximate results of the implemented policy.

Time Transfer Rate


Policy applied on 37 seconds 14,700 Bps
Access ports
Policy removed 14 seconds 38,600 Bps
from Access ports
Table 1: Policy result table

Step 17 Q1: Notice the difference and explain why the transfer rates differ.
A1: The transfer rates differ due to enabled policy which limits the peak transfer
rate and therefore introduces longer time to complete the transfer. If the policy is
not enabled, the transmission proceeds with higher speed.

Copyright  2006 NIL Configuring IP Telephony Support – Lab Solutions 3

You might also like