--- title: "Heartbeat packet management" slug: "heartbeat-packet-management-1" tags: ["Hardware", "IPS 11.1.x"] updated: 2026-09-17T07:33:43Z published: 2026-09-17T07:33:43Z canonical: "docs.trellix.com/heartbeat-packet-management-1" --- > ## 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. # Heartbeat packet management This section covers the commands to set and view heartbeat counter statistics, heartbeat sequence state, and logs. It also documents the procedure to identify monitor port ID by examining heartbeat packets. ### Set and view heartbeat counter statistics | Command | Description | | --- | --- | | `get_hb_stat` | Displays heartbeat counter statistics which include Transmit(Tx) and Receive(Rx) packets between monitor ports MON0 and MON1. | | `clear_hb_stat` | Resets heartbeat statistics to 0. | ### Monitoring port ID on Heartbeat Packets Currently, there are no commands to view the monitoring port ID through which the heartbeat signals are sent to the Sensor. However, users can examine the heartbeat packet captures to identify the monitoring port ID. For example, users can examine the **Packet Bytes** pane in Wireshark for a selected heartbeat packet and identify the port being used. - If the byte value is **1**, it means monitoring port **MON0** is being used. **Monitoring Port 0**![Monitoring Port 0](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-1d367eb4-7f69-2474-2b9f-b6df720b61be.png?sv=2026-02-06&spr=https&st=2026-11-20T19%3A45%3A46Z&se=2026-11-20T20%3A45%3A46Z&sr=c&sp=r&sig=Bk5tPOheqbSCtFYZoh81t6sWBNNeH1I4nanPIEIUbe8%3D) - If the byte value is **2**, it means monitoring port **MON1** is being used. **Monitoring Port 1**![Monitoring Port 1](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-f7794a0f-5a48-c127-4448-dcfb3f8265c6.png?sv=2026-02-06&spr=https&st=2026-11-20T19%3A45%3A46Z&se=2026-11-20T20%3A45%3A46Z&sr=c&sp=r&sig=Bk5tPOheqbSCtFYZoh81t6sWBNNeH1I4nanPIEIUbe8%3D) ### Set and view sequence state on heartbeat packets | Command | Description | | --- | --- | | `set_hb_seq_state <on/off> [all]` | Sets the heartbeat sequence state on or off. - By entering `all` in the command, you can set all modules in chassis to on or off state. - By avoiding `all` in the command, you can set the sequence state on the current module. | | `get_hb_seq_state` | Identifies current state of heartbeat sequence on monitoring ports (MON0 or MON1.) > [!NOTE] > Note > > The sequence state is turned off by default. You need to turn it on before executing this command. | ### Set and view heartbeat packet logging | Command | Description | | --- | --- | | `set_hb_log_state <on/off> [all]` | Allows you to enable or disable heartbeat packet logging. - By entering `all` in the command, you can enable or disable logging across all modules in the chassis. - By avoiding `all` in the command, you can enable or disable logging only on the current module. | | `get_hb_log_state` | Displays the status of heartbeat logging. > [!NOTE] > Note > > Heartbeat packet logging is turned off by default. You need to turn it on before executing this command. | | `get_hb_log <username> <ip address> <valid directory path> [all]` | Generates heartbeat log output based on the input syntax. `<ip address>` refers to the IP address of SCP Server that you setup. `<username>` refers to the username you setup on the SCP Server. `<valid directory path>` refers to the directory path on the SCP Server where you plan to store the generated log file. By entering `all` in the command, you will be able to obtain the heartbeat log output for all the modules with heartbeat logging enabled. > [!NOTE] > Note > > Heartbeat packet logging is disabled by default. You need to enable it before executing this command. > [!NOTE] > Note > > Execute the `get_hb_log` command to view proper usage and options of the command. Follow the usage and options provided in the output to avoid any errors that occur while issuing the complete syntax. |