--- title: "latency-monitor enable action" slug: "latency-monitor-enable-action-3" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:29:40Z published: 2026-11-19T12:29:40Z canonical: "docs.trellix.com/latency-monitor-enable-action-3" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # latency-monitor enable action This command enables latency monitoring feature in the Sensor, and also specifies the action to be performed if high latency is observed in the Sensor. The following are the actions that can be specified in this command: - `alert-only` (generates an alert when a high latency is observed in the Sensor) - `put-in-layer2` (generates an alert and also forwards the traffic to layer2). These generated alerts can be seen in the **Attack Log**. **Syntax**: `latency-monitor enable action <alert-only | put-in-layer2>` This command should be executed with a parameter value, else the command is treated as invalid. > [!NOTE] > Note > > If `layer2-forward` is enabled, it is necessary to set the `layer2 mode` to be on. Otherwise the `layer2-forward` action does not get executed. **Example:** `latency-monitor enable action alert-only` **Applicable to:** NS-series Sensors