Users Guide

Table Of Contents
VLANs 805
Assign CoS for Voice Packets via Policy
The following example configures a DiffServ policy that remarks the CoS
value in voice packets and assigns the voice packets to an internal queue for
expedited service. The policy can be assigned to an interface using the
service-policy command.
1
Create the Voice VLAN in Global Configuration mode.
vlan 100
exit
2
Create a class map that matches the Voice VLAN.
class-map match-all voice-map
match vlan 100
exit
3
Create an ingress policy that assigns the voice packets to internal queue 2
and remarks the packets with CoS value 5.
See the show classofservice command for the CoS to internal queue
mappings.
policy-map voice-policy in
class voice-map
assign-queue 2
mark cos 5
exit
4
Assign the policy to an interface and enable Voice VLAN on the interface.
interface gi1/0/48
switchport voice vlan 100
service-policy in voice-vlan
exit
MLAG with RPVST and Voice VLAN
Figure 20-26 describes the reference topology. It is presumed that a call
manager of some type is connected to the network in the Voice VLAN.