Configuring Output Policy Maps; Configuring Output Class Maps - Cisco 3845 - Security Bundle Router Software Manual

Software configuration guide
Hide thumbs Also See for 3845 - Security Bundle Router:
Table of Contents

Advertisement

Chapter 27
Configuring QoS
After you create the policy map, attach it to an interface or an EFP. See the
to an Interface or EFP" section on page
Use the no form of the appropriate command to delete an existing policy map, class map, or policer.
This example shows how to configure 2-rate, 3-color policing using policy-map configuration mode.
Switch(config)# class-map cos-4
Switch(config-cmap)# match cos 4
Switch(config-cmap)# exit
Switch(config)# policy-map in-policy
Switch(config-pmap)# class cos-4
Switch(config-pmap-c)# police cir 5000000 pir 8000000 conform-action transmit
exceed-action set-dscp-transmit 24 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input in-policy
Switch(config-if)# exit
This example shows how to create the same configuration using policy-map class police configuration
mode.
Switch(config)# class-map cos-4
Switch(config-cmap)# match cos 4
Switch(config-cmap)# exit
Switch(config)# policy-map in-policy
Switch(config-pmap)# class cos-4
Switch(config-pmap-c)# police cir 5000000 pir 8000000
Switch(config-pmap-c-police)# conform-action transmit
Switch(config-pmap-c-police)# exceed-action set-dscp-transmit 24
Switch(config-pmap-c-police)# violate-action drop
Switch(config-pmap-c-police)# end

Configuring Output Policy Maps

Configuring Output Class Maps

You use the class-map global configuration command to name and to isolate a specific traffic flow (or
class) from all other traffic. A class map defines the criteria to use to match against a specific traffic flow
to further classify it. Match statements can include criteria such as an inner or outer CoS value, DSCP
value, IP precedence values, QoS group values, discard class, MPLS experimental labels, or inner or
outer VLAN IDs. You define match criterion with one or more match statements entered in the
class-map configuration mode.
In an output policy, the match criteria acts on the packet on the wire after any VLAN rewrite mapping
operations on egress.
OL-23400-01
Configuring Output Class Maps, page 27-41
Configuring Class-Based-Weighted Fair Queuing, page 27-44
Configuring Class-Based Shaping, page 27-47
Configuring Port Shaping, page 27-48
Configuring Class-Based Priority Queuing, page 27-49
Configuring Weighted Tail Drop, page 27-50
27-56.
Cisco ME 3800X and 3600X Switch Software Configuration Guide
Configuring QoS
"Attaching a Service Policy
27-41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3800xMe 3600x

Table of Contents