
MDS213
Data Sheet
64
Zarlink Semiconductor Inc.
Hash Key = 3
Forwarding Port for each group with Hash Key=3,
Port 2 for Group 0
Port 4 for Group 1
Port 3 for Group 2
Port 6 for Group 3
Figure 25 - Multicast Packet Forwarding Example
17.3 MAC Address Assignment
In MDS213, there are three ways to assign the MAC address to each port. All the ports in the same device share
the 44 MSBs, MAC[47:4], which are shown in ADAR0 and ADAR1 registers, while the 4 LSBs, MAC[3:0] are
specified in ADAOR0 and ADAOR1 registers for port 0-port 7 and port 8-port 12, respectively.
The method to assign the 4 LSBs MAC[3:0] can be assigned as follows:
If the switch does not support Port Trunking, MAC[3:0]= port number
If the switch supports multiple MAC addresses and Port Trunking, the ports in the same Trunk Group share
the same MAC[3:0]. The value of MAC[3:0] is assigned by the Trunk Group (TG) Table.
If the switch supports only a single MAC address, all the 4 LSBs of MAC will be set the same value in
ADAOR0 and ADAOR1 register.
18.0 Register Definitions
18.1 Register MAP
All registers are grouped into sets:.
Device Configuration
Buffer Memory Interface
Frame Control Buffer
Queue Management
Switching Control
Link List Management
Access Control Functions
MAC Port Control
0 0 1 1 1 0 0 1 1 1 1 1 1
1 0 0 1 0 0 1 1 1 1 1 1 1
1 1 1 0 1 1 1 1 0 0 0 0 0
0 0 0 1 0 0 1 0 1 0 0 0 0
0 0 1 0 1 0 0 1 0 0 0 0 0
0 0 0 0 1 0 0 1 0 0 0 0 0
0 1 1 1 1 1 1 0 1 0 0 0 0
Forwarding Port Mask
for Key=3
VLAN Member
for INDEX=5
Forwarding Ports
Turn this port off
since port 2 has
the same TGID of
source port 0
0 1 2 3 4 5 6 7 ...........12
0 1 2 3 4 5 6 7 ...........12
Device 0
Local
Device 1
Remote
A
N
D
A
N
D
Multicast packet received at port 0 of device 0
VLAN IDX=5, Hash Key=3