Configuring Class Of Service Marking - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Configuring Traffic Marking
Router(config-pmap)# class Voice
Router(config-pmap-c)# priority
Router(config-pmap-c)# police 8000 600 400 conform-action transmit exceed-action drop
violate-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface GigabitEthernet 1/0/0
Router(config-if)# service-policy output Platinum

Configuring Class of Service Marking

To mark the Layer 2 class of service (CoS) field in the 802.1p header of outbound packets, 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 cos cos-value
Step 4
Router(config-pmap-c)# exit
Step 5
Router(config-pmap)# exit
Step 6
Router(config)# interface type number
Step 7
Router(config-if)# service-policy output
policy-map-name
Cisco 10000 Series Router Quality of Service Configuration Guide
7-26
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 Layer 2 class of service (CoS) value of an outbound
packet.
cos-value is a specific IEEE 802.1Q CoS value from 0 to 7.
Exits policy-map class configuration mode.
Exits policy-map configuration mode.
Specifies the interface to which you want to attach the service
policy map. Enters interface configuration mode.
type is the type of interface (for example, serial).
number is the number of the interface (for example, 1/0/0).
Attaches the policy map you specify to the interface. The
router applies the service policy to packets on the interface in
either the input or output direction.
output indicates to apply the service policy to outbound
packets.
policy-map-name is the name of the policy map.
You can attach a service policy containing the set cos
Note
command to only an outbound VLAN interface. The
router cannot apply the set cos command to inbound
packets.
Chapter 7
Marking Traffic
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents