Verifying the configuration, Mac-based vlan configuration example, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual
Page 171
137
Verifying the configuration
# Verify that Host A and Host C can ping each other, but they both fail to ping Host B. (Details not
shown.)
# Verify that Host B and Host D can ping each other, but they both fail to ping Host A. (Details not
shown.)
# Verify that VLANs 100 and 200 are correctly configured on devices, for example, on Device A.
[DeviceA-GigabitEthernet1/0/3] display vlan 100
VLAN ID: 100
VLAN type: Static
Route interface: Not configured
Description: VLAN 0100
Name: VLAN 0100
Tagged ports:
GigabitEthernet1/0/3
Untagged ports:
GigabitEthernet1/0/1
[DeviceA-GigabitEthernet1/0/3] display vlan 200
VLAN ID: 200
VLAN type: Static
Route interface: Not configured
Description: VLAN 0200
Name: VLAN 0200
Tagged ports:
GigabitEthernet1/0/3
Untagged ports:
GigabitEthernet1/0/2
MAC-based VLAN configuration example
Network requirements
As shown in
:
•
GigabitEthernet 1/0/1 of Device A and Device C are each connected to a meeting room. Laptop
1 and Laptop 2 are used for meetings and might be used in either of the two meeting rooms.
•
Different departments own Laptop 1 and Laptop 2. The two departments use VLANs 100 and 200,
respectively.
Configure MAC-based VLANs, so that each laptop is able to access only its own department server, no
matter which meeting room they are used in.