Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Question about Configuration Groups

    Posted 02-16-2024 09:51

    Hello Experts, 

    I am new to configuration groups and I am testing it in my lab. I have an existing group named "CUSTOMER" with bgp group and import policy.  I have created another group named " MAINTENANCE"  with a bgp group and import policy. I assumed the new group import policy would overwrite the existing group import policy. Can you please tell me if I am doing anything wrong here or if it is not possible to overwrite the existing group statement with a new group statement? I appreciate your advice. 

    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
    ------------------------------



  • 2.  RE: Question about Configuration Groups

    Posted 02-18-2024 09:44

    Hello Ahsan, here is my test in the lab, if both groups are applied, you will get the config as below,

    [edit]
    root@router-re0# show routing-instances TEST | display inheritance no-comments
    protocols {
        bgp {
            group CUSTOMER-EBGP {
                import [ REJECT-ROUTES IMPORT-BGP-ROUTES ];
            }
        }
    }

    [edit]
    root@router-re0# show apply-groups | display set

    set apply-groups MAINTENANCE
    set apply-groups CUSTOMER

    Kevin B.

    JNCIE-SP #2682