From cf8ac48b88f43061c59cf35ad58b7aafbac1e7eb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 23 Feb 2020 19:49:38 +0100 Subject: pppoe: document all commands --- docs/interfaces/pppoe.rst | 189 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 160 insertions(+), 29 deletions(-) (limited to 'docs') diff --git a/docs/interfaces/pppoe.rst b/docs/interfaces/pppoe.rst index 2c969384..d6d503ab 100644 --- a/docs/interfaces/pppoe.rst +++ b/docs/interfaces/pppoe.rst @@ -51,6 +51,166 @@ configure it to open the PPPoE session for you and your DSL Transceiver (Modem/Router) just acts to translate your messages in a way that vDSL/aDSL understands. +Configuration +============= + +.. cfgcmd:: set interfaces pppoe access-concentrator + + Use this command to restrict the PPPoE session on a given access + concentrator. Normally, a host sends a PPPoE initiation packet to start the + PPPoE discovery process, a number of access concentrators respond with offer + packets and the host selects one of the responding access concentrators to + serve this session. + + This command allows you to select a specific access concentrator when you + know the access concentrators ``. + +.. cfgcmd:: set interfaces pppoe authentication user + + Use this command to set the username for authenticating with a remote PPPoE + endpoint. Authentication is optional from the system's point of view but + most service providers require it. + +.. cfgcmd:: set interfaces pppoe authentication password + + Use this command to set the password for authenticating with a remote PPPoE + endpoint. Authentication is optional from the system's point of view but + most service providers require it. + +.. cfgcmd:: set interfaces pppoe connect-on-demand + + Enables or disables on-demand PPPoE connection on a PPPoE unit. + + Use this command to instruct the system to establish a PPPoE connections + automatically once traffic passes through the interface. A disabled on-demand + connection is established at boot time and remains up. If the link fails for + any reason, the link is brought back up immediately. + + Enabled on-demand PPPoE connections bring up the link only when traffic needs + to pass this link. If the link fails for any reason, the link is brought + back up automatically once traffic passes the interface again. If you + configure an on-demand PPPoE connection, you must also configure the idle + 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 + + 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 + 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 + when the link comes up (i.e. auto). + +.. cfgcmd:: set interfaces pppoe description + + Assign given `` to interface. Description will also be passed + to SNMP monitoring systems. + +.. cfgcmd:: set interfaces pppoe disable + + Disable given ``. It will be placed in administratively down + (``A/D``) state. + +.. cfgcmd:: set interfaces pppoe idle-timeout