set cos port-config flood-ctrl

Use this command to set the Class of Service flood control port group configuration.

Syntax

set cos port-config flood-ctrl group-type-index [name name] [ports port-list] [append | clear]

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.
name name (Optional) Specifies a name for this configuration.
ports port-list (Optional) Applies this configuration to one or more ports in the port group.
append | clear (Optional) Appends or clears port designations from a previously configured port group.

Defaults

  • If a name is not specified, no name will be applied.
  • If a port is not specified, this configuration will be applied to all ports in the port group.
  • If append or clear is not specified, port designations are appended.

Mode

All command modes.

Usage

CoS?based flood control prevents configured ports from being disrupted by a traffic storm by rate limiting specific types of packets through those ports. When flood control is enabled on a port, incoming traffic is monitored over one second intervals. During an interval, the incoming traffic rate for each configured traffic type (unicast, broadcast, multicast) is compared with the configured traffic flood control rate, specified in packets per second. If, during a one second interval, the incoming traffic of a configured type reaches the traffic flood control rate configured on the port, CoS?based flood control drops the traffic until the interval ends. Packets are then allowed to flow again until the limit is again reached.

Example

This example shows how to create a CoS flood control port group entry named flood1 with a port group ID of 2 and a port type ID of 1:

System(rw)->set cos port-config flood-ctrl 2.1 name flood1