Got it

Eth-Trunk Bandwidth Control

Created: Mar 21, 2020 20:38:26Latest reply: Mar 23, 2020 01:55:15 463 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,


Is it possible to apply bandwidth control directly on an Eth-Trunk interface or a VLAN running inside an Eth-Trunk in S6730?


E.g. > Limit in a 20Gbps Eth-Trunk (or VLAN 50) Ingress/Egress Traffic from PE to CE bandwidth (15Gbps):


QOS



I read the article "Example for Configuring MQC" in Hedex, but it's too much specific on deny traffic, not control bandwidth.


Thanks!


  • x
  • convention:

Featured Answers
chenhui
Admin Created Mar 23, 2020 01:55:15

Posted by ptomasi at 2020-03-22 05:14 Hi,@Fuzineli, I've tried to apply QoS directly on Eth-Trunk, but system didn't allow.It seems Interf ...
Yes, exactly.
To apply the traffic policy on the Eth-trunk, one more thing should be paid attenation to, which is direction of the traffic policy.
When the policy bound to outward direction, it is traffic shaping, while bound to inward direction, it is traffic policing.
Commonly, we apply the traffic policy on the inward direction, cause it takes lesser resource.
View more
  • x
  • convention:

chenhui
Admin Created Mar 22, 2020 01:42:00

Hi @ptomasi,
Yes, it's possible to do that.
To control the traffic or limit the bandwidth, you can use the traffic policy which is a application of MQC.
Kindly check https://support.huawei.com/hedex/hdx.do?docid=EDOC1100064949&id=dc_cfg_qos-example_0000&lang=en
View more
  • x
  • convention:

All Answers
Fuzineli
Fuzineli Created Mar 22, 2020 01:38:11

Do you tried use the command similar below?
System view
interface XGigabitEthernet0/0/XX
qos lr outbound cir 2097152 cbs 1048576
qos lr inbound cir 2097152 cbs 1048576

In this case I used to interface. Please, Could you try use this but on Eth-Trunk Interface? I'm not sure if it is possible.

Best Regards
View more
  • x
  • convention:

chenhui
chenhui Admin Created Mar 22, 2020 01:42:00

Hi @ptomasi,
Yes, it's possible to do that.
To control the traffic or limit the bandwidth, you can use the traffic policy which is a application of MQC.
Kindly check https://support.huawei.com/hedex/hdx.do?docid=EDOC1100064949&id=dc_cfg_qos-example_0000&lang=en
View more
  • x
  • convention:

ptomasi
ptomasi Created Mar 22, 2020 05:14:38

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


View more
  • x
  • convention:

Fuzineli
Fuzineli Created Mar 22, 2020 16:40:02 (0) (0)
No problem my friend. I think that @chenhui's proposal this is a correct solution. Thankyou for sharing  
chenhui
chenhui Admin Created Mar 23, 2020 01:55:15

Posted by ptomasi at 2020-03-22 05:14 Hi,@Fuzineli, I've tried to apply QoS directly on Eth-Trunk, but system didn't allow.It seems Interf ...
Yes, exactly.
To apply the traffic policy on the Eth-trunk, one more thing should be paid attenation to, which is direction of the traffic policy.
When the policy bound to outward direction, it is traffic shaping, while bound to inward direction, it is traffic policing.
Commonly, we apply the traffic policy on the inward direction, cause it takes lesser resource.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.