How can I configure a mirror port in OpenIL?

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I configure a mirror port in OpenIL?

390 Views
yyu2
Contributor III

Hi all,

I read the mirroring configuration in the chapter 16.4.14.3.10 Mirroring2 of [1], which says:

To debug network problems, selected traffic can be copied, or mirrored, to a mirror port where a frame analyzer can be attached to analyze the frame flow.
The traffic to be copied to the mirror port can be selected as follows:

• All frames received on a given port (also known as ingress mirroring)

• All frames transmitted on a given port (also known as egress mirroring

• Frames selected through configured VCAP entries

• All frames classified to specific VIDs

• All frames sent to the CPU (may be useful for software debugging)

• Frames where the source MAC address is to be learned (also known as learn frame), which may be useful for software debugging.

Do you know to how to use the mirroring function?

Thanks,

   Yi

[1] Lsa, A. (2019). QorIQ LS1028A Reference Manual.

Tags (1)
0 Kudos
5 Replies

251 Views
yyu2
Contributor III

Hi Yiping,

I check the 8.1.4.7 about redundancy test. The test diagram indeed shows the test center to capture traffic from swp2. Do you mean the swp2 is mirroring the "cbstreams" in the test case?

It seems the duplicate frames for 802.1CB purpose and it needs to configure "cbstreams" at first. My original intention is to monitor any traffics (not limited to TSN cbstreams) on the mirror port.

Any comments?

   Yi

pastedImage_1.png

0 Kudos

251 Views
yipingwang
NXP TechSupport
NXP TechSupport

Mirroring of any sorts is not yet supported in the LS1028A switch driver. Could you please figure out which type of mirroring (port-based: ingress or egress, flow-based: on which keys should the matching be performed) is required and what is the destination port required (the CPU port or a different front-panel port)?

0 Kudos

251 Views
yyu2
Contributor III

Hi Yiping,

I just want to wireshark the traffic through ls1028ardb, so the port based mirroring is required. And the mirroring traffic should be forwarded to external port.

Thanks,

yi

0 Kudos

251 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following feedback from LSDK development team. 

We may be able to support ingress and egress port-based mirroring in the next LSDK after 20.04.

0 Kudos

251 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to section "8.1.4.7 Seamless redundancy test case" in "8.1 Using TSN features on LS1028ARDB" in OpenIL user manual.

0 Kudos