--- title: "Enabling or disabling the advanced X-header using the CLI" slug: "enabling-or-disabling-the-advanced-x-header-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:17Z published: 2026-08-24T19:53:17Z canonical: "docs.trellix.com/enabling-or-disabling-the-advanced-x-header-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. # Enabling or disabling the advanced X-header using the CLI Use the CLI commands in this procedure to enable or disable the advanced X-header feature. This feature is required to customize the riskware X-header feature. For details, see [Customizing riskware X-header block text using the CLI](/data-and-email/docs/customizing-riskware-x-header-block-text-using-the-cli) and [Customizing riskware X-header match text using the CLI](/data-and-email/docs/customizing-riskware-x-header-match-text-using-the-cli). **To enable the advanced X-header:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable the advanced X-header. ``` hostname (config) # email-analysis policy xheader advanced-xheader enable ``` 3. Verify the status of the advanced X-header. ``` hostname (config) # show email-analysis policy  Email-Analysis Policy:    Analyze URLs in body:      yes    Analyze attachments:          yes    Analyze email using YARA:     no    Email YARA Weight Cap:        30    Max Email Size (MB):          35    Analysis Timeout (sec):       240    Analyze image URLs:           yes    Advanced URL Defense:         xhdr    Extract/Rewrite HTML URL as Text:    yes    Max URLs Analyzed/email:      5    Max Att. Analyzed/email:      20    Congestion Bypass Mode:   yes    Congestion Bypass Threshold:   2000    Congestion Bypass Unprocessed Limit:  0    Congestion Refuse-connnection Mode:   yes    Congestion High Threshold:    10000    Congestion Low Threshold:     9000    Enable X Header:              yes (Adv. X-header)    Use Header for To/From:       yes    Parse HTTPS URLs:             yes    Invoke Email Feature Extractor:    no    Enable Notice (tap mode):     no    Enable Notice (block mode):   yes    ..... ``` 4. Save your changes. ``` hostname (config) # write memory ``` **To disable the advanced X-header:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable the advanced X-header. ``` hostname (config) # no email-analysis policy xheader advanced-xheader enable ``` 3. Verify the status of the advanced X-header. ``` hostname (config) # show email-analysis policy  Email-Analysis Policy:    Analyze URLs in body:      yes    Analyze attachments:          yes    Analyze email using YARA:     no    Email YARA Weight Cap:        30    Max Email Size (MB):          35    Analysis Timeout (sec):       240    Analyze image URLs:           yes    Advanced URL Defense:         xhdr    Extract/Rewrite HTML URL as Text:    yes    Max URLs Analyzed/email:      5    Max Att. Analyzed/email:      20    Congestion Bypass Mode:   yes    Congestion Bypass Threshold:   2000    Congestion Bypass Unprocessed Limit:  0    Congestion Refuse-connnection Mode:   yes    Congestion High Threshold:    10000    Congestion Low Threshold:     9000    Enable X Header:              yes    Use Header for To/From:       no    Parse HTTPS URLs:             no    Invoke Email Feature Extractor:    no    Enable Notice (tap mode):     no    Enable Notice (block mode):   yes    ..... ``` 4. Save your changes. ``` hostname (config) # write memory ```