/mcpQuality of Service for Voice over IP
Related Documents
42
QoSVoIP.mif
The following configuration example shows how to configure VoIP over ATM using the same PVC for
data and voice traffic:
Related Documents
•
Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.1
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/qos_c/index.htm
•
Cisco IOS Quality of Service Solutions Command Reference, Release 12.1
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/qos_r/index.htm
•
Cisco IOS Multiservice Applications Configuration Guide, Release 12.1
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/multi_c/index.htm
•
Cisco IOS Multiservice Applications Command Reference, Release 12.1
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/multi_r/index.htm
Configuration Example 18: QoS for VoIP over ATM using a Shared Voice and Data PVC
Commands
Description
ip cef
!
Enables IP CEF switching. You must enable IP CEF
switching for this solution to work.
class-map voip
match ip precedence 5
!
Creates class voip for voice traffic that has been marked
with IP Precedence 5 using one of the available marking
methods.
class-map webtraffic
match ip precedence 3
!
Creates class webtraffic for web traffic that has been
marked with IP Precedence 3 using one of the available
marking methods.
policy-map llq
class voip
priority 1000
class webtraffic
bandwidth 1000
class class-default
fair-queue
!
Defines policy map llq, which defines the QoS policy:
Class voip traffic gets priority and is limited to 1 Mbps
during congestion; class webtraffic packets are
guaranteed 1 Mbps. All other traffic shares the remaining
bandwidth.
interface ATM2/0/0
no ip address
!
interface ATM2/0/0.1 point-to-point
ip address 10.1.1.2 255.255.255.252
pvc data+voice 1/101
vbr-rt 6000 5000 1000
encapsulation aal5snap!
Configures ATM shaping parameters.
service-policy output llq
!
Attaches the llq QoS policy map to the ATM PVC.
In this example, LLQ is used on a single ATM PVC carrying both VoIP and data. The LLQ policy is applied to an
ATM subinterface for one PVC. Class voip traffic gets priority up to 1 Mbps, and class webtraffic is guaranteed
1 Mbps but does not get priority treatment. ATM shaping also guarantees that the PVC gets a sustained rate of
5 Mbps.