--- title: "Enabling or disabling ICAP blocking mode using the CLI" slug: "enabling-or-disabling-icap-blocking-mode-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:23Z published: 2026-09-12T20:42:23Z canonical: "docs.trellix.com/enabling-or-disabling-icap-blocking-mode-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. # Enabling or disabling ICAP blocking mode using the CLI To enable or disable ICAP blocking mode on a appliance using the CLI, use the `[no] icap-service block-mode enable` command. Prerequisites - Administrator access to the Network Security appliance - The ICAP service is enabled on the appliance. For details, see [Enabling or disabling the ICAP service](/network-and-platform/docs/enabling-or-disabling-the-icap-service-2). **To enable ICAP blocking mode:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable ICAP blocking mode on the appliance. ``` hostname (config) # icap-service block-mode enable ``` 3. Verify the status of ICAP blocking mode. ``` hostname (config) # show icap-service config ICAP Configuration:  ICAP enabled               :  yes  Interface                  :  ether1  Request Mod Enabled        :  yes  Response Mod Enabled       :  yes  Block-mode Enabled         :  yes  Response-page Enabled      :  yes    .    .    . ``` The "Block-mode Enabled" line displays "yes" if blocking mode is enabled for the ICAP service. 4. Save your changes. ``` hostname (config) # write memory ``` **To disable ICAP blocking mode:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable ICAP blocking mode on the appliance. ``` hostname (config) # no icap-service block-mode enable ``` 3. Verify the status of ICAP blocking mode. ``` hostname (config) # show icap-service config ICAP Configuration:  ICAP enabled               :  yes  Interface                  :  ether1  Request Mod Enabled        :  yes  Response Mod Enabled       :  yes  Block-mode Enabled         :  no  Response-page Enabled      :  yes    .    .    . ``` The "Block-mode Enabled" line displays "no" if blocking mode is disabled for the ICAP service. 4. Save your changes. ``` hostname (config) # write memory ```