cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1201
Views
10
Helpful
3
Replies

Bandwidth Management For Sub-Interfaces

Ali Hazim
Level 1
Level 1

Hi,
Is There a Way To Specify Different Bandwidth Size Of Sub-Interfaces, For Example:
If I Had A G0/0 Interface, And I Created 3 Sub-Interfaces G0/0.1, G0/0.2, & G0/0.3. Is There a Way That I Can Manage The Bandwidth So That G0/0.1 = 600Mbps, G0/0.2 & G0/0.3 = 200Mbps Each?

1 Accepted Solution

Accepted Solutions

Hello,

 

if you use shaping, the below should work:

 

policy-map GIG_01
class class-default
shape average 600000000
!
policy-map GIG_02
class class-default
shape average 200000000
!
policy-map GIG_02
class class-default
shape average 200000000
!
interface GigabitEthernet0/0.1
service-policy output GIG_01
!
interface GigabitEthernet0/0.2
service-policy output GIG_02
!
interface GigabitEthernet0/0.3
service-policy output GIG_03

View solution in original post

3 Replies 3

Hello,

 

if you use shaping, the below should work:

 

policy-map GIG_01
class class-default
shape average 600000000
!
policy-map GIG_02
class class-default
shape average 200000000
!
policy-map GIG_02
class class-default
shape average 200000000
!
interface GigabitEthernet0/0.1
service-policy output GIG_01
!
interface GigabitEthernet0/0.2
service-policy output GIG_02
!
interface GigabitEthernet0/0.3
service-policy output GIG_03

Thank You Very Much, You've Answered My Question And Gave Something New To Read About Which Is (Shaping)

Hello,

 

on a side note, you want to use shaping as much as possible, and avoid policing and rate limiting whenever possible. Shaping, as the name implies, as opposed to policing, where excess traffic is just dropped, retains excess traffic and reschedules it for transmission at a later time (milliseconds that is).

 

Have a look at the document below:

 

https://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-policing/19645-policevsshape.html

Review Cisco Networking for a $25 gift card