Neighbor Authentication

As with other protocols, we can force BGP to authenticate other routers with a password. All passwords are scrambled using an MD5 message digest. On the network in Figure 10-1, we can enable password authentication between office-r1 and office-r2 by adding the password command to our BGP configuration. On office-r1, we add the neighbor...password command after the neighbor...remote-as command. You must configure the same password on both routers, or they can't communicate with BGP. Here's the configuration for office-r1:

 router bgp 3000
 neighbor 192.168.3.2 remote-as 3000
 neighbor 192.168.3.2 password letmein

The same goes for office-r2:

 router bgp 3000
 neighbor 192.168.3.1 remote-as 3000
 neighbor 192.168.3.1 password letmein






Cisco IOS in a Nutshell
Cisco IOS in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596008694
EAN: 2147483647
Year: 2006
Pages: 1031
Authors: James Boney
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net