Users Guide

796 VLANs
console(config-if-Gi1/0/10)#classofservice dot1p-mapping 5 2
9
Rate limit incoming IEEE 802.1p priority 5 traffic
console(config-if-Gi1/0/10)#mac access-group dot1p-5-limit in
Steps 6–8 are required to be configured on all ports that carry voice traffic
end-to-end, including the switch ports connected to other switches and the
ports on other switches that will carry voice traffic. It may be desirable to
configure steps 6–8 globally.
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 Voice VLAN to assign voice packets to a
CoS queue, and to remark the received packets with 802.1p priority 4. In this
case, the port is configured in port-based authentication mode.
1
Create the Voice VLAN.
console(config)#vlan 25
console(config-vlan25)#exit
2
Enable Voice VLAN globally.
console(config)#switchport voice vlan
3
Enable voice vlan on an interface.
console(config)#interface gi1/0/10
console(config-if-Gi1/0/10)#switchport voice vlan 25
4
Configure the switch to remark the received voice packets to 802.1p
priority 4 and assign to CoS queue 2.
console(config-if-Gi1/0/10)#no switchport voice vlan priority
extend trust
console(config-if-Gi1/0/10)#switchport voice vlan dot1p
priority 4