![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269344.webp)
Foundry Configuration Guide for the FESX, FSX, and FWSX
15 6
© Foundry Networks, Inc.
December 2005
Syntax:
[no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs
value> exceed-action <action> [count]
Syntax:
access-list <num> permit | deny.... traffic policy <TPD name>
Syntax:
[no] ip access-group <num> in | out
NOTES:
For brevity, some parameters were omitted from the above
access-list
syntax. For the complete CLI syntax, see
the
Foundry Switch and Router Command Line Interface Reference
.
The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind that ACL to an
interface. The software does not issue a warning or error message for non-existent TPDs.
Use the
no
form of the command to delete a traffic policy definition. Note that you cannot delete a traffic policy
definition if it is currently in use on a port. To delete a traffic policy, first unbind the associated ACL.
<TPD name> is the name of the traffic policy definition. This value can be 8 or fewer alphanumeric characters.
rate-limit adaptive
specifies that the policy will enforce a flexible bandwidth limit that allows for bursts above the
limit.
<cir value> is the committed information rate in kbps. See Table 1.
<cbs value> is the committed burst size in bytes. See Table 1.
<pir value> is the peak information rate in kbps. See Table 1.
<pbs value> is the peak burst size in bytes. See Table 1.
exceed-action
<action> specifies the action to be taken when packets exceed the configured values. See
“Specifying the Action to be Taken for Packets that are Over the Limit” .
The
count
parameter is optional and enables ACL counting. See “ACL and Rate Limit Counting” on page 15-7.
Specifying the Action to be Taken for Packets that are Over the Limit
You can specify the action to be taken when packets exceed the configured cir value for fixed rate limiting, or the
cir, cbs, pir, and pbs values for adaptive rate limiting. You can specify one of the following actions:
•
drop packets that exceed the limit
•
permit packets that exceed the limit and forward them at the lowest priority level
Dropping Packets that Exceed the Limit
This section shows some example configurations and provides the CLI syntax for configuring a port to drop
packets that exceed the configured limit(s) 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
drop
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 drops the excess fragments.
Syntax:
traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action
drop
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 drop
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...