Labs

 View Only
last person joined: yesterday 

Discover how to get the most of Juniper labs and share what you've built.
Expand all | Collapse all

About using BNG with vJunos-Router

  • 1.  About using BNG with vJunos-Router

    Posted 05-16-2024 10:37

    I tried to use BNG on vJunos-Router, but I couldn't use it because the following log appeared:

    "bbesmgd[12438]: LIBSDB_LICENSE_CHECK_FAILED: License check failed. Feature LICBNG_FEAT_PPP require vBNG-Preferred-Tier and VMX-SCALE-PREMIUM licenses"

    As I can see from the following URL, it seems that BNG is supported on vJunos-Router. Could you please tell me how to use BNG? Do I need additional licenses?

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



    ------------------------------
    ATSU
    ------------------------------


  • 2.  RE: About using BNG with vJunos-Router

    Posted 05-17-2024 00:22

    These license msgs should be advisory (ie, not enforced).  Does the feature not work at all or is it just noisy when applying config?

    Art



    ------------------------------
    Art Stine
    ------------------------------



  • 3.  RE: About using BNG with vJunos-Router

    Posted 05-18-2024 13:56

    Thank you for your reply. 
    Logs are generated when I try to connect to PPPoE for the first time, but the PPPoE connection is not established



    ------------------------------
    ATSU
    ------------------------------



  • 4.  RE: About using BNG with vJunos-Router

    Posted 06-25-2024 19:53

    I can also confirm that this issue is also present for IPoE / VLAN-demux based subscriber management too. This is the output I see in the logs of 

    general-authentication-service:

    Mar  7 15:16:26.702802 Process Request
    Mar  7 15:16:26.702831 SEQ RecvClientMsg:dvlan-client session-id:14 Opcode:1, Subcode:0 (ACCESS_REQUEST)
    Mar  7 15:16:26.702909 SEQ SendClientMsg:dvlan-client session-id:14 reply-code=9 (LICENSE UNAVAILABLE), result-subopcode=0 (ACCESS_REQUEST), cookie=2 ex_cookie=0xaf rply_len=28, num_tlv_blocks=0
    Mar  7 15:16:26.702973 authd_auth_aaa_msg_destruct auth_aaa_msg: 0x50fa06c
    Mar  7 15:16:26.703000 findSession AST-Table couldn't find the session-id:14
    Mar  7 15:16:26.703069 processRequestlicense not available

    The output of smg-service suggests license checks are at least partially disabled:

    Mar  7 14:55:28 bbe_if_l2_input: ifl ge-0/0/2.32767: Got PKT
    Mar  7 14:55:28 bbe_ifd_add_vif: ifd ge-0/0/2 vtag 0x020640c8, aci , is_aci_over_static_ifl false: Creating new vif
    Mar  7 14:55:28 bbe_ifd_add_vif: ifd ge-0/0/2 vtag 0x020640c8, aci-string , is_aci_over_static_ifl false: Creating new vpkt for new vif: ifl = 0x52cf80c, packet = 0x6281c00
    Mar  7 14:55:28 bbe_autoconf_packet_received: lookup string = , len = 161 vif_status = 1
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: ifl = 0x52cf80c, packet = 0x6281c00
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: underlying ifd is ge-0/0/2
    Mar  7 14:55:28 bbe_ifd_get_acf_profile: ifd = ge-0/0/2, vlan_type = 2, outer = 100, inner = 200
    Mar  7 14:55:28 bbe_ifd_get_acf_profile: profile is l2-profile
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbe_autoconf_check_ifd_vlan_session 3448: ifdindex 7 outer_vtag 100
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: found matching profile for ifd ge-0/0/2, profile name is l2-profile
    Mar  7 14:55:28 bbe_autoconf_get_versioned_profile: Updated the profile name with version l2-profile$$01
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: vlan authentication credentials configured
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: NO authentication required, not configured
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbe_autoconf_create_session: No auth_info
    Mar  7 14:55:28 bbe_autoconf_create_session: range specific access_profile: vlab-profile
    Mar  7 14:55:28 bbe_autoconf_create_session: profile name: l2-profile$$01
    Mar  7 14:55:28 bbe_autoconf_create_session: underlying interface: ge-0/0/2.32767
    Mar  7 14:55:28 bbe_autoconf_create_session: physical interface: ge-0/0/2
    Mar  7 14:55:28 bbe_autoconf_create_session: logical system: default
    Mar  7 14:55:28 bbe_autoconf_create_session: routing instance: default
    Mar  7 14:55:28 bbe_autoconf_create_session: inner vlan tag: 200
    Mar  7 14:55:28 bbe_autoconf_create_session: outer vlan tag: 100
    Mar  7 14:55:28 bbe_autoconf_create_session: nas port type: 15
    Mar  7 14:55:28 bbe_autoconf_create_session: No password
    Mar  7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id 1
    Mar  7 14:55:28 num of resd serv put success: session id 1
    Mar  7 14:55:28 MEM AQUIRE 96, offset 532
    Mar  7 14:55:28 if ge-0/0/2.32767 add, mem 0x5984214 sid:1
    Mar  7 14:55:28 if ge-0/0/2.32767 add sub cnt 0 uifl cnt 1 licensed count 0
    Mar  7 14:55:28 MEM AQUIRE 36, offset 628
    Mar  7 14:55:28 if ge-0/0/2.32767 session id 1 add, mem 0x5984274
    Mar  7 14:55:28 MEM AQUIRE 92, offset 664
    Mar  7 14:55:28 MEM AQUIRE 156, offset 756
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:2 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts 6312: incremented counter for state:0 for session id 1
    Mar  7 14:55:28 client type:0 to index:12
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:12 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:34 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id, client_type 1 8589934592
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:0 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts 6379: incremented counter for total for session id 1
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: session_id 1 successfully updated filters
    Mar  7 14:55:28 Sessiontable add, session 1, count 1
    Mar  7 14:55:28 bbe_autoconf_write_auth_info_to_sdb: prof [l2-profile$$01] pdb_is_var_present(NDRA_PREFIX) ret FALSE
    Mar  7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8
    Mar  7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000
    Mar  7 14:55:28 dprof_process_request: Received ADD request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0
    Mar  7 14:55:28 bbe_intf_add_ifl_pre_processing 3807: Dprof get inerface tag name get failed.
    Mar  7 14:55:28 bbe_intf_add_ifl_pre_processing 3809: Dprof inerface tag name (): len:(0)
    Mar  7 14:55:28 bbe_sdb_get_l2tp_accurate_accounting_type: sdb l2tp accurate accounting type not set for sid = 1
    Mar  7 14:55:28 bbe_sdb_get_l2tp_accurate_accounting_type: sdb l2tp accurate accounting type not set for sid = 1
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts: 8890 err=SDB data not found
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts:9267: Failed to get dyn attr: junos-loopback-interface, vid: 52, session_id=1,err=SDB data not found
    Mar  7 14:55:28 dprof_get_var_value: Failed to resolve var $junos-loopback-interface for sid: 1
    Mar  7 14:55:28 ERR: dprof_process_request: Add pre_processing failure for client request from plugin: AUTOCONF, session_id=1, err=66, Failed to get unnumbered iff
    Mar  7 14:55:28 ERR: dprof_request_handler: Request processing failed for plugin: AUTOCONF, session_id=1, err=66
    Mar  7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258
    Mar  7 14:55:28 bbe_autoconf_sdb_update_client_session_state: updating session 1 state to 3
    
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:2 changed from:1
    Mar  7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:9 changed from:1
    Mar  7 14:55:28 sdb_update_summary_counters: 3799: decremented counter for state:0
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:5 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1
    Mar  7 14:55:28 sdb_update_summary_counters: 3821: incremented counter for state:3
    Mar  7 14:55:28 sdb_update_client_session_internal_sts: updated acct type summary counter: first 0, last 0
    Mar  7 14:55:28 sdb_update_client_session_internal_sts 4578: updated counter first state:0 last state:3 for session id 1
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 license not updated for sid:1 not a licensed client
    Mar  7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8
    Mar  7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000
    Mar  7 14:55:28 dprof_process_request: Received DELETE request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0
    Mar  7 14:55:28 dprof_process_request: Deleting profile l2-profile$$01 for session_id=1, client: AUTOCONF
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts: 9177 err=SDB data not found
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts:9267: Failed to get dyn attr: junos-interface-set-name, vid: 56, session_id=1,err=SDB data not found
    Mar  7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258
    Mar  7 14:55:28 if ge-0/0/2.32767 session id 1 del
    Mar  7 14:55:28 if ge-0/0/2.32767 del sub cnt 0 uifl cnt 0 licensed count 0
    Mar  7 14:55:28 if ge-0/0/2.32767 del empty

    I'd appreciate if you could pass this up to engineering for a second look!



    ------------------------------
    GORDON GIDOFALVY
    ------------------------------



  • 5.  RE: About using BNG with vJunos-Router

    Posted 06-25-2024 20:06

    Hey Gordon - I'll pass this info to the BNG team and get their take.

    thanks

    Art



    ------------------------------
    Art Stine
    ------------------------------



  • 6.  RE: About using BNG with vJunos-Router

    Posted 06-29-2024 02:12

    Hey Gordon - ok checked with the BNG team - the BNG functions in VMX (vJunos-Router) require actual licenses to unlock. Unlock many other functionality which lack of licenses just result in advisory msgs, this stuff requires actual licenses. I need to get the biz-ops folks to issue us lab licenses which we can post for folks to use. Will work on that in the next week or two.

    Art



    ------------------------------
    Art Stine
    ------------------------------



  • 7.  RE: About using BNG with vJunos-Router

    Posted 08-19-2024 07:40

    Could you please provide an update on the status of license?



    ------------------------------
    ATSU
    ------------------------------



  • 8.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 03:52

    Hi @Art Stine,

    May i know whether any update regarding this trial license? Hopefully it just capping the bandwidth only not trial license 3 month like vMX.

    Thanks




  • 9.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 04:53
    Edited by GORDON GIDOFALVY 08-29-2024 04:55

    I have an update from my side as well. With the help of my SE, I was able to procure various trial licenses for vMX and vBNG in order to test BNG functionality on vJunos-router.

    Sadly, we couldn't find any license that actually made the BNG functionality work.

    Here's what we tested so far:

    • vMX license
    • vBNG license (with scale)
    • vBNG license (agile, "elite" tier)
    • BNG feature + scale license for an MX

    None of them made the license checking failure in the logs go away.

    My current working theory is due to license checks being disabled/patched out in vJunos, features which are hard-enforced for licensing don't work, even if you have the correct license installed for them. Obviously I don't have access to the Junos codebase, but this would explain why BNG so stubbornly never worked for anyone on this platform :)



    ------------------------------
    Gordon
    ------------------------------



  • 10.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 05:50

    Hi Gordon,

    Is it means u use vBNG license for vMX in vJunosRouter correct? and its work?

    Thanks




  • 11.  RE: About using BNG with vJunos-Router

    Posted 10-20-2024 05:49

    Hey Art, any updates on this?

    I'd love to be able to do BNG in my labs and trainings!

    Thanks,

    Gordon



    ------------------------------
    GORDON GIDOFALVY
    ------------------------------



  • 12.  RE: About using BNG with vJunos-Router

    Posted 01-28-2025 10:11

    Hi,

    I just tested the most recent version 24.2R1-S2.5 and BNG still seems to be broken. It would be great if there is any way we would be able to get this up and running again, as otherwise there is no longer a way to test BNG features virtually for all future releases.

    @Art Stine

    Any updates on this?

    Many thanks,

    Markus



    ------------------------------
    MARKUS JUNGBLUTH
    ------------------------------



  • 13.  RE: About using BNG with vJunos-Router

    This message was posted by a user wishing to remain anonymous
    Posted 01-28-2025 14:24
    This message was posted by a user wishing to remain anonymous

    Dear Juniper,

    Please provide some update to the community on the lab/trial license status or just tell us that it is impossible to implement it (lol) and we should buy a couple of VBNG-PREF-1K for the lab.

    Thanks,

    Marton




  • 14.  RE: About using BNG with vJunos-Router

    Posted 01-28-2025 14:52

    I spoke with the folks in the BNG team who had been involved with BNG on VMX. They confirmed that it appears to still work if you have licenses applied. Unclear if the licenses are still available for purchase, but you can push your account team to see what they can get (maybe even a trial license if there isn't a for purchase license anymore).

    Art



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



  • 15.  RE: About using BNG with vJunos-Router

    This message was posted by a user wishing to remain anonymous
    Posted 01-31-2025 10:26
    This message was posted by a user wishing to remain anonymous

    Thanks Art for your feedback.

    I confirm that the BNG features do work with the correct license.
    You will have to request the following from your Juniper contact:
    - vBNG Preferred tier trial license
    - vMX Bandwidth/Scale trial license
    (...I don't get why it has to be this difficult...)
    I just tested PPPoE with a vJunos-router (24.2R1-S2.5) and as you can see below it works.

    ------------------------------------------------------------------------------------------
    License usage: 
                                                          Licensed    Licensed    Licensed
                                                          Feature      Feature      Feature
      Feature name                     used             installed     needed    Expiry
      VMX-BANDWIDTH        0                   1000             0                  2025-04-01 00:00:00 UTC
      vBNG Preferred Tier      2                    1000            0                  2025-04-01 00:00:00 UTC
      VMX Scale Base                 0                    1                     0                  2025-04-01 00:00:00 UTC
      VMX Scale Premium       1                    1                     0                  2025-04-01 00:00:00 UTC
    ------------------------------------------------------------------------------------------
    Licenses installed: 

      License identifier: TrialJUNOSxxxxxxxxxx
      License version: 4
      Order Type: trial
      Software Serial Number: xxxxxxxxxxxxxxxxxxxx
      Customer ID: Juniper Internal
      Features:
        VMX-BANDWIDTH    - Max bandwidth supported by the VMX
          Capacity: 1000
          date-based, 2025-01-30 00:00:00 UTC - 2025-04-01 00:00:00 UTC
        VMX Scale Base   - Max scale supported by the VMX
          date-based, 2025-01-30 00:00:00 UTC - 2025-04-01 00:00:00 UTC
        VMX Scale Premium - Max scale supported by the VMX
          date-based, 2025-01-30 00:00:00 UTC - 2025-04-01 00:00:00 UTC

      License identifier: TrialJUNOSxxxxxxxxxx
      License version: 4
      Order Type: trial
      Software Serial Number: xxxxxxxxxxxxxxxxxxxx
      Customer ID: Juniper Internal         
      Features:
         vBNG Preferred Tier - Subscriber Management Preferred feature pack supported by VMX
          Capacity: 1000
          date-based, 2025-01-30 00:00:00 UTC - 2025-04-01 00:00:00 UTC
    ------------------------------------------------------------------------------------------
    admin@vjr1> show subscribers       
    Interface                                 IP Address/VLAN ID   User Name                   LS:RI
    ge-0/0/0.3221225478    0x8100.10 0x8100.20                                   default:default
    pp0.3221225480              10.0.0.1                             user1@test.com   default:default
    pp0.3221225481              10.0.0.2                             user2@test.com   default:default
    ------------------------------------------------------------------------------------------

    Marton




  • 16.  RE: About using BNG with vJunos-Router

    Posted 03-03-2025 02:04

    Hi all,

    Just to update, now u can play BNG in vJunosRouter. U just need request latest vBNG license and apply it to latest vJunos-Router. I'm just try apply and it can be use.

    Thanks




  • 17.  RE: About using BNG with vJunos-Router

    Posted 03-04-2025 10:55

    Thank you for the valuable information.

    Is the "24.2R1-S2" version available for download from the following site acceptable?
    https://support.juniper.net/support/downloads/?p=vjunos-router

    Also, do you know how to request the latest vBNG license?
    Would it be necessary to contact the account team for this?



    ------------------------------
    ATSU
    ------------------------------



  • 18.  RE: About using BNG with vJunos-Router

    Posted 03-04-2025 20:57

    Hi @ATSU,

    The vJunos-Router version can be dowload at juniper website. The trial license vBNG u need contact your local Juniper SE.

    Thanks




  • 19.  RE: About using BNG with vJunos-Router

    Posted 02-11-2025 19:00

    Would it be possible for you to provide the licenses Marton below mentioned as freely available 60-day trial licenses, similar to how there's a 60 day vMX trial license?

    It would really, really help us folks who are trying to lab our SP topologies! Thanks!



    ------------------------------
    GORDON GIDOFALVY
    ------------------------------



  • 20.  RE: About using BNG with vJunos-Router

    Posted 02-12-2025 01:16

    For customers, poke at your account team with this request and they can pursue it with the BNG team to evaluate this kind of request.

    Art



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