In the following topology, the configurations of MD5 on each router are as below:
Figure 29-8
The relationship between the routers is: the as the router A located is 100, the as the router
B and router C is 200, the usage of ip address shown in the figure. The relationship between
Router A and Router B is the relation of ebgp neighbour, the password of md5 used is
ebgp.The relationship between Router B and Router C is the relation of ibgp neighbour, the
password of md5 used is ibgp.
The configuration of Router A:
!
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.1.3 remote-as 200
eighbor 192.168.1.3 password ebgp
!
The configuration of Router B:
!
router bgp 200
bgp log-neighbor-changes
neighbor 192.168.1.2 remote-as 100
neighbor 192.168.1.2 password ebgp
neighbor 192.168.2.6 remote-as 200
neighbor 192.168.2.6 password ibgp
!
The configuration of Router C:
!
router bgp 200
bgp log-neighbor-changes
neighbor 192.168.2.3 remote-as 200
neighbor 192.168.2.3 password ibgp
!