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
Содержание SAM1316-22
Страница 2: ......
Страница 8: ...SAM1316 22 User s Guide 8...
Страница 26: ...SAM1316 22 User s Guide 26 Index 459...
Страница 27: ...27 PART I User s Guide...
Страница 28: ...28...
Страница 32: ...Chapter 1 Getting to Know the SAM1316 22 SAM1316 22 User s Guide 32...
Страница 35: ...Chapter 2 Installing and Removing the SAM1316 22 SAM1316 22 User s Guide 35...
Страница 36: ...Chapter 2 Installing and Removing the SAM1316 22 SAM1316 22 User s Guide 36...
Страница 43: ...43 PART II Technical Reference...
Страница 44: ...44...
Страница 74: ...Chapter 7 System Information SAM1316 22 User s Guide 74...
Страница 122: ...Chapter 14 xDSL Profiles Setup SAM1316 22 User s Guide 122...
Страница 128: ...Chapter 15 xDSL Line Data SAM1316 22 User s Guide 128...
Страница 152: ...Chapter 18 IGMP SAM1316 22 User s Guide 152...
Страница 164: ...Chapter 21 Filtering SAM1316 22 User s Guide 164...
Страница 174: ...Chapter 23 Spanning Tree Protocol SAM1316 22 User s Guide 174...
Страница 180: ...Chapter 24 Port Authentication SAM1316 22 User s Guide 180...
Страница 188: ...Chapter 26 DHCP Relay SAM1316 22 User s Guide 188...
Страница 202: ...Chapter 28 2684 Routed Mode SAM1316 22 User s Guide 202...
Страница 212: ...Chapter 30 DSCP SAM1316 22 User s Guide 212...
Страница 224: ...Chapter 32 ACL SAM1316 22 User s Guide 224...
Страница 228: ...Chapter 34 Syslog SAM1316 22 User s Guide 228...
Страница 236: ...Chapter 35 Access Control SAM1316 22 User s Guide 236...
Страница 242: ...Chapter 37 Maximum MTU Size SAM1316 22 User s Guide 242...
Страница 246: ...Chapter 38 PVC Upstream Limit SAM1316 22 User s Guide 246...
Страница 260: ...Chapter 41 Alarm SAM1316 22 User s Guide 260...
Страница 270: ...Chapter 44 MAC Table SAM1316 22 User s Guide 270...
Страница 332: ...Chapter 50 IEEE 802 1Q Tagged VLAN Commands SAM1316 22 User s Guide 332...
Страница 356: ...Chapter 52 IGMP Commands SAM1316 22 User s Guide 356...
Страница 364: ...Chapter 54 OUI Filter Commands SAM1316 22 User s Guide 364...
Страница 368: ...Chapter 55 Packet Filter Commands SAM1316 22 User s Guide 368...
Страница 374: ...Chapter 56 IP Commands SAM1316 22 User s Guide 374...
Страница 384: ...Chapter 58 SNMP SAM1316 22 User s Guide 384...
Страница 428: ...Chapter 60 Virtual Channel Management SAM1316 22 User s Guide 428...
Страница 444: ...Chapter 62 Troubleshooting SAM1316 22 User s Guide 444...
Страница 454: ...Chapter 63 Specifications SAM1316 22 User s Guide 454...
Страница 458: ...SAM1316 22 User s Guide 458...