From 67965db96acdfea20e7b190e7f7d456e6b3d0dc0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 11 Dec 2022 20:32:21 +0100 Subject: pppoe: use MTU include definition --- docs/_include/interface-mtu.txt | 2 +- docs/configuration/interfaces/pppoe.rst | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'docs') 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 mtu - - Configure :abbr:`MTU (Maximum Transmission Unit)` on given ``. It - is the size (in bytes) of the largest ethernet frame sent on this link. - .. cfgcmd:: set interfaces pppoe no-peer-dns Use this command to not install advertised DNS nameservers into the local -- cgit v1.2.3