Configuring QoS Traffic Policing and Shaping
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 26-22
Traffic Policing and Shaping
Traffic policing and shaping mechanisms are used to limit the rate of traffic. The main difference between
the two is how they handle traffic that violates the specified rate. Policing either drops or remarks traffic
that exceeds a configured maximum rate. Shaping delays the transmission of packets that exceed
configured rates by placing the packets in a queue and scheduling them to be sent at a later time.
The OmniSwitch provides the following techniques for policing and shaping traffic flows.
Policing
• QoS Tri-Color Marking (TCM) policy. A TCM policy consists of a policy action that specifies
packet rates and burst sizes. The policy condition defines the type of traffic for TCM to meter and then
color mark (green, yellow, or red) based on conformance with the rate limits defined in the policy
action. See “Tri-Color Marking” on page 26-22.
• QoS bandwidth policy actions. Maximum bandwidth and depth policy actions are used in QoS policy
rules to specify a maximum ingress bandwidth rate and bucket size. See “Configuring Policy
Bandwidth Policing” on page 26-26 for more information.
• E-Services bandwidth parameters. The VLAN Stacking Service Access Point (SAP) profile defines
an ingress and egress bandwidth rate limiting configuration for an Ethernet Service. See Chapter 35,
“Configuring VLAN Stacking,” for more information.
Shaping
• Port-based QoS bandwidth shaping. The QoS CLI provides two commands for setting the maximum
ingress and egress bandwidth for a specific port. These QoS port parameters define the rate at which
traffic is received and sent on the specified port. See “Configuring Policy Bandwidth Policing” on
page 26-26.
• Queue bandwidth shaping. This type of shaping is implemented through the queue management
architecture of the switch. A set of eight egress queues for each port (QSet) is associated with a profile
that defines and applies the shaping and scheduling configuration for each queue in the QSet. See
“Congestion Management” on page 26-9 for more information.
Tri-Color Marking
This implementation of a Tri-Color Marking (TCM) provides a mechanism for policing network traffic by
limiting the rate at which traffic is sent or received on a switch interface. The TCM policier meters traffic
based on user-configured packet rates and burst sizes and then marks the metered packets as green,
yellow, or red based on the metering results.
The following diagram illustrates the basic operation of TCM: