vyos_firewall_stats
Display firewall and NAT rule hit counters for auditing complex rulesets, showing traffic matches for firewall, source NAT, and destination NAT.
Instructions
Show firewall and NAT rule hit counters.
Returns a dict keyed by 'firewall', 'nat_source', and
'nat_destination', each holding the corresponding `show` output. On
partial failure the affected key holds an error dict with
"success": false and "error" set — check "success" before using
"data"; the commands that succeeded are still returned. Most useful
on routers with complex rulesets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||