English
Language : 

LAN9313 Datasheet, PDF (335/398 Pages) SMSC Corporation – Three Port 10/100 Managed Ethernet Switch with MII
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
13.3.3.21 Switch Engine Port Mirroring Register (SWE_PORT_MIRROR)
Register #:
1846h
Size:
This register is used to configure port mirroring.
32 bits
BITS
DESCRIPTION
31:9 RESERVED
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
(SWE_IPR) will still register a drop interrupt.
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.
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.
1 Enable RX Mirroring
This bit enables packets received on the mirrored ports to be also sent to
the sniffer port.
0 Enable TX Mirroring
This bit enables packets transmitted on the mirrored ports to be also sent to
the sniffer port.
TYPE
RO
R/W
R/W
R/W
R/W
R/W
DEFAULT
-
0b
00b
00b
0b
0b
SMSC LAN9313/LAN9313i
335
DATASHEET
Revision 1.2 (04-08-08)