- Enterasys Security Router User's Guide

QoS Policy Configuration Examples
12-26 Configuring Quality of Service
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-c<voice>)#exit
XSR(config-pmap<frame1>)#class ftp
XSR(config-pmap-c<ftp>)#bandwidth percent 50
XSR(config-pmap-c<ftp>)#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<ftp>)#random-detect 20 35 250
XSR(config-pmap-c<ftp>)#exit
Configure map class parameters and apply the policy to the ports:
XSR(config)#map-class frame-relay cc
XSR(config-map-class<cc>)#frame-relay cir 64000
XSR(config-map-class<cc>)#frame-relay adaptive-shaping becn
XSR(config-map-class<cc>)#frame-relay bc 8000
XSR(config-map-class<cc>)#frame-relay be 16000
XSR(config-map-class<cc>)#service-policy out frame1
XSR(config-map-class<cc>)#exit
XSR(config)#interface serial 1/1
XSR(config-if<S1/1>)#encapsulation frame-relay
XSR(config<S1/1>)#frame-relay traffic-shaping
XSR(config<S1/1>)#no shutdown
XSR(config<S1/1>)#exit
XSR(config)#interface serial 1/1.1 point-to-point
XSR(config-subif<S1/1.1>)#frame-relay interface-dlci 100
XSR(config-fr-dlci<S1/1.1-100>)#frame-relay class cc
XSR(config-fr-dlci<S1/1.1-100>)#ip address 10.10.10.2 255.255.255.0
XSR(config-fr-dlci<S1/1.1-100>)#no shutdown
QoS with MLPPP Multi-Class Policy
In the following example, configure fragment delay to 10 milliseconds, classify RTP traffic as
latency sensitive, match FTP traffic by FTP class, and allocate 30 percent of the output bandwidth.
All other traffic is matched as default class. Also, fragment and interleave FTP packets and
default-class packets with VoIP-RTP packets.
XSR(config)#class-map VoIP-RTP
XSR(config-cmap<VoIP-RTP>)#match access-group 101
XSR(config-cmap<VoIP-RTP>)#exit
XSR(config)#class-map FTP
XSR(config-cmap<FTP>)#match access-group 102
XSR(config-cmap<FTP>#exit
XSR(config)#policy-map QoS-Policy