Page MenuHome Accel-ppp

PPPoE: per-interface service-name
Open, NormalPublicFEATURE REQUEST

Description

In some cases, the large ISPs require to serve multiple networks with different Service-Name per-interface
As an example:
VLAN100 - Allow all Service-Name
VLAN200 - Allow empty Service-Name and defined
VLAN300 - Allow only defined service name
Proposed configuration:

service-name-set=A,accept-any-service=1
service-name-set=B,service-name=SNB,accept-blank-service=1
service-name-set=C,service-name=SNC,SND,SNE
interface=VLAN100,service-name-set=A
interface=VLAN200,service-name-set=B
interface=VLAN300,service-name-set=C

Details

Protocol
PPPoE
Version
-

Event Timeline

Hi @Dimka88

a one more
may be need to add one-two line

service-name=temp,temp2
service-name-set=A,accept-any-service=1
service-name-set=B,service-name=SNB,accept-blank-service=1
service-name-set=C,service-name=SNC,SND,SNE

interface=re:^vlan(\d+)$,accept-any-service=1
interface=VLAN100,service-name-set=A
interface=VLAN200,service-name-set=B
interface=VLAN300,service-name-set=C

global config service-name by default ,
and with other set will make exception ,
and consider whether it is possible to add and options to set chap/pap per vlan ,
one option is to set global for all vlan and add on vlan exception if not set use global config if set use only pap :
interface=vlan123, pap
interface=vlan321

and one more ,
in accel cli need to add options to make changes in real time when service is run ,and if vlan_mon add automatic vlan to show witch vlan is set specific service name , list of service-name

accel-ppp-cmd pppoe service-name show :

service-name-set=A,accept-any-service=1
service-name-set=B,service-name=SNB,accept-blank-service=1
service-name-set=C,service-name=SNC,SND,SNE

here need to list what is name of service set, service-name added on this set, is enable accept-any-service, and is enable pap .

accel-ppp-cmd pppoe interface show :

interface: connections: state: service-name-set:

vlan359            566    active                     A
vlan351            369    active                     B
vlan432            324.   active                    default

and set command for live changes,

accel-ppp-cmd pppoe interface vlan123 service-name-set A or B or default,pap

and same for service-name

accel-ppp-vmd pppoe service-name-set A,test1,test2

Dimka88 triaged this task as Normal priority.Jan 30 2022, 18:49