Allied Telesis AT-8100 Series User Manual
Page 1680
Chapter 100: Quality of Service (QoS)
1680
Auto-QoS with Trust DSCP Functionality and Voice VLAN Support
In the following example, VLAN 100 becomes the voice VLAN and DSCP
is specified as the trusted-traffic type on port 1:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# auto-qos voice 100 trust dscp
See Table 225 for a list of commands that are contained in this macro.
Table 225. Auto-QoS with Trust DSCP Functionality and Voice VLAN Support Example
Command
Description
awplus (config-vlan) # vlan 100
Creates a VLAN with a VID of 100.
awplus (config)# mls qos enable
Activates the QoS feature on the switch.
awplus (config)# class-map trustdscp
Creates a class map called “trustdscp.”
awplus (config)# policy-map AutoQos
Creates a policy map called AutoQoS and
enters the Policy Map Configuration mode.
awplus (config-pmap)# class
trustdscp
Enters the “trustdscp” class map.
awplus (config-if)# trust dscp
Enables class map “trustdscp” to trust DSCP
ingress IP packet header for prioritization.
awplus (config-if)# wrr-queue weight
3,3,1,1,12,0,0,0
Assigns a weight to the eight default CoS
queues where weight specifies the number of
packets a port transmits from a queue before
going to the next queue. By default, the CoS
queues start with queue 0. CoS queues 0 and 1
are assigned a weight of 3. CoS queues 2 and 3
are assigned a weight of 1. CoS queue 4 is
assigned a weight of 12. CoS queues 5 through
7 are assigned a weight of 0.
awplus (config-if)# service-policy
input AutoQos
Associates policy map “AutoQoS” with the given
port number. In this example, it is port 1.
awplus (config-if)# switchport voice
vlan 100
Sets the given port number as a tagged
member of voice VLAN 100.