--- title: "Retrieving SNMP statistics for email analysis based on a time period using the CLI" slug: "retrieving-snmp-statistics-email-analysis-time-period-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:10Z published: 2026-08-24T19:53:10Z canonical: "docs.trellix.com/retrieving-snmp-statistics-email-analysis-time-period-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. # Retrieving SNMP statistics for email analysis based on a time period using the CLI Use the CLI commands in this procedure to retrieve the SNMP statistics for email analysis over a time frame. **To retrieve SNMP statistics for email analysis based on a time period:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the number of days, hours, or minutes. - To specify a number of days: ``` hostname (config) # email-analysis snmp stat-interval days ``` where `<number>` is the number of days. - To specify a number of hours: ``` hostname (config) # email-analysis snmp stat-interval hours ``` where `<number>` is the number of hours. - To specify a number of minutes: ``` hostname (config) # email-analysis snmp stat-interval minute ``` where `<number>` is the number of minutes. - To retrieve all statistics: ``` hostname (config) # email-analysis snmp stat-interval 0 hours ``` 3. View the status of email analysis, including the time period to retrieve the SNMP statistics from the appliance. ``` hostname (config) # show email-analysis Email-Analysis: enabled:                   yes mode:                      block-email interface:                 pether3 interface ipv4 address:      172.17.74.68 interface ipv6 address:    2001:470:84a7:1720:225:90ff:fef3:2476 TLS receive mode:          none TLS default deliv. mode:   none MTA certificate name:      system-self-signed Password-protected objs:   yes cipher list:               compatible minimum protocol version:  tls1.2 Controlled-live-mode enabled: no URL dynamic analysis enabled: yes URL overlay detection enabled: yes SNMP statistics interval:  1 (days)  1 (hours) 5 (minutes) Email-Analysis Policy:  Analyze URLs in body:      yes  Analyze attachments:          yes  Analyze email using YARA:     yes  ..... ``` The "`SNMP statistics interval:`" line displays the time period to retrieve the SNMP statistics from the Email Security - Server appliance. 4. Save your changes. ``` hostname (config) # write memory ```