summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2025-01-23 12:26:37 +0100
committerGitHub <noreply@github.com>2025-01-23 12:26:37 +0100
commit9ca0856042248d4a745a07752a6a96b3c66f2616 (patch)
tree3af5586199a52b88b1a16735ae9d4e733f03dcb0 /docs
parenta2b8e8d87e34b4266c375ad1db0b6ca8b6a7da8c (diff)
parent7269a2b135fbada047a47cc148aaa8c1090393d0 (diff)
downloadvyos-documentation-9ca0856042248d4a745a07752a6a96b3c66f2616.tar.gz
vyos-documentation-9ca0856042248d4a745a07752a6a96b3c66f2616.zip
Merge pull request #1588 from natali-rs1985/T6895
sflow: T6895: Merge the hsflowd-based sFlow and uacctd-based sFlow
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/system/flow-accounting.rst24
-rw-r--r--docs/configuration/system/sflow.rst4
2 files changed, 6 insertions, 22 deletions
diff --git a/docs/configuration/system/flow-accounting.rst b/docs/configuration/system/flow-accounting.rst
index 801ddae6..a339df75 100644
--- a/docs/configuration/system/flow-accounting.rst
+++ b/docs/configuration/system/flow-accounting.rst
@@ -7,8 +7,8 @@ Flow Accounting
VyOS supports flow-accounting for both IPv4 and IPv6 traffic. The system acts
as a flow exporter, and you are free to use it with any compatible collector.
-Flows can be exported via two different protocols: NetFlow (versions 5, 9 and
-10/IPFIX) and sFlow. Additionally, you may save flows to an in-memory table
+Flows can be exported via protocol NetFlow (versions 5, 9 and
+10/IPFIX). Additionally, you may save flows to an in-memory table
internally in a router.
.. warning:: You need to disable the in-memory table in production environments!
@@ -144,26 +144,6 @@ NetFlow
If you want to change the maximum number of flows, which are tracking
simultaneously, you may do this with this command (default 8192).
-sFlow
-^^^^^
-
-.. cfgcmd:: set system flow-accounting sflow server <address>
-
- Configure address of sFlow collector. sFlow server at `<address>` can
- be an IPv4 or IPv6 address. But you cannot export to both IPv4 and
- IPv6 collectors at the same time!
-
-.. cfgcmd:: set system flow-accounting sflow sampling-rate <rate>
-
- Enable sampling of packets, which will be transmitted to sFlow collectors.
-
-.. cfgcmd:: set system flow-accounting sflow agent-address <address>
-
- Configure a sFlow agent address. It can be IPv4 or IPv6 address, but you
- must set the same protocol, which is used for sFlow collector addresses. By
- default, using router-id from BGP or OSPF protocol, or the primary IP
- address from the first interface.
-
Example:
--------
diff --git a/docs/configuration/system/sflow.rst b/docs/configuration/system/sflow.rst
index 0c8bf03b..926d667b 100644
--- a/docs/configuration/system/sflow.rst
+++ b/docs/configuration/system/sflow.rst
@@ -44,6 +44,10 @@ Configuration
Configure address of sFlow collector. sFlow server at <address> can be both listening on an IPv4 or IPv6 address.
+.. cfgcmd:: set system sflow enable-egress
+
+ Use this command to if you need to sample also egress traffic
+
Example
=======