How to Control Port Speed?

  • 1
  • Question
  • Updated 1 year ago
Hello,

Could you please advise how to control special port speed which is not common? 

Example: 20Mbps, 200Mbps, 300Mbps etc

Thanks!
Photo of machiasiaweb

machiasiaweb

  • 930 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Windesson Almeida

Windesson Almeida

  • 342 Points 250 badge 2x thumb

To set swpx to 1G, change interfaces file:

auto swpx
iface swpx inet static
  alias uplink to cisco g1/0/4
  address   192.168.1.10
  netmask   255.255.255.0
  link-speed 1000
  link-duplex full

If you are connecting this to a Cisco box port, set that port to "speed nonegotiate"

Photo of machiasiaweb

machiasiaweb

  • 930 Points 500 badge 2x thumb
I think need to change some wording.

It should be say how to do port rate-limit or shaping bandwidth?

Thanks!
(Edited)
Photo of Jason Guy

Jason Guy, Employee

  • 1,712 Points 1k badge 2x thumb
I think it is all explained here fairly well. Please take a look, and see if the policing configuration. Shaping is not supported. 
Photo of Sylvain Munaut

Sylvain Munaut

  • 746 Points 500 badge 2x thumb