cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
738
Views
0
Helpful
1
Replies

IOS XR - BGP community problem

kamil_folga
Level 1
Level 1

Hi!

 

How to config BGP on IOS XR to don`t advertise my prefix to my ISP global upstream providers using its cummunity?

 

Example of my ISP community from RIPE records:

 

2xxx4:96 Don't advertise to global upstream providers

 

How can I set this on IOS XR?

 

I try:

 

prefix-set MYPREFIX
    xx.yy.yy.xx/23
end-set
!

route-policy RPL
   if destination in MYPREFIX then
      set community (2xxx4:96) additive
      pass
    else
      drop
endif
end-policy


neighbor xx.xx.xx.xx
    remote-as 2xxx4
    update-source Bundle-Ether1
    address-family ipv4 unicast
        send-community-ebgp

        maximum-prefix 1000000 75
        route-policy RPL out
        send-extended-community-ebgp
        soft-reconfiguration inbound always

 

But this don`t work.

 

Any ideas?

 

Best regards,

 

Kamil

1 Reply 1

Harold Ritter
Spotlight
Spotlight

You configuration looks correct. Can you tell us more on what is not working.

 

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)