From 076e013702429bb960c2897eecb4b2145310476b Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Thu, 17 Dec 2020 12:35:32 +0100 Subject: flow-accounting: T3132: enable egress traffic accounting --- docs/configuration/system/flow-accounting.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') 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 In case, if you need to catch some logs from flow-accounting daemon, you may -- cgit v1.2.3 From 0ecc9bb6c07c3472df2b53fe8751235dee0bf283 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Thu, 17 Dec 2020 12:39:24 +0100 Subject: Make CI happy --- docs/configuration/system/flow-accounting.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/configuration/system/flow-accounting.rst b/docs/configuration/system/flow-accounting.rst index 7c1d1d2d..a5f16f09 100644 --- a/docs/configuration/system/flow-accounting.rst +++ b/docs/configuration/system/flow-accounting.rst @@ -70,7 +70,8 @@ CLI command. You may disable using the local in-memory table with the command: .. cfgcmd:: set system flow-accounting enable-egress - If you need to sample also egress traffic, you may want to configure egress flow-accounting: + If you need to sample also egress traffic, you may want to + configure egress flow-accounting: .. cfgcmd:: set system flow-accounting buffer-size -- cgit v1.2.3