summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Philipp Benecke <jpb@cleverreach.com>2020-12-17 12:35:32 +0100
committerJan-Philipp Benecke <jpb@cleverreach.com>2020-12-17 12:35:32 +0100
commit076e013702429bb960c2897eecb4b2145310476b (patch)
tree6d88d172d441d619f23e5833892b68b7394d1b3e
parent5c467f0c3c260f1d52df3d76fc33946757c68fe7 (diff)
downloadvyos-documentation-076e013702429bb960c2897eecb4b2145310476b.tar.gz
vyos-documentation-076e013702429bb960c2897eecb4b2145310476b.zip
flow-accounting: T3132: enable egress traffic accounting
-rw-r--r--docs/configuration/system/flow-accounting.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/configuration/system/flow-accounting.rst b/docs/configuration/system/flow-accounting.rst
index 5bc737d6..7c1d1d2d 100644
--- a/docs/configuration/system/flow-accounting.rst
+++ b/docs/configuration/system/flow-accounting.rst
@@ -54,7 +54,7 @@ interface, the interface must be configured for flow accounting.
accounting.
.. note:: Will be recorded only packets/flows on **incoming** direction in
- configured interfaces.
+ configured interfaces by default.
By default, recorded flows will be saved internally and can be listed with the
@@ -68,6 +68,10 @@ CLI command. You may disable using the local in-memory table with the command:
or stopping exporting, you may try to increase a default buffer size (10
MiB) with the next command:
+.. cfgcmd:: set system flow-accounting enable-egress
+
+ If you need to sample also egress traffic, you may want to configure egress flow-accounting:
+
.. cfgcmd:: set system flow-accounting buffer-size <buffer size>
In case, if you need to catch some logs from flow-accounting daemon, you may