summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-02 16:58:55 +0200
committerGitHub <noreply@github.com>2022-06-02 16:58:55 +0200
commit6a9f3cef8cc938d89c62e37de2b2d6e5c38adbcb (patch)
tree53a645a77726502d00a168bed715969c953aa35b /man
parent7e5c7522e82e56d7827341503b5510d5e92811fd (diff)
parent66dc5d82b54744a053230dfc34b12b88f1521947 (diff)
downloadsystemd-6a9f3cef8cc938d89c62e37de2b2d6e5c38adbcb.tar.gz
Merge pull request #23576 from yuwata/network-erspan-version
network: support erspan version 0 and 2
Diffstat (limited to 'man')
-rw-r--r--man/systemd.netdev.xml28
1 files changed, 25 insertions, 3 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 3a776b3f42..0855cf17a8 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -1370,11 +1370,33 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>ERSPANVersion=</varname></term>
+ <listitem>
+ <para>Specifies the ERSPAN version number. Takes 0 for version 0 (a.k.a. type I), 1 for version 1
+ (a.k.a. type II), or 2 for version 2 (a.k.a. type III). Defaults to 1.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>ERSPANIndex=</varname></term>
<listitem>
- <para>Specifies the ERSPAN index field for the interface, an integer in the range 1…1048575 associated with
- the ERSPAN traffic's source port and direction. This field is mandatory.
- </para>
+ <para>Specifies the ERSPAN v1 index field for the interface. Takes an integer in the range
+ 0…1048575, which is associated with the ERSPAN traffic's source port and direction. Only used when
+ <varname>ERSPANVersion=1</varname>. Defaults to 0.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><varname>ERSPANDirection=</varname></term>
+ <listitem>
+ <para>Specifies the ERSPAN v2 mirrored traffic's direction. Takes <literal>ingress</literal> or
+ <literal>egress</literal>. Only used when <varname>ERSPANVersion=2</varname>. Defaults to
+ <literal>ingress</literal>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><varname>ERSPANHardwareId=</varname></term>
+ <listitem>
+ <para>Specifies an unique identifier of the ERSPAN v2 engine. Takes an integer in the range 0…63.
+ Only used when <varname>ERSPANVersion=2</varname>. Defaults to 0.</para>
</listitem>
</varlistentry>
</variablelist>