--- title: "Configuring the quarantine settings using the CLI" slug: "configuring-the-quarantine-settings-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/configuring-the-quarantine-settings-using-the-cli" stale: true --- > ## 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. # Configuring the quarantine settings using the CLI Use the CLI commands in this topic to configure the settings of the quarantine. **To configure the settings for the quarantine:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the maximum size of the quarantine in gigabytes. ``` hostname (config) # email-analysis quarantine size ``` > [!NOTE] > Note > > The upper limit is 250 GB. The default size is 20 GB. 3. Enable the option to automatically remove the emails from the quarantine. ``` hostname (config) # email-analysis quarantine cleanup enable ``` 4. Specify the number of days to keep the emails in the quarantine before they are automatically removed. ``` hostname (config) # email-analysis quarantine cleanup keep ``` > [!NOTE] > Note > > The default value is 30 days. 5. Enable the option to send the usage notification email about the quarantine to an administrator. ``` hostname (config) # email-analysis quarantine notice enable ``` 6. Specify the upper percentage of space used in the quarantine, above which a notification is sent out. ``` hostname (config) # email-analysis quarantine notice high-water ``` > [!NOTE] > Note > > The default upper percentage is 90. 7. Specify the lower percentage of space used in the quarantine, below which a notification is sent out. ``` hostname (config) # email-analysis quarantine notice low-water ``` > [!NOTE] > Note > > The default lower percentage is 60. 8. Verify the configuration settings for the quarantine. ``` hostname (config) # show email-analysis ``` 9. Save your changes. ``` hostname (config) # write memory ``` **To disable the settings for the quarantine:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable the option to automatically remove the emails from the quarantine. ``` hostname (config) # no email-analysis quarantine cleanup enable ``` 3. Disable the option to send the usage notification email about the quarantine to an administrator. ``` hostname (config) # no email-analysis quarantine notice enable ``` 4. Verify the configuration settings for the quarantine. ``` hostname (config) # show email-analysis ``` 5. Save your changes. ``` hostname (config) # write memory ``` ### Example This example shows how to configure the quarantine settings. The `Email-Analysis Quarantine` section of the `show email-analysis` command output displays the quarantine settings. ``` hostname (config) # email-analysis quarantine size 40 hostname (config) # email-analysis quarantine cleanup enable hostname (config) # email-analysis quarantine cleanup keep 30 hostname (config) # email-analysis quarantine notice enable hostname (config) # email-analysis quarantine notice high-water 90 hostname (config) # email-analysis quarantine notice low-water 60 hostname (config) # show email-analysis ...  Email-Analysis Quarantine:    size:                      40    cleanup enable:            yes    cleanup keep:              30    high-water threshold:      90    low-water threshold:       60  Domain(s):    domain: mydomain1.com        next hop mta: 172.17.74.10        MX Enable: false        TLS mode: none ... ```