cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2126
Views
0
Helpful
12
Replies

bandwidth shape

ThanhHai
Level 1
Level 1

i am configuring bandwidth shape for switch 2960-l i want to configure limit bandwidth for port 3 and 5 is 15mbps but it still not working please help me to solve this problem.

 

total_test(config)#mls qos
total_test(config)#interface gigabitethernet 0/5
total_test(config-if)srr-queue bandwidth shape 60 0 0 0
total_test(config-if)priority-queue out
total_test(config)#interface gigabitethernet 0/3
total_test(config-if)srr-queue bandwidth shape 60 0 0 0
total_test(config-if)priority-queue out

2 Accepted Solutions

Accepted Solutions

@Joseph W. Doherty thank you very much. I make sure that QOS has been enabled, i tested it and it was running on the second queue

  total_test(config)#mls qos
  total_test(config)#interface gigabitethernet 0/5
  total_test(config-if)srr-queue bandwidth shape 0 60 0 0
  total_test(config-if)priority-queue out
  total_test(config)#interface gigabitethernet 0/3
  total_test(config-if)srr-queue bandwidth shape 0 60 0 0
  total_test(config-if)priority-queue out

Can you explain to me why it only runs in the second queue.

View solution in original post

"i tested it and it was running on the second queue"

Do you mean it only takes the shaping number for the 2nd queue, or our traffic appears to be using the 2nd queue?

If the latter, I recall a 2960 (like the 3560 and 3750) have default mappings for CoS or ToS markings.  Further, I recall (?), default markings go to the second queue, because the 1st queue is special in that it supports PQ.

View solution in original post

12 Replies 12

Hello

Example:
int ran gig 0/3 , gig0/5

speed 100
srr-queue bandwidth limit 15


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Just a couple of notes for what @paul driver describes.

First, the command shown shapes all egress traffic on the interface, not just a particular egress queue.

Second, if the 2960 is like the 3560/3750 (which I recall it may be), shaping a port, at a particular egress percentage, is a bit inexact.  I.e. it doesn't operate at exactly the defined percentage.

 

thank you @paul driver but i want use shapes all egress traffic on the interface

Hello


@ThanhHai wrote:

thank you @paul driver but i want use shapes all egress traffic on the interface


int x/x
speed 100
srr bandwidth shape 15 0 0 0

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Joseph W. Doherty
Hall of Fame
Hall of Fame

Your gig interfaces are running at 100 Mbps?

The traffic you wish to shape is directed to the first queue?

@Joseph W. Doherty 

Your gig interfaces are running at 100 Mbps?

->running interface is 1000m

The traffic you wish to shape is directed to the first queue?

->yes i want to go to the first queue?

"->running interface is 1000m"

total_test(config)#interface gigabitethernet 0/5

total_test(config-if)srr-queue bandwidth shape 60 0 0 0

total_test(config)#interface gigabitethernet 0/3

total_test(config-if)srr-queue bandwidth shape 60 0 0 0

"->yes i want to go to the first queue?"

Well if you want some traffic to go to the first queue, you need to configure to do so.  Have you?

Thank you for help me.

I have configured as you instructed but the network speed is still unchanged

(total_test(config)#interface gigabitethernet 0/5

total_test(config-if)srr-queue bandwidth shape 6 0 0 0).

"I have configured as you instructed but the network speed is still unchanged"

Again, you need to insure, the traffic you wish to limit, is directed to the queue being shaped.

You also need to insure QoS has been enabled, although your OP shows the command to do that.

For testing purposes, you might enable shaping on all 4 queues, to determine if your traffic is being shaped at all.

I.e.:

(total_test(config)#interface gigabitethernet 0/5

total_test(config-if)srr-queue bandwidth shape 6 6 6 6.

@Joseph W. Doherty thank you very much. I make sure that QOS has been enabled, i tested it and it was running on the second queue

  total_test(config)#mls qos
  total_test(config)#interface gigabitethernet 0/5
  total_test(config-if)srr-queue bandwidth shape 0 60 0 0
  total_test(config-if)priority-queue out
  total_test(config)#interface gigabitethernet 0/3
  total_test(config-if)srr-queue bandwidth shape 0 60 0 0
  total_test(config-if)priority-queue out

Can you explain to me why it only runs in the second queue.

"i tested it and it was running on the second queue"

Do you mean it only takes the shaping number for the 2nd queue, or our traffic appears to be using the 2nd queue?

If the latter, I recall a 2960 (like the 3560 and 3750) have default mappings for CoS or ToS markings.  Further, I recall (?), default markings go to the second queue, because the 1st queue is special in that it supports PQ.

johnmuino786
Level 1
Level 1

Thanks for asking this here. May be this reply is helful for you. I am going to bookmark this thread here https://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-policing/19645-policevsshape.html-results. If your problem is solved then please tell me here.

 

Thanks Again