How to Rate Limit - port based VOSS 4K

  • 1 April 2021
  • 1 reply


I am looking for some clarity on rate-limiting traffic on a port basis. I have a 1G connection that I want to split into two 500Mbps links by using rate limiting on ports.


I just want to confirm my understanding as it differs from VSP7K to 4K.

If I want to rate limit port 2 for example, do I need to use both ingress and egress ?


(config)#int gigabitEthernet ½

(config-if)#qos if-policer peak-rate 512000 svc-rate 512000

(config-if)#qos if-shaper shape-rate 512000




1 reply

If I can rephrase the ask

The goal is:

We have a 1 Gbps internet connection is being shared by CompanyA and CompanyB. Company A will use VLAN A, Company B have VLAN B, we want to ensure that either company can only utilize 500Mbps at a time.

I was thinking of doing this on the VSP4K ports as close to the border router as possible and use port-based limiting, maybe there is a better way to achieve the same goal ?