beautypg.com

Auto-qos with trust cos functionality example 1 – Allied Telesis AT-8100 Series User Manual

Page 1681

background image

AT-8100 Switch Command Line User’s Guide

1681

Auto-QoS Functionality

In the following example, the CoS value of ingress traffic is trusted:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# auto-qos trust cos

See Table 226 for a list of commands that are contained in this macro.

Table 226. Auto-QoS with Trust CoS Functionality Example

Command

Description

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.

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.