KS8893ML MICREL [Micrel Semiconductor], KS8893ML Datasheet - Page 40

no-image

KS8893ML

Manufacturer Part Number
KS8893ML
Description
Integrated 3-Port 10/100 Managed Switch with PHYs Preliminary Data Sheet Rev. 1.0
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
Port Mirroring Support
KS8893M 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 KS8893M supports 16 active VLANs out of the 4096 possible VLANs specified in the IEEE 802.1Q
specification. KS8893M 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.
June 2005
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 KS8893M forwards the packet to both port 2 and port 3. The
KS8893M 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 KS8893M 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 KS8893M 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
No
No
Yes
Don’t care
DA+FID
found in
Dynamic
MAC Table?
No
Yes
Don’t care
No
Yes
Don’t care
40
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-063005

Related parts for KS8893ML