cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
419
Views
5
Helpful
5
Replies

Define Bandwidth For 10 Gbps Interface

zekebashi
Level 4
Level 4
2 Accepted Solutions

Accepted Solutions

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

View solution in original post

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...

View solution in original post

5 Replies 5

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

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

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 

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...

Thanks for this helpful info. 

Much appreciated! 

Best,   ~sK 

Review Cisco Networking for a $25 gift card