Clear firewall (command)

From VyOS Wiki
Jump to: navigation, search

The `clear firewall` command allows you to reset the counters for a ruleset or for a single rule.

Syntax

vyos@vyos:~$ clear firewall name <ipv4 ruleset name> counters
vyos@vyos:~$ clear firewall name <ipv4 ruleset name> rule <rule#> counters

vyos@vyos:~$ clear firewall ipv6-name <ipv6 ruleset name> counters
vyos@vyos:~$ clear firewall ipv6-name <ipv6 ruleset name> rule <rule#> counters

clear (command)

Command tree