pppoe-server: T4703: combine vlan-id and vlan-range into single CLI

This commit is contained in:
Christian Poessinger 2022-09-17 08:50:06 +02:00
parent 122ecb23fc
commit 392a14de57

View File

@ -1,3 +1,5 @@
:lastproofread: 2022-09-17
.. _pppoe-server: .. _pppoe-server:
############ ############
@ -169,25 +171,24 @@ CoA request.
Automatic VLAN Creation Automatic VLAN Creation
----------------------- -----------------------
.. cfgcmd:: set service pppoe-server interface <interface> .. cfgcmd:: set service pppoe-server interface <interface> vlan <id | range>
<vlan-id | vlan range> <text>
VLAN's can be created by accel-ppp on the fly via the use of a Kernel VLAN's can be created by Accel-ppp on the fly via the use of a Kernel module
module named `vlan_mon`, which is monitoring incoming vlans and named `vlan_mon`, which is monitoring incoming vlans and creates the
creates the necessary VLAN if required and allowed. VyOS supports the necessary VLAN if required and allowed. VyOS supports the use of either
use of either VLAN ID's or entire ranges, both values can be defined VLAN ID's or entire ranges, both values can be defined at the same time for
at the same time for an interface. When configured, the PPPoE will an interface.
create the necessary VLANs when required. Once the user session has
been cancelled and the VLAN is not needed anymore, VyOS will remove When configured, PPPoE will create the necessary VLANs when required. Once
it again. the user session has been cancelled and the VLAN is not needed anymore, VyOS
will remove it again.
.. code-block:: none .. code-block:: none
set service pppoe-server interface eth3 vlan-id 100 set service pppoe-server interface eth3 vlan 100
set service pppoe-server interface eth3 vlan-id 200 set service pppoe-server interface eth3 vlan 200
set service pppoe-server interface eth3 vlan-range 500-1000 set service pppoe-server interface eth3 vlan 500-1000
set service pppoe-server interface eth3 vlan-range 2000-3000 set service pppoe-server interface eth3 vlan 2000-3000
Bandwidth Shaping Bandwidth Shaping