cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2210
Views
1
Helpful
4
Replies

BGP error (cannot configure the local system as neighbor)

Hello everyone, I'm having a problem dealing with the following error while configuring BGP on 2 VRFs (Regular BGP, not MP-BGP).

Please refer to the picture below.

and this is my bgp configuration:

!
router bgp 65000
no synchronization
no bgp log-neighbor-changes
no auto-summary
!
address-family ipv4 vrf blue
no synchronization
bgp router-id 192.168.1.12
neighbor 192.168.1.13 remote-as 65001
neighbor 192.168.1.13 local-as 65002
neighbor 192.168.1.13 activate
exit-address-family
!

I hope someone can help me with this issue. Thank you!

4 Replies 4

in vrf red you use id 192.168.1.13 <<- 
which then use in vrf blue, 
check the idea, it best to config LO in each VRF and use it IP as bgp route-id 

M02@rt37
VIP
VIP

hello @Cisco Enthusiast,

on your router bgp 65000 instance:

it should be neighbor 192.168.1.13 local-as 65000 instead of neighbor 192.168.1.13 local-as 65002 ?

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hello,

The error shows you what the issue is:


myrouter (config-router-af) # neighbor 192.168.1.12 remote-as 65002 & Cannot configure the local system as neighbor

192.168.1.12 must be a local ip on that system.

A neighbor must be an IP not on the local system.

-David

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Cisco Enthusiast ,

On another note, if you want vrf blue to see vrf red as 65001 and vrf red to see vrf blue as 65002, you should configure the following:

router bgp 65000

address-family ipv4 vrf blue

neighbor 192.168.1.13 local-as 65002 no-prepend replace-as

address-family ipv4 vrf red

neighbor 192.168.1.12 local-as 65001 no-prepend replace-as

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
Review Cisco Networking for a $25 gift card