Application Scenarios for VLAN Mapping
VLAN-based 1 to 1 VLAN mapping
As shown in Figure 7-2, on a data center network, a network administrator deploys a new branch that is on the same network segment as the headquarters. However, VLAN IDs in the new branch and headquarters are inconsistent and VLAN deployment in the headquarters cannot be changed. To implement communication between the new branch and headquarters, configure 1 to 1 VLAN mapping on Switch2.
VLAN-based 2 to 1 VLAN mapping
As shown in Figure 7-3, different VLANs are planned in branches 1 and 2 on the data center network. Interworking between branches 1 and 2 is required. 2 to 1 VLAN mapping can be configured on core switch Switch5 to implement interworking between branches 1 and 2.
MQC-based VLAN Mapping
As shown in Figure 7-4, on a data center network, servers store video and data information. Users are classified into gold and silver users, and gold and silver users belong to VLAN 200 and VLAN 300 respectively and access servers through the enterprise backbone network. The enterprise backbone network allocates VLAN 2 to gold users and VLAN 3 to silver users. Switch2 and Switch3 are edge devices of the enterprise backbone network. VLAN IDs planned by the video and data servers and enterprise backbone network are different. To ensure that gold users can access the video server and silver users can access the data server, configure MQC-based VLAN mapping on Switch2 and Switch3.