User`s guide
224 XSR User’s Guide
Configuring QoS for Frame Relay Chapter 10
Configuring Quality of Service
When there is no congestion each traffic class can use as much bandwidth as
is available, except the voice which is priority class and is rate-limited to a
maximum of 20 Kbps. BECN will adoptively reduce the CIR of the DLCI but
does not influence the parameters of the policy-map frame1.
Begin by creating three ACLs to define traffic classes:
XSR(config)#access-list 101 permit udp 192.168.1.0 0.0.0.255 any
eq 3000
XSR(config)#access-list 102 permit tcp 192.168.1.0 0.0.0.255 any
eq 3000
XSR(config)#access-list 103 permit ip any any
Create classification maps using a combination of ACLs or IP DSCP or
precedence bits to classify packets:
XSR(config)#class-map voice
XSR(config-cmap<voice>)#match access-group 101
XSR(config)#class-map ftp
XSR(config-cmap<ftp>)#match access-group 102
XSR(config-cmap<ftp>)#match ip dscp 18
XSR(config-cmap<ftp>)#match ip dscp 20
XSR(config)#class-map match-any class-1
XSR(config-cmap<class1>)#match access-group 103
Create a policy map consisting of one or more traffic classes and specify QoS
characteristics for each traffic class:
XSR(config)#policy-map frame1
XSR(config-pmap<frame1>)#class voice
XSR(config-pmap-c<voice>)#priority high 20 2500
XSR(config-pmap-c<voice>)#queue-limit 32
XSR(config-pmap-c<voice>)#set ip dscp 46
XSR(config-pmap<frame1>)#class ftp
XSR(config-pmap-c<frame1>)#bandwidth percent 50
XSR(config-pmap-c<frame1>)#police 30000 3000 6000 conform-
action set-dscp-transmit 10 exceed-action set-dscp-transmit 12
violate-action set-dscp-transmit 14
XSR(config-pmap-c<frame1>)#random-detect 20 35 250