
1-5
Before creating a VLAN interface for a VLAN, create the VLAN first.
Port-Based VLAN Configuration
Introduction to Port-Based VLAN
Port-based VLANs group VLAN members by port. A port forwards traffic for a VLAN only after it is
assigned to the VLAN.
Port link type
z
You can configure the link type of a port as access, trunk, or hybrid. The three link types use
different VLAN tag handling methods. An access port belongs to only one VLAN and sends traffic
untagged. It is typically used to connect a terminal device unable to recognize VLAN
tagged-packets or when there is no need to separate different VLAN members. As shown in
, because Device A is connected with common PCs that cannot recognize VLAN
tagged-packets, you need to configure Device A’s ports that connect the PCs as access ports.
z
A trunk port can carry multiple VLANs to receive and send traffic for them. Except traffic of the
default VLAN, traffic sent through a trunk port will be VLAN tagged. Usually, ports connecting
network devices are configured as trunk ports. As shown in
, because Device A and
Device B need to transmit packets of VLAN 2 and VLAN 3, you need to configure the ports
interconnecting Device A and Device B as trunk ports and assign them to VLAN 2 and VLAN 3.
z
Like a trunk port, a hybrid port can carry multiple VLANs to receive and send traffic for them. Unlike
a trunk port, a hybrid port allows traffic of all VLANs to pass through VLAN untagged. Usually,
hybrid ports are configured to connect devices whose support for VLAN tagged-packets you are
uncertain about. As shown in
, Device B connects a small-sized LAN in which some PCs
belong to VLAN 2 while some other PCs belong to VLAN 3. In this case, you need to configure
Device B’s port connecting the LAN as a hybrid port that allows packets of VLAN 2 and VLAN 3 to
pass through untagged.
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...