No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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).
Example for Configuring VLAN ID-based N:1 VLAN Mapping
Example for Configuring VLAN ID-based N:1 VLAN Mapping
Networking Requirements
In Figure 11-6, a large number of switches need to be deployed at the corridor
so that the same service used by different users can be sent on different
VLANs. To save VLAN resources, configure the VLAN aggregation function
(N:1) on the switches so that same services are sent on the same VLAN.
Figure 11-6 Networking diagram for configuring N:1 VLAN mapping
Configuration Roadmap
The configuration roadmap is as follows:
Create the original VLAN and the translated VLAN on the Switch and add GE1/0/1 to the VLANs in tagged
mode.
[Switch] interface gigabitethernet1/0/1[Switch-GigabitEthernet1/0/1] port link-type hybrid[Switch-GigabitEthernet1/0/1] port hybrid tagged vlan 10 100 to 109
# Configure VLAN mapping on GE1/0/1.
[Switch-GigabitEthernet1/0/1] port vlan-mapping vlan 100 to 109 map-vlan 10
Verify the configurations.
Verify that users in VLAN 100 to VLAN 109 can connect to
the Internet through the Switch.
Configuration Files
Switch configuration
file
#
sysname Switch
#
vlan batch 10 100 to 109
#
interface gigabitethernet1/0/1 port link-type hybrid
port hybrid tagged vlan 10 100 to 109
port vlan-mapping vlan 100 to 109 map-vlan 10
#
return