summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-11 20:32:21 +0100
committerChristian Poessinger <christian@poessinger.com>2022-12-11 20:32:21 +0100
commit67965db96acdfea20e7b190e7f7d456e6b3d0dc0 (patch)
treeb9033db7458b30a8e5b2279231d15121907adcaf
parent87e9aabfd44d959f4d7bc04ab0562ea42383e3e2 (diff)
downloadvyos-documentation-67965db96acdfea20e7b190e7f7d456e6b3d0dc0.tar.gz
vyos-documentation-67965db96acdfea20e7b190e7f7d456e6b3d0dc0.zip
pppoe: use MTU include definition
-rw-r--r--docs/_include/interface-mtu.txt2
-rw-r--r--docs/configuration/interfaces/pppoe.rst9
2 files changed, 5 insertions, 6 deletions
diff --git a/docs/_include/interface-mtu.txt b/docs/_include/interface-mtu.txt
index 76812507..f3666179 100644
--- a/docs/_include/interface-mtu.txt
+++ b/docs/_include/interface-mtu.txt
@@ -8,4 +8,4 @@
.. code-block:: none
- set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} mtu 9000 \ No newline at end of file
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} mtu 1600 \ No newline at end of file
diff --git a/docs/configuration/interfaces/pppoe.rst b/docs/configuration/interfaces/pppoe.rst
index 4f3926b2..0953e948 100644
--- a/docs/configuration/interfaces/pppoe.rst
+++ b/docs/configuration/interfaces/pppoe.rst
@@ -69,6 +69,10 @@ Common interface configuration
:var0: pppoe
:var1: pppoe0
+.. cmdinclude:: /_include/interface-mtu.txt
+ :var0: pppoe
+ :var1: pppoe0
+
.. cmdinclude:: /_include/interface-vrf.txt
:var0: pppoe
:var1: pppoe0
@@ -155,11 +159,6 @@ PPPoE options
Use this command to set the IP address of the local endpoint of a PPPoE
session. If it is not set it will be negotiated.
-.. cfgcmd:: set interfaces pppoe <interface> mtu <mtu>
-
- Configure :abbr:`MTU (Maximum Transmission Unit)` on given `<interface>`. It
- is the size (in bytes) of the largest ethernet frame sent on this link.
-
.. cfgcmd:: set interfaces pppoe <interface> no-peer-dns
Use this command to not install advertised DNS nameservers into the local