
RTL8305SB 
2002/04/09 
45
Rev.1.0
are members of VLAN D. MemberE[4:0]=11111 means all ports are members of VLAN E. 
When the serial EEPROM does not exist and pin DisVLAN=1, the RTL8305SB will disable the VLAN function. The SMI can 
be used to update the registers then do SoftReset to enable and change the VLAN. 
When the serial EEPROM does not exist and pin DisVLAN=0, the RTL8305SB will use the default values for the internal 
register to provide a useful Port based VLAN mapping: P0VLANIndex[2:0]=0b000, P1VLANIndex[2:0]=0b001, 
P2VLANIndex[2:0]=0b010, 
P3VLANIndex[2:0]=0b011, 
MemberB[4:0]=10010, MemberC[4:0]=10100, MemberD[4:0]=11000, MemberE[4:0]=11111. Port 0 to 3 will be set at 
different VLAN and share the overlapping port 4. User can use SMI to update the register then do SoftReset to change the 
VLAN configuration. 
and 
P4VLANIndex[2:0]=0b100; 
MemberA[4:0]=10001, 
PortVLANIndex 
A 
B 
C 
D 
E 
Member A 
V 
V 
Member B 
V 
V 
Member C 
V 
V 
Member D 
V 
V 
Member E 
V 
V 
V 
V 
V 
Port 0 
Port 1 
Port 2 
Port 3 
Port 4 
Table 2: 802.1Q VLAN default setup 
When an EEPROM is used, the RTL8305SB will ignore the pin and will load the initial value of the internal registers with the 
EEPROM values. 
When register DisVLAN=1, the RTL8305SB will disable the VLAN function. When register DisVLAN=0, RTL8305SB will 
use the values of internal register to determine the VLAN mapping.  
If the 802.1Q tagged-VID Aware function is enabled (DisTagAware=0), the RTL8305SB will check the tagged VID of the 
received frame to do the VLAN classification. The RTL8305SB will use tagged-VID VLAN mapping for tagged frames and 
will use Port Based VLAN mapping for untagged and priority-tagged frames. For example, if a tagged frame with 
tagged-VID=0x001 is received from port1, it will be classified as VLAN A when VIDA[11:0]=0x001. If the tagged-VID 
Aware function is disabled, the RTL8305SB will always use Port Based VLAN mapping. For example, if a tagged frame with 
tagged-VID=0x001 is received from port1, it will be classified as VLAN B when P1VLANIndex[2:0]=0b001. 
The Acceptable Frame Type of Ingress Process can be “Admit All” or “Admit All Tagged”. When DisTagAdmitCtrl=1, the 
Acceptable Frame Type of Ingress Process will be “Admit All” and the RTL8305SB will receive all frames. When 
DisTagAdmitCtrl=0, the Acceptable Frame Type of Ingress Process will be “Admit All Tagged”. The RTL8305SB will receive 
only the VLAN-tagged frame and drop all other untagged frames and priority tagged (VID=0) frames. 
When DisMemFilter=1, the VLAN Ingress Member set filtering is disabled. The RTL8305SB will not discard any frames 
associated with a VLAN for which that port is not in the member set. If the VLAN Ingress Member set filtering is enabled by 
setting DisMemFilter=0, RTL8305SB will discard any frame associated with a VLAN for which that port is not in the member 
set. For example, RTL8305SB will drop the frame with tagged-VID=0x002 received from port0 when DisVLAN=0, 
DisTagAware=0, DisMemFilter=0, VIDB[11:0]=0x002, and MemberB[4:0]=0b10010 (Port4 and 1 belong to the member set 
of VLAN B). 
Two options can be used for special application. ARP VLAN: If DisARP=0, ARP broadcast frames (the RTL8305SB only 
checks frames with DID=all F, Type=0806) will be broadcast to all VLAN. Otherwise, ARP broadcast frames, like other 
frames, can only be forwarded to the same VLAN. Leaky VLAN: If DisLeaky=0, unicast frames, not including broadcast and 
multicast frames, can traverse VLANs. Otherwise, unicast frames can only be forwarded to the same VLAN, like broadcast 
and multicast frames.