Junos OS

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Configuration Groups

    Posted 02-16-2024 09:52

    Hello Experts, 

    I am new to Configuration Groups and testing It in my lab. I have an existing configuration group named "CUSTOMER" with a bgp group and import policy. I created a new configuration group named "MAINTENANCE" with a REJECT-ROUTES policy. I assumed the new group "MAINTENANCE" would overwrite the "CUSTOMER" group import policy but it didn't. Can you please let me know if I am doing anything wrong here? or is it possible to overwrite the existing group statement with another group? I appreciate your help. 

    set groups CUSTOMER routing-instances TEST protocols bgp group CUSTOMER-EBGP import IMPORT-BGP-ROUTES

     

    set groups MAINTENANCE policy-options policy-statement REJECT-ROUTES then reject

    set groups MAINTENANCE routing-instances TEST protocols bgp group CUSTOMER-EBGP import REJECT-ROUTES

    set apply-groups MAINTENANCE



    ------------------------------
    Ahsan Khan
    ------------------------------