Chapter 17 VLAN
SAM1316-22 User’s Guide
134
configured dynamically using GVRP.
1
The VLAN ID associates a frame with a
specific VLAN and provides the information that devices need to process the frame
across the network. A tagged frame is four bytes longer than an untagged frame
and contains two bytes of TPID (Tag Protocol Identifier, residing within the type/
length field of the Ethernet frame) and two bytes of TCI (Tag Control Information,
starts after the source address field of the Ethernet frame).
The CFI (Canonical Format Indicator) is a single-bit flag, always set to zero for
Ethernet switches. If a frame received at an Ethernet port has a CFI set to 1, then
that frame should not be forwarded as it is to an untagged port. The remaining
twelve bits define the VLAN ID, giving a possible maximum number of 4,096 (2
12
)
VLANs. Note that user priority and VLAN ID are independent of each other. A
frame with VID (VLAN Identifier) of null (0) is called a priority frame, meaning that
only the priority level is significant and the default VID of the ingress port is given
as the VID of the frame. Of the 4096 possible VIDs, a VID of 0 is used to identify
priority frames and value 4095 (FFF) is reserved, so the maximum possible VLAN
configurations are 4,094.
The SAM1316-22 handles up to 4094 VLANs (VIDs 1-4094). The device accepts
incoming frames with VIDs 1-4094.
17.2.1 Forwarding Tagged and Untagged Frames
Each port on the device is capable of passing tagged or untagged frames. To
forward a frame from an 802.1Q VLAN-aware switch to an 802.1Q VLAN-unaware
switch, the SAM1316-22 first decides where to forward the frame and then strips
off the VLAN tag. To forward a frame from an 802.1Q VLAN-unaware switch to an
802.1Q VLAN-aware switch, the SAM1316-22 first decides where to forward the
frame, and then inserts a VLAN tag reflecting the ingress port's default VID. The
default PVID is VLAN 1 for all ports, but this can be changed.
The egress (outgoing) port(s) of a frame is determined on the combination of the
destination MAC address and the VID of the frame. For a unicast frame, the egress
port (based on the destination MAC address) must be a member of the VID, also;
otherwise, the frame is blocked. For a broadcast frame, it is duplicated only on
ports (except the ingress port itself) that are members of the VID, thus confining
the broadcast to a specific domain.
1.
GVRP (GARP VLAN Registration Protocol) defines a way for switches to automatically configure switches in a
VLAN network.
TPID
2
Bytes
User Priority
3 Bits
CFI
1 Bit
VLAN ID
12 bits
Summary of Contents for SAM1316-22
Page 2: ......
Page 8: ...SAM1316 22 User s Guide 8...
Page 26: ...SAM1316 22 User s Guide 26 Index 459...
Page 27: ...27 PART I User s Guide...
Page 28: ...28...
Page 32: ...Chapter 1 Getting to Know the SAM1316 22 SAM1316 22 User s Guide 32...
Page 35: ...Chapter 2 Installing and Removing the SAM1316 22 SAM1316 22 User s Guide 35...
Page 36: ...Chapter 2 Installing and Removing the SAM1316 22 SAM1316 22 User s Guide 36...
Page 43: ...43 PART II Technical Reference...
Page 44: ...44...
Page 74: ...Chapter 7 System Information SAM1316 22 User s Guide 74...
Page 122: ...Chapter 14 xDSL Profiles Setup SAM1316 22 User s Guide 122...
Page 128: ...Chapter 15 xDSL Line Data SAM1316 22 User s Guide 128...
Page 152: ...Chapter 18 IGMP SAM1316 22 User s Guide 152...
Page 164: ...Chapter 21 Filtering SAM1316 22 User s Guide 164...
Page 174: ...Chapter 23 Spanning Tree Protocol SAM1316 22 User s Guide 174...
Page 180: ...Chapter 24 Port Authentication SAM1316 22 User s Guide 180...
Page 188: ...Chapter 26 DHCP Relay SAM1316 22 User s Guide 188...
Page 202: ...Chapter 28 2684 Routed Mode SAM1316 22 User s Guide 202...
Page 212: ...Chapter 30 DSCP SAM1316 22 User s Guide 212...
Page 224: ...Chapter 32 ACL SAM1316 22 User s Guide 224...
Page 228: ...Chapter 34 Syslog SAM1316 22 User s Guide 228...
Page 236: ...Chapter 35 Access Control SAM1316 22 User s Guide 236...
Page 242: ...Chapter 37 Maximum MTU Size SAM1316 22 User s Guide 242...
Page 246: ...Chapter 38 PVC Upstream Limit SAM1316 22 User s Guide 246...
Page 260: ...Chapter 41 Alarm SAM1316 22 User s Guide 260...
Page 270: ...Chapter 44 MAC Table SAM1316 22 User s Guide 270...
Page 332: ...Chapter 50 IEEE 802 1Q Tagged VLAN Commands SAM1316 22 User s Guide 332...
Page 356: ...Chapter 52 IGMP Commands SAM1316 22 User s Guide 356...
Page 364: ...Chapter 54 OUI Filter Commands SAM1316 22 User s Guide 364...
Page 368: ...Chapter 55 Packet Filter Commands SAM1316 22 User s Guide 368...
Page 374: ...Chapter 56 IP Commands SAM1316 22 User s Guide 374...
Page 384: ...Chapter 58 SNMP SAM1316 22 User s Guide 384...
Page 428: ...Chapter 60 Virtual Channel Management SAM1316 22 User s Guide 428...
Page 444: ...Chapter 62 Troubleshooting SAM1316 22 User s Guide 444...
Page 454: ...Chapter 63 Specifications SAM1316 22 User s Guide 454...
Page 458: ...SAM1316 22 User s Guide 458...