Classification Based On Layer 2 Cos; Classification Based On Ip Precedence; Classification Based On Ip Dscp - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Understanding QoS

Classification Based on Layer 2 CoS

You can use the match command to classify Layer 2 traffic based on the CoS value, which ranges from
0 to 7.
A match cos command is supported only on Layer 2 802.1Q trunk ports.
Note
This example shows how to create a class map to match a CoS value of 5:
Switch(config)# class-map premium
Switch(config-cmap)# match cos 5
Switch(config-cmap)# exit

Classification Based on IP Precedence

You can classify IPv4 traffic based on the packet IP precedence values, which range from 0 to 7.
This example shows how to create a class map to match an IP precedence value of 4:
Switch(config)# class-map sample
Switch(config-cmap)# match ip precedence 4
Switch(config-cmap)# exit

Classification Based on IP DSCP

When you classify IPv4 traffic based on IP DSCP value, and enter the match ip dscp class-map
configuration command, you have several classification options:
This display shows the available classification options:
Switch(config-cmap)# match ip dscp ?
<0-63>
af11
af12
af13
af21
af22
af23
af31
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
33-8
Entering a specific DSCP value (0 to 63).
Using the Default service, which corresponds to an IP precedence and DSCP value of 0. The default
per-hop behavior (PHB) is usually best-effort service.
Using Assured Forwarding (AF) by entering the binary representation of the DSCP value. AF sets
the relative probability that a specific class of packets is forwarded when congestion occurs and the
traffic does not exceed the maximum permitted rate. AF per-hop behavior provides delivery of IP
packets in four different AF classes: AF11-13 (the highest), AF21-23, AF31-33, and AF41-43 (the
lowest). Each AF class could be allocated a specific amount of buffer space and drop probabilities,
specified by the binary form of the DSCP number. When congestion occurs, the drop precedence of
a packet determines the relative importance of the packet within the class. An AF41 provides the
best probability of a packet being forwarded from one end of the network to the other.
Entering Class Selector (CS) service values of 1 to 7, corresponding to IP precedence bits in the ToS
field of the packet.
Using Expedited Forwarding (EF) to specify a low-latency path. This corresponds to a DSCP value
of 46. EF services use priority queuing to preempt lower priority traffic classes.
Differentiated services codepoint value
Match packets with AF11 dscp (001010)
Match packets with AF12 dscp (001100)
Match packets with AF13 dscp (001110)
Match packets with AF21 dscp (010010)
Match packets with AF22 dscp (010100)
Match packets with AF23 dscp (010110)
Match packets with AF31 dscp (011010)
Chapter 33
Configuring QoS
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents