port isolate-state enable vlan

Function

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.

Format

port isolate-state enable vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> }

port isolate-state enable vlan vlan-id1

undo port isolate-state enable vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> }

undo port isolate-state enable vlan vlan-id1

Parameters

Parameter Description Value
vlan-id1

Specifies the start VLAN ID.

The value is an integer ranging from 1 to 4094.

vlan-id2

Specifies the end VLAN ID.

The value is an integer ranging from 1 to 4094. vlan-id2 must be greater than vlan-id1.

Views

Layer 2 100GE interface view, Layer 2 10GE interface view, 25GE-L2 view, 400GE-L2 view, Layer 2 40GE interface view, Layer 2 50GE interface view, Layer 2 Eth-Trunk interface view, Layer 2 FlexE interface view, Layer 2 GE interface view, Layer 2 XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

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.

Example

# Configure interface isolation on GE 0/1/0 in VLAN 10.
<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
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >