Custom QoS Policy Check Please

Soldato
Joined
17 Oct 2002
Posts
3,941
Location
West Midlands
Greetings, im putting together a QoS policy to be applied to CPE routers on an MPLS network with a single hub site and multiple spoke sites.

Our provider uses the 4 Class model and supports both IPP and DSCP, These are referred to as Gold (IPP 5) Silver (IPP 4) Bronze (IPP 2) and Default (IPP 0) ive used AutoQos in the past but thought about giving a manual config a go, could someone clarify if im heading in the right direction?

The policy will be applied on the MPLS facing interface going outbound of each CPE router.

!
class-map match-any REALTIME_GOLD
match ip dscp ef (VOIP)

class-map match-any CRITICAL_SILVER
match ip dscp af31 (Call Signalling)
match ip dscp cs3 (Call Signalling)
match ip dscp cs6 (IP Routing BGP)
match ip dscp af21 (Unix Database Access)

class-map match-any BEST_EFFORT_BRONZE
match ip dscp 0 (Web Traffic/Email/Pritning)

class-map match-any SCAVENGER
match ip dscp CS1 (P2P/Misc)


!

policy-map CUSTOMER_CPE

class REALTIME_GOLD
priority percent 50

class CRITICAL_SILVER
bandwidth percent 24
random-detect dscp-based

class BEST_EFFORT_BRONZE
bandwidth percent 25
random-detect dscp-based

class SCAVENGER
bandwidth percent 1

I haven't included access list to define traffic yet and may well have make a complete mess of the above but any comments would be appreciated.

Regards
 
Ahh right understand now specially in how IPP translates to DSCP values.
Thank you for that much appreciated, So would i be correct in saying that the inbound policy on the LAN would resemble the following

ip access-list extended Gold
permit ip <Source IP> <Source WIldcard> <Dest IP> <Dest WIldcar>

ip access-list extended Silver
permit ip <Source IP> <Source WIldcard > <Dest IP> <Dest WIldcard >

ip access-list extended Bronze
permit ip <Source IP> <Source WIldcard > <Dest IP> <Dest WIldcard >


class-map match-any Gold_Service
match access-group name Gold

class-map match-any Silver_Service
match access-group name Silver

class-map match-any Bronze_Service
match access-group name Bronze

policy-map Marking

class Gold_Service
set ip dscp cs5

class Silver_Service
set ip dscp cs4

class Bronze_Service
set ip dscp cs2

interface FastEthernetX/X
service-policy input Marking


Regards
 
Cheers for that, ill add it too the box of tricks! Trying to get on a course at the moment, QoS is certainly one of the more interesting topics!

Regards
 
Well ive had an update from the ISP and they do support DSCP at the CPE, markings are as follows

ISPMplsQos.JPG


So i would imagine i can take your config above and replace it with lowest drop preference values from the attached image

Example:


class-map match-any REALTIME_GOLD
match ip dscp EF (voip/signalling)

class-map match-any CRITICAL_SILVER
match ip dscp AF41 (Unix Database Access, BGP)

class-map match-any BEST_EFFORT_BRONZE
match ip dscp AF21 (Web Traffic/Email/Pritning)

policy-map CUSTOMER_CPE

class REALTIME_GOLD
priority percent 30

class CRITICAL_SILVER
bandwidth percent 20
random-detect dscp-based

class BEST_EFFORT_BRONZE
bandwidth percent 20
random-detect dscp-based

class class-default
bandwidth percent 5
random-detect


Regards
 
Back
Top Bottom