Reference Guide

Peak rate is the maximum rate for trac arriving or leaving an interface under normal trac conditions. Peak burst size indicates the
maximum size of unused peak bandwidth that is aggregated. This aggregated bandwidth enables brief durations of burst trac that
exceeds the peak rate.
Congure Interface rate policing
1 Create a QoS type empty class-map to match all the trac
OS10(config)# class-map cmap-all-traffic
2 Create a QoS type policy-map to dene a policer
OS10(config)# policy-map interface-policer
OS10(config-pmap-qos)# class cmap-all-traffic
OS10(config-pmap-c-qos)#police cir 4000 pir 6000
Congure ow rate policing
1 Create a QoS type class-map to match the trac ow
OS10(config)# class-map cmap-cos3
OS10(config-cmap-qos)# match cos 3
2 Create a QoS type policy-map to dene a policer and assign a trac class ID for the CoS ow
OS10(config)# policy-map flow-policer
OS10(config-pmap-qos)# class cmap-cos3
OS10(config-pmap-c-qos)# set qos-group 3
OS10(config-pmap-c-qos)#police cir 4000 pir 6000
Mark Trac
You can select a ow and mark with a trac class ID. The trac ow is identied by the trac class ID when the trac reaches egress for
queue scheduling.
Mark trac
1 Create a QoS type class-map to match the trac ow
OS10(config)# class-map cmap-cos3
OS10(config-cmap-qos)# match cos 3
2 Create a QoS type policy-map to mark with a trac class ID and assign it for the CoS ow.
OS10(config)# policy-map cos3-TC3
OS10(config-pmap-qos)# class cmap-cos3
OS10(config-pmap-c-qos)# set qos-group 3
Color trac
You can select a trac ow and mark it with a color.
You can color the trac ow based on:
Metering. See Policing trac.
Default trust. See Trust based classication.
DSCP , ECN capable trac (ECT), or non-ECT.
Color trac based on DSCP, ECT, or non-ECT
1 Create a QoS type class-map to match the trac ow.
OS10(config)# class-map cmap-dscp-3-ect
OS10(config-cmap-qos)# match ip dscp 3 ecn 1
2 Create a QoS type policy-map to color the trac ow.
OS10(config)# policy-map ect-color
OS10(config-pmap-qos)# class cmap-dscp-3-ect
Quality of service
569