--- title: "Viewing the traffic statistics on each whitelist using the CLI" slug: "viewing-the-traffic-statistics-on-each-whitelist-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:26Z published: 2026-09-12T20:42:26Z canonical: "docs.trellix.com/viewing-the-traffic-statistics-on-each-whitelist-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. # Viewing the traffic statistics on each whitelist using the CLI Use the CLI commands in this procedure to view the traffic statistics of packet entries on a GRE whitelist, a port whitelist, and a network whitelist. When you enable each whitelist on the Network Security appliance, you can track the number of whitelist entries that are bypassed based on the matched known network, GRE, and port packets. No further analysis is performed. > [!NOTE] > Note > > You view the traffic statistics on each whitelist only using the CLI. ### Prerequisites - Administrator, Operator, Monitor, or Analyst access to the Network Security appliance. - Enable the specified ports that you need to whitelist. For details about how to enable a port whitelist, see [Enabling or disabling a port whitelist using the Web UI](/network-and-platform/docs/enabling-or-disabling-a-port-whitelist-using-the-web-ui) or [Enabling or disabling a port whitelist using the CLI](/network-and-platform/docs/enabling-or-disabling-a-port-whitelist-using-the-cli) - Enable GRE traffic so that all GRE packets are analyzed and whitelisted. For details about how to enable a GRE traffic whitelist, see [Enabling or disabling a GRE traffic whitelist using the Web UI](/network-and-platform/docs/enabling-or-disabling-a-gre-traffic-whitelist-using-the-web-ui) or [Enabling or disabling a GRE traffic whitelist using the CLI](/network-and-platform/docs/enabling-or-disabling-a-gre-traffic-whitelist-using-the-cli) . - Specify the IP addresses and subnets that you need to whitelist. For details about how to add rules to a network whitelist, see [Adding rules to a network whitelist using the Web UI](/network-and-platform/docs/adding-rules-to-a-network-whitelist-using-the-web-ui) or [Adding rules to a network whitelist using the CLI](/network-and-platform/docs/adding-rules-to-a-network-whitelist-using-the-cli). **To view the traffic statistics on each whitelist:** 1. Go to CLI enable mode. ``` hostname > enable ``` 2. View the statistics for all packet entries that are whitelisted. The following example is from a Trellix NX 10000 model. ``` hostname (config) # show policymgr whitelist stats ..... subnetf : Enabled wl_gre : Enabled wl_port: Enabled Non-whitelisted packets - 32219171199 Policymgr whitelisted packets - 231 Policymgr session whitelisted packets - 21581 Bxtract whitelisted packet - 0 Bxtract session whitelisted packets - 0 Whitelisted GRE packets - 119 Port Whitelisted packets - 3478 ``` The following example is from other Network Security appliances: ``` hostname (config) # show policymgr whitelist stats subnetf stats data : received: 161443545 no whitelist: 5228 no_whitelist_session: 4204542 sb_whitelist: 3454793 sb_whitelist_session: 153774128 bx_whitelist: 0 bx_whitelist_session: 0 gre_whitelist: 76 port_whitelist: 6660550 ```