--- title: "Configuring NX sensors for on-demand packet capture" slug: "configuring-nx-sensors-for-on-demand-packet-capture-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:22:59Z published: 2026-11-17T09:22:59Z canonical: "docs.trellix.com/configuring-nx-sensors-for-on-demand-packet-capture-2" --- > ## 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. # Configuring NX sensors for on-demand packet capture You can configure NX sensors from the NDR CLI to enable on-demand packet capture. Use the `configure-nx` command to provide the authentication credentials for the target NX sensor which enables you to start the packet capture function from the NDR. To configure an NX sensor for packet capture: 1. Make sure you have attached the L7 metadata export on NX Sensor to your NDR. See [Exporting NX L7 metadata](/network-and-platform/docs/exporting-nx-l7-metadata-2) for more details. 2. Log into the NDR CLI using a terminal window or SSH client. Enter privileged mode on the NDR CLI. Enter the npadmin password, when prompted. `npadmin@hostname> enable` 3. Enter configuration mode. `npadmin@hostname> configure system` The prompt changes to `npadmin@hostname(config)#` on the terminal indicating that configuration mode is enabled. 4. Run the `configure-nx` command. It automatically queries the risky asset database table to discover NX sensors that have been identified as source devices. If one or more NX sensors are discovered, they are listed in a menu. 5. Select the target NX sensor to configure it for packet capture by providing its `Username` and `Password`. Type `X` to save the configuration. > [!WARNING] > Important > > The authentication credentials provided must belong to a user with admin, operator, or analyst privileges on the NX sensor. ``` npadmin@hostname(config)# configure-nx Configure NX details ------------------------------------- 1) 10.x.x.x #) configure nx. X) Exit. Enter your choice: 1 Configure details for nx: 10.x.x.x ------------------------------------- 1. Username: 2. Password: ------------------------------------- X. Save and Return C. Cancel and Return #. Select profile field Enter your choice: X npadmin@hostname(config)# ``` > [!NOTE] > Note > > If no NX sensors are found, the command displays the message `no nx integrated to configure. Please enter to return`. 6. When an NX sensor is configured using this command, you can initiate the packet capture process for risky assets using the **Asset Details** page in the NDR **Dashboard**. See the section [Managing assets](/network-and-platform/docs/investigate-assets-2) for more information.