RTL8309SB
Datasheet
Single-chip 9-port 10/100Mbps Switch Controller
33
Track ID: JATR-1076-21 Rev. 1.4
6.3.3.
MII Port Control 2
Table 48. MII Port Control 2
Name
Null VID
replacement
Discard Non
PVID packets
Byte.bit Description
79.7
1: The switch will replace a NULL VID with a port VID (12 bits)
0: No replacement for a NULL VID
79.6
1: If the received packets are tagged, the switch will discard packets with a
VID that does not match the ingress port default VID, which is indexed by
port 8’s “Port-based VLAN index”
0: No packets will be dropped
79.5
79.4~
79.1
VLAN Membership’, which may be defined in one of the registers ‘VLAN
ID [A] Membership’ to ‘VLAN ID [I] Membership’. Port 8 can only
communicate within the membership. This register also indexes to a default
Port VID (PVID) for each port. The PVID is used in tag insertion and
filtering if the tagged VID is not the same as the PVID.
79.0
This register along with byte 78.7~78.0 forms a 9-bit field that specifies
which ports are members of the VLAN. If a destination address look up fails,
packets associated with this VLAN will be forwarded to ports specified in
this field. E.g., 1 0000 0001 means port 8 and 0 are in this VLAN.
VLAN Entry [I]
80.7~
80.0
VLAN identifier of VLAN I.
81.7~
81.4
81.3~
81.0
VLAN identifier of VLAN I.
Default
0
0
Reserved
Port 8 VLAN
index [3:0]
1
In a port-based VLAN configuration, this register indexes port 8’s ‘Port
1000
VLAN ID [I]
membership Bit
[8]
1
VLAN ID [I]
[7:0]
Reserved
This register along with byte 81.3~81.0 defines the IEEE 802.1Q 12-bit
0000
1000
1111
VLAN ID [I]
[11:8]
This register along with byte 80.7~80.0 defines the IEEE 802.1Q 12-bit
0000
6.3.4.
CPU Port and WAN Port
Table 49. CPU Port and WAN Port
Byte.bit Description
82.7~
82.4
1000=MII Port is WAN Port
0111=Port 7 is WAN Port 0110=Port 6 is WAN Port
0101=Port 5 is WAN Port 0100=Port 4 is WAN Port
0011=Port 3 is WAN Port 0010=Port 2 is WAN Port
0001=Port 1 is WAN Port 0000=Port 0 is WAN Port
82.3~
82.0
1000=MII Port is CPU Port
0111=Port 7 is CPU Port 0110=Port 6 is CPU Port
0101=Port 5 is CPU Port 0100=Port 4 is CPU Port
0011=Port 3 is CPU Port 0010=Port 2 is CPU Port
0001=Port 1 is CPU Port 0000=Port 0 is CPU Port
Name
WAN Port
Default
0111
Specifies the WAN port on the RTL8309SB.
CPU Port
Specifies the CPU port on the RTL8309SB.
0000