The port isolate-state enable vlan command configures interface isolation on an interface in a VLAN.
The undo port isolate-state enable vlan command cancels the configuration.
By default, isolation is not configured on interfaces.
Usage Scenario
Before configuring isolation on an interface, add the interface to a VLAN.
The port isolate-state enable command isolates two or more interfaces in a VLAN. Therefore, run this command on two or more interfaces in the VLAN. Otherwise, the interface isolation function does not take effect. To run the port isolate-state enable vlan command on a Layer 3 interface, first switch the interface to a Layer 2 interface using the portswitch command.<HUAWEI> system-view [~HUAWEI] vlan 10 [*HUAWEI-vlan10] interface GigabitEthernet0/1/0 [*HUAWEI-GigabitEthernet0/1/0] portswitch [*HUAWEI-GigabitEthernet0/1/0] port default vlan 10 [*HUAWEI-GigabitEthernet0/1/0] port isolate-state enable vlan 10