cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
128
Views
0
Helpful
1
Replies
Highlighted
Beginner

IOS XR - BGP community problem

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
Highlighted
Cisco Employee

Re: IOS XR - BGP community problem

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

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México