--- title: "Turning containment on using the CLI" slug: "turning-containment-on-using-the-cli-1" tags: ["HX 10.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T15:35:03Z published: 2026-09-10T15:35:03Z canonical: "docs.trellix.com/turning-containment-on-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. # Turning containment on using the CLI To turn the containment feature on using the CLI: 1. Enable the CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Turn containment on. ``` hostname (config) # hx server containment enable ``` 3. Save your settings. ``` hostname (config) # write mem ``` :