Hi @zaheernew!
BGP uses TCP as the transport layer protocol. To improve BGP security, you can perform Message Digest 5 (MD5) authentication when establishing a TCP connection. The MD5 authentication of BGP sets only the MD5 authentication password for the TCP connection. The authentication is performed by the TCP. If the authentication fails, no TCP connection is established.
BGP MD5 authentication is designed to prevent TCP attacks. The MD5 algorithm uses the MD5 password and the TCP+BGP packet as the input. The calculated result A is stored in the TCP packet. The peer TCP parses A to check whether the TCP packet is forged. If a forged TCP packet is detected, the peer TCP discards the packet to ensure stable TCP connections.