summaryrefslogtreecommitdiff
path: root/man/systemd.netdev.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-05-31 23:08:28 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-01 04:02:48 +0900
commit98406eda8ac64491833b89d04b29d4b8c9748875 (patch)
tree0826f9691e4cd3dbb260131c98a4587858fb825f /man/systemd.netdev.xml
parent1c1cb8ec6f16c9c38806b2aba86e4d80e569b0d7 (diff)
downloadsystemd-98406eda8ac64491833b89d04b29d4b8c9748875.tar.gz
network/erspan: support erspan version 0 and 2
This also makes networkd accepts erspan index 0. Closes #23570.
Diffstat (limited to 'man/systemd.netdev.xml')
-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>