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

IOS XR - BGP community problem

kamil_folga
Beginner
Beginner

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

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers