< Home

port-isolate exclude vlan

Function

The port-isolate exclude vlan command excludes a VLAN where port isolation needs to be disabled.

The undo port-isolate exclude vlan command cancels the configuration.

By default, no VLAN is excluded when port isolation is configured.

Format

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

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

Parameters

Parameter

Description

Value

vlan-id1

Specifies the ID of a VLAN.

The value is an integer that ranges from 1 to 4094.

vlan-id2

Specifies the ID of a VLAN.

The value is an integer that ranges from 1 to 4094.

vlan-id1 to vlan-id2

Specifies VLAN IDs in a batch.

  • vlan-id1 specifies the first VLAN ID.

  • vlan-id2 specifies the last VLAN ID.

    vlan-id2 must be greater than vlan-id1. vlan-id1 and vlan-id2 determine a VLAN range.

  • If you do not specify to vlan-id2, only one VLAN is specified.

The values of vlan-id1 and vlan-id2 are integers that range from 1 to 4094.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To enable communication between users in a VLAN where port isolation needs to be disabled, run the port-isolate exclude vlan command to exclude the VLAN.

Only S2720-EI, S5720-HI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6720-LI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Example

# Exclude VLAN 10 where port isolation needs to be disabled.

<HUAWEI> system-view
[HUAWEI] port-isolate exclude vlan 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >