Configuring Policy Bandwidth Policing - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

Configure the PBS and CBS with a value that is greater than or equal to the size of the largest IP
packet in the metered stream.
To configure a TCM QoS policy action, use the
parameters. Configuring the cbs and pbs parameters is optional. If a value is not specified for either one,
the default value is used for both parameters. For example:
-> policy action A1 cir 10M
To specify one or both of the burst size values, use the cbs and pbs parameters. For example:
-> policy action A2 cir 10m cbs 4k
-> policy action A3 cir 10m cbs 4k pbs 10m
All of these command examples configure the TCM meter to operate in the Single-Rate TCM (srTCM)
mode. To configure the meter to operate in the Two-Rate TCM (trTCM) mode, use the pir parameter and
specify a peak information rate value that is greater than the committed information rate value. For exam-
ple, the following commands configure the meter to use the trTCM mode:
-> policy action A4 cir 10m cbs 4k pir 20m
-> policy action A5 cir 10m cbs 4k pir 20m pbs 40m
Once a TCM policy action is configured, the action can be used in a policy rule to rate limit traffic accord-
ing to the specified rates and burst sizes. Traffic that matches a TCM policy is marked green, red, or
yellow based on the rate limiting results.
To remove the TCM configuration from a QoS policy action, use the no form of the policy action cir
command. For example:
-> policy action A6 no cir
TCM Policy Example
Once configured, a TCM policy action is then available to use in a QoS policy rule to apply color mark-
ing to a specified traffic stream.
First, create a condition for the traffic. In this example, the condition is called ip_traffic. A policy action
(tcm1) is then created to enforce ingress rate limiting using TCM.
-> policy condition ip_traffic source ip 10.10.5.3
-> policy action tcm1 cir 5m cbs 4k pir 10m pbs 20m counter-color green-nongreen
-> policy rule rule1 condition ip_traffic action tcm1
Note that the rates and burst sizes can be specified in abbreviated units, in this case, 10m.
The rule is not active on the switch until the qos apply command is entered. When the rule is activated,
any flows coming into the switch from source IP address 10.10.5.3 is metered and marked according to the
TCM policier parameters specified in the tcm1 policy action.

Configuring Policy Bandwidth Policing

The
policy action maximum bandwidth
configure QoS policy actions. Both actions are typically used in combination; the bucket size (depth)
determines how much over the maximum bandwidth the traffic can burst.
The maximum bandwidth and maximum depth actions are configured as part of a QoS policy in which the
condition specifies the type of traffic to rate limit. Maximum bandwidth policies are applied to source
(ingress) ports and/or flows. See the
OmniSwitch AOS Release 7 Network Configuration Guide
policy action cir
and
policy action maximum depth
"Bandwidth Policing Example" on page
March 2011
command with one or more of the above
commands are used to
21-70.
page 21-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents