KSZ8862 Micrel Semiconductor, KSZ8862 Datasheet - Page 42
![no-image](/images/manufacturer_photos/0/4/435/micrel_semiconductor_sml.jpg)
KSZ8862
Manufacturer Part Number
KSZ8862
Description
2-port Ethernet Switch With Non-pci Interface And Fiber Support
Manufacturer
Micrel Semiconductor
Datasheet
1.KSZ8862.pdf
(125 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
KSZ8862-16MQL-FX
Manufacturer:
Micrel Inc
Quantity:
135
Company:
Part Number:
KSZ8862-16MQL-FX
Manufacturer:
Micrel
Quantity:
67
Company:
Part Number:
KSZ8862-32MQL
Manufacturer:
Micrel
Quantity:
139
Company:
Part Number:
KSZ8862-32MQL-FX
Manufacturer:
Micrel Inc
Quantity:
135
Company:
Part Number:
KSZ8862-32MQL-FX
Manufacturer:
Micrel
Quantity:
258
IGMP Support
For Internet Group Management Protocol (IGMP) support in Layer 2, the KSZ8862M provides two components:
“IGMP” Snooping
“Multicast Address Insertion” in the Static MAC Table
IPv6 MLD Snooping
Port Mirroring Support
KSZ8862M 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 P1CR2, P2CR2, and P3CR2 for ports 1, 2, and the
host port, respectively.
Micrel, Inc.
April 2007
identified as IP packets (either Ethernet IP packets, or IEEE 802.3 SNAP IP packets) with IP version = 0x4 and
protocol version number = 0x2.
Once the multicast address is programmed in the Static MAC Table, the multicast session is trimmed to the
subscribed ports, instead of broadcasting to all ports.
(host port). MLD snooping is controlled by SGCR2 [13] (MLD snooping enable) and SGCR2 [12] (MLD option).
Setting SGCR2 [13] causes the KSZ8862M to trap packets that meet all of the following conditions:
All the packets received on the port are mirrored on the sniffer port. For example, port 1 is programmed to be
“receive sniff” and the host port is programmed to be the “sniffer port”. A packet received on port 1 is destined to
port 2 after the internal lookup. The KSZ8862M forwards the packet to both port 2 and the host port. The
KSZ8862M 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 the host port is programmed to be the “sniffer port”. A packet received on port 2 is destined to
port 1 after the internal lookup. The KSZ8862M forwards the packet to both port 1 and the host port.
“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 SGCR2, bit 8 to “1”. For example, port 1 is programmed to be “receive sniff”, port 2 is
programmed to be “transmit sniff”, and the host port is programmed to be the “sniffer port”. A packet received on
port 1 is destined to port 2 after the internal lookup. The KSZ8862M forwards the packet to both port 2 and the
host port.
The KSZ8862M traps IGMP packets and forwards them only to the processor (host port). The IGMP packets are
The KSZ8862M traps IPv6 Multicast Listener Discovery (MLD) packets and forwards them only to the processor
“Receive only” mirror on a port
•
•
•
•
IPv6 multicast packets
Hop count limit = 1
IPv6 next header = 1 or 58 (or = 0 with hop-by-hop next header = 1 or 58)
If SGCR2[12] = 1, IPv6 next header = 43, 44, 50, 51, or 60 (or =0 with hop-by-hop next header = 43, 44,
50, 51, or 60)
42
KSZ8862-16/32MQL
M9999-040407-3.0