Chapter 7
Marking Traffic
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface GigabitEthernet 1/0/0
Router(config-if)# service-policy input Policy1
Example 7-8
packet. In this example, the router checks outbound packets on Ethernet interface 1/0/0 for QoS group
ID 5, assigns the matching packets to the traffic class named QoSGroup, defined in the policy map
named Gold, and sets the packet DSCP bits to DSCP 0 (best effort).
Example 7-8
Router(config)# class-map QoSGroup
Router(config-cmap)# match qos-group 5
Router(config-cmap)# exit
Router(config)# policy-map Gold
Router(config-pmap)# class QoSGroup
Router(config-pmap-c)# set dscp 0
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface Ethernet 1/0/0
Router(config-if)# service-policy output Gold
Setting the ATM Cell Loss Priority Bit
To set the ATM cell loss priority (CLP) bit to 1, enter the following commands beginning in global
configuration mode:
Command
Step 1
Router(config)# policy-map policy-map-name
Step 2
Router(config-pmap)# class class-map-name
Step 3
Router(config-pmap-c)# set atm-clp
OL-7433-09
shows how to configure the router to classify packets based on the QoS group ID of the
Configuring QoS Group-Based Classification
Cisco 10000 Series Router Quality of Service Configuration Guide
Purpose
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name is the name of the policy map.
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class
map and is the traffic class for which you want to define QoS
actions.
Sets the cell loss priority bit to 1. The router discards packets
with the CLP bit set to 1 before it discards packets with the
CLP bit set to 0.
Note
To change the CLP bit back to 0, use the
no set atm-clp command.
Configuring Traffic Marking
7-29