Two Port 10/100 Managed Ethernet Switch with
Datasheet
14.5.3.10Switch Engine VLAN Read Data Register (SWE_VLAN_RD_DATA)Register #: | 180Eh | Size: | 32 bits |
This register is used to read the VLAN or Port VID tables.
BITS |
|
|
| DESCRIPTION |
|
| TYPE | DEFAULT |
|
|
|
|
|
|
|
| |
31:18 | RESERVED |
|
| RO | - | |||
|
|
|
|
|
|
|
| |
17:0 | Port Default VID and Priority |
|
| RO | 00000h | |||
| When the port VID table is selected (PVIDnVLAN=1 of the Switch Engine |
|
| |||||
| VLAN Command Register (SWE_VLAN_CMD)), bits 11:0 of this field specify |
|
| |||||
| the default VID for the port and bits 14:12 specify the default priority. All |
|
| |||||
| other bits of this field are reserved. These bits are used when a packet is |
|
| |||||
| received without a VLAN tag or with a NULL VLAN ID. By default, the VID |
|
| |||||
| and priority for all three ports is 0. |
|
|
|
| |||
| VLAN Data |
|
|
|
|
| ||
| When the VLAN table is selected (PVIDnVLAN=0 of the Switch Engine |
|
| |||||
| VLAN Command Register (SWE_VLAN_CMD)), the bits form the VLAN |
|
| |||||
| table entry as follows: |
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| BITS |
| DESCRIPTION | DEFAULT |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
| Member Port 2 | 0b |
|
|
|
|
|
|
| Indicates the configuration of Port 2 for this VLAN entry. |
|
|
|
|
|
|
|
| 1 = Member - Packets with a VID that matches this entry |
|
|
|
|
|
|
|
| are allowed on ingress. The port is a member of the |
|
|
|
|
|
|
|
| broadcast domain on egress. |
|
|
|
|
|
|
|
| 0 = Not a Member - Packets with a VID that matches this |
|
|
|
|
|
|
|
| entry are filtered on ingress unless the Admit Non Member |
|
|
|
|
|
|
|
| bit in the Switch Engine Admit Non Member Register |
|
|
|
|
|
|
|
| (SWE_ADMT_N_MEMBER) is set for this port. The port is |
|
|
|
|
|
|
|
| not a member of the broadcast domain on egress. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
| 0b |
|
|
| |
|
|
|
| When this bit is set, packets received on Port 2 with a VID |
|
|
|
|
|
|
|
| that matches this entry will have their tag removed when re- |
|
|
|
|
|
|
|
| transmitted by egress ports that are designated as Hybrid |
|
|
|
|
|
|
|
| ports via the Buffer Manager Egress Port Type Register |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| 15 |
| Member Port 1 | 0b |
|
|
|
|
|
|
| See description for Member Port 2. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
| 0b |
|
|
| |
|
|
|
| See description for |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
| Member Port 0 (Host MAC) | 0b |
|
|
|
|
|
|
| See description for Member Port 2. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
| 0b |
|
|
| |
|
|
|
| See description for |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11:0 |
| VID | 000h |
|
|
|
|
|
|
| These bits specify the VLAN ID associated with this VLAN |
|
|
|
|
|
|
|
| entry. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SMSC LAN9311/LAN9311i | 379 | Revision 1.4 |
| DATASHEET |
|