ksz8893mqlam Micrel Semiconductor, ksz8893mqlam Datasheet - Page 47

no-image

ksz8893mqlam

Manufacturer Part Number
ksz8893mqlam
Description
Integrated 3-port 10/100 Managed Switch With Phys
Manufacturer
Micrel Semiconductor
Datasheet
Port Mirroring Support
KSZ8893MQL/MBL supports “Port Mirroring” comprehensively as:
Multiple ports can be selected as “receive sniff” or “transmit sniff”. In addition, any port can be selected as the
“sniffer port”. All these per port features can be selected through registers 17, 33 and 49 for ports 1, 2 and 3,
respectively.
IEEE 802.1Q VLAN Support
The KSZ8893MQL/MBL supports 16 active VLANs out of the 4096 possible VLANs specified in the IEEE 802.1Q
specification. KSZ8893MQL/MBL provides a 16-entries VLAN Table, which converts the 12-bits VLAN ID (VID) to
the 4-bits Filter ID (FID) for address lookup. If a non-tagged or null-VID-tagged packet is received, the ingress port
default VID is used for lookup. In VLAN mode, the lookup process starts with VLAN Table lookup to determine
whether the VID is valid. If the VID is not valid, the packet is dropped and its address is not learned. If the VID is
valid, the FID is retrieved for further lookup. The FID + Destination Address (FID+DA) are used to determine the
destination port. The FID + Source Address (FID+SA) are used for address learning.
December 2007
DA found in
Static MAC
Table?
No
No
Yes
Yes
Yes
Yes
“receive only” mirror on a port
All the packets received on the port are mirrored on the sniffer port. For example, port 1 is programmed to
be “receive sniff” and port 3 is programmed to be the “sniffer port”. A packet received on port 1 is destined
to port 2 after the internal lookup. The KSZ8893MQL/MBL forwards the packet to both port 2 and port 3.
The KSZ8893MQL/MBL can optionally even forward “bad” received packets to the “sniffer port”.
“transmit only” mirror on a port
All the packets transmitted on the port are mirrored on the sniffer port. For example, port 1 is programmed to
be “transmit sniff” and port 3 is programmed to be the “sniffer port”. A packet received on port 2 is destined
to port 1 after the internal lookup. The KSZ8893MQL/MBL forwards the packet to both port 1 and port 3.
“receive and transmit” mirror on two ports
All the packets received on port A and transmitted on port B are mirrored on the sniffer port. To turn on
the “AND” feature, set register 5 bit [0] to ‘1’. For example, port 1 is programmed to be “receive sniff”, port
2 is programmed to be “transmit sniff”, and port 3 is programmed to be the “sniffer port”. A packet
received on port 1 is destined to port 2 after the internal lookup. The KSZ8893MQL/MBL forwards the
packet to both port 2 and port 3.
Use FID flag?
Don’t care
Don’t care
0
1
1
1
Table 13. FID+DA Lookup in VLAN Mode
FID match?
Don’t care
Don’t care
Don’t care
No
No
Yes
DA+FID
found in
Dynamic
MAC Table?
No
Yes
Don’t care
No
Yes
Don’t care
47
Action
Broadcast to the membership ports
defined in the VLAN Table bits [18:16]
Send to the destination port defined in the
Dynamic MAC Address Table bits [53:52]
Send to the destination port(s) defined in
the Static MAC Address Table bits [50:48]
Broadcast to the membership ports
defined in the VLAN Table bits [18:16]
Send to the destination port defined in the
Dynamic MAC Address Table bits [53:52]
Send to the destination port(s) defined in
the Static MAC Address Table bits [50:48]
M9999-121007-1.5

Related parts for ksz8893mqlam