set cos port-resource irl

Use this command to configure a Class of Service inbound rate limiting port resource entry.

Syntax

set cos port-resource irl group-type-index irl-range {[unit {percentage | pps | kbps | mbps | gbps}] [rate rate] [type {drop}] [syslog {disable | enable}] [trap {disable | enable}] [disable-port {disable | enable}]}

Parameters

group-type-index Specifies a port group-type index. Valid entries are in the form of group.type. Group can be 0 - 11, with 0 designating the default group, and 1 - 11 reserved for user-defined groups. Port type can be 0 - 1 for the S- and K-Series and 0 for the 7100-Series.
irl-range Specifies a single or a range of inbound rate limiter ID(s) to be associated with this entry.
unit percentage | pps | kbps | mbps | gbps Specifies the unit of measure as percentage of total bandwidth, or packets per second kilobits, megabits, or gigabits per second.
rate rate (Optional) Data rate in units for this inbound rate limiter.
type drop (Optional) Specifies that frames exceeding this limiter will be dropped.
syslog disable | enable (Optional) Enables or disables the generation of a Syslog message when this limiter is exceeded (S-, K-Series).
trap disable | enable (Optional) Enables or disables the sending of an SNMP trap message when this limiter is exceeded (S-, K-Series).
disable-port disable | enable (Optional) Enables or disables the disabling of the violating port when this limiter is exceeded (S-, K-Series).

Defaults

  • If a rate is not specified, port defaults will be applied.
  • If not specified, frames will not be dropped.
  • If not specified, Syslog and port disabling will not be configured (S-, K-Series).

Mode

All command modes.

Examples

This S- and K-Series example shows how to configure Class of Service port resource IRL entry 0 for port group 0.0 assigning an inbound rate limit of 512 kilobits per second. This entry will trigger a Syslog and an SNMP trap message if this rate is exceeded:

System(rw)->set cos port-resource irl 0.0 0 unit kbps 512 syslog enable trap enable

This 7100-Series example shows how to configure Class of Service port resource IRL entry 0 for port group 0.0 assigning an inbound rate limit of 512 kilobits per second:

System(rw)->set cos port-resource irl 0.0 0 unit kbps 512