04-Layer 2—LAN Switching Command References

HomeSupportReference GuidesCommand ReferencesH3C MSR610[810][830][1000S][2600][3600] Routers Command References-R6749-6W10004-Layer 2—LAN Switching Command References
03-Port isolation commands
Title Size Download
03-Port isolation commands 40.05 KB

Port isolation commands

 

Layer 2 interface modules MSR1104S-W, MSR1104S-W-CAT6, MSR1104S-5G-CN, MSR1104S-W-5G-CN, SIC-4FSW, and SIC-4FSW-PoE do not support this feature.

display port-isolate group

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

Syntax

display port-isolate group

 

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display port isolation group information.

<Sysname> display port-isolate group

 Port isolation group information:

 Group ID: 1

 Group members:

    GigabitEthernet1/0/2

 Community VLAN ID: 3

Table 1 Command output

Field

Description

Group ID

ID of the isolation group.

Group members

Isolated ports in the isolation group. No ports indicates that the isolation group does not contain isolated ports.

 

Related commands

port-isolate enable

port-isolate enable

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

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

Syntax

port-isolate enable

undo port-isolate enable

 

Default

The port is not assigned to the isolation group.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

This command assigns a port to the default isolation group (isolation group 1).

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.

Examples

# Assign GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the default isolation group.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port-isolate enable

[Sysname-GigabitEthernet1/0/1] quit

[Sysname] interface gigabitethernet 1/0/2

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

# Assign Layer 2 aggregate interface Bridge-Aggregation 1 to the default isolation group.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] quit

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port link-aggregation group 1

[Sysname-GigabitEthernet1/0/1] quit

[Sysname] interface gigabitethernet 1/0/2

[Sysname-GigabitEthernet1/0/2] port link-aggregation group 1

[Sysname-GigabitEthernet1/0/2] quit

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] port-isolate enable

Related commands

display port-isolate group

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网