--- title: "Removing a host from the containment allow list using the CLI" slug: "removing-a-host-from-the-containment-allow-list-using-the-cli" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-26T19:31:23Z published: 2026-08-26T19:31:23Z canonical: "docs.trellix.com/removing-a-host-from-the-containment-allow-list-using-the-cli" --- > ## 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. # Removing a host from the containment allow list using the CLI **To remove a host from the containment allow list using the CLI:** 1. Enable the CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Remove the IP address or hostname from the containment allow list. ``` hostname (config) # no hx server containment whitelist ``` 3. Save your settings. ``` hostname (config) # write mem ``` > [!NOTE] > Note > > To list the hosts currently on the allow list, enter the following command: > > `hostname (config) # show hx server containment`