VLAN Assignment
Port-Based VLAN Assignment
According to different requirements for interfaces, the switch in a data center assigns interfaces connected to users to different VLANs so that services of users are isolated. Each user has a virtual switch and each VLAN is a virtual work group.
MAC Address-Based VLAN Assignment
As shown in Figure 5-18, User A is initially connected to Switch A in a data center. Now, it is required that User A be connected to another interface of SwicthA. To ensure that User A can still communicate with User C, configure the assignment of VLANs based on MAC addresses on Switch A. As long as the MAC address of User A remains unchanged, no configuration needs to be changed for User A to communicate with User C.