pppoe: use MTU include definition

This commit is contained in:
Christian Poessinger 2022-12-11 20:32:21 +01:00
parent 87e9aabfd4
commit 67965db96a
2 changed files with 5 additions and 6 deletions

View File

@ -8,4 +8,4 @@
.. code-block:: none .. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} mtu 9000 set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} mtu 1600

View File

@ -69,6 +69,10 @@ Common interface configuration
:var0: pppoe :var0: pppoe
:var1: pppoe0 :var1: pppoe0
.. cmdinclude:: /_include/interface-mtu.txt
:var0: pppoe
:var1: pppoe0
.. cmdinclude:: /_include/interface-vrf.txt .. cmdinclude:: /_include/interface-vrf.txt
:var0: pppoe :var0: pppoe
:var1: pppoe0 :var1: pppoe0
@ -155,11 +159,6 @@ PPPoE options
Use this command to set the IP address of the local endpoint of a PPPoE 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. 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 .. cfgcmd:: set interfaces pppoe <interface> no-peer-dns
Use this command to not install advertised DNS nameservers into the local Use this command to not install advertised DNS nameservers into the local