Mac-based vlan configuration example, Network requirements, Configuration consideration – H3C Technologies H3C S12500 Series Switches User Manual

Page 28: Configuration procedure

Advertising
background image

15

MAC-based VLAN configuration example

Network requirements

As shown in

Figure 7

:

GigabitEthernet 3/0/1 of Device A and Device C are each connected to a meeting room. Laptop
1 and Laptop 2 are used for meeting and might be used in any of the two meeting rooms.

Laptop 1 and Laptop 2 are owned by different departments. The two departments use VLAN 100
and VLAN 200, respectively.

The MAC address of Laptop 1 is 000d-88f8-4e71, and that of Laptop 2 is 0014-222c-aa69.

Configure MAC-based VLANs, so that each laptop can access only its own department server no matter
which meeting room it is used in.

Figure 7 Network diagram

Configuration consideration

Create VLANs 100 and 200.

Configure the uplink ports of Device A and Device C as trunk ports, and assign them to VLANs 100
and 200.

Configure the downlink ports of Device B as trunk ports, and assign them to VLANs 100 and 200.
Assign the uplink ports of Device B to VLANs 100 and 200.

Associate the MAC address of Laptop 1 with VLAN 100, and the MAC address of Laptop 2 with
VLAN 200.

Configuration procedure

1.

Configure Device A:
# Create VLANs 100 and 200.

<DeviceA> system-view

[DeviceA] vlan 100

Advertising
This manual is related to the following products: