802.1CB will cause the ping lost packet on LS1028

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

802.1CB will cause the ping lost packet on LS1028

870 Views
xu
Contributor II

I have 2 board with a LS1028,Real-time Edge 2.1

xu_0-1647001957215.png

board A swp2 connect to test center port0 with an address 192.168.1.2

board B swp2 connect to test center port1 with an address 192.168.1.3

4.1.4.2.7.1 Sequence Generator test
Use the following set of commands for the 'Sequence Generator' test.
1. Configure switch ports to be forward mode.
On board A:
ifconfig eno2 up
ip link add name switch type bridge vlan_filtering 1
ip link set switch up
ip link set swp0 master switch && ip link set swp0 up
ip link set swp1 up
ip link set swp2 master switch && ip link set swp2 up
ip link set swp3 master switch && ip link set swp3 up
bridge vlan add dev swp0 vid 1 pvid
bridge vlan add dev swp2 vid 1 pvid
bridge vlan add dev swp3 vid 1 pvid


On board B
ifconfig eno2 up
ip link add name switch type bridge vlan_filtering 1
ip link set switch up
ip link set swp0 master switch && ip link set swp0 up
ip link set swp1 master switch && ip link set swp1 up
ip link set swp2 master switch && ip link set swp2 up
ip link set swp3 master switch && ip link set swp3 up
bridge vlan add dev swp0 vid 1 pvid
bridge vlan add dev swp1 vid 1 pvid
bridge vlan add dev swp2 vid 1 pvid
bridge vlan add dev swp3 vid 1 pvid

2. On board A, run the commands:
bridge fdb add 7E:A8:8C:9B:41:DD dev swp0 vlan 1
tsntool> cbstreamidset --device swp0 --index 1 --nullstreamid --nulldmac 0x7EA88C9B41DD --
nullvid 1 --streamhandle 1
tsntool> cbgen --device swp3 --index 1 --iport_mask 0x08 --split_mask 0x07 --seq_len 16 --
seq_num 2048

3.Use the following steps for the Sequence Recover test:
 On board B, run the following commands:
bridge fdb add 7E:A8:8C:9B:41:DD dev swp2 vlan 1
tsntool> cbstreamidset --device swp2 --index 1 --nullstreamid --nulldmac 0x7EA88C9B41DD --
nullvid 1 --streamhandle 1
tsntool> cbrec --device swp0 --index 1 --seq_len 16 --his_len 31 --rtag_pop_en

4. Send a stream 1 with 500Mbps from TestCenter port0 to swp2 of board A, set destination mac as port1's mac 7E:A8:8C:9B:41:DD   

Send a stream 2 with 500Mbps from TestCenter port1 to swp2 of board B, set destination mac as port0's mac

result: board A's swp0,swp1 config the cbgen

on port1 I can receive 500Mbps,but on port0 I only can receive about 70Mbps

from port1 with an address 192.168.1.3 I ping port0 with an address 192.168.1.2,it will lost packets

but from 192.168.1.2 I ping port1 192.168.1.3 it will not lost packets.

when I did not config cbgen on board A,it works well.

 

or just not use test center,just connect 2 pc on port0 and port1,from port1 pc ping port0 pc it will lost packets.

can you have a look,expert?

best regards

 

 

 

0 Kudos
2 Replies

735 Views
xu
Contributor II

Hi expert

 anyone can have a look about this issue?

thank you

0 Kudos

843 Views
xu
Contributor II

seems,B board swp0 and swp1 will receive the generate frames both,and will learn port0's mac address on swp0 either swp1,but if the mac is learned on B's swp1,the stream from port1 send to port0 will be discard by STP,when the port0's source mac is learned by B's swp0 it will pass.

this may cause the packet loss.

how to fix this issue?

best regards

0 Kudos