![Cisco 10000 Series Configuration Manual Download Page 221](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373221.webp)
6-15
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 6 Policing Traffic
Set Layer 2 CoS as a Policer Action
Set Layer 2 CoS as a Policer Action
The Set Layer 2 CoS as a Policer Action feature enables you to police and mark inbound VLAN and
QinQ traffic before forwarding the traffic onto the outbound link. Using this feature, you can configure
the
police
command to set the class of service (CoS) bits for VLAN traffic and to set the outer CoS bits
for QinQ traffic. The 3-bit CoS field is part of the VLAN tag and indicates the priority level of the frame.
IEEE 802.1p establishes eight levels of priority: 0 to 7.
This feature polices the traffic on the inbound interface of the provider edge (PE) router where the
attachment VC terminates. Marking of frames using the set-cos-transmit policing action occurs on the
outbound interface. Therefore, when configuring this feature, you must attach a policy map that includes
the set-cos-transmit action to an outbound interface, not to an inbound interface.
The set-cos-transmit policing action marks the outer CoS bits. To configure marking of outer CoS bits,
configure the
police
command and specify the set-cos-transmit policing action as a conform, exceed, or
violate action.
The router supports set-cos-transmit as a three-color policing action in single-rate and dual-rate policing
policies, and in hierarchical policies.
Feature History for Set Layer 2 CoS as Policer Action
Set Inner CoS as a Policer Action
The Set Inner CoS as a Policer Action feature uses the
police
command to set the inner VLAN class of
service (CoS) bits for QinQ traffic on the PRE2, PRE3, and PRE4. The 3-bit CoS field is part of the
VLAN tag and indicates the priority level of the frame. IEEE 802.1p establishes eight levels of priority:
0 to 7
This feature polices the traffic on the inbound interface of the provider edge (PE) router where the
attachment VC terminates. Marking of frames using the set-cos-inner-transmit policing action occurs on
the outbound interface. Therefore, when configuring this feature, you must attach a policy map that
includes the set-cos-inner-transmit action to an outbound interface, not to an inbound interface.
To configure marking of inner CoS bits, configure the
police
command and specify the
set-cos-inner-transmit policing action as a conform, exceed, or violate action.
The router supports the set-cos-inner-transmit policing action in single-rate and dual-rate policing
policies, and in hierarchical policies.
Feature History for Set Inner CoS as a Policer Action
Cisco IOS Release
Description
Required PRE
Release 12.2(33)SB
This feature was introduced on the router for the PRE2,
PRE3, and PRE4.
PRE2, PRE3,
PRE4
Cisco IOS Release
Description
Required PRE
Release 12.2(33)SB
This feature was introduced on the router for the PRE2,
PRE3, and PRE4.
PRE2, PRE3,
PRE4