Advanced Configuration and Management Guide

Adaptive Rate Policy for a Port-Based VLAN

Figure 4.4 shows a rate policy applied to a VLAN. When you apply a rate policy to a VLAN, the policy applies to all the ports in the VLAN. The rate policy in this example performs the following actions on traffic received on ports in the VLAN:

For conforming traffic, sets the precedence to 5

For excess traffic, sets the precedence to 0

Internet

Internet access router

Rate Policy for VLAN 2

=================

Inbound IP traffic

-Normal Burst - set IP precedence to 5 and forward -Excess Burst - set IP precedence to 0 and forward

The hosts are in port-based VLAN 2.

Figure 4.4 Adaptive Rate Limiting applied to a VLAN

NOTE: The rate policy in this example applies at Layer 2, while the policies in Figure 4.2 on page 4-5and Figure

4.3on page 4-7apply at Layer 3. You cannot use ACLs for rate policies applied to directly to a VLAN. However, you can use ACLs if you apply the rate policy to a VLAN’s virtual interface instead.

Adaptive Rate Limiting Parameters

The application examples in “Examples of Adaptive Rate Limiting Applications” on page 4-5describe the rate policies but do not describe the parameters used to configure the policies. The parameters specify the portion of an interface’s bandwidth you are allocating to specific traffic, the conforming and excess quantities of bytes for the traffic, and the granularity of the Adaptive Rate Limiting.

4 - 8