KSZ8862-16_10 MICREL [Micrel Semiconductor], KSZ8862-16_10 Datasheet - Page 106

no-image

KSZ8862-16_10

Manufacturer Part Number
KSZ8862-16_10
Description
2-Port Ethernet Switch with Non-PCI Interface and Fiber Support
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
Static MAC Address Table
The KSZ8862M supports both a static and a dynamic MAC address table. In response to a Destination Address (DA) look
up, The KSZ8862M searches both tables to make a packet forwarding decision. In response to a Source Address (SA)
look up, only the dynamic table is searched for aging, migration and learning purposes.
The static DA look up result takes precedence over the dynamic DA look up result. If there is a DA match in both tables,
the result from the static table is used. These entries in the static table will not be aged out by the KSZ8862M.
Static MAC Table Lookup Examples:
Micrel, Inc.
August 2010
Bit
57-54
53
52
51
50-48
47-0
1. Static Address Table Read (read the second entry at indirect address offset 0x01)
2. Static Address Table Write (write the eighth entry at indirect address offset 0x07)
0
0
0
Default Value
0000
000
0
Then
Write to reg. IACR with 0x1001 (set indirect address and trigger a read static MAC table operation)
Read reg. IADR3 (static MAC table bits 57-48)
Read reg. IADR2 (static MAC table bits 47-32)
Read reg. IADR5 (static MAC table bits 31-16)
Read reg. IADR4 (static MAC table bits 15-0)
Write to reg. IADR3 (static MAC table bits 57-48)
Write to reg. IADR2 (static MAC table bits 47-32)
Write to reg. IADR5 (static MAC table bits 31-16)
Write to reg. IADR4 (static MAC table bits 15-0)
Write to reg. IACR with 0x0007 (set indirect address and trigger a write static MAC table operation)
R/W
RW
R/W
R/W
R/W
R/W
R/W
Description
FID
Filter VLAN ID - identifies one of the 16 active VLANs.
Use FID
1: specifies the useof FID+MAC for static table look ups
0: specifies only the use of MAC for static table look ups
Override
1: overrides the port setting “transmit enable = 0” or “receive enable = 0” setting.
0: specifies no override
Valid
1: specifies that this entry is valid, the look up result will be used
0: specifies that this entry is not valid
Forwarding ports
These 3 bits control the forwarding port(s):
000: no forward
001: forward to port 1
010: forward to port 2
100: forward to port 3
011: forward to port 1 and port 2
110: forward to port 2 and port 3
101: forward to port 1 and port 3
111: broadcasting (excluding the ingress port)
MAC address
48 bits MAC Address
Table 18. Static MAC Table Format (8 Entries)
106
KSZ8862-16/32MQL
M9999-081310-3.1

Related parts for KSZ8862-16_10