High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
389
Revision 1.4 (08-19-08)
DATASHEET
14.5.3.21
Switch Engine Port Mirroring Register (SWE_PORT_MIRROR)
This register is used to configure port mirroring.
Register #:
1846h
Size:
32 bits
BITS
DESCRIPTION
TYPE
DEFAULT
31:9
RESERVED
RO
-
8
Enable RX Mirroring Filtered
When set, packets that would normally have been filtered are included in the
receive mirroring function and are sent only to the sniffer port. When
cleared, filtered packets are not mirrored.
Note:
The Ingress Filtered Count Registers will still count these packets
as filtered and the
Switch Engine Interrupt Pending Register
will still register a drop interrupt.
R/W
0b
7:5
Sniffer Port
These bits specify the sniffer port that transmits packets that are monitored.
Bits 7,6,5 correspond to switch ports 2,1,0 respectively.
Note:
Only one port should be set as the sniffer.
R/W
00b
4:2
Mirrored Port
These bits specify if a port is to be mirrored. Bits 4,3,2 correspond to switch
ports 2,1,0 respectively.
Note:
Multiple ports can be set as mirrored.
R/W
00b
1
Enable RX Mirroring
This bit enables packets received on the mirrored ports to be also sent to
the sniffer port.
R/W
0b
0
Enable TX Mirroring
This bit enables packets transmitted on the mirrored ports to be also sent to
the sniffer port.
R/W
0b