Allied Telesis AT-8100 Series User Manual
Page 1684
Chapter 100: Quality of Service (QoS)
1684
Note
Unlike the other procedures in this chapter, the Auto-QoS-MED
examples provide a list of commands, but do not include all of the
commands that allow you to go from one command mode to
another. The commands listed in the following example are
executed in the background and may not be seen in the running
configuration file.
Auto-QoS-MED Functionality and Voice VLAN Support
In the following example, VLAN 100 becomes the voice VLAN:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# auto-qos-med voice 100
See Table 228 for a list of commands that are contained in this macro.
Table 228. Auto-QoS MED Functionality and 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 port 1.
awplus (config-if)# switchport voice
vlan priority 5
Assigns the CoS 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
Activates the QoS feature on the switch.
awplus (config)# class-map trustcos
Creates a class map called “trustcos.”
awplus (config)# policy-map AutoQos
Creates a policy map called AutoQoS and
enters the Policy Map Configuration mode.
awplus (config-pmap)# class trustcos
Enters the “trustcos” class map.
awplus (config)# mls qos map cos-
queue 0 to 1
Maps CoS priority 0 to egress queue 1.