Configuration Examples For Configuring Discard-Class Marking And Classification - Cisco 10000 Series Configuration Manual

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

Advertisement

Chapter 7
Marking Traffic
Configuring Traffic Marking

Configuration Examples for Configuring Discard-Class Marking and Classification

Example 7-12
shows how to configure the discard eligibility value for a traffic class. In the example, the
router classifies inbound traffic on Ethernet interface 1/0/0 based on the class of service setting of the
packets. If the CoS value matches 1, the router assigns the matching packets to the class named Class1
and sets the packet discard-class value to 4, as defined in the policy map named MyPolicy.
Example 7-12 Configuring Discard-Class Marking
Router(config)# class-map Class1
Router(config-cmap)# match cos 1
Router(config-cmap)# exit
Router(config)# policy-map MyPolicy
Router(config-pmap)# class Class1
Router(config-pmap-c)# set discard-class 4
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface Ethernet 1/0/0
Router(config-if)# service-policy input MyPolicy
Example 7-13
shows how to configure discard-class-based classification. In the example, the router
classifies outbound traffic on Gigabit Ethernet interface 2/0/1 based on the discard-class setting of the
packets. If the discard-class value matches 3, the router assigns the matching packets to the class named
Group1 and provides a minimum bandwidth guarantee of 8000 kbps to Group1 traffic, as defined in the
policy map named Manhattan.
Example 7-13 Configuring Discard-Class-Based Classification
Router(config)# class-map Group1
Router(config-cmap)# match discard-class 3
Router(config-cmap)# exit
Router(config)# policy-map Manhattan
Router(config-pmap)# class Group1
Router(config-pmap-c)# police 8000 600 400 conform-action transmit exceed-action drop
Router(config-pmap-c)# exit
Router (config-pmap)# exit
Router(config)# interface GigabitEthernet 2/0/1
Router(config-if)# service-policy output Manhattan
Cisco 10000 Series Router Quality of Service Configuration Guide
7-34
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents