mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
pppoe-server: T4703: combine vlan-id and vlan-range into single CLI
This commit is contained in:
parent
122ecb23fc
commit
392a14de57
@ -1,3 +1,5 @@
|
||||
:lastproofread: 2022-09-17
|
||||
|
||||
.. _pppoe-server:
|
||||
|
||||
############
|
||||
@ -169,25 +171,24 @@ CoA request.
|
||||
Automatic VLAN Creation
|
||||
-----------------------
|
||||
|
||||
.. cfgcmd:: set service pppoe-server interface <interface>
|
||||
<vlan-id | vlan range> <text>
|
||||
.. cfgcmd:: set service pppoe-server interface <interface> vlan <id | range>
|
||||
|
||||
VLAN's can be created by accel-ppp on the fly via the use of a Kernel
|
||||
module named `vlan_mon`, which is monitoring incoming vlans and
|
||||
creates the necessary VLAN if required and allowed. VyOS supports the
|
||||
use of either VLAN ID's or entire ranges, both values can be defined
|
||||
at the same time for an interface. When configured, the PPPoE will
|
||||
create the necessary VLANs when required. Once the user session has
|
||||
been cancelled and the VLAN is not needed anymore, VyOS will remove
|
||||
it again.
|
||||
VLAN's can be created by Accel-ppp on the fly via the use of a Kernel module
|
||||
named `vlan_mon`, which is monitoring incoming vlans and creates the
|
||||
necessary VLAN if required and allowed. VyOS supports the use of either
|
||||
VLAN ID's or entire ranges, both values can be defined at the same time for
|
||||
an interface.
|
||||
|
||||
When configured, PPPoE will create the necessary VLANs when required. Once
|
||||
the user session has been cancelled and the VLAN is not needed anymore, VyOS
|
||||
will remove it again.
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
set service pppoe-server interface eth3 vlan-id 100
|
||||
set service pppoe-server interface eth3 vlan-id 200
|
||||
set service pppoe-server interface eth3 vlan-range 500-1000
|
||||
set service pppoe-server interface eth3 vlan-range 2000-3000
|
||||
|
||||
set service pppoe-server interface eth3 vlan 100
|
||||
set service pppoe-server interface eth3 vlan 200
|
||||
set service pppoe-server interface eth3 vlan 500-1000
|
||||
set service pppoe-server interface eth3 vlan 2000-3000
|
||||
|
||||
|
||||
Bandwidth Shaping
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user