Assigning bandwidth and assigning priority to queues is different on a switch than it is on a router. With the 3560, there are 2 ingress queues and 4 egress queues. By default, ingress queue 2 is the priority queue and egress queue 1 is the priority queue. The default settings for the priority queues is not to allow the priority queue to use more than 10% if the ports bandwidth, however, this is configurable.
The command to modify the ingress priority queue and modify the defualt bandwidth assigned to the queue is mls qos srr-queue input priority-queue <queue#> bandwidth <weight>
To initialize the egress priority queue, you use the priority-queue out interface level command.
Assigning bandwidth to the queue for both ingress and egree queues can be done in either shared round robin or shaped round robin. In shared mode, the queues use relative weighting values using the command mls qos srr-que input bandwidth global command. In shaped mode, it queue is allowed to used the configured bandwidth amount and nothing more.
Here is the configuration guide for the 3560 and 3750-X models.
Thanks for the update.I am given 20 Mbps from my ISP with 2 IPS for 2 VRFs.I using 8 Mbps for one VRF and 12 for another.
VRF1 with 8 Mbps is used for data trafffic and VRF2 with 12 mbps is Voice traffic.Like in router I create a class map & access grioup ( source and destination based) and call the class map under policy map. I have created class 1( dcsp5) and class2 ( dscp4) and I used priority commnd for class1 and bandwidhth for class 2. but I am not able to configure the same and Also i want to know what is the difffernece between bandwidth & bandwidh quwue.