SMSC LAN9311i Switch User Manual


 
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
Revision 1.4 (08-19-08) 80 SMSC LAN9311/LAN9311i
DATASHEET
Hybrid tagging is summarized in Figure 6.9.
The default VLAN ID and priority of each port may be configured via the following registers:
Buffer Manager Port 0 Default VLAN ID and Priority Register (BM_VLAN_MII)
Buffer Manager Port 1 Default VLAN ID and Priority Register (BM_VLAN_1)
Buffer Manager Port 2 Default VLAN ID and Priority Register (BM_VLAN_2)
Figure 6.9 Hybrid Port Tagging and Un-tagging
Insert Tag
[egress_port]
Default VID
[ingress_port]
Un-tag Bit
Y
Non-tagged
Y
Add Tag
VID = Default VID
[ingress_port]
Priority = Default Priority
[ingress_port]
Y
Send Packet Untouched
N
Priority Tagged
Default VID
[ingress_port]
Un-tag Bit
Y
Strip Tag
N
Normal Tagged
Received VID
Un-tag Bit
Y
Strip Tag
Change Tag
[egress_port]
N
N
Send Packet Untouched
Y
Change Priority
[egress_port]
Modify Tag
VID = Default VID
[ingress_port]
Priority = Default Priority
[ingress_port]
N
Change VLAN ID
[egress_port]
Change Priority
[egress_port]
Change Priority
[egress_port]
Y N
N
Modify Tag
VID = Default VID
[egress_port]
Priority = Default Priority
[egress_port]
Y
Modify Tag
VID = Default VID
[egress_port]
Priority = Unchanged
N Y
Modify Tag
VID = Unchanged
Priority = Default Priority
[egress_port]
Special Tagged
Strip Tag
Modify Tag
VID = Default VID
[ingress_port]
Priority = Unchanged
N
Receive Tag
Type