VoIP QoS (T.S. 3/10/2000)
Hub router
!
!
dial-peer voice 1 voip
destination-pattern
4000
dtmf-relay cisco-rtp
ip precedence 5
session target
ipv4:192.168.0.2
!
!
interface Serial1/0
! bandwidth 512
no ip address
encapsulation
frame-relay
no ip mroute-cache
frame-relay traffic-shaping
frame-relay ip rtp
header-compression
!
!
interface Serial1/0.1 point-to-point
! bandwidth 512
ip address
192.168.10.2 255.255.255.252
no ip mroute-cache
frame-relay
interface-dlci 200
class VoIPovFR !links the
subinterface to a VoIPovFR map-class.
!
!
map-class frame-relay VoIPovFR
no frame-relay
adaptive-shaping !Disable Frame Relay BECNS
frame-relay cir
64000
frame-relay BC 600 !Tc = BC/CIR. In this case Tc is forced to its minimal configurable
values of 10 ms.
frame-relay
fair-queue
frame-relay fragment
80 !Turns on FRF.12 fragmentation and sets fragment
size = 80 bytes
frame-relay ip rtp
priority 16384 16383 45
!Assigns a priority queue for voice (based on UDP ports)with
max bandwidth = 45 Kbps.
!
!
Spoke Router
!
!
dial-peer voice 2 voip
destination-pattern
5000
dtmf-relay cisco-rtp
ip precedence 5
session target
ipv4:192.168.10.2
!
!
interface Serial0/1
bandwidth 512
no ip address
encapsulation
frame-relay
no ip mroute-cache
frame-relay traffic-shaping
frame-relay ip rtp
header-compression
!
interface Serial0/1.1 point-to-point
bandwidth 64
ip address
192.168.0.2 255.255.255.252
no ip mroute-cache
frame-relay
interface-dlci 100
class VoIPovFR
!
!
!
map-class frame-relay VoIPovFR
frame-relay cir
64000
frame-relay BC 600
no frame-relay
adaptive-shaping
frame-relay
fair-queue
frame-relay fragment
80
frame-relay ip rtp
priority 16384 16383 45
!
Tc = BC/CIR (Voice should
be 10-20ms)
Tc*CIR = BC
VoBW = 45k per each DS0
256K Circuits
CIR =
256000
BC =
2560
Tc = .01
Secs (10ms)
Frag = 320 bytes (see chart)
VoBW = 180 (180K of the 256K available)
512K Circuits
CIR =
512000
BC =
5120
Tc = .01
Secs (10ms)
Frag = 640 bytes (see chart)
VoBW = 360 (360K of the 512K available)
768K Circuits
CIR =
768000
BC =
7680
Tc = .01
Secs (10ms)
Frag = 1000 bytes (see chart)
VoBW = 540 (540K of the 768K available)
map-class frame-relay VoIPovFR
frame-relay cir 256000
frame-relay BC 2560
no frame-relay
adaptive-shaping
frame-relay fair-queue
frame-relay fragment 320
frame-relay ip rtp priority 16384 16383 180
Debug Commands:
sh traffic-shape queue
sh traffic-shape
sh frame-relay pvc
sh frame-relay fragment