36-1
Chapter 36: 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
Table 36-1 Quality of Service Commands
Command
Function
Mode Page
class-map
Creates a class map for a type of traffic
GC
36-2
match
Defines the criteria used to classify traffic
CM
36-3
rename
Redefines the name of a class map
CM
36-4
description
Specifies the description of a class map
CM
36-4
policy-map
Creates a policy map for multiple interfaces
GC
36-5
class
Defines a traffic classification for the policy to act on
PM
36-5
rename
Redefines the name of a policy map
PM
36-4
description
Specifies the description of a policy map
PM
36-4
set
Classifies IP traffic by setting a CoS, DSCP, or IP-precedence
value in a packet
PM-C
36-6
police
Defines an enforcer for classified traffic
PM-C
36-7
service-policy
Applies a policy map defined by the
policy-map
command to
the input of a particular interface
IC
36-8
show class-map
Displays the QoS class maps which define matching criteria
used for classifying traffic
PE
36-9
show policy-map
Displays the QoS policy maps which define classification
criteria for incoming traffic, and may include policers for
bandwidth limitations
PE
36-9
show policy-map interface Displays the configuration of all classes configured for all
service policies on the specified interface
PE
36-10
Содержание 8926EM
Страница 6: ...ii ...
Страница 34: ...Getting Started ...
Страница 44: ...Introduction 1 10 1 ...
Страница 62: ...Initial Configuration 2 18 2 ...
Страница 64: ...Switch Management ...
Страница 76: ...Configuring the Switch 3 12 3 ...
Страница 118: ...Basic Management Tasks 4 42 4 ...
Страница 164: ...User Authentication 6 28 6 ...
Страница 176: ...Access Control Lists 7 12 7 ...
Страница 284: ...Quality of Service 14 8 14 ...
Страница 294: ...Multicast Filtering 15 10 15 ...
Страница 300: ...Domain Name Service 16 6 16 ...
Страница 310: ...Dynamic Host Configuration Protocol 17 10 17 ...
Страница 320: ...Configuring Router Redundancy 18 10 18 ...
Страница 344: ...IP Routing 19 24 19 ...
Страница 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics ...
Страница 386: ...Unicast Routing 20 42 20 ...
Страница 388: ...Command Line Interface ...
Страница 400: ...Overview of the Command Line Interface 21 12 21 ...
Страница 466: ...SNMP Commands 24 16 24 ...
Страница 520: ...Access Control List Commands 26 18 26 ...
Страница 546: ...Rate Limit Commands 30 2 30 ...
Страница 612: ...VLAN Commands 34 24 34 ...
Страница 626: ...Class of Service Commands 35 14 35 ...
Страница 670: ...DHCP Commands 39 16 39 ...
Страница 716: ...IP Interface Commands 41 36 41 ...
Страница 768: ...IP Routing Commands 42 52 42 ...
Страница 770: ...Appendices ...
Страница 791: ......
Страница 792: ...20 Mason Irvine CA 92618 Phn 949 679 8000 www smc com 150200062800A R02 149100000035A R01 SMC8926EM SMC8950EM ...