How To Set BGP Authentication Password

MVP
MVP
Problem:

BGP peer status is stuck in Active state:

 

R1(config)# show ip bgp summary

Peer Information

 Remote Address    Remote-AS   Local-AS   State        Admin Status
 ------------------------    ---------------    ---------       --------       -------------------
 20.1.1.2                    777                  6500       Active         Start

 



Diagnostics:

 

Check the BGP configuration on both routers

R1(config)# show run

router bgp 6500

enable

neighbor 20.1.1.2 remote-as 777

exit

 

R2(config)# show run

router bgp 777

enable

neighbor 20.1.1.3 remote-as 6500

neighbor 20.1.1.3 encrypted-password "JzkUaVbNITb00vghOnMa8qaIJUCs1SrML7Ur1ytsdS8="

exit 

 



Solution

R1 has no BGP password configured, R2 password does.  Therefore, BGP peer is stuck in Active state.

You have to configure Password on both the routers.  Router 1 is updated below:

 

R1(config)# router bgp 6500

neighbor 20.1.1.2 password abcdefgh1234

 

Check the BGP configuration on both routers

 

R1(config)# show run

router bgp 6500

enable

neighbor 20.1.1.2 remote-as 777

neighbor 20.1.1.2 encrypted-password "JzkUaVbNITb00vghOnMa8qaIJUCs1SrML7Ur1ytsdS8="

exit

 

R2(config)# show run

router bgp 777

enable

neighbor 20.1.1.3 remote-as 6500

neighbor 20.1.1.3 encrypted-password "JzkUaVbNITb00vghOnMa8qaIJUCs1SrML7Ur1ytsdS8="

exit 

 

Check the router is no longer stuck in Active state

 

R1(config)# show ip bgp summary


Peer Information


 Remote Address    Remote-AS   Local-AS   State                   Admin Status
 ------------------------    ---------------    ---------       -----------------       -------------------
 20.1.1.2                    777                  6500       Established         Start

 

Version history
Revision #:
1 of 1
Last update:
‎01-27-2020 08:36 AM
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: