Hello,
I'm trying to setting up a BGP session with community-list but I have an error when commit:
[ policy route-map n-IN rule 11 match community ] % Can't find rule
My config:
set policy community-list 11 rule 11 action permit set policy community-list 11 rule 11 regex 65555:100 set policy route-map n-IN rule 11 action permit set policy route-map n-IN rule 11 match community community-list 11 set policy route-map n-IN rule 11 set ip-next-hop 192.0.2.1 set protocols bgp 65554 neighbor 1.1.1.1 remote-as 65555 set protocols bgp 65554 neighbor 1.1.1.1 ebgp-multihop 255 set protocols bgp 65554 neighbor 1.1.1.1 route-map import n-IN set protocols bgp 65554 neighbor 1.1.1.1 route-map export n-OUT
The IP and AS's are just examples, but I think the config are correct.
Can someone explain what is wrong?
Thank you