Clear firewall (command)

From VyOS Wiki
Revision as of 23:42, 26 March 2017 by Cbrjack (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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