BGP MD5 Configuration on Cisco - Juniper - Nokia Interop
In this blog, I will explain the benefits of the MD5 concept and how to configure it on Cisco, Juniper, and Nokia Router
TCP-MD5
MD5 is used to protect the BGP session between the peers to form the secured session over the public Network.
TCP MD5 option supports only one key for a connection. Further, it only supports the MD5 algorithm. The MD5 algorithm takes the “secret” from the key and the TCP segment for encryption and generates a message digest. This message digest is then copied to the MD5 digest field in the TCP segment and is sent to the receiving device.
Cisco XR
router bgp 300
neighbor 192.168.1.1
password encrypted 011D03104C0414042D4D4C
Juniper
edit protocols {
bgp {
group nokia {
neighbor 192.168.0.1 {
authentication-key "key"; ## SECRET-DATA
}
Nokia
/configure router
protocols {
bgp {
group "juniper"
type external
local-as 100
neighbor 192.168.0.2
authentication-key "D8XsPtn4bCNLm" hash2
peer-as 200
exit
Comments
Post a Comment