There are
three kinds GICK of link type Ethernet port: Access, Hybrid and Trunk:
The three type of the link connecting the terminal difference:
Access type of port can only belong to 1 VLAN, typically used to connect the computer port;
Type Trunk port allows
multiple VLAN, can message receiving and transmittingmultiple
VLAN, generally used for connecting ports between switches;
Type Hybrid port allows
multiple VLAN, can message receiving and transmitting multiple VLAN connections, can be used to switch between, can also be used to connect the user's computer.
Treatment processes of the three kinds of link data
type is also different:
Acess port message:
Receive a message, to judge whether there is VLAN information: if not, a PVID
port forwarding, and exchange, if there is discarded directly (default)
The Acess
port to send message:
The VLAN information release message, sent directly.
Trunk port message:
Receive a message, to judge whether there is VLAN information: if not a port
of the PVID, and exchange forwarding, if the trunk port whether to allow the VLAN data into: if the
forwarding, or discarded
The trunk
port to send message:
Comparison
of PVID port and will be sending message VLAN information, if it
is equal, stripping VLAN information, send, if not
equal to directly transmit
Hybrid port message:
Receive a message, to judge whether there is VLAN information: if not a port
of the PVID, and exchange forward, if it
is determined that the hybrid port is to allow the VLAN data into: if the
forwarding, or discarded (at ports
on the untag configuration is not considered, only the untag configuration effect of packet transmission)
The hybrid
port to send message:
1, whether the VLAN properties in the port (disp interface can see the
port isuntag, on which VLAN is what VLAN tag)
2, if untag is the stripping VLAN information, send, if tag is directly send
Generally
speaking, Hybrid port and the Trunk port when receiving data,processing method is the same, the only difference is that the data is sent:send Hybrid port allows multiple VLAN message without a label, and the Trunkport is only allowed to send the
default VLAN message without a label.
The
following a few simple example to understand the configuration and working principle of Trunk, Hybrid, Access. EPBC
没有评论:
发表评论