Users Guide

802 VLANs
Step 9 should be configured on all ports connected to IP phones if using strict
priority or perhaps on all host facing ports if IP phones are moved frequently.
Do not configure steps 3 or 9 on inter-switch connections as they will be used
to aggregate voice traffic.
When configuring an MLAG for transport of voice VLAN traffic, remember
to configure steps 6-8 on the corresponding MLAG/Voice VLAN and both
ends of the MLAG peer link (or configure them globally on both peers and
the partner switches).
Assign CoS for Voice Packets
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 ipv4
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
voice vlan 100
service-policy in voice-vlan
exit