IOS XR issue, using community and RPL

Hello,

I'm unable to figure out why this is failing.  I have narrowed this down (commit line by line to isolate) to the outbound policy.  The commit on the last line fails, but doesn't give a reason as to why.

as-path-set ASPS_LOCAL_ONLY
 ios-regex '^$'
end-set

(commit ok)

route-policy RP_SET_COMM
 set community 65500:80
exit

(commit ok)

route-policy RP_BGP_OUT
 if as-path in ASPS_LOCAL_ONLY then
  apply RP_SET_COMM
 pass
 else
  drop
 endif
exit

(commit ok)


router bgp 65500

 neighbor 1.1.1.1

  remote-as 65501

  address-family ipv4 unicast

   send-community-ebgp


(commit ok)


Now when I add this under the af ipv4:

 route-policy RP_BGP_OUT out


(commit fail)

Comments

Sign In or Register to comment.