Huawei - switching technology Hybrid

The basic concept of the VLAN

vlan is virtual local area network, the switch is on the second floor in a physical LAN is logically divided into a plurality of broadcast domain (s vlan) communication technology. Vlan in the same host can communicate directly performed between different vlan traffic, then the need to rely on a three-layer network device (three switches, routers, etc.).

Hybrid features

1, the switch interface Huawei default Hybrid mode
2, both the access interface may implement functions, interface functions may be implemented trunk
3, the device can be realized without the aid of three cross-vl ## communications and an access control header
4, with respect to the access interface and trunk interface has more flexibility and control
Summary: Layer (OSI) solution is always better than three files (OSI) solution is better, because the efficiency is higher than the second floor of the three. In fact, the level involved (OSI) higher, the lower the efficiency

Hybrid interface works

. 1, untag list: transmitting a data frame only the interface is active, if the VLAN tag data needs to be sent in untag the list of providers, then remove the tag to transmit data
2, tag list: the role of receiving a data frame and marked sending data frames. Its role is similar to a list of identification allowed vlan. When the interface receives a data frame with the vlan tag, the tag list corresponds to vlan interface allowed list, the data is not in the list will be discarded; when the frame is the interface data, tag data in tag vlan list of interfaces , the holding tag transmits a data frame, or data frame is discarded.
3, PVIP: Interface default PVID is vlan1. PVID only work when receiving untagged frames. When receiving PVID for untagged data frame to data frame identifier PVID marked current.
Summary: From the features. Hydrid interface untag PVID used to implement access lists and features, and tag list for implementing trunk characteristics. But not limited thereto, since the hybrid interface corresponds to the access port and trunk interface solution can be more flexible, for a variety of scenes

The PVID package 802.1Q

1, the isolation in the network by vlan case, the flow rate can be divided into two types. One is labeled flow, i.e. hit by the 802.1Q tag data frame; the other is unlabelled flow, i.e. the original Ethernet frame. There terminal device to send and receive traffic to flow normally unlabeled. When the switch receives a flow mark it is through its 802.1q encapsulation.
Summary: Any traffic entering the switch should be marked, if the traffic entering the switch carry vlan tag, then he himself can identify vlan information, traffic entering the switch is not marked, will be marked by the PVID interface, and marking purposes it is to prepare for the subsequent forwarding

According to untag forwarding list and tag list

1, each have a default Hybrid untag the interface list, which comprises one or more vlan ID, the default value VLAN1
2, each interface has a tag list, the default value is null, or may be provided comprising a plurality vlan No.
3, Hybrid interfaces before receiving the data frame, it first checks whether the data frame carries the tag, if the tag carries, check this list of tag interfaces, if there is data tag vlan ID list encapsulated frame, receive, otherwise discarded; if untagged, then labeled according to the PVID Hybrid interface
4, a data frame before transmitting Hybrid interfaces, the interface checks the present untag tag list and, if the data is present in the encapsulated frame vlanid unbag list, then the original data frame transmitted 802.1q encapsulation removed ; tag if present in the list, the package retained 802.1q and transmits a data frame with a label; if no two lists VLanID data frame, transmission is not

小结:Hybrid接口和trunk接口都可以给多个不同的vlan打标签,也可以传输多个vlan的流量;但是Hybrid接口可以允许多个不同vlan的报文发送时不打标签,而trunk接口只允许默认vlan的报文发送时不打标签

三种类型的接口可以共存在一台以太网交换机上,但trunk接口和Hybrid接口之间不能直接切换,只能先设置access接口,在设置为其他类型接口。列如,trunk接口不能直接被设置为Hybrid,只能先设为access接口,在设置为Hybrid接口

Guess you like

Origin blog.51cto.com/14223370/2444902