---
title: "latency-monitor enable action"
slug: "latency-monitor-enable-action"
tags: ["Product Usage", "IPS 10.1.10"]
updated: 2026-10-05T15:40:56Z
published: 2026-10-05T15:40:56Z
canonical: "docs.trellix.com/latency-monitor-enable-action"
---
> ## 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