Outbound QoS policy generic example

From DocWiki

(Difference between revisions)
Jump to: navigation, search
(Configuration)
Line 12: Line 12:
==Configuration==
==Configuration==
-
access-list 100 permit icmp any any echo
+
access-list 100 permit icmp any any echo
-
access-list 100 permit icmp any any echo-reply
+
access-list 100 permit icmp any any echo-reply
-
!
+
!
-
class-map match-any ef-traffic
+
class-map match-any ef-traffic
-
match  dscp ef
+
  match  dscp ef
-
match access-group 100
+
  match access-group 100
-
class-map match-all af21-traffic
+
class-map match-all af21-traffic
-
match  dscp af21
+
  match  dscp af21
-
class-map match-all af31-traffic
+
class-map match-all af31-traffic
-
match  dscp af31
+
  match  dscp af31
-
class-map match-all af11-traffic
+
class-map match-all af11-traffic
-
match  dscp af11
+
  match  dscp af11
-
class-map match-all cs1-traffic
+
class-map match-all cs1-traffic
-
match  dscp cs1
+
  match  dscp cs1
-
class-map match-all class-default
+
class-map match-all class-default
-
match any
+
  match any
-
!
+
!
policy-map llq-policy
policy-map llq-policy
  class ef-traffic
  class ef-traffic

Revision as of 19:29, 2 February 2011

Contents

Introduction

Outbound Qos policy. This is an genric example of outbound QoS policy matching the tarffic using different dscp bits

Design

LAN======router->--Internet

Configuration

access-list 100 permit icmp any any echo
access-list 100 permit icmp any any echo-reply
!
class-map match-any ef-traffic
 match  dscp ef
 match access-group 100
class-map match-all af21-traffic
 match  dscp af21
class-map match-all af31-traffic
 match  dscp af31
class-map match-all af11-traffic
 match  dscp af11
class-map match-all cs1-traffic
 match  dscp cs1
class-map match-all class-default
 match any
!

policy-map llq-policy

class ef-traffic
 priority 168
class af31-traffic
 bandwidth remaining percent 40
class af21-traffic
 bandwidth remaining percent 20
class af11-traffic
 bandwidth remaining percent 13
class cs1-traffic
 bandwidth remaining percent 2
class class-default
 bandwidth remaining percent 25

! interface Serial0/1/0

service-policy output llq-policy

Related show Commands

show access-lists; show class-map; show policy-map interface serial 0/1/0


Related Information

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/nbar_mqc_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1055125

Rating: 5.0/5 (2 votes cast)

Personal tools