Use this command to associate an action with a flow limit. This is the action that will occur once the associated flow limit is reached.
action1 | action2 | Specifies this configuration as action 1 or 2. Two actions describing what will occur when a certain flow limit is reached can be defined per user classification. Action number must correspond to a flow limit configured using the set flowlimit limit command as described in set flowlimit limit. |
notify | (Optional) When flow limit is reached, generates an SNMP trap notification (if the set flowlimit notification function is enabled as described in set flowlimit notification). |
drop | (Optional) When flow limit is reached, drops excess flows and discard packets. |
disable | (Optional) When flow limit is reached, disables the interface (if the set flowlimit shutdown function is enabled as described in set flowlimit shutdown). This will clear all FST settings on the port. |
class-index | Specifies a numeric value or classification type keyword for the class user classification type to assign to this action. Valid values are from 0 - 4294967295 or a classification type keyword:
|
If classification port type is not specified, the action is applied to all port classifications.
All command modes.
This example shows how to set flow limiting action 1 to discard all flows exceeding flow limit 1 on ports classified as user ports:
System(rw)->set flowlimit action1 discard userport