Configuring QoS
Procedure
Examples
This example creates the following configuration:
- Configures CoS to be used to assign local priority to ingress packets.
Modifies the default CoS map to assign CoS 1 to local priority1.
- Creates a queue profile named
第一季度
and assigns local priorities as follows:Queue Local Priority 0 0 1 1 1 2 2 3 3 4 4 5 5 6 5 7 -
Creates a schedule profile named
S1
and assigns DWRR to all queues in the schedule profile with the following weights:Queue Weight 0 5 1 10 2 15 3 20 4 25 5 50 Applies第一季度andS1to all interfaces that do not have a QoS override applied.
switch(config)#qostrust cosswitch(config)#qoscos-map 1 local-priority 1switch(config)#qosqueue-profile Q1switch(config)#map queue 0 local-priority 0switch(config)#map queue 1 local-priority 1switch(config)#map queue 1 local-priority 2switch(config)#map queue 2 local-priority 3switch(config)#map queue 3 local-priority 4switch(config)#map queue 4 local-priority 5switch(config)#map queue 5 local-priority 6switch(config)#map queue 5 local-priority 7switch(config)#qosschedule-profile S1switch(config)#dwrr queue 0 weight 5switch(config)#dwrr queue 1 weight 10switch(config)#dwrr queue 2 weight 15switch(config)#dwrr queue 3 weight 20switch(config)#dwrr queue 4 weight 25switch(config)#dwrr queue 5 weight 50switch(config)#apply qos queue-profile Q1 schedule-profile S1