The VLAN (Virtual Local Area Network) is named “Virtual LAN” in Chinese.
A VLAN divides a physical LAN into multiple logical LANs, and each VLAN is a broadcast domain. Hosts in VLAN can communicate with messages through the traditional Ethernet communication mode, but between hosts in different VLAN, communication must be realized through network layer devices such as router or three-layer switch.
The following describes the port-based Vlan rule:
Access, The port can only belong to 1 VLAN, so its default VLAN is the VLAN where it is located, no set; the Hybrid port and Trunk port can belong to multiple VLAN, so you need to set the default VLAN ID of the port.
1. Access port: When the received message without tag, receive the message and add the default VLAN Tag to the message; When the received message with Tag, ① receives the message when the VLAN ID is the same as the default VLAN ID, discard the message when VLAN ID is the default VLAN ID, sending the Tag without setting.
2. Trunk port: when received without Tag, When the port has already joined the default VLAN, Package and forward Tag for message default and VLAN, When the port does not include the default VLAN, Discard the message; When the received message carries the Tag, When VLAN ID is the VLAN ID allowed by this port, Receiving the message, When the VLAN ID is not the VLAN ID allowed through by that port, Discard the message; When the message is sent, When the VLAN ID is the same as the default VLAN ID, do away with Tag, Send this message when the VLAN ID is different from the default VLAN ID, Keeping the original Tag, Send the message.
3. Hybrid port: The operation of receiving the message is the same as the operation of the Trunk port. When sending a message, when the VLAN ID carried in the message is the VLAN ID allowed by the port, the message can be sent, and the port can be configured to carry Tag when sending the message of the VLAN (including the default VLAN).
The following figure is our HDV 8pon mouth EPON OLT
Our HDV 8pon port EPON OLT to configure the default vlan command in the port is: port default-vlan 100.
The command to add the port to the corresponding vlan is: vlan hybrid 100 untagged. You can replace hybrid to access and test, and untagged can be tagged, depending on the requirements.
Shenzhen HDV Optoelectronic Technology Co., Ltd. brings you VLAN knowledge explanation, our related OLT product series covers the frame OLT / light cat OLT / EPON OLT / small OLT and so on, the above OLT series can be used in a variety of network manufacturers, welcome to understand more product knowledge.