Routing

Expand all | Collapse all

Dynamic profile versioning

Jump to Best Answer
  • 1.  Dynamic profile versioning

     
    Posted 02-19-2018 07:51

    Hi,

     

    I wish to enable the following :

     

    set system dynamic-profile-options versioning


    And get the following response:

    error: Cannot modify dynamic-profile-option versioning, dynamic profile is configured.
    error: foreign file propagation (ffp) failed

     

    Can I assume this is exactly what it says: Because I have a dynamic profile already configured the system cannot enable versioning? 

    If this is the case, does it mean I have to remove the dynamic profile to enable versioning?

     

    I hope not, as that means that any reference to that profile also needs to be removed...



  • 2.  RE: Dynamic profile versioning
    Best Answer

     
    Posted 02-19-2018 07:56

     

    Hi Clive, 

     

    Please deactivate the current dynamic-profile and then "set system dynamic-profile-options versioning"

    if you the subscriber using the dynamic profile, the system again will not allow to commit the configration.

    and that you will need logout the subscriber and then commit the configuration.

     

     

     

     

     

     



  • 3.  RE: Dynamic profile versioning

     
    Posted 02-19-2018 08:03


    Also, you dont require to delete any dynamic-profile, just deactivate existing dynamic-profile (ensure the NO subscriber is using/attached to dynamic-profile(s) ) and then commit. 

     

    Now "set system dynamic-profile-options versioning" and commit. and then activate the dynamic-profile you previously had deactivated and commit.

     

     

     

     

     

     



  • 4.  RE: Dynamic profile versioning

     
    Posted 02-19-2018 08:29

    For Example:

    lab@re0# commit
    re0:
    error: Cannot modify dynamic-profile-option versioning, dynamic profile is configured.
    error: foreign file propagation (ffp) failed


    lab@re0# deactivate dynamic-profiles

    lab@re0# commit
    re0:
    [edit interfaces ps0 auto-configure stacked-vlan-ranges dynamic-profile]
    'SVLAN-PROFILE'
    Dynamic-profile must be defined in the [edit dynamic-profiles] hierarchy
    error: commit failed: (statements constraint check failed)


    -> The error above is cause SVLAN-PROFILE is called in ps0 interface, so deactivate that:


    lab@re0# deactivate interfaces ps0 auto-configure stacked-vlan-ranges dynamic-profile SVLAN-PROFILE


    -> Now commit:

    lab@re0# commit
    re0:
    configuration check succeeds
    re1:
    commit complete
    re0:
    commit complete


    lab@re0# set system dynamic-profile-options versioning

     

    lab@re0# show | compare
    + dynamic-profile-options {
    + versioning;
    + }


    lab@re0# commit
    re0:
    configuration check succeeds
    re1:
    commit complete
    re0:
    commit complete

     

    lab@re0# activate dynamic-profiles


    lab@re0# activate interfaces ps0 auto-configure stacked-vlan-ranges dynamic-profile SVLAN-PROFILE


    lab@re0# show | compare
    ! active: dynamic-profiles { ... }
    [edit interfaces ps0 auto-configure stacked-vlan-ranges]
    ! active: dynamic-profile SVLAN-PROFILE { ... }


    lab@re0# commit
    re0:
    configuration check succeeds
    re1:
    commit complete
    re0:
    commit complete

     

     

     



  • 5.  RE: Dynamic profile versioning

     
    Posted 02-19-2018 08:38

    Hi Karand,

     

    Deactivated dynamic profile and linked L2TP profile, enabled versioning and re-activated dynamic and l2tp profiles and everything works perfectly.

     

    Thanks you



  • 6.  RE: Dynamic profile versioning

     
    Posted 02-19-2018 08:43

     

    Glad to hear that Clive!  Now with versioning enabled on your MX, operator can make changes to dynamic-profile without deactivating nor logging out of subscriber. Cheers..