I have the following problem.
I have two 3560E switches connected to each other through a 6M leased line.
I want to set up Qos which considers that 6M is the leased line speed.
What I thought is:
apply srr-queue bandwidth limit 10 on the egress interface which limits the bandwidth to 10M since I cannot make it lower than 10 percent.
I have 3 classes mapped to 3 queues.
After I configure shaped and share queues on the egress and dedicating 4M for the queue 1 (which I don't use in fact) leaving 6M shared for the other 3.
Is it a good approach or if there is no traffic sent to queue 1 the other 3 will utilize the bandwidth dedicated for that shaped queue.
The config would look like this
service-policy output policy-out
srr-queue bandwidth limit 10
srr-queue bandwidth shape 3 0 0 0
srr-queue bandwidth share 1 165 65 25
My assumption is the result of the above is
queue 1: 4M
queue 2: ~65% of 10-4
queue 3: ~25% of 10-4
queue 4: ~10% of 10-4
Is that correct?
Apologies for misunderstanding, my mistake.
The answer is yes as far as i know. The one queue in shaped mode is rate limited and cannot use any of the other queue's bandwidth. Equally the other 3 queues can share each other's bandwidth but not that of the shaped queue.