mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
pppoe: T4384: replace default-route CLI option with common CLI nodes already present for DHCP
This commit is contained in:
parent
24b344b656
commit
da952bc48f
@ -115,24 +115,26 @@ PPPoE options
|
|||||||
timeout period, after which an idle PPPoE link will be disconnected. A
|
timeout period, after which an idle PPPoE link will be disconnected. A
|
||||||
non-zero idle timeout will never disconnect the link after it first came up.
|
non-zero idle timeout will never disconnect the link after it first came up.
|
||||||
|
|
||||||
.. cfgcmd:: set interfaces pppoe <interface> default-route [auto | force | none]
|
.. cfgcmd:: set interfaces pppoe <interface> no-default-route
|
||||||
|
|
||||||
Use this command to specify whether to automatically add a default route
|
Only request an address from the PPPoE server but do not install any default
|
||||||
pointing to the endpoint of the PPPoE when the link comes up. The default
|
route.
|
||||||
route is only added if no other default route already exists in the system.
|
|
||||||
|
|
||||||
**default:** A default route to the remote endpoint is automatically added
|
Example:
|
||||||
when the link comes up (i.e. auto).
|
|
||||||
|
|
||||||
* auto: A default route is added if no other default route (From any
|
.. code-block:: none
|
||||||
source) already exists.
|
|
||||||
* force: A default route is added after removing *all* existing default
|
|
||||||
routes.
|
|
||||||
* none: No default route is installed.
|
|
||||||
|
|
||||||
.. note:: In all modes except 'none', all default routes using this interface
|
set interfaces pppoe pppoe0 no-default-route
|
||||||
will be removed when the interface is torn down - even manually installed
|
|
||||||
static routes.
|
.. cfgcmd:: set interfaces pppoe <interface> default-route-distance <distance>
|
||||||
|
|
||||||
|
Set the distance for the default gateway sent by the PPPoE server.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
set interfaces pppoe pppoe0 default-route-distance 220
|
||||||
|
|
||||||
.. cfgcmd:: set interfaces pppoe <interface> idle-timeout <time>
|
.. cfgcmd:: set interfaces pppoe <interface> idle-timeout <time>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user