- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 12:47 AM - edited 12-23-2021 12:48 AM
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
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 04:39 PM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 05:08 PM
"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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 01:31 AM - edited 12-23-2021 01:31 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 02:44 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 04:29 PM
thank you @paul driver but i want use shapes all egress traffic on the interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2021 01:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 02:39 PM
Your gig interfaces are running at 100 Mbps?
The traffic you wish to shape is directed to the first queue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 04:27 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2021 07:15 AM
"->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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2021 10:11 PM
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2021 06:21 AM - edited 12-28-2021 08:22 AM
"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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 04:39 PM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 05:08 PM
"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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2021 10:55 PM
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
