LAN9312-NU Standard Microsystems (SMSC), LAN9312-NU Datasheet - Page 79
![no-image](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__sml.jpg)
LAN9312-NU
Manufacturer Part Number
LAN9312-NU
Description
Manufacturer
Standard Microsystems (SMSC)
Datasheet
1.LAN9312-NU.pdf
(458 pages)
Specifications of LAN9312-NU
Number Of Primary Switch Ports
2
Operating Supply Voltage (typ)
3.3V
Fiber Support
No
Phy/transceiver Interface
MII
Power Supply Type
Analog
Data Rate (typ)
10/100Mbps
Vlan Support
Yes
Operating Temperature (max)
70C
Operating Temperature (min)
0C
Pin Count
128
Mounting
Surface Mount
Jtag Support
No
Operating Supply Voltage (max)
3.6V
Operating Supply Voltage (min)
3V
Operating Temperature Classification
Commercial
Data Rate
100Mbps
Lead Free Status / RoHS Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LAN9312-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 79 of 458
- Download datasheet (5Mb)
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
6.5.6
Adding, Removing, and Changing VLAN Tags
Based on the port configuration and the received packet formation, a VLAN tag can be added to,
removed from, or modified in a packet. There are four received packet type cases: non-tagged, priority-
tagged, normal-tagged, and CPU special-tagged. There are also four possible settings for an egress
port: dumb, access, hybrid, and CPU. In addition, each VLAN table entry can specify the removal of
the VLAN tag (the entry’s un-tag bit).
The tagging/un-tagging rules are specified as follows:
For clarity, the following details the incoming un-tag instruction. As described in
Support," on page
VLAN table, selected by the ingress port number. The entry in the VLAN table is either the VLAN from
the received packet or the ingress ports default VID.
Dumb Port - This port type generally does not change the tag.
When a received packet is non-tagged, priority-tagged, or normal-tagged, the packet passes
untouched.
When a packet is received special-tagged from a CPU port, the special tag is removed.
Access Port - This port type generally does not support tagging.
When a received packet in non-tagged, the packet passes untouched.
When a received packet is priority-tagged or normal-tagged, the tag is removed.
When a received packet is special-tagged from a CPU port, the special tag is removed.
CPU Port - Packets transmitted from this port type generally contain a special tag. Special tags
are described in detail in
Hybrid Port - Generally, this port type supports a mix of normal-tagged and non-tagged packets.
It is the most complex, but most flexible port type.
When a received packet is non-tagged, a new VLAN tag is added if two conditions are met. First,
the Insert Tag bit for the egress port in the
(BM_EGRSS_PORT_TYPE)
ingress ports default VID must be cleared. The VLAN tag that is added will have a VID and Priority
taken from the ingress ports default VID and priority.
When a received packet is priority-tagged, either the tag is removed or it is modified.
If the un-tag instruction associated with the ingress ports default VID is set, then the tag is removed.
Otherwise, the tag is modified. The VID of the new VLAN tag is changed to the ingress ports default
VID. If the Change Priority bit in the
(BM_EGRSS_PORT_TYPE)
is also changed to the ingress ports default priority.
When a received packet is normal-tagged, either the tag is removed, modified, or passed.
If the un-tag instruction associated with the VID in the received packet is set, then the tag is
removed.
Else, if the Change Tag bit in the
(BM_EGRSS_PORT_TYPE)
Else, if both the Change VLAN ID and the Change Priority bits in the
Type Register (BM_EGRSS_PORT_TYPE)
untouched.
Otherwise, the tag is modified. If the Change VLAN ID bit for the egress port is set, the VOD of
the new VLAN tag is changed to the egress ports default ID. If the Change Priority bit for the egress
port is set, the Priority field of the new VLAN is changed to the egress ports default priority.
When a packet is received special-tagged from a CPU port, the special tag is removed.
70, the un-tag instruction is one of three un-tag bits from the applicable entry in the
Section 6.4.10, "Host CPU Port Special Tagging," on page
must be set. Second, the un-tag instruction associated with the
for the egress port is set, then the Priority field of the new VLAN tag
for the egress port is clear, the packet is untouched.
DATASHEET
Buffer Manager Egress Port Type Register
Buffer Manager Egress Port Type Register
79
Buffer Manager Egress Port Type Register
for the egress port are clear, the packet passes
Buffer Manager Egress Port
Section 6.4.4, "VLAN
Revision 1.7 (06-29-10)
75.
Related parts for LAN9312-NU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LAN9312-NZW](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111-NU](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9115-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9118-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2229-NU-02](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2601-NU-05](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514B-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
USB CHIP
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514BI-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2251-NU-05](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
ULTRA FAST USB 2.0 MULTI-SLOT FLASH MEDI
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C96-MS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9215-MT](/photos/31/30/313088/100pin_tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111I-NS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514I-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet: