153
# Assign downlink ports Ethernet 1/0/1 and Ethernet 1/0/2 to VLAN 3 and VLAN 2, respectively,
and configure the ports to operate in host mode.
[DeviceB] interface ethernet 1/0/1
[DeviceB-Ethernet1/0/1] port access vlan 3
[DeviceB-Ethernet1/0/1] port isolate-user-vlan host
[DeviceB-Ethernet1/0/1] quit
[DeviceB] interface ethernet 1/0/2
[DeviceB-Ethernet1/0/2] port access vlan 2
[DeviceB-Ethernet1/0/2] port isolate-user-vlan host
[DeviceB-Ethernet1/0/2] quit
2.
Configure Device C:
# Configure the isolate-user-VLAN.
<DeviceC> system-view
[DeviceC] vlan 6
[DeviceC-vlan6] isolate-user-vlan enable
[DeviceC-vlan6] quit
# Create secondary VLANs.
[DeviceC] vlan 3 to 4
# Associate the isolate-user-VLAN with the secondary VLANs.
[DeviceC] isolate-user-vlan 6 secondary 3 to 4
# Configure the uplink port Ethernet 1/0/5 to operate in promiscuous mode in VLAN 6.
[DeviceC] interface ethernet 1/0/5
[DeviceC-Ethernet1/0/5] port isolate-user-vlan 6 promiscuous
[DeviceC-Ethernet1/0/5] quit
# Configure downlink ports Ethernet 1/0/3 and Ethernet 1/0/4 to VLAN 3 and VLAN 4,
respectively, and configure the ports to operate in host mode.
[DeviceC] interface ethernet 1/0/3
[DeviceC-Ethernet1/0/3] port access vlan 3
[DeviceC-Ethernet1/0/3] port isolate-user-vlan host
[DeviceC-Ethernet1/0/3] quit
[DeviceC] interface ethernet 1/0/4
[DeviceC-Ethernet1/0/4] port access vlan 4
[DeviceC-Ethernet1/0/4] port isolate-user-vlan host
[DeviceC-Ethernet1/0/4] quit
Verifying the configuration
# Display the isolate-user-VLAN configuration on Device B.
[DeviceB] display isolate-user-vlan
Isolate-user-VLAN VLAN ID : 5
Secondary VLAN ID : 2-3
VLAN ID: 5
VLAN Type: static
Isolate-user-VLAN type : isolate-user-VLAN
Route Interface: not configured
Description: VLAN 0005