BGP Authentication
The goal of this test is to verify that the BGP authentication feature works as expected. It tests both peer group and individual neighbor configurations.
The test is targeting a running SONIC system with fully functioning configuration. The purpose of the test is to test BGP Authentication feature, which includes peer group and individual neighbor implementation.
Command | Comment |
---|---|
Configuration commands | |
router bgp | Enter BGP config mode |
neighbor password | Set the password for peer group or neighbor |
Show commands | |
show run bgp | Display the current running BGP configuration |
show ip bgp summary | Dispaly current neighbor relationships, can be done with ipv6 too |
N/A
N/A
This test requires BGP neighbors to be configured and established.
N/A
Configure peer group passwords for IPv4 and IPv6 for specified neighbor and ensure relationship is established.
- Configure peer group passwords for both IPv4 and IPv6 on DUT
- Verify neighbor is not up
- Configure password on neighbor
- Verify neighbor is up
- Set a mismatched password on DUT
- Verify neighbor is not up
- Turn off passwords on DUT and neighbor
Configure individual passwords for IPv4 and IPv6 for specified neighbor and ensure relationship is established.
- Configure neighbor passwords for IPv4 and IPv6 on DUT
- Verify neighbor is not up
- Configure password on neighbor
- Verify neighbor is up
- Set a mismatched password on DUT
- Verify neighbor is not up
- Turn off passwords on DUT and neighbor