Hi,
@Fuzineli, I've tried to apply QoS directly on Eth-Trunk, but system didn't allow.
It seems Interface-based rate limiting can only be applied on physical interfaces.
[PE-Eth-Trunk3]qos ?
phb Per-hop-behavior
[PE-Eth-Trunk3]qos
This way, to control 15G traffic it would be needed to apply 7.5G limitation in each interface of Eth-Trunk.
One problem I see is that Eth-Trunk doesn't distribute traffic between interfaces exactly, what could be a problem when traffic isn't balanced (e.g. 8G + 7G or 9G + 6G, etc)
What lead us to Traffic Policy:
- - -
@chenhui, I think "Example for Configuring a Traffic Policy to Implement Rate Limiting" can be the solution:
[PE] acl 3000
[PE-acl-adv-3000] rule permit ip source 192.168.40.0 0.0.3.255 // CIDR of customer
[PE-acl-adv-3000] quit
[PE] traffic classifier c1 operator and
[PE-classifier-c1] if-match acl 3000
[PE-classifier-c1] quit
[PE] traffic behavior b1
[PE-behavior-b1] car cir 10240000 pir 15360000 //Set the CIR to 10 Gbit/s and PIR to 15 Gbit/s.
[PE-behavior-b1] statistic enable
[PE-behavior-b1] quit
[PE] traffic policy p1
[PE-trafficpolicy-p1] classifier c1 behavior b1
[PE-trafficpolicy-p1] quit
[PE] interface Eth-Trunk 3
[PE-Eth-Trunk3] traffic-policy p1 outbound
[PE-Eth-Trunk3] quit