cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
741
Views
5
Helpful
2
Replies

How to advertise routes from same BGP AS, through ISP

David Rollins
Level 1
Level 1

I have a customer, who uses the same BGP AS for all of their sites(AS 65002). These sites only peer with the ISP MPLS(AS 65001). How does the ISP AS 65001, advertise routes learned from all the peers, to each other? 

I'm trying to replicate it in my lab, but am unable.

Here is a sample configuration, as configured in the wild(With the exception of the ISP, that's the part I'm trying to figure out)

Remote 1
router bgp 65002
bgp log-neighbor-changes
redistribute connected
neighbor 172.16.1.6 remote-as 65001




Remote 2
router bgp 65002
bgp log-neighbor-changes
redistribute connected
neighbor 172.16.1.10 remote-as 65001




HUB 1
router bgp 65002
bgp log-neighbor-changes
redistribute connected
redistribute static
neighbor 172.16.1.2 remote-as 65001




ISP
router bgp 65001
bgp router-id interface Loopback0
bgp log-neighbor-changes
redistribute connected
neighbor 172.16.1.1 remote-as 65002
neighbor 172.16.1.5 remote-as 65002
neighbor 172.16.1.9 remote-as 65002
default-information originate

 

Disregard the link between R1 and R2.

BGP Setup (2).png

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @David Rollins ,

 

On the SP side, this is normally done using the

as-override

configuration, which will replace the customer ASN with the SP ASN.

ISP:

router bgp 65001

neighbor 172.16.1.1 remote-as 65002

neighbor 172.16.1.1 as-override

neighbor 172.16.1.5 remote-as 65002

neighbor 172.16.1.5 as-override

neighbor 172.16.1.9 remote-as 65002

neighbor 172.16.1.9 as-override

This is normally done in a VRF context as the SP offers a MPLS L3VPN service.

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

View solution in original post

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

Hi @David Rollins ,

 

On the SP side, this is normally done using the

as-override

configuration, which will replace the customer ASN with the SP ASN.

ISP:

router bgp 65001

neighbor 172.16.1.1 remote-as 65002

neighbor 172.16.1.1 as-override

neighbor 172.16.1.5 remote-as 65002

neighbor 172.16.1.5 as-override

neighbor 172.16.1.9 remote-as 65002

neighbor 172.16.1.9 as-override

This is normally done in a VRF context as the SP offers a MPLS L3VPN service.

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

David Rollins
Level 1
Level 1

For those of you viewing and wondering, it was the following command on the ISP router.

neighbor x.x.x.x as-override

 

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco