Allied Telesis AT-8100 Series User Manual
Page 1686
Chapter 100: Quality of Service (QoS)
1686
Table 229. Auto-QoS MED with Trust DSCP Functionality & Voice VLAN Support Example
Command
Description
awplus (config-vlan) # vlan 100
Creates a VLAN with a VID of 100.
awplus (config) # lldp run
Activates LLDP on the switch which allows the
switch to transmit and accept LLDP
advertisements on its ports.
awplus (config-if)# switchport voice
vlan 100
Sets port 1 as a tagged member of voice VLAN
100.
awplus (config-if)# switchport voice
dscp 46
Assigns the DSCP value of 46 to LLDP-MED
network policy.
awplus (config-if)# switchport voice
vlan priority 5
Assigns the DSCP priority value of 5 to port 1.
The port transmits this value in the LLDP-MED
network policy TLV to an IP phone which, in
turn, sends its packets using this CoS value.
awplus (config) # mls qos enable
Enables 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-pmap-c)# trust dscp
Enables class map “trustdscp” to trust DSCP
ingress IP packet headers for prioritization.
awplus (config-if)# wrr-queue weight
3,3,1,1,12,0,0,0
Assigns a weight to the eight default DSCP
queues where weight specifies the number of
packets a port transmits from a queue before
going to the next queue. By default, the DSCP
queues start with queue 0. DSCP queues 0 and
1 are assigned a weight of 3. DSCP queues 2
and 3 are assigned a weight of 1. DSCP queue
4 is assigned a weight of 12. DSCP 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. In this example, it is port 1.