English
Language : 

LAN9311 Datasheet, PDF (391/461 Pages) SMSC Corporation – Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
14.5.3.21 Switch Engine Port Mirroring Register (SWE_PORT_MIRROR)
Register #:
1846h
Size:
This register is used to configure port mirroring.
32 bits
BITS
31:9
8
7:5
4:2
1
0
DESCRIPTION
RESERVED
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.
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.
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.
Enable RX Mirroring
This bit enables packets received on the mirrored ports to be also sent to
the sniffer port.
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 LAN9311/LAN9311i
391
DATASHEET
Revision 2.0 (02-14-13)