cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
671
Views
0
Helpful
0
Replies

Cat 6840-X traffic shaping

aferguson1209
Level 1
Level 1

Looking for some validation / assistance should the following be incorrect. 

 

The goal is to implement egress traffic shaping on the 6840 platform, while maintaining a priority queue for voice (and ideally video) data. This hardware should support a 2P6Q4T structure, and shaping is "supported" on the datasheet. 

 

below config shows what I have used to try and achieve that....however, if i do an iperf test, using UDP traffic at a rate greater than the shape rate (say 125Mbit), voice and video quality becomes very bad on the receiving end. The priority traffic seems to be getting dropped when the interface is oversubscribed. The other end of the call remains good quality. 

 

The iperf client is on another port, sending the traffic to the iperf server behind the shaped port. Thus, the traffic should be subject to the shaping policy. As well, there is a phone behind the port, having a telepresence enabled call with another phone upstream. 

 

The port the policy is applied to is a trunk port to a gigabit layer 2 switch, DSCP trust is enabled on access ports and trunk port of that switch. 6840 trusts DSCP by default. 

 

Class-maps:

class-map type lan-queuing match-all VOICE-2P6Q4T-PQ1

 match dscp ef

class-map type lan-queuing match-all VIDEO-2P6Q4T-PQ2

 match dscp cs4  af41  af42  af43  cs5

class-map type lan-queuing match-all TRANS_DATA-2P6Q4T-QUEUE

 match dscp af21  af22  af23

class-map type lan-queuing match-all SCAVENGER-2P6Q4T-QUEUE

 match dscp cs1  

class-map type lan-queuing match-all BULK_DATA-2P6Q4T-QUEUE

 match dscp af11  af12  af13

class-map type lan-queuing match-all CONTROL-2P6Q4T-QUEUE

 match dscp cs2  cs3  cs6  cs7

class-map type lan-queuing match-all MM_STREAM-2P6Q4T-QUEUE

 match dscp af31  af32  af33

 

Policy-maps

  1. policy-map type lan-queuing QUEUING-2P6Q4T
  2.  class type lan-queuing VOICE-2P6Q4T-PQ1
  3.     priority level 1
  4.  class type lan-queuing VIDEO-2P6Q4T-PQ2
  5.     priority level 2
  6.  class type lan-queuing CONTROL-2P6Q4T-QUEUE
  7.     bandwidth remaining percent 10
  8.  class type lan-queuing MM_STREAM-2P6Q4T-QUEUE
  9.     bandwidth remaining percent 20
  10.      random-detect dscp-based
  11.      random-detect dscp 26 percent 80 100
  12.      random-detect dscp 28 percent 70 100
  13.      random-detect dscp 30 percent 60 100
  14.  class type lan-queuing TRANS_DATA-2P6Q4T-QUEUE
  15.     bandwidth remaining percent 20
  16.      random-detect dscp-based
  17.      random-detect dscp 18 percent 80 100
  18.      random-detect dscp 20 percent 70 100
  19.      random-detect dscp 22 percent 60 100
  20.  class type lan-queuing BULK_DATA-2P6Q4T-QUEUE
  21.     bandwidth remaining percent 14
  22.      random-detect dscp-based
  23.      random-detect dscp 10 percent 80 100
  24.      random-detect dscp 12 percent 70 100
  25.      random-detect dscp 14 percent 60 100
  26.  class type lan-queuing SCAVENGER-2P6Q4T-QUEUE
  27.     bandwidth remaining percent 1
  28.  class class-default
  29.      random-detect dscp-based
  30.      random-detect dscp 0 percent 80 100
  31. policy-map type lan-queuing SHAPING-2P6Q4T
  32.  class class-default
  33.     shape average 100000000
  34.    service-policy QUEUING-2P6Q4T
  35.  
  36. interface TenGigabitEthernet1/2
  37.  switchport
  38.  switchport trunk native vlan 12
  39.  switchport mode trunk
  40.  switchport trunk allowed vlan 1,12,16
  41.  service-policy type lan-queuing output SHAPING-2P6Q4T
0 Replies 0
Review Cisco Networking products for a $25 gift card