Shenzhen Huawei letter lion hybrid interfaces

A, Hybrid
1.hybrid Interface
1) untag table: transmitting data frames to function only in the interface - data transmitted VLAN tag VLAN tag removed during UNtag Table
2) tag table: means for receiving marked data frame and transmitting the data frame - VLAN tag when the received data frame is not discarded tag table, holding the VLAN tag in tag tables sent when a data frame transmitted VLAN tag, otherwise, discard
3) pvid: PVID default interface is the VLAN1, only upon receiving untagged frames, the default encapsulation the PVID
2.hybrid flowchart of the interface receives the transmission frame is as follows:
1) receiving a packet:
Hybrid packet data received at the time, look at whether it is allowed and a VLAN tag by (tagged and untagged in the list are considered allowed through, this is equivalent to the allow-pass vlan trunk), as shown, when you give the PC1 included vlan10 (port hybrid pvid vlan 10), respective necessary release vlan10 (port hybrid untagged vlan 10) .
If the message has a label and can be passed, so that packets take through the label;
if the message can not label and is marked with PVID, let's tag with PVID packets; (these two points with the trunk port Like)
If you do not tagged or untagged list, then allowed to pass through, discard the packet.
2) When sending the message:
If the packet untagged or tagged in the list, it can be expressed through this port,
for a list of untagged packets, and then transmits the tag is removed from the port vlan out when transmitted;
for tagged list packet with vlan tag sent from the port when sent.
If the file is not in the list of tagged or untagged newspaper, said they did not pass from this port.
3) Summary: receive messages, it can be treated as a trunk port; untagged (to label) and tagged (with labels) just do vlan trunk of whether to release the needs and the actual label is not half dime Da Buda . the untagged (to label) and Tagged (with labels) only transmits packets out from the port function (reservation label or labels removed and then sent out). In the list of tagged or untagged represents vlan or received from the local port; not tagged or untagged vlan list indicates not sent or received from the local port.

  发送报文的时候,hybird也当做trunk使用,只是增加了打标和去标的附属功能。

3. Configuration Commands
create VLAN: vlan batch 2 3 4
Configuration Interface hybrid mode: int G0 / 0 /. 1
Port Link-type hybrid
Port hybrid. 1 PVID VLAN
Port hybrid. 1 to 2 the untagged VLAN
Port VLAN Tagged hybrid 10. 3

Published 29 original articles · won praise 0 · Views 594

Guess you like

Origin blog.csdn.net/drrui520/article/details/105034296