No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S5700 qos LR outbound work is not exact

Publication Date:  2018-01-31 Views:  101 Downloads:  0
Issue Description

Network topology:



Key configuration:
1. Configure the traffic policy
#
traffic classifier CLASE_0 operator or
 if-match 8021p 6 7
traffic classifier CLASE_1 operator and
 if-match 8021p 1
traffic classifier CLASE_2 operator and
 if-match 8021p 2
traffic classifier CLASE_3 operator and
 if-match 8021p 3
traffic classifier CLASE_4 operator and
 if-match 8021p 4
traffic classifier CLASE_5 operator or
 if-match 8021p 5
traffic classifier VLAN1504 operator and
 if-match vlan-id 1504
#
traffic behavior BANDWIDTH_CLASE0
 statistic enable
 remark 8021p 0
traffic behavior BANDWIDTH_CLASE1
 car cir 2200 pir 11000 cbs 275000 pbs 1375000 green pass yellow pass red discard
 statistic enable                        
 remark 8021p 1
traffic behavior BANDWIDTH_CLASE2
 car cir 2200 pir 8800 cbs 275000 pbs 1100000 green pass yellow pass red discard
 statistic enable
 remark 8021p 2
traffic behavior BANDWIDTH_CLASE3
 car cir 2200 pir 6600 cbs 275000 pbs 825000 green pass yellow pass red discard
 statistic enable
 remark 8021p 3
traffic behavior BANDWIDTH_CLASE4
 car cir 2200 pir 4400 cbs 275000 pbs 550000 green pass yellow pass red discard
 statistic enable
 remark 8021p 4
traffic behavior BANDWIDTH_CLASE5
 car cir 2200 pir 2200 cbs 275000 pbs 275000 green pass yellow pass red discard
 statistic enable
 remark 8021p 5
traffic behavior BANDWIDTH_GESTION
 car cir 256 pir 256 cbs 32000 pbs 32000 green pass yellow pass red discard
 statistic enable
#
traffic policy MARCADO_VPLS
 classifier VLAN1504 behavior BANDWIDTH_GESTION
 classifier CLASE_5 behavior BANDWIDTH_CLASE5
 classifier CLASE_4 behavior BANDWIDTH_CLASE4
 classifier CLASE_3 behavior BANDWIDTH_CLASE3
 classifier CLASE_2 behavior BANDWIDTH_CLASE2
 classifier CLASE_1 behavior BANDWIDTH_CLASE1
 classifier CLASE_0 behavior BANDWIDTH_CLASE0
#
2. Configure the schedule
qos schedule-profile sp
 qos queue 1 wrr weight 10
 qos queue 2 wrr weight 20
 qos queue 3 wrr weight 30
 qos queue 4 wrr weight 40
 qos queue 5 wrr weight 0

3. Apply on the interface 0/0/9
#
interface GigabitEthernet0/0/1 // inbound
 set flow-stat interval 30
 port link-type dot1q-tunnel
 port default vlan 1510
 trust 8021p
#
interface GigabitEthernet0/0/9
 set flow-stat interval 30
 port link-type trunk
 port trunk allow-pass vlan 1504 1510
 traffic-policy MARCADO_VPLS outbound
 qos lr outbound cir 11256 cbs 1407000
 qos schedule-profile sp                 
#

if I generate 5 Mbps of traffic with each 5 priority in PC-A to the PC-B, the total bandwidth is limited to 8 Mbps, not to 10 Mbps

Solution

You have 5 priorities each has 5 M:

Priority 5 =  5 Mbps
Priority 4 =  5 Mbps
Priority 3 =  5 Mbps
Priority 2 =  5 Mbps
Priority 1 =  5 Mbps

The QoS sequence is  1. queue shaping  2.PQ schedule  3. Port shaping 4.traffic policy shaping   because there is no queue shaping it will start with PQ schedule and priority 5  will occupy 5M from the 11 CIR that will leave you with 6 M for priority 1 to 4, but because the traffic policy for priority 5 cir is 2200 the traffic that will go out its 2.2 Mbps.

After step PQ schedule & Port shaping  :
For the priority  1 to 4 the remaining  is 11-5=6m and base on this qos schedule-profile sp

qos schedule-profile sp
qos queue 1 wrr weight 10
qos queue 2 wrr weight 20
qos queue 3 wrr weight 30
qos queue 4 wrr weight 40
qos queue 5 wrr weight 0

the traffic is
Priority 5 =  5 Mbps
Priority 4 =  6*0.4 Mbps=2.4 Mbps
Priority 3 =  6*0.3 Mbps=1.8 Mbps
Priority 2 =  6*0.2 Mbps=1.2 Mbps
Priority 1 =  6*0.1 Mbps=0.6 Mbps

After traffic policy shaping :

traffic behavior BANDWIDTH_CLASE5
car cir 2200 pir 2200 cbs 275000 pbs 275000 green pass yellow pass red discard
statistic enable
remark 8021p 5

Priority 5 =  5 Mbps= 2.2 Mbps ( because traffic policy )
Priority 4 =  6*0.4 Mbps=2.4 Mbps= 2.2 Mbps
Priority 3 =  6*0.3 Mbps=1.8 Mbps=1.8Mbps
Priority 2 =  6*0.2 Mbps=1.2 Mbps=1.2 Mbps
Priority 1 =  6*0.1 Mbps=0.6 Mbps=0.6 Mbps

So the total traffic send out is 2.2 Mbps + 2.2 Mbps + 1.8Mbps + 1.2 Mbps + 0.6 Mbps = 8Mbps

END