beautypg.com

Description – LevelOne GTL-2691 User Manual

Page 1171

background image

C

HAPTER

41

| Quality of Service Commands

– 1171 –

C

OMMAND

U

SAGE

First enter this command to designate a class map and enter the Class

Map configuration mode. Then use

match

commands to specify the

criteria for ingress traffic that will be classified under this class map.

One or more class maps can be assigned to a policy map (

page 1173

).

The policy map is then bound by a service policy to an interface

(

page 1182

). A service policy defines packet classification, service

tagging, and bandwidth policing. Once a policy map has been bound to

an interface, no additional class maps may be added to the policy map,

nor any changes made to the assigned class maps with the

match

or

set commands.

E

XAMPLE

This example creates a class map call “rd-class,” and sets it to match

packets marked for DSCP service value 3:

Console(config)#class-map rd-class match-any

Console(config-cmap)#match ip dscp 3

Console(config-cmap)#

R

ELATED

C

OMMANDS

show class-map (1183)

description

This command specifies the description of a class map or policy map.

S

YNTAX

description string

string - Description of the class map or policy map.

(Range: 1-64 characters)

C

OMMAND

M

ODE

Class Map Configuration

Policy Map Configuration

E

XAMPLE

Console(config)#class-map rd-class#1

Console(config-cmap)#description matches packets marked for DSCP service

value 3

Console(config-cmap)#