Setting egress cos queues example 1 – Allied Telesis AT-8100 Series User Manual
Page 1671
AT-8100 Switch Command Line User’s Guide
1671
The following example sets ingress traffic with a CoS value of 5 to egress
on queue 7 of port 8:
Table 218. Setting Egress CoS Queues Example
Command
Description
awplus> enable
Enters the Privileged Executive mode from the
User Executive mode.
awplus# configure terminal
Enters the Global Configuration mode.
awplus(config)# mls qos enable
Activates the QoS feature on the switch.
awplus(config)# class-map trustcos
Creates a class map called “trustcos” and enters
the Class Map mode.
awplus(config-cmap)# exit
Exits the Class Map mode.
awplus(config)# policy-map pmap1
Creates a policy map called “pmap1.”
awplus(config-pmap)# class trustcos
Adds class map “trustcos” to policy map “pmap1.”
awplus(config-pmap-c)# exit
Exits the Policy Map Class mode.
awplus(config-pmap)# exit
Exits the Policy Map mode.
awplus(config)# interface port1.0.8
Enters the Port Interface mode for port 8.
awplus(config-if)# service-policy
input pmap1
Attaches policy map “pmap1” to port 8.
awplus(config-if)# mls qos map cos-
queue 5 to 7
Maps priority 5 to queue 7 on port 8.
awplus(config-if)# end
Exits the Port Interface mode.
awplus# show mls qos maps cos-queue
interface port 1.0.8
Displays the CoS mapping for port 8. See below.
COS:01
2
34567
--------------------------------
QUEUE:20
1
34567