BGP Session Flaps
The goal of this test is to verify that the CPU and memory do not spike during cycles of BGP sessions flapping.
The test is targeting a running SONIC system with fully functioning configuration. The purpose of the test is to test for CPU and memory spikes during BGP session flaps.
Command | Comment |
---|---|
Configuration commands | |
N/A | |
Show commands | |
show processes cpu | Display the current CPU statistics |
show ip bgp summary | Dispaly current memory statistics, can be done with ipv6 too |
N/A
N/A
This test requires BGP neighbors to be configured and established.
N/A
Have a single neighbor disable and enable BGP to flap the session with DUT.
- Gather base CPU and memory statistics from DUT
- Start neighbor BGP session flapping
- Verify no CPU or memory spikes on DUT by running show process cpu/memory and ensuring the output is noticibly higher, either 10% more cpu or 30% more memory from baseline
Have all neighbors disable and enable BGP to flap their sessions with DUT.
- Gather base CPU and memory statistics from DUT
- Start all neighbor BGP sessions flapping
- Verify no CPU or memory spikes on DUT by running show process cpu/memory and ensuring the output is noticibly higher, either 10% more cpu or 30% more memory from baseline