How to Control Port Speed?

Userlevel 1

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

Example: 20Mbps, 200Mbps, 300Mbps etc


4 replies

To set swpx to 1G, change interfaces file:
auto swpx
iface swpx inet static
alias uplink to cisco g1/0/4
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?

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 :