Assigning an ethernet port to specified vlans, Configuring the default vlan id for a port – H3C Technologies H3C S3600 Series Switches User Manual
Page 105
1-5
z
Hybrid: A hybrid port can belong to more than one VLAN to forward packets for multiple VLANs. It
can be connected to either a switch or a user PC.
A hybrid port allows the packets of multiple VLANs to be sent untagged, but a trunk port only allows the
packets of the default VLAN to be sent untagged.
The three types of ports can coexist on the same device.
Assigning an Ethernet Port to Specified VLANs
You can assign an Ethernet port to a VLAN to forward packets for the VLAN, thus allowing the VLAN on
the current switch to communicate with the same VLAN on the peer switch.
An access port can be assigned to only one VLAN, while a hybrid or trunk port can be assigned to
multiple VLANs.
Before assigning an access or hybrid port to a VLAN, create the VLAN first.
Configuring the Default VLAN ID for a Port
An access port can belong to only one VLAN. Therefore, the VLAN an access port belongs to is also the
default VLAN of the access port. A hybrid/trunk port can belong to multiple VLANs, so you should
configure a default VLAN ID for the port.
After a port is added to a VLAN and configured with a default VLAN, the port receives and sends
packets in a way related to its link type. For detailed description, refer to the following tables:
Table 1-1 Packet processing of an access port
Processing of an incoming packet
For an untagged packet
For a tagged packet
Processing of an
outgoing packet
Receive the packet and tag
the packet with the default
VLAN tag.
z
If the VLAN ID is just the default VLAN
ID, receive the packet.
z
If the VLAN ID is not the default VLAN
ID, discard the packet.
Strip the tag from the
packet and send the
packet.