--- title: "Configuring SPAN mode using the CLI" slug: "configuring-span-mode-using-the-cli" tags: ["Network Security (NX)"] updated: 2026-08-24T22:01:11Z published: 2026-08-24T22:01:11Z canonical: "docs.trellix.com/configuring-span-mode-using-the-cli" stale: true --- > ## 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 SPAN mode using the CLI Use the CLI commands in this topic to configure the Network Security appliance to receive network traffic from the SPAN ports of a device with port mirroring capabilities. | Setting | Description | | --- | --- | | Operational Mode | Select TAP mode to configure for TAP or SPAN deployments. - **tap**—Monitors malicious traffic. | | Policy Type | The following policy types are supported: - **mixed**—Applies both local and global policies, and the local policy overrides the global policy (recommended). - **global**—Applies Trellix-defined global policy to the specified interface. - **local**—Applies user-defined local policy to the specified interface. - **none**—Does not apply any policy. No policy is used. | For details about the SPAN deployment, refer to the *User Guide* for your appliance model. Prerequisites - Operator or Admin access To configure SPAN mode: 1. Enable the CLI configuration mode: ``` hostname > enable ``` ``` hostname # configure terminal ``` 2. Configure pair A (interfaces A1 and A2) in inline block mode: ``` hostname (config) # policymgr interface A op-mode tap policy-type mixed ``` ``` hostname (config) # policymgr interface A re-configure ``` 3. Save your changes: ``` hostname (config) # write memory ``` 4. Check your configuration: ``` hostname (config) # show policymgr interfaces ``` ``` Policy enabled: yes ``` ``` Interface A  Active   : yes  op mode  : tap (tapping)  fail-safe: open  policy   : mixed  tolerance: 1  Ports    : pether3  pether4 ```