---
title: Interface Bandwidth Utilization Alert
slug: routing/interface-bandwidth-utilization-alert
createdAt: 2025-12-04T04:30:21.239Z
---

## <font color="#1d50a2">Interface Bandwidth Utilization Alert</font>

### <font color="#1d50a2">log-threshold \{tx|rx|both|default\} *number*</font>

**\[Command]**
**log-threshold \{tx|rx|both|default} *number***

**\[Purpose]**
Configure interface bandwidth utilization alarm direction

**\[Parameter]**

| **Parameter** | **Description**                                                                                   |
| ------------- | ------------------------------------------------------------------------------------------------- |
| *tx*          | Loopback port ID                                                                                  |
| *rx*          | Alarms triggered only by transmission direction                                                   |
| *both*        | Alarms triggered only by both directions                                                          |
| *number*      | Alarm threshold, configurable from 50 to 100                                                      |
| *default*     | The default configuration sets the alert trigger threshold to 80 and the recovery threshold to 75 |

**\[View]**
Interface view

**\[Use Cases]**

```plaintext
sonic(config-if-2)# log-threshold both 90
```

