Traffic Policies
December 2005
© Foundry Networks, Inc.
15 7
The above commands configure an adaptive rate limiting policy that enforces a guaranteed committed rate of
10000 kbps on port e7 and allows bursts of up to 1600 bytes. It also enforces a peak rate of 20000 kbps and
allows bursts of 4000 bytes above the PIR limit. If the port receives additional bits during a given one-second
interval, the port drops all packets on the port until the next one-second interval starts.
Syntax:
traffic-policy rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-
action drop
Permitting Packets that Exceed the Limit
This section shows some example configurations and provides the CLI syntax for configuring a port to permit
packets that exceed the configured limit for rate limiting.
EXAMPLE:
The following shows an example fixed rate limiting configuration.
FESX424 Switch(config)# traffic-policy TPD1 rate-limit fixed 10000 exceed-action
permit-at-low-pri
The above command sets the fragment threshold at 10,000 per second. If the port receives more than 10,000
packet fragments in a one-second interval, the device takes the specified action. The action specified with this
command is to permit excess fragments and forward them at the lowest priority level.
Syntax:
[no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action permit-at-low-pri
EXAMPLE:
The following shows an example adaptive rate limiting configuration.
FESX424 Switch(config)# traffic-policy TPDAfour rate-limit adaptive cir 10000 cbs
1600 pir 20000 pbs 4000 exceed-action permit-at-low-pri
The above commands configure an adaptive rate limiting policy that enforces a guaranteed committed rate of
10000 kbps on port e7 and allows bursts of up to 1600 bytes. It also enforces a peak rate of 20000 kbps and
allows bursts of 4000 bytes above the PIR limit. If the port receives additional bits during a given one-second
interval, the port permits all packets on the port and forwards the packets at the lowest priority level.
Syntax:
traffic-policy rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-
action permit-at-low-pri
ACL and Rate Limit Counting
Software release 02.3.03 provides support for
ACL counting
and
rate limit counting
.
•
ACL counting
enables the Foundry device to count the number of packets and the number of bytes per
packet to which ACL filters are applied.
•
Rate limit counting
counts the number of bytes and conformance level per packet to which rate limiting traffic
policies are applied. The device uses the counting method similar to the two-rate three-color marker (trTCM)
mechanism described in RFC 2698 for adaptive rate limiting, and the single-rate three-color marker (srTCM)
mechanism described in RFC 2697 for fixed rate limiting. Rate limit counting is automatically enabled when a
traffic policy is enforced (active). You can view these counters using the
show
commands listed in “Viewing
Traffic Policies” on page 15-10.
For more information about traffic policies, see “About Traffic Policies” on page 15-1.
This section provides the following procedures for ACL counting and rate limit counting:
•
“Enabling ACL Counting” on page 15-8
•
“Viewing ACL And Rate Limit Counters” on page 15-9
•
“Clearing ACL and Rate Limit Counters” on page 15-10
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...