Reset SD-WAN rules counters

  1. Execute the following command to display the policy routing table:
diagnose firewall proute listCode language: PHP (php)
  1. Identify the relevant SD-WAN rule in the output. Example:
id=2130706435(0x7f000003) vwl_service=3(test)

The value 0x7f000003 is the hexadecimal ID of the SD-WAN rule.

source(1): 0.0.0.0-255.255.255.255
destination(1): 0.0.0.0-255.255.255.255
hit_count=179316 last_used=2022-10-20 13:04:57
  1. Clear the counters for this specific rule using its hexadecimal ID:
diagnose firewall proute clear 0x7f000003
  1. Verify the result. The hit counter should now be reset:
id=2130706435(0x7f000003) vwl_service=3(test)
source(1): 0.0.0.0-255.255.255.255
destination(1): 0.0.0.0-255.255.255.255
hit_count=0 last_used=2022-10-20 13:05:58

Or to reset all counters on all rules

diagnose firewall proute clear