Skip to content

Commit 9162952

Browse files
eddieruan-alibabaEddie Ruan
authored and
Eddie Ruan
committed
reformat
1 parent ffc383e commit 9162952

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/bgp_pic/bgp_pic.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -401,22 +401,22 @@ Add a new SRv6 VPN test in sonic_mgmt.
401401

402402
### BGP_PIC Traffic Verification Test
403403
#### Test Bed for BGP PIC Test
404-
<figure align=center>
405-
<img src="images/pic_testbed1.png" >
406-
<figcaption>Figure 12. PIC Testbed via two physical devices<figcaption>
407-
</figure>
408404
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.
409405

410406
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.
411407

412408
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+
<figure align=center>
410+
<img src="images/pic_testbed1.png" >
411+
<figcaption>Figure 12. PIC Testbed via two physical devices<figcaption>
412+
</figure>
413413

414414
#### 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.
415416
<figure align=center>
416417
<img src="images/pic_testbed2.png" >
417418
<figcaption>Figure 13. PIC Testbed when shut down PE2<figcaption>
418419
</figure>
419-
Our objective is to deactivate PE2 and assess the speed at which all traffic can be redirected to PE3 on PE1.
420420

421421
#### Test result without PIC
422422
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
427427

428428
#### Test result with PIC
429429
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-
431430
<figure align=center>
432431
<img src="images/picafter.png" >
433432
<figcaption>Figure 15. Packet loss for about 2ms<figcaption>

0 commit comments

Comments
 (0)