From a531335929286c47f64690db438abc8748418b2c Mon Sep 17 00:00:00 2001 From: Sam Burney Date: Sat, 30 Jan 2021 09:39:42 +0000 Subject: pppoe: T3273: Add usage of each default-route mode --- docs/configuration/interfaces/pppoe.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'docs/configuration') diff --git a/docs/configuration/interfaces/pppoe.rst b/docs/configuration/interfaces/pppoe.rst index 9d10b91f..e6b1f3ef 100644 --- a/docs/configuration/interfaces/pppoe.rst +++ b/docs/configuration/interfaces/pppoe.rst @@ -113,7 +113,7 @@ PPPoE options 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. -.. cfgcmd:: set interfaces pppoe default-route +.. cfgcmd:: set interfaces pppoe default-route [auto | force | none] Use this command to specify whether to automatically add a default route pointing to the endpoint of the PPPoE when the link comes up. The default @@ -122,6 +122,16 @@ PPPoE options **default:** A default route to the remote endpoint is automatically added when the link comes up (i.e. auto). + * auto: A default route is added if no other default route (From any + 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 will be + removed when the interface is torn down - even manually installed static + interface-routes. + .. cfgcmd:: set interfaces pppoe idle-timeout