Академический Документы
Профессиональный Документы
Культура Документы
Presentation, 1/03
Cisco AutoQoS
Technical Presentation
Ramya Venkatraman
Technical Marketing Engineer QoS
Internet Technologies Group
AutoQoS Technical
Presentation, 1/03
Agenda
Introduction
Cisco AutoQoS Framework
Automation with Cisco AutoQoS
AutoQoS Deployment Case Study
Summary
AutoQoS Technical
Presentation, 1/03
Introduction
IETF DiffServ Architecture (RFC-2475)
ROUTER
PPP
HDLC
ATM
GE
SWITCH
Classification (CoS,
(CoS, DSCP,
DSCP, ACLs,
ACLs, VLAN,
VLAN, Port-based)
Port-based)
Classification
FE
6
Agenda
Introduction
Cisco AutoQoS Framework
Automation with Cisco AutoQoS
AutoQoS Deployment Case Study
Summary
AutoQoS Technical
Presentation, 1/03
Behavior
Classification of VoIP based on packet
attributes or port trust
Marking
Class-Based Marking
Congestion
Management
% based LLQ,
Shaping
Link Efficiency
Mechanism
Header Compression
Link Efficiency
Mechanism
AutoQoS Technical
Presentation, 1/03
WRR
What Applications
are running through
my network?
Link Utilization
Citrix
Netshow
Fasttrack
25%
15%
10%
FTP
HTTP
30%
20%
Benefits
Identifies Layer 4 to Layer 7 applications and protocols
Stateful & deep packet inspection
Platform Support
Cisco 1700, 2600, 3600, 7100, 7200, FlexWan Series Routers
Switches: MSFC support on Sup 1a & Sup 2 introduced in
Release 12.1(13)E
AutoQoS Technical
Presentation, 1/03
Distinguishes between
RTP packets based on
payload type and
CODECS
Removes dependencies
on UDP Port Range &
DSCP markings
AutoQoS Technical
Presentation, 1/03
CODEC
Payload Type
G.722 (Audio)
G.723 (Audio)
G.728 (Audio)
15
G.729 (Audio)
18
H.261 (Video)
31
MPEG-1 (A/V)
14 (Audio), 32
(Video), 33 (A-V)
MPEG-2 (A/V)
Dynamic
96 - 127
10
Solution
Configure policies as a percentage of available
bandwidth
Advantage
Increased Scalability & Manageability
Same Policy Map can be applied on multiple interfaces and on
interfaces with varying bandwidth
11
Voice Packet
60 bytes
Every >214 ms
Voice Packet
60 bytes
Every >214 ms
Voice
Voice
10mbps Ethernet
56kb WAN
Voice
Voice
Voice
10mbps Ethernet
Implemented via Multilink PPP (MLP) over FR, ATM, and leased lines
Fragments are interleaved with the real-time packets, reducing the
Serialization delay experienced by Voice packets
AutoQoS Technical
Presentation, 1/03
12
PPP
6 Bytes of Header
ATM
53 Bytes Cells with
a 48 Byte Payload
Frame-Relay
4 Bytes of Header
G.711 at 50 pps
82.4 kbps
106 Kbps
81.6 kbps
G.711 at 33 pps
75.5 kbps
84 Kbps
75 kbps
G.729A at 50 pps
26.4 kbps
42.4 Kbps
25.6 kbps
G.729A at 33 pps
20 kbps
28 Kbps
19.5 kbps
PPP
6 Bytes of Header
ATM
53 Bytes Cells with
a 48 Byte Payload
Frame-Relay
4 Bytes of Header
G.711 at 50 pps
68 kbps
N/A
67 kbps
G.711 at 33 pps
66 kbps
N/A
65.5 kbps
G.729A at 50 pps
12 kbps
N/A
11.2 kbps
G.729A at 33 pps
10.5 kbps
N/A
10 kbps
AutoQoS Technical
Presentation, 1/03
13
Agenda
Introduction
Cisco AutoQoS Framework
Automation with Cisco AutoQoS
AutoQoS Deployment Case Study
Summary
AutoQoS Technical
Presentation, 1/03
14
Building
Building
Access
Layer 2 Switch
Distribution
Layer 3 Switch
Core
Layer 3 Switched
Backbone
Server Farm
Server Farm
AutoQoS Technical
Presentation, 1/03
15
WAN
16
17
18
Provisioning
LLQ protects voice bearer and voice signaling traffic
WFQ shares bandwidth fairly in the Best Effort Data class
Policy Generation
Enables high- (>768Kbps) and low- (<=768Kbps) speed QoS
Monitoring
AutoQoS Technical
Presentation, 1/03
19
Without
AutoQoS
Configuring QoS for VoIP on Low Speed Frame Relay WAN Link
class-map VoIP-Bearer
match protocol rtp audio
class-map VoIP-Control
match access-group 101
!
policy-map QoS-Policy
class VoIP-Bearer
priority percent 30
set ip dscp ef
class VoIP-Control
bandwidth percent 5
set ip dscp af31
class class-default
fair-queue
!
Access-list 101 permit tcp
Access-list 101 permit tcp
Access-list 101 permit udp
Access-list 101 permit udp
Access-list 101 permit tcp
AutoQoS Technical
Presentation, 1/03
Frame
Relay
any
any
any
any
any
any
any
any
any
any
eq 1720
\\H.323
range 11000 11999 \\H.323
eq 2427
\\MGCP
eq 2428
\\MGCP
range 2000 2002
\\ Skinny
20
Without
AutoQoS
Frame
Relay
Enable FRF.12
21
With AutoQoS
FRTS enabled by
interface Serial4/0
AutoQoS
encapsulation frame-relay
frame-relay traffic-shaping
You specify BW, IP Addr
!
& FR DLCI
interface Serial4/0.1 point-to-point
bandwidth 256
ip address 10.1.71.1 255.255.255.0
You enable AutoQoS
frame-relay interface-dlci 100
class AutoQoS-VoIP-FR-Serial4/0-100
CRTP configuration
auto qos voip
generated by AutoQoS
frame-relay ip rtp header-compression
!
map-class frame-relay AutoQoS-VoIP-FR-Serial4/0-100
frame-relay cir 256000
FRTS & FRF.12 settings
frame-relay bc 2560
generated by AutoQoS
frame-relay be 0
frame-relay mincir 256000
service-policy output AutoQoS-Policy-UnTrust
frame-relay fragment 320
AutoQoS Technical
Presentation, 1/03
Frame
Relay
22
With AutoQoS
Frame
Relay
23
With AutoQoS
Frame
Relay
24
25
26
AutoQoS Technical
Presentation, 1/03
27
Without
AutoQoS
Configuring QoS for VoIP on Trusted & Untrusted Ports in the LAN
6500
6500
6500
6500
6500
6500
6500
6500
6500
6500
28
With AutoQoS
6500
6500
6500
6500
6500
6500
6500
6500
6500
6500
Generated by AutoQoS
AutoQoS Technical
Presentation, 1/03
29
Without
AutoQoS
6500
6500
3500
6500
6500
3500
AutoQoS Technical
Presentation, 1/03
30
With AutoQoS
6500
6500
3500
6500
6500
3500
31
Without
AutoQoS
Configuring QoS for VoIP on Trusted & Untrusted Ports in the LAN
mls qos
mls qos map cos-dscp 0 10 18 26 34 46 48 56
wrr-queue cos-map 1 0 1 2 4
Map CoS Values in incoming
wrr-queue cos-map 3 3 6 7
packets to DSCP values
wrr-queue cos-map 4 5
wrr-queue bandwidth 20 1 80 0 Assign packets with CoS 5 to
!
Queue 4 (Expedite Queue)
Interface GigabitEthernet0/1
Description Uplink to Trusted Source
mls qos trust dscp
!
3500
interface FastEthernet0/1
Description to IP Phone
Ingress Classification set to trust
mls qos trust CoS
CoS value received in the packet
switchport voice vlan 111
switchport access vlan 11
switchport priority extend cos 0
6500
6500
3500
6500
6500
3500
32
With AutoQoS
Generated by AutoQoS
6500
6500
3500
3500
6500
6500
3500
33
Agenda
Introduction
Cisco AutoQoS Framework
Automation with Cisco AutoQoS
AutoQoS Deployment Case Study
Summary
AutoQoS Technical
Presentation, 1/03
34
WAN
WAN
Access Layer
Classification & Trust
Boundary
Marking / Remarking
Egress Queue Scheduling
Buffer Management
AutoQoS Technical
Presentation, 1/03
Intelligent Classification
Bandwidth Provisioning
Admission Control
Shaping
Link Fragmentation & Interleaving
Header Compression
Distribution Layer
Layer 3 Policing
Egress Scheduling
(Multiple Queues with WRR)
Priority Queuing for VOIP
Buffer Management
35
Consistency
Monitoring
&
Reporting
Monitor the
performance of
Voice traffic
Key
Elements
of QoS
Deployment
Policy
Generation
Configuration
AutoQoS Technical
Presentation, 1/03
Application
Classification
Link Efficiency
Mechanisms
CoS to DSCP to
Queue mapping
WRR & WRED
parameters
Transport specific
features
Classes
Bandwidth requirements
High Speed Vs Low Speed QoS
Buffer Management
36
2.
3.
4.
5.
6.
7.
AutoQoS Technical
Presentation, 1/03
37
2.
3.
4.
5.
6.
7.
AutoQoS Technical
Presentation, 1/03
38
Traffic
Classification
Evaluate
Network
Environment
& Generate
Initial Policy
Policy
Generation
One
Command
Provisioning
VoIP Packet
Drop Alerts
CBQoSMIB
Support
Monitorin
g
Consistency
39
2.
3.
Cisco Catalyst 2950 and 3550 Switches: enable Auto QoS on the interface
auto qos voip [trust | cisco-phone]
Cisco Catalyst 6500 Switch: enable Auto QoS on the port
set qos autoqos
set port qos autoqos <mod/port> voip [ciscosoftphone |
ciscoipphone]
set port qos autoqos <mod/port> trust [cos|dscp]
Parameter Tuning
2.
3.
AutoQoS Technical
Presentation, 1/03
40
2.
3.
4.
41
Interface 1
Outbound Policy
SNMP
Interface 3
Inbound
Policy
CBQoSMIB
Provide CBQoS Statistics &
Configuration Information Per policy
ftp://ftp.cisco.com/pub/mibs/v2/CISCO-CLASS-BASED-QOS-MIB.my
AutoQoS Technical
Presentation, 1/03
42
interface Serial0
bandwidth 256
Ip address 10.1.61.1
255.255.255.0
Device-Based
Single Command
Intelligent
Classification
Reporting via Syslog
& Traps
AutoQoS Technical
Presentation, 1/03
Monitoring
Reports
Troubleshooting
Multi-device, global
43
CMPrePolicyPkt
CMPrePolicyByte
CMPostPolicyPkt
CMDropPkt
CMDropByte
CMNoBufDropPkt
Bronze
Bronze
Silver
Silver
Gold
Gold
AutoQoS Technical
Presentation, 1/03
Drop=Pre- Post
Bronze
Silver
44
AutoQoS Technical
Presentation, 1/03
45
Agenda
Introduction
Cisco AutoQoS Framework
Automation with Cisco AutoQoS
AutoQoS Deployment Case Study
Summary
AutoQoS Technical
Presentation, 1/03
46
Highlights
Cisco AutoQoS in the WAN
Simplifies QoS configuration for VoIP
Phase I a single command enables Cisco QoS for VoIP
AutoQoS Technical
Presentation, 1/03
47
Highlights
Cisco AutoQoS in the WAN (Cont)
AutoQoS Technical
Presentation, 1/03
48
Highlights
Cisco AutoQoS in the LAN
Simplifies QoS configuration for VoIP
Phase I a single command enables Cisco QoS
for VoIP
Support for Cisco IP Phone & Cisco SoftPhone
AutoQoS Technical
Presentation, 1/03
49
Highlights
Cisco AutoQoS in the LAN (Cont)
Intelligent Policy generation
Automatically decides on trust and extended trust boundary
settings
User can bypass telephone and connect their PC directly to the
switch
Disables trust when IP phone is relocated
AutoQoS Technical
Presentation, 1/03
50
51
Availability
Platforms
Switches
Routers
AutoQoS Technical
Presentation, 1/03
Software
52
References
AutoQoS Technical
Presentation, 1/03
53
AutoQoS Technical
Presentation, 1/03
54