Reject policy was applied to import and export in a specific EBGP neighbor. . The configuration below is an example.
#################################################
set policy-options policy-statement REJECT_ALL then reject
set protocols bgp group EBGP import REJECT_ALL
set protocols bgp group EBGP export REJECT_ALL
#################################################
However, when I created another export policy as below and added it as an insert to the top of the REJECT_ALL policy of the bgp group, I saw that the BGP session was down for about 5 seconds and then reconnected. I wonder if it is originally down when an allow policy is added to the existing reject policy.
Also, when two export policies are applied, is it correct to apply from the top export policy in top-down format? I was wondering how to evaluate 2 export policies.
#################################################
set policy-options policy-statement ADV_IPV6 term PREFIX from route-filter 1.1.1.1/24 exact
set policy-options policy-statement ADV_IPV6 term PREFIX from route-filter 192.168.0.10/32 exact
set policy-options policy-statement ADV_IPV6 term PREFIX then accept
#################################################
------------------------------
SEONGHO SHIN
------------------------------