2-3
Displaying and Maintaining Isolate-User-VLAN
To do... Use the command... Remarks
Display the mapping between an
isolate-user-VLAN and its secondary
VLAN(s)
display isolate-user-vlan
[ isolate-user-vlan-id ]
Available in any view
Isolate-User-VLAN Configuration Example
Network requirements
z Connect Device A to downstream devices Device B and Device C;
z Configure VLAN 5 on Device B as an isolate-user-VLAN, assign the uplink port GigabitEthernet
1/0/5 to VLAN 5, and associate VLAN 5 with secondary VLANs VLAN 2 and VLAN 3. Assign
GigabitEthernet 1/0/2 to VLAN 2 and GigabitEthernet 1/0/1 to VLAN 3.
z Configure VLAN 6 on Device C as an isolate-user-VLAN, assign the uplink port GigabitEthernet
1/0/5 to VLAN 6, and associate VLAN 6 with secondary VLANs VLAN 3 and VLAN 4. Assign
GigabitEthernet 1/0/3 to VLAN 3 and GigabitEthernet 1/0/4 to VLAN 4.
z For Device A, Device B only has VLAN 5 and Device C only has VLAN 6.
Figure 2-2 Network diagram for isolate-user-VLAN configuration
Configuration procedure
The following part provides only the configuration on Device B and Device C.
1) Configure Device B
# Configure the isolate-user-VLAN.
<DeviceB> system-view
[DeviceB] vlan 5
[DeviceB-vlan5] isolate-user-vlan enable
[DeviceB-vlan5] port gigabitethernet 1/0/5
[DeviceB-vlan5] quit
# Configure the secondary VLANs.
[DeviceB] vlan 3
[DeviceB-vlan3] port gigabitethernet 1/0/1
[DeviceB-vlan3] quit