set flowlimit action

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.

Syntax

set flowlimit {action1 | action2} [notify] [drop] [disable] [class-index]

Parameters

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:
  • userport - An edge port with a single attached user. Class index = 1.
  • serverport - A port with a server attached to it. Class index = 2.
  • aggregateduser - An edge port with multiple users attached to it. Class index = 3
  • interswitchlink - A high speed interconnect port between switches or routers. Class index = 4.
  • unspecified - A port for which the intended usage is unknown. Class index = 5.

Defaults

If classification port type is not specified, the action is applied to all port classifications.

Mode

All command modes.

Example

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