Hello Guys,
I have an existing policy (sample below) and need to add the new communities to it.
In order to avoid the re ordering in the policy-statment with every new provisioning , is there any option to use the "insert" command. I like to add the new community added before the COMMUNITY-LAST statement so can add all new communites before it.
Thanks
set policy-options community COMMUNITY-AAAA members target:11111:99999
set policy-options community COMMUNITY-LAST members target:99999:99999
set policy-options policy-statement MY-COMMUNITY term a from protocol bgp
set policy-options policy-statement MY-COMMUNITY term a from community COMMUNITY-AAAA
set policy-options policy-statement MY-COMMUNITY term a from community COMMUNITY-LAST
set policy-options policy-statement MY-COMMUNITY term a then accept
set policy-options policy-statement MY-COMMUNITY term b then reject
#insert#policy-options