--- title: "Blocking containment access using the CLI" slug: "blocking-containment-access-using-the-cli" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-26T19:30:58Z published: 2026-08-26T19:30:58Z canonical: "docs.trellix.com/blocking-containment-access-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. # Blocking containment access using the CLI **To block containment access:** 1. Enable the CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Block containment access. ``` hostname (config) # hx server containment block ``` 3. Save your settings. ``` hostname (config) # write mem ```