Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Do VLANs Need to Be Assigned on the Intermediate Device That Transparently Transmits Packets?
As shown in Figure 4-40, the switch has been configured to transparently transmit Layer 2 packets. Do VLANs need to be assigned?
- If Switch1 and Switch2 where VLANs are not assigned use default VLAN configuration, VLANs do not need to be assigned on the switch.
- If VLANs are assigned on Switch1 and Switch2, VLANs need to be assigned on the switch.
For example, GE1/0/1 interfaces connecting Switch1 and Switch2 to the switch transparently transmit packets from VLAN 10 and VLAN 20, so GE1/0/2 and GE1/0/3 on the switch need be configured to transparently transmit packets from VLAN 10 and VLAN 20. Perform the following configurations.
[HUAWEI] vlan batch 10 20 [HUAWEI] interface gigabitethernet 1/0/2 [HUAWEI-GigabitEthernet1/0/2] port link-type trunk [HUAWEI-GigabitEthernet1/0/2] port trunk allow-pass vlan 10 20 [HUAWEI-GigabitEthernet1/0/2] quit [HUAWEI] interface gigabitethernet 1/0/3 [HUAWEI-GigabitEthernet1/0/3] port link-type trunk [HUAWEI-GigabitEthernet1/0/3] port trunk allow-pass vlan 10 20