How to Control Port Speed?


Userlevel 1
Hello,

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

Example: 20Mbps, 200Mbps, 300Mbps etc

Thanks!

4 replies

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"
Userlevel 1
I think need to change some wording.

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

Thanks!
Userlevel 3
I think it is all explained here fairly well. Please take a look, and see if the policing configuration. Shaping is not supported.
Userlevel 1
See for instance :

https://docs.cumulusnetworks.com/display/DOCS/Netfilter+-+ACLs#Netfilter-ACLs-PolicingControlPlanean...

https://support.cumulusnetworks.com/hc/en-us/articles/215628338-Cumulus-Linux-vs-Cisco-IOS-Policing-

Reply