41. MD5 certification of BGP configuration experiment
1. Experimental Topology
2. Basic configuration
R1 configuration
Interface Serial0/0
Ip address 12.1.1.1 255.255.255.0
Router bgp 1
No synchronization
Bgp router-id 1.1.1.1
Neighbor 12.1.1.2 remote-as 2
R2 configuration
Interface Serial0/0
Ip address 12.1.1.2 255.255.255.0
Router bgp 2
No synchronization
Bgp router-id 2.2.2.2
Neighbor 12.1.1.1 remote-as 1
No auto-summary
3. Configure MD5 authentication
Before configuring MD5 authentication
Unilaterally configure MD5 authentication on R1
R1 (config) # router bgp 1
R1 (config-router) # neighbor 12.1.1.2 password cisco
MD5 authentication is also configured on R2
R2 (config) # router bgp 2
R2 (config-router) # neighbor 12.1.1.1 password cisco