You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/bgp_pic/bgp_pic.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -401,22 +401,22 @@ Add a new SRv6 VPN test in sonic_mgmt.
401
401
402
402
### BGP_PIC Traffic Verification Test
403
403
#### Test Bed for BGP PIC Test
404
-
<figurealign=center>
405
-
<img src="images/pic_testbed1.png" >
406
-
<figcaption>Figure 12. PIC Testbed via two physical devices<figcaption>
407
-
</figure>
408
404
We utilize two physical devices to establish a logically configured 3 PE testbed. One physical device corresponds to a single PE (PE1), while the other physical device represents two PEs (PE2 and PE3) solely from a BGP perspective. PE1 is interconnected with both PE2 and PE3. IXIA serves as CEs, with one CE connected to PE1 and the other CE dual-homed to PE2 and PE3.
409
405
410
406
The loopback address on PE2 is 1000:178, disseminated through an eBGP session between PE1 and PE2. Similarly, the loopback address on PE3 is 2000:178, published via an eBGP session between PE1 and PE3. PE1 acquires knowledge of CE2's SRv6 VPN routes through PE2 and PE3. Consequently, these VPN routes form an Equal-Cost Multipath (ECMP) on PE1, accessible via both PE2 and PE3.
411
407
412
408
CE2 published 400K routes to PE1, while CE1 (IXIA) generates traffic with a destination address traversing through these 400K routes. This traffic is evenly distributed through PE2 and PE3 to reach CE2 (IXIA).
409
+
<figurealign=center>
410
+
<img src="images/pic_testbed1.png" >
411
+
<figcaption>Figure 12. PIC Testbed via two physical devices<figcaption>
412
+
</figure>
413
413
414
414
#### Traffic Verification Test
415
+
Our objective is to deactivate PE2 and assess the speed at which all traffic can be redirected to PE3 on PE1.
415
416
<figurealign=center>
416
417
<img src="images/pic_testbed2.png" >
417
418
<figcaption>Figure 13. PIC Testbed when shut down PE2<figcaption>
418
419
</figure>
419
-
Our objective is to deactivate PE2 and assess the speed at which all traffic can be redirected to PE3 on PE1.
420
420
421
421
#### Test result without PIC
422
422
Initially, we conduct this test without activating PIC. The traffic rate is expected to decrease by nearly half due to the absence of PE2. As PE1 sequentially updates 400K routes to eliminate the PE2 path, the traffic rate gradually recovers. The packet loss persists for approximately 1 minute during this process.
@@ -427,7 +427,6 @@ Initially, we conduct this test without activating PIC. The traffic rate is expe
427
427
428
428
#### Test result with PIC
429
429
Subsequently, we activate PIC and replicate the identical test. Remarkably, there is virtually no continuous packet loss, and the overall count of lost packets stands at 4,516 (with a packet transmission rate of 1750MB/s). This translates to an optimized actual packet loss duration of approximately 2 milliseconds.
430
-
431
430
<figurealign=center>
432
431
<img src="images/picafter.png" >
433
432
<figcaption>Figure 15. Packet loss for about 2ms<figcaption>
0 commit comments