Enabling MD5 authentication for BGP peers
MD5 authentication provides the following benefits:
Peer authentication makes sure that only BGP peers that have the same password can establish TCP connections.
Integrity check makes sure that BGP packets exchanged between peers are intact.
To enable MD5 authentication for BGP peers (IPv4):
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter BGP view or BGP-VPN instance view. |
| Use either method. |
3. Enable MD5 authentication for a BGP peer group or peer. | peer { group-name | ip-address } password { cipher | simple } password | By default, MD5 authentication is disabled. |
To enable MD5 authentication for BGP peers (IPv6):
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter BGP view or BGP-VPN instance view. |
| Use either method. |
3. Enable MD5 authentication for a BGP peer group or peer. | peer { group-name | ipv6-address } password { cipher | simple } password | By default, MD5 authentication is disabled. |