beautypg.com

Match dscp – Allied Telesis AT-DC2552XS User Manual

Page 492

background image

Chapter 21: Quality of Service (QoS) Commands

492

Section V: Security and Traffic Control

MATCH DSCP

Syntax

match dscp

value

Parameter

value

Specifies the DSCP value. The range is 0 to 63.

Mode

Class Map Configuration mode

Description

Use this command to add a DiffServ Code Point (DSCP) value as a
matching criterion to a class map. When a DSCP value has already been
specified to a class map, this command replaces the previous value with
the new value.

When a DSCP value is assigned, the switch compares the specified
DSCP value against the value of the DSCP field in the IP header.

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

Confirmation Command

“SHOW CLASS-MAP” on page 513

Examples

The following example creates a class map, called “cmap1,” that matches
ingress traffic with a DSCP value of 56:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap1
awplus(config-cmap)# match dscp 56

The following example removes the DSCP value from class map “cmap1”:

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