Which vlan will be based on to leran MAC when we confgured vlan-mapping ?

24

The Switch will learn MAC address based on the Vlan ID after Mapping.
Because vlan mapping processing is befroe MAC learnning.

Other related questions:
Which VLAN does the interface enabled with VLAN mapping or QinQ obtain through MAC address learning
The VLAN mapping or QinQ implementation is prior to the MAC address learning. Thus, after the VLAN mapping or QinQ implementation, the interface obtains the outer VLAN through MAC address learning.

MAC-based VLAN assignment on S series switch
Example of configuring MAC address-based VLAN assignment for S series switches (except S1700 switches): 1. Configuration roadmap 1). Create a VLAN and determine the VLAN to which employees belong. 2). Configure the modes in which interfaces are added to the VLAN, so that the interfaces allow packets of the VLAN to pass through. 3). Associate the MAC address with the VLAN, so that the switch can determine the VLAN to which received packets belong according to the source MAC address in the packets. 2. Configuration procedure [HUAWEI] vlan batch 10 //Create a VLAN. [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type hybrid [HUAWEI-GigabitEthernet0/0/1] port hybrid tagged vlan 10 //Add an uplink interface to the VLAN in tagged mode. [HUAWEI-GigabitEthernet0/0/1] quit [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] port link-type hybrid [HUAWEI-GigabitEthernet0/0/2] port hybrid untagged vlan 10 //Add a downlink interface to the VLAN in untagged mode. [HUAWEI-GigabitEthernet0/0/2] quit [HUAWEI] vlan 10 [HUAWEI-vlan10] mac-vlan mac-address 22-22-22 //Associate the PC's MAC address with VLAN 10. [HUAWEI-vlan10] quit [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] mac-vlan enable //Enable MAC address-based VLAN assignment on the downlink interface. [HUAWEI-GigabitEthernet0/0/2] quit

Does the S6700 on which vlan-mapping and vlan-stacking are configured support remark 8021p
The S6700 does not support remark 8021p.

Can I specify the MAC address mask when configuring a MAC address-based VLAN on the S2700
MAC address mask can be specified in the V100R003C01 and later versions. Earlier versions do not support MAC address mask setting. E600 series switch supports MAC address mask setting.

Can we change MTU for vlan interface ?
yes, we can. For example: [HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] mtu 1492

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top