hit counter script

Cisco ME 3400 Command Reference Manual page 407

Ethernet access switch
Table of Contents

Advertisement

Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
You can use the match cos class-map configuration command and the set cos policy-map class
configuration command together to allow switches to interoperate and provide quality of service (QoS)
based on the CoS markings. You can also configure Layer 2 to Layer 3 mapping by matching on the CoS
value because switches can already match and set CoS values.
If you are using this command to perform enhanced packet marking, you can use the from-field packet
marking option for mapping and setting the CoS value. The supported from-field marking categories are:
CoS, DSCP, and IP precedence.
If you specify a from-field category, but do not specify the table keyword and table-map-name, the
default action is to copy the value associated with the from-field category as the CoS value. For example,
if you enter the set cos precedence command, the precedence value is copied and used as the CoS value.
If you enter the set cos dscp command, the DSCP value is copied and used as the CoS value.
Examples
This example shows how to set all FTP traffic to cos 3:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set cos 3
Switch(config-pmap-c)# exit
This example shows how to assign a DSCP to CoS table map to a class:
Switch(config)# policy-map inpolicy
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# set cos dscp table dscp-cos-tablemap
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
policy-map
show policy-map
OL-9640-10
Description
Defines a traffic classification match criteria for the specified class-map name.
Creates or modifies a policy map that can be attached to multiple ports to
specify a service policy.
Displays QoS policy maps.
Cisco ME 3400 Ethernet Access Switch Command Reference
set cos
2-379

Advertisement

Table of Contents
loading

Table of Contents

Save PDF