Flood control limiting prevents configured ports from being disrupted by a traffic storm by rate limiting configured traffic types such as multicast or broadcast through those ports. CoS flood limiting allows you to configure traffic type limiting based on a unit rate (kilobits/second, megabits/second, gigabits/second), or percentage of the port‘s line speed. On the S- and K-Series, the flood control port-resource configuration allows you to enable sending syslog messages or traps once a rate limit is exceeded, as well as to disable the port.
The show cos port-resource flood-ctrl command displays resources for each port group created along with the index, as described above. By default, no traffic type is configured for flood control port-resources. Rates displayed as none indicate no resources exist. The default rate limiting algorithm is tail-drop. On the S- and K-Series, the action field in the display indicates user-desired action for each syslog, trap, and port disable behavior when configured.
The following example displays default values for the show cos port-resource flood-ctrl command S- and K-Series output:
System(rw)->show cos port-resource flood-ctrl '?' after the rate value indicates an invalid rate value Group Index Resource Type Unit Rate Rate Limit Type Action ----------- -------- ---- ---- ---------- --------------- ------ 0.0 0 fld perc none none 0.0 1 fld perc none none 0.0 2 fld perc none none 0.0 3 fld perc none none
The following example displays default values for the show cos port-resource flood-ctrl command 7100-Series output:
System(rw)->show cos port-resource flood-ctrl '?' after the rate value indicates an invalid rate value Group Index Resource Type Unit Rate Rate Limit Type Action ----------- -------- ---- ---- ---------- --------------- ------ 0.0 1 fld pps none none 0.0 2 fld pps none none 0.0 3 fld pps none none
Configure a CoS flood control resource entry, by mapping a port group with a traffic type such as multicast or broadcast. On the S- and K-Series, you have the ability to optionally set syslog, trap, and/or disable port behaviors should the limit be exceeded. This index is used by the rate-limit option when setting a flood control cos reference
The set cos port-resource flood-ctrl command is used for configuring a CoS flood control resource entry.