03-Layer 2—LAN Switching Command Reference

HomeSupportResource CenterSwitchesH3C S6300 Switch SeriesH3C S6300 Switch SeriesTechnical DocumentsCommandCommand ReferencesH3C S6300 Switch Series Command References-Release 243x-6W10003-Layer 2—LAN Switching Command Reference
06-Port isolation commands
Title Size Download
06-Port isolation commands 33.22 KB

Port isolation commands

display port-isolate group

Use display port-isolate group to display port isolation group information.

Syntax

display port-isolate group [ group-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

group-number: Specifies an isolation group by its number in the range of 1 to 8.

Examples

# Display all isolation groups.

<Sysname> display port-isolate group

 Port isolation group information:

 Group ID: 2

 Group members:

    Ten-GigabitEthernet1/0/1

 

 Group ID: 5

 Group members:

Ten-GigabitEthernet1/0/2

Ten-GigabitEthernet1/0/4

# Display information about isolation group 2.

<Sysname> display port-isolate group 2

 Port isolation group information:

 Group ID: 2

 Group members:

    Ten-GigabitEthernet1/0/1

Table 1 Command output

Field

Description

Group ID

Isolation group number.

Group members

Isolated ports in the isolation group. If the isolation group contains no isolated ports, this field displays No ports.

 

Related commands

port-isolate enable

port-isolate enable

Use port-isolate enable to assign a port to an isolation group.

Use undo port-isolate enable to remove a port from an isolation group.

Syntax

port-isolate enable group group-number

undo port-isolate enable

Default

The port is not assigned to any isolation group.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

group group-number: Specifies an isolation group by its number in the range of 1 to 8.

Usage guidelines

The configuration in Layer 2 Ethernet interface view applies only to the interface.

The configuration in Layer 2 aggregate interface view applies to the Layer 2 aggregate interface and its aggregation member ports. If the device fails to apply the configuration to the aggregate interface, it does not assign any aggregation member port to the isolation group. If the failure occurs on an aggregation member port, the device skips the port and continues to assign other aggregation member ports to the isolation group.

To assign ports to an isolation group, make sure the isolation group already exists.

One port can be assigned to only one isolation group.

Examples

# Assign ports Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to isolation group 2.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-GigabitEthernet1/0/1] port-isolate enable group 2

[Sysname-Ten-GigabitEthernet1/0/1] quit

[Sysname] interface ten-gigabitethernet 1/0/2

[Sysname-Ten-GigabitEthernet1/0/2] port-isolate enable group 2

Related commands

display port-isolate group

port-isolate group

Use port-isolate group to create an isolation group.

Use undo port-isolate group to delete isolation groups.

Syntax

port-isolate group group-number

undo port-isolate group { group-number | all }

Default

No isolation group exists.

Views

System view

Predefined user roles

network-admin

Parameters

group-number: Specifies an isolation group by its number in the range of 1 to 8.

all: Deletes all isolation groups.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Create isolation group 2.

<Sysname> system-view

[Sysname] port-isolate group 2