Command Line Interface
4-316
4
Quality of Service Commands
The commands described in this section are used to configure Differentiated
Services (DiffServ) classification criteria and service policies. You can classify traffic
based on access lists, IP Precedence or DSCP values, or VLANs. Using access lists
allows you select traffic based on Layer 2, Layer 3, or Layer 4 information contained
in each packet.
To create a service policy for a specific category of ingress traffic, follow these steps:
1.
Use the
class-map
command 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 specific type of traffic based on an access
list, a DSCP or IP Precedence value, or a VLAN.
3.
Use the
policy-map
command to designate a policy name for a specific
manner in which ingress traffic will be handled, and enter the Policy Map
configuration mode.
4.
Use the
class
command to identify the class map, and enter Policy Map Class
configuration mode. A policy map can contain multiple class statements.
5.
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.
6.
Use the
service-policy
command to assign a policy map to a specific interface.
Table 4-85 Quality of Service Commands
Command
Function
Mode Page
class-map
Creates a class map for a type of traffic
GC
match
Defines the criteria used to classify traffic
CM
policy-map
Creates a policy map for multiple interfaces
GC
class
Defines a traffic classification for the policy to act on
PM
set
Classifies IP traffic by setting a CoS or DSCP value in a
packet
PM-C
police
Defines an enforcer for classified traffic
PM-C
service-policy
Applies a policy map defined by the
policy-map
command to
the input of a particular interface
IC
show class-map
Displays the QoS class maps which define matching criteria
used for classifying traffic
PE
show policy-map
Displays the QoS policy maps which define classification
criteria for incoming traffic, and may include policers for
bandwidth limitations
PE
show policy-map interface Displays the configuration of all classes configured for all
service policies on the specified interface
PE
Содержание iES4024GP
Страница 1: ...iES4028F 4028FP 4024GP ...
Страница 2: ...iES4028F iES4028FP iES4024GP E082008 ST R03 149100041800A 149100040200A 149100041700A 149100000020A ...
Страница 4: ...iv This page is intentionally left blank ...
Страница 10: ...x This page is intentionally left blank ...
Страница 28: ...Contents xxviii This page is intentionally left blank ...
Страница 32: ...Tables xxxii This page is intentionally left blank ...
Страница 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Страница 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Страница 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Страница 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Страница 710: ...Index 8 Index This page is intentionally left blank ...
Страница 711: ...This page is intentionally left blank ...
Страница 712: ...iES4028F 4028FP 4024GP ...