Quality of Service Commands

4

 

Table 4-66 Quality of Service Commands

 

 

 

 

 

 

 

 

 

 

Command

Function

Mode

Page

 

class-map

Creates a class map for a type of traffic

GC

 

4-194

 

 

 

 

 

 

 

match

Defines the criteria used to classify traffic

CM

 

4-194

 

 

 

 

 

 

 

policy-map

Creates a policy map for multiple interfaces

GC

 

4-195

 

 

 

 

 

 

 

class

Defines a traffic classification for the policy to act on

PM

 

4-196

 

 

 

 

 

 

 

set

Classifies IP traffic by setting a CoS, DSCP, or IP-precedence

PM-C

 

4-197

 

 

value in a packet

 

 

 

 

 

police

Defines an enforcer for classified traffic

PM-C

 

4-198

 

 

 

 

 

 

 

service-policy

Applies a policy map defined by the policy-mapcommand to

IC

 

4-199

 

 

the input of a particular interface

 

 

 

 

 

show class-map

Displays the QoS class maps which define matching criteria

PE

 

4-199

 

 

used for classifying traffic

 

 

 

 

 

show policy-map

Displays the QoS policy maps which define classification

PE

 

4-200

 

 

criteria for incoming traffic, and may include policers for

 

 

 

 

 

 

bandwidth limitations

 

 

 

 

 

show policy-map interface

Displays the configuration of all classes configured for all

PE

 

4-200

 

 

service policies on the specified interface

 

 

 

 

 

To create a service policy for a specific category of ingress traffic, follow these steps:

1.Use the class-mapcommand to designate a class name for a specific category of traffic, and enter the Class Map configuration mode.

2.Use the match command to select a specify type of traffic based on an access list, a DSCP or IP Precedence value, or a VLAN.

3.Set an ACL mask to enable filtering for the criteria specified in the match command.

4.Use the policy-mapcommand to designate a policy name for a specific manner in which ingress traffic will be handled, and enter the Policy Map configuration mode.

5.Use the class command to identify the class map, and enter Policy Map Class configuration mode. A policy map can contain multiple class statements.

6.Use the set command to modify the QoS value for matching traffic class, and use the policer command to monitor the average flow and burst rate, and drop any traffic that exceeds the specified rate, or just reduce the DSCP service level for traffic exceeding the specified rate.

7.Use the service-policycommand to assign a policy map to a specific interface.

Notes: 1. You can configure up to 16 rules per Class Map. You can also include multiple classes in a Policy Map.

2.You should create a Class Map (page 4-194)before creating a Policy Map (page 4-195). Otherwise, you will not be able to specify a Class Map with the class command (page 4-196)after entering Policy-Map Configuration mode.

4-193

Page 435
Image 435
SMC Networks SMC8150L2 manual Quality of Service Commands Function Mode, Service-policy