SOURCECODEBD.NET

Live Experience

13. AUTHENTICATION IN BGP

HOW TO AUTHENTICATION IN BGP CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0     1.1.1.1   255.0.0.0 
E 0     10.1.1.1   255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 
S 0     1.1.1.2   255.0.0.0 
E 0     20.1.1.1   255.0.0.0 
 
Task 1: 
 
Configure BGP on all the routers. Configure R1 in AS 100 and R2 in AS 200. Configure 
MD5 Authentication between R1 and R2 using a password of cisco123. 
 
 
R1 
 
Router bgp 100 
Neighbor 1.1.1.2 remote-as 200 
Neighbor 1.1.1.2 password cisco123 
Network 1.0.0.0 
Network 10.0.0.0 
No synchronization 
 
R2 
 
Router bgp 200 
Neighbor 1.1.1.1 remote-as 100
Neighbor 1.1.1.1 password cisco123 
Network 1.0.0.0 
Network 20.0.0.0 
No synchronization
 
Verification: 
 
R1#show ip route 
 
R1#show ip bgp summary 
 
Authentication in R2 and no authentication in R1: 
 
R2#debug ip bgp events
 
Authentication mismatch: 
 
R2#debug ip bgp events
You are here: Home / BGP / HOW TO AUTHENTICATION IN BGP CONFIGURATION