vMX

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about vMX.
Expand all | Collapse all

pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

  • 1.  pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-08-2025 16:28

    Aloha,

    I tried to configure pppoe server with dynamic profile on a vmx version  24.2R1-S2.5

    Either there's still something missing in the config or maybe this does not work on a vmx?

    Here are the snippet from the config in setcfg format:

    set system services subscriber-management enable

    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" actual-transit-statistics
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" routing-service enable
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options chap
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options pap
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options authentication pap
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options mru 1492
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options mtu 1492
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" ppp-options local-authentication password cpe123
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" pppoe-options underlying-interface "$junos-underlying-interface"
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" pppoe-options server
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" keepalives interval 10
    set dynamic-profiles PPP_PROFILE_ONE interfaces pp0 unit "$junos-interface-unit" family inet unnumbered-address lo0.1

    set interfaces ge-0/0/2 mtu 9216
    set interfaces ge-0/0/2 unit 0 encapsulation ppp-over-ether
    set interfaces ge-0/0/2 unit 0 pppoe-underlying-options access-concentrator pe_mx204
    set interfaces ge-0/0/2 unit 0 pppoe-underlying-options direct-connect
    set interfaces ge-0/0/2 unit 0 pppoe-underlying-options dynamic-profile PPP_PROFILE_ONE

    set access-profile pppoe-profile

    set access address-pool POOL_V4 address-range low 192.168.100.10
    set access address-pool POOL_V4 address-range high 192.168.100.100

    set access profile pppoe-profile authentication-order password
    set access profile pppoe-profile authentication-order none
    set access profile pppoe-profile client "user1" chap-secret "xxx"
    set access profile pppoe-profile client "user1" pap-password "xxx"
    set access profile pppoe-profile client "user1" ppp framed-ip-address 192.168.100.10/24

    set access profile pppoe-profile address-assignment pool POOL_V4

    And I installed test License.

     show pppoe statistics 
    Active PPPoE sessions: 0
      PacketType                       Sent         Received
        PADI                              0             6671
        PADO                           6671                0
        PADR                              0            20014
        PADS                          20014                0
        PADT                              0                0
        Service name error                0                0
        AC system error               20014                0

    The AC system error count.

    Any suggestions?

    Thanks

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------


  • 2.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 00:56

    VMX was EOLd as of 23.2 so no further dev for the product has been done nor is it shipped/downloadable.

    Art



    ------------------------------
    Art Stine
    Virtualization/Kernel team
    ------------------------------



  • 3.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 01:08

    Morning.

    Sorry my mistake.

    We are using:

    vJunos-router KVM image

    https://support.juniper.net/support/downloads/?p=vjunos-router

    Because the cli output still says for model: vmx

    I thought it still counts as vmx version.

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------



  • 4.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 02:10

    Ah ok, that makes more sense. Ok, lemme dig around and see what might be up with this stuff.

    Art



    ------------------------------
    Art Stine
    Virtualization/Kernel team
    ------------------------------



  • 5.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 03:30

    Thanks a lot.

    According to this Juniper site:

    https://www.juniper.net/documentation/us/en/software/vjunos-router/vjunos-router-kvm/topics/vjunos-router-overview-understanding.html

    it should support it:

    Virtual broadband network gateway (BNG) capabilities, including:

    • L2TP network server/Layer 2 Tunneling Protocol (LNS/L2TP)

    • Point-to-Point Protocol over Ethernet (PPPoE)



    ------------------------------
    Marcel Reuter
    ------------------------------



  • 6.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 08:27

    One more update:

    My colleague was so nice and installed a older version of vmx.

    Model: vmx
    Junos: 18.1R1.9

    With this version our config works!

    So either something in the config changed between, or the license,

    or pppoe on vrouter has a problem.

    hth

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------



  • 7.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 22:23

    Have you tried this with a prior rev of vJunos-router, like 23.2 or 24.2 ? Sounds like a possible regression issue but need to narrow it down.

    thanks

    Art



    ------------------------------
    Art Stine
    Virtualization/Kernel team
    ------------------------------



  • 8.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 23:02

    Hi Marcel, 

    Could you please also try these few things? It is based on the link at the end here. 

    Thanks,
    Kaveh

    
    
    [edit protocols pppoe]
    user@host# 

    set no-send-pads-error

    • Monitor the CPU usage via "top" command run from inside the Junos RE.
    • Tell us how many cores and how much memory is assigned to vJunos, from the XML file. Increase the number of cores as a try.
    • See if the interfaces in the path are flapping UP/DOWN?

    Discarding PADR Messages to Accommodate Abnormal CPE Behavior

    Juniper remove preview
    Discarding PADR Messages to Accommodate Abnormal CPE Behavior
    This topic describes how to avoid a situation where certain CPEs respond inappropriately to normal router behavior.
    View this on Juniper >



    ------------------------------
    Kaveh Moezzi
    ------------------------------



  • 9.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-10-2025 13:24

    Hi Kaveh,

    I tested now all vrouter  versions:

    • vJunos-router: 23.2R1.15 not working AC system error        4vCPU  5GB RAM
    • vJunos-router: 23.4R2-S2.1 not working AC system error   8vCPU  10GB RAM
    • vJunos-router: 24.4R1.8 not working AC system error          8vCPU  10GB RAM
    • vmx(2vm):            18.1R1.9 works

    The 2 vJunos versions 23x we tested with 8vCPU and 10GB RAM

    The version 24.4 with 4 vCPU and 5GB RAM

    I dont see any difference, if the knob

    set protocols pppoe  no-send-pads-error 

    is enabled or not

    We are using containerlabs as the virtual envirement

    This is part of the image description

    class VJUNOSROUTER_vm(vrnetlab.VM):
    def __init__(self, hostname, username, password, conn_mode):
    for e in os.listdir("/"):
    if re.search(".qcow2$", e):
    disk_image = "/" + e
    super(VJUNOSROUTER_vm, self).__init__(
    username,
    password,
    disk_image=disk_image,
    # ram=5120,
    ram=10240,
    driveif="virtio",
    cpu="IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=of>
    # smp="4,sockets=1,cores=4,threads=1",
    smp="8,sockets=1,cores=8,threads=1",
    mgmt_passthrough=False,
    )
    # device hostname
    self.hostname = hostname

    This is the output of the vJunos-router: 23.2R1.15  version

    last pid: 12896; load averages: 0.26, 0.30, 0.26 up 0+01:09:46 16:41:03
    93 processes: 1 running, 92 sleeping
    CPU 0: 0.0% user, 0.0% nice, 0.4% system, 0.4% interrupt, 99.2% idle
    CPU 1: 0.0% user, 0.0% nice, 0.8% system, 0.0% interrupt, 99.2% idle
    CPU 2: 0.8% user, 0.0% nice, 0.8% system, 0.8% interrupt, 97.6% idle
    CPU 3: 0.4% user, 0.0% nice, 0.4% system, 0.8% interrupt, 98.4% idle
    CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
    Mem: 896M Active, 1378M Inact, 371M Wired, 79M Buf, 3145M Free
    Swap: 3072M Total, 3072M Free
    Hope that helps
    Im happy to try any different setup or tests, if that could help
    Thanks
    Marcel


    ------------------------------
    Marcel Reuter
    ------------------------------



  • 10.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-10-2025 14:08

    Thank you for all the data Marcel, very helpful to get the info. 

    Art and I will discuss and one of us will get back to you.  The support of BNG was EOL'd as well unfortunately by the feature team,  we are checking on that.

    18.1 vMX is ancient, there could have been a regression in later releases on vMX as well of course.

    Can you please attach the container lab topology used for this test?

    For now:

    The config knob is eliminated as a solution.

    Was the top command run when the AC system error count was increasing? If so, CPU load is eliminated too.

    There was no interface flap also? (doubt it, just checking).

    Thanks,

    Kaveh

     



    ------------------------------
    Kaveh Moezzi
    ------------------------------



  • 11.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-11-2025 10:23

    Hello,

    We have in this setup only one pppoe client

    I dont see any interface flappings.

    For our pppoe test, only 2 hosts are relevant:

    Our vjunos-router

    hostname pe_mx204

    and our pppoe client a Mikrotik routeros cpe

    hostname cpe_exy_mtik_02

    They are both directly connected.

    please see CLAB topology file:

    name: KN_CPE

    topology:

    kinds:
    juniper_vjunosrouter:
    image: vrnetlab/juniper_vjunos-router:23.2R1.15


    mikrotik_ros:
    kind: mikrotik_ros
    image: vrnetlab/mikrotik_routeros:7.18.2

    nodes:

    mk_pe:
    kind: juniper_vjunosrouter
    mgmt-ipv4: 172.110.42.10

    pe_mx204:
    kind: juniper_vjunosrouter
    mgmt-ipv4: 172.110.42.11

    cpe_exy_mtik_01:
    kind: mikrotik_ros
    mgmt-ipv4: 172.110.42.12

    cpe_exy_mtik_02:
    kind: mikrotik_ros
    mgmt-ipv4: 172.110.42.13

    test_client_router01:
    kind: juniper_vjunosrouter
    mgmt-ipv4: 172.110.42.14

    links:
    - endpoints: ["mk_pe:eth1", "pe_mx204:eth1"]
    - endpoints: ["pe_mx204:eth2", "cpe_exy_mtik_01:eth1"]
    - endpoints: ["pe_mx204:eth3", "cpe_exy_mtik_02:eth1"]
    - endpoints: ["test_client_router01:eth1", "cpe_exy_mtik_01:eth2"]
    - endpoints: ["test_client_router01:eth2", "cpe_exy_mtik_02:eth2"]

    Here is the output of the top command with the command

    set protocols pppoe no-send-pads-error not enabled

    admin@pe_mx204> show configuration protocols pppoe | display set    
    set protocols pppoe traceoptions file pppoe.log
    set protocols pppoe traceoptions level all
    set protocols pppoe traceoptions flag all

    admin@pe_mx204> show pppoe statistics                
    Active PPPoE sessions: 0
      PacketType                       Sent         Received
        PADI                              0                3
        PADO                              3                0
        PADR                              0                9
        PADS                              9                0
        PADT                              0                0
        Service name error                0                0
        AC system error                   9                0
        Generic error                     0                0
        Malformed packets                 0                0
        Unknown packets                   0                0

    last pid: 16306; load averages: 0.18, 0.23, 0.24 up 0+18:04:17 09:35:34
    94 processes: 1 running, 93 sleeping
    CPU 0: 0.0% user, 0.0% nice, 1.2% system, 0.0% interrupt, 98.8% idle
    CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
    CPU 2: 0.0% user, 0.0% nice, 0.4% system, 0.4% interrupt, 99.2% idle
    CPU 3: 0.4% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.2% idle
    CPU 4: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle
    Mem: 141M Active, 2142M Inact, 377M Wired, 78M Buf, 3127M Free
    Swap: 3072M Total, 3072M Free

    and here with the command set:

    admin@pe_mx204> show configuration protocols pppoe | display set 
    set protocols pppoe traceoptions file pppoe.log
    set protocols pppoe traceoptions level all
    set protocols pppoe traceoptions flag all
    set protocols pppoe no-send-pads-error

    admin@pe_mx204> show pppoe statistics 
    Active PPPoE sessions: 0
      PacketType                       Sent         Received
        PADI                              0              215
        PADO                            215                0
        PADR                              0              645
        PADS                              0                0
        PADT                              0                0
        Service name error                0                0
        AC system error                   0                0
        Generic error                     0                0
        Malformed packets                 0                0
        Unknown packets                   0                0

    last pid: 16813; load averages: 0.23, 0.24, 0.24 up 0+20:33:04 12:04:21
    94 processes: 1 running, 93 sleeping
    CPU 0: 0.4% user, 0.0% nice, 0.4% system, 0.4% interrupt, 98.8% idle
    CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
    CPU 2: 0.8% user, 0.0% nice, 1.2% system, 0.4% interrupt, 97.7% idle
    CPU 3: 0.4% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.6% idle
    CPU 4: 0.4% user, 0.0% nice, 0.8% system, 0.0% interrupt, 98.8% idle
    Mem: 135M Active, 2148M Inact, 375M Wired, 77M Buf, 3126M Free
    Swap: 3072M Total, 3072M Free

    HTH

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------



  • 12.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-16-2025 07:12

    Hi Kaveh, Art,

    could you already find out anything?

    Or could I help somehow with further tests?

    Thanks

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------



  • 13.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-17-2025 09:57

    Hi Marcel - am discussing this issue with folks on the broadband feature side of the house to see what might be going on. Will update when we have some more info.

    thanks

    Art



    ------------------------------
    Art Stine
    Virtualization/Kernel team
    ------------------------------



  • 14.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 12:33
    Edited by spuluka 04-09-2025 12:49

    Hi Marcel,

    There is no difference in features such as PPOE (or anything else I can think of off the top of my head) between vjunos-router and  the EOL vMX.

    They both support the same set of features, though vjunos-router is a single nested VM where as vMX was designed as two separate VMs (RE and FPC).

    The vjunos-router data plane does not go as fast, as we wanted to offer it in a smaller footprint and for free. 

    So, what has likely happened is likely not due to vJunos-router itself. The cause likely to be in the PPOE configuration or feature. 

    As Art said, we will look and see if we can find what happened here. 

    Thanks,
    Kaveh



    ------------------------------
    Kaveh Moezzi
    ------------------------------



  • 15.  RE: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error

    Posted 04-09-2025 12:53

    Hi Kaveh / Art

    thanks a lot.

    I appreciate it

    Marcel



    ------------------------------
    Marcel Reuter
    ------------------------------