I'd like to filter BGP announcement based on the generating AS-path. In the example below I'd like to permit outbound announcement only if the generating AS is 65204 or 65025:
[edit policy-options] # set as-path from-AS-65204 "65204.*" # set as-path from-AS-65205 "65205.*" [edit policy-options policy-statement BGP-filter-out ] # set term 1 from as-path from-AS-65204 # set term 1 then accept # set term 2 from as-path from-AS-65205 # set term 1 then accept # set term accept-others then reject [edit protocols bgp] # set group EBGP export BGP-filter-out Is there a better method to do it ? Tks _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

