set port ratelimit
set port ratelimit
Use this command to configure the traffic rate limiting status and threshold (in kilobytes per
second) for one or more ports.
Syntax
set port ratelimit {disable | enable} | port-string priority threshold
{disable | enable} [inbound] [index]
Parameters
disable | enable
port‐string
priority
threshold
inbound
index
Defaults
Threshold will be applied to inbound traffic on the port/priority.
If index is not specified, settings will be applied to index 1, and will overwrite index 1 for any
subsequent rate limits configured.
Mode
Switch command, read-write.
Example
This example shows how to:
•
globally enable rate limiting
•
configure rate limiting for inbound traffic on port fe.2.1, index 1, priority 5, to a threshold of
125 KBps:
C2(rw)->set port ratelimit enable
C2(rw)->set port ratelimit fe.2.1 5 125 enable inbound
12-12 Port Priority and Rate Limiting Configuration
When entered without a port‐string, globally disables or enables the port
rate limiting function. When entered with a port‐string, disables or
enables rate limiting on specific port(s) when the global function is
enabled.
Specifies a port on which to set the rate limiting threshold and other
parameters. For a detailed description of possible port‐string values,
refer to "Port String Syntax Used in the CLI" on page 7‐2.
Specifies the 802.1D (802.1p) port priority level associated with the port‐
string. The value can be 0 to 7, with 0 specifying the lowest priority.
Specifies a port rate limiting threshold in kilobytes per second. Range is
64 up to a maximum of 2,147,483,647 kilobytes per second.
(Optional) Applies this rate policing rule to inbound traffic.
(Optional) Assigns a resource index for this port.
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?
Questions and answers