cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 
cancel
583
Visitas
2
ÚTIL
1
Respuestas

BGP Question

davidcriollo
Level 1
Level 1

Refer to the exhibit:

 

davidcriollo_2-1692183866051.png

I'm trying to understand what is the use for the command under BGP config:

#neighbor 192.168.1.1 activate 

#neighbor 192.168.3.3 activate  in R1 for Example. 

 

I completed the topology because I was studing the Peering using Loopback Address topic but I do not see any need of using that command, I completed the topology and my topology worked perfectly fine I I even performed in R1 #no bgp default ipv4-unicast and the peering keeped their session. 

 

 

 

 

1 SOLUCIÓN ACEPTADA

Soluciones aceptadas

M02@rt37
VIP
VIP

Hello @davidcriollo,

The command neighbor <neighbor-ip> activate is used to activate a BGP neighbor or peer relationship. It might seem unnecessary in some scenarios, especially when the peering is established without explicitly using the command.

Implicit Activation:

By default, when you configure a BGP neighbor using the neighbor command, the neighbor relationship is implicitly activated. This means that if you configure the neighbor relationship with the appropriate IP addresses, AS numbers, and other necessary settings, the peering will automatically activate and establish as long as the neighbor is reachable.

Explicit Activation:

The 'activate' option provides explicit control over the activation of the BGP neighbor. It's commonly used when you want to establish the neighbor relationship but keep it in a deactivated state initially.

This can be helpful in cases where you want to control when the neighbor relationship is established. For example, you might want to configure multiple neighbors but activate them one at a time as part of a planned deployment.

In some scenarios, as you experienced, the peering might establish even without explicitly using the 'activate' command. This can happen when all the required settings are properly configured and the devices can establish connectivity.

Screenshot_20230816_132722.jpg

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/iproute_bgp-xe-3se-3850-cr-book/iproute_bgp-xe-3se-3850-cr-book_chapter_010.html#wp9887904930

 

 

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

Ver la solución en mensaje original publicado

1 RESPUESTA 1

M02@rt37
VIP
VIP

Hello @davidcriollo,

The command neighbor <neighbor-ip> activate is used to activate a BGP neighbor or peer relationship. It might seem unnecessary in some scenarios, especially when the peering is established without explicitly using the command.

Implicit Activation:

By default, when you configure a BGP neighbor using the neighbor command, the neighbor relationship is implicitly activated. This means that if you configure the neighbor relationship with the appropriate IP addresses, AS numbers, and other necessary settings, the peering will automatically activate and establish as long as the neighbor is reachable.

Explicit Activation:

The 'activate' option provides explicit control over the activation of the BGP neighbor. It's commonly used when you want to establish the neighbor relationship but keep it in a deactivated state initially.

This can be helpful in cases where you want to control when the neighbor relationship is established. For example, you might want to configure multiple neighbors but activate them one at a time as part of a planned deployment.

In some scenarios, as you experienced, the peering might establish even without explicitly using the 'activate' command. This can happen when all the required settings are properly configured and the devices can establish connectivity.

Screenshot_20230816_132722.jpg

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/iproute_bgp-xe-3se-3850-cr-book/iproute_bgp-xe-3se-3850-cr-book_chapter_010.html#wp9887904930

 

 

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