Home QoS Cisco QoS Configuration VOIP QoS sample

1. Configure class map

Cisco-QoS#conf t
Cisco-QoS(config)#class-map EF
Cisco-QoS(config-cmap)#match ip precedence 5
 

Cisco-QoS#sh class-map EF
 Class Map match-any EF (id 1)
   Match ip  precedence 5       

Cisco-QoS#sh class-map class-default
 Class Map match-any class-default (id 0)
   Match any 

 

2. Configure policy map

Cisco-QoS#conf t
Cisco-QoS(config)#policy-map voip
Cisco-QoS(config-pmap)#priority percent 90
Cisco-QoS(config-pmap)#police cir percent 90 bc 25 ms be 25 ms
Cisco-QoS(config-pmap-c-police)#conform-action transmit
Cisco-QoS(config-pmap-c-police)#exceed-action drop

Cisco-QoS(config-pmap-c-police)#class class-default
Cisco-QoS(config-pmap-c)#random-detect
Cisco-QoS(config-pmap-c)#random-detect precedence 0 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 1 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 2 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 3 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 4 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 5 19 64 1
Cisco-QoS(config-pmap-c)#random-detect precedence 6 64 70 1
Cisco-QoS(config-pmap-c)#
random-detect precedence 7 64 70 1
 

 
Cisco-QoS#sh policy-map voip
  Policy Map voip
    Class EF
     police cir percent 90 bc 25 ms be 25 ms
       conform-action transmit
       exceed-action drop
      Strict Priority
      Bandwidth 90 (%)
    Class class-default
      Bandwidth 10 (%)
            exponential weight 9
            class    min-threshold    max-threshold    mark-probablity
            ----------------------------------------------------------

            0          19                 64               1/1
            1          19                 64               1/1
            2          19                 64               1/1
            3          19                 64               1/1
            4          19                 64               1/1
            5          19                 64               1/1
            6          64                 70               1/1
            7          64                 70               1/1
            rsvp       -                  -                1/10
                   

                                    

 

3. Apply service policy to interface

 

Cisco-QoS#conf t
Cisco-QoS(config)#interface serial1/1
Cisco-QoS(config-if)#
service-policy output voip

 

Last Updated (Sunday, 28 March 2010 23:35)

 
Smart Link
Search
Statistics
Content View Hits : 2200624
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 96 guests online