Check whether the mirror is using an ingress-and-egress condition. The KSZ8863 can mirror frames based on the receiving port, the transmitting port, or the combination of both. Microchip identifies register 5 bit 0 as the AND-mode selection. If port 1 is marked Receive Sniff and port 2 is marked Transmit Sniff, the mirror can include traffic traveling from port 1 to port 2 without including the return path from port 2 to port 1.
On an isolated, authorized test network, send distinguishable frames in both directions and observe the real destination and the mirror output separately. If both real destinations receive their frames but only one direction appears on the mirror, compare the enabled filters before changing clock or link hardware. If a real destination is missing traffic, investigate the forwarding path independently. Keep the configured sniffer port separate from the receive and transmit selection fields.
Read back the global and per-port mirror settings and compare them with the intended direction table. If both directions are needed, verify both with the approved monitoring configuration and restore the regular settings afterward. Check the exact crystal and oscillator circuit separately. Reference-clock acceptance, forwarding acceptance and mirror acceptance are three different tests.
Related selection guide: MERLIN Crystal Timing: Quartz crystals
Resource link: https://www.mecxtal.com.cn/en/products/quartz-crystals.html
