beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1685

background image

AT-8100 Switch Command Line User’s Guide

1685

Auto-QoS-MED with Trust DSCP Functionality and Voice VLAN
Support

In the following example, VLAN 100 becomes the voice VLAN, and DSCP
is the trusted-traffic type:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# auto-qos-med voice 100 trust dscp

See Table 229 on page 1686 for a list of commands that are contained in
this macro.

awplus (config)# mls qos map cos-
queue 1 to 1

Maps CoS priority 1 to egress queue 1.

awplus (config)# mls qos map cos-
queue 2 to 1

Maps CoS priority 2 to egress queue 1.

awplus (config)# mls qos map cos-
queue 4 to 1

Maps CoS priority 4 to egress queue 1.

awplus (config)# mls qos map cos-
queue 3 to 5

Maps CoS priority 3 to egress queue 5.

awplus (config)# mls qos map cos-
queue 6 to 5

Maps CoS priority 6 to egress queue 5.

awplus (config)# mls qos map cos-
queue 7 to 5

Maps CoS priority 7 to egress queue 5.

awplus (config)# mls qos map cos-
queue 5 to 7

Maps CoS priority 5 to egress queue 7.

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.

Table 228. Auto-QoS MED Functionality and Voice VLAN Support Example (Continued)

Command

Description