--- title: "Blocking containment access using the CLI" slug: "blocking-containment-access-using-the-cli-1" tags: ["HX 10.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T15:35:17Z published: 2026-09-10T15:35:17Z canonical: "docs.trellix.com/blocking-containment-access-using-the-cli-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. # 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 ``` :