01-12-2017 10:32 AM - edited 03-05-2019 07:49 AM
01-12-2017 12:27 PM
Two other options would be policing and generic traffic shaping:
Policing
policy-map LIMIT_BW
class class-default
police rate 200000000
interface Ethernet5/1.100
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.101
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.102
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.103
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.104
service-policy input LIMIT_BW
service-policy output LIMIT_BW
Generic Traffic Shaping
interface Ethernet5/1.100
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.101
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.102
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.103
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.104
traffic-shape rate 200000000 3750000 7500000
01-12-2017 01:29 PM
Hello,
policing is rather harsh, meaning that traffic that exceeds the rate will be dropped. Depending on your platform, there might be options to specify exceed actions...
01-12-2017 11:45 AM
Hello,
you could simply rate limit the input and output on each subinterface. In the example below, each subinterface would get 2GB inbound and outbound:
interface Ethernet5/1.100
rate-limit input 2000000000 375000000 750000000 conform-action transmit exceed-action drop
rate-limit output 2000000000 375000000 750000000 conform-action transmit exceed-action drop
interface Ethernet5/1.101
rate-limit input 2000000000 375000000 750000000 conform-action transmit exceed-action drop
rate-limit output 2000000000 375000000 750000000 conform-action transmit exceed-action drop
interface Ethernet5/1.102
rate-limit input 2000000000 375000000 750000000 conform-action transmit exceed-action drop
rate-limit output 2000000000 375000000 750000000 conform-action transmit exceed-action drop
interface Ethernet5/1.103
rate-limit input 2000000000 375000000 750000000 conform-action transmit exceed-action drop
rate-limit output 2000000000 375000000 750000000 conform-action transmit exceed-action drop
interface Ethernet5/1.104
rate-limit input 2000000000 375000000 750000000 conform-action transmit exceed-action drop
rate-limit output 2000000000 375000000 750000000 conform-action transmit exceed-action drop
01-12-2017 12:27 PM
Two other options would be policing and generic traffic shaping:
Policing
policy-map LIMIT_BW
class class-default
police rate 200000000
interface Ethernet5/1.100
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.101
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.102
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.103
service-policy input LIMIT_BW
service-policy output LIMIT_BW
interface Ethernet5/1.104
service-policy input LIMIT_BW
service-policy output LIMIT_BW
Generic Traffic Shaping
interface Ethernet5/1.100
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.101
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.102
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.103
traffic-shape rate 200000000 3750000 7500000
interface Ethernet5/1.104
traffic-shape rate 200000000 3750000 7500000
01-12-2017 01:22 PM
Hi Gpauwen,
Thank you for this great material. In relation to the Policing approach, what's the action that will be taken if the sub-interfaces exceeded the BW limit specified?
Best, ~zK
01-12-2017 01:29 PM
Hello,
policing is rather harsh, meaning that traffic that exceeds the rate will be dropped. Depending on your platform, there might be options to specify exceed actions...
01-13-2017 04:35 AM
Thanks for this helpful info.
Much appreciated!
Best, ~sK
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide