beautypg.com

Match cos – Allied Telesis AT-DC2552XS User Manual

Page 491

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section V: Security and Traffic Control

491

MATCH COS

Syntax

match cos

value

Parameter

value

Specifies the CoS value. The range is 0 to 7.

Mode

Class Map Configuration mode

Description

Use this command to add a CoS value as a matching criterion to a class
map. When a CoS value has already been added to a class map, this
command replaces the previous value with the new value.

When a CoS value is assigned, the switch compares the specified CoS
value against the CoS value in the tagged VLAN field in frames. CoS
values in untagged frames are assigned at receiving ports specified by
“MLS QOS COS” on page 502.

To remove the CoS value as a matching criterion from a class map, use
the NO MATCH COS command.

Confirmation Commands

“SHOW CLASS-MAP” on page 513

Examples

This example creates a class map, called “cmap1,” and adds a CoS value
of 4 as a matching criteria to the class map:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap1
awplus(config-cmap)# match cos 4

This example removes the CoS matching value from the “cmap1” class
map:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap1
awplus(config-cmap)# no match cos