152
Syntax
port-isolate enable
undo port-isolate enable
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Usage guidelines
The following matrix shows the command and hardware compatibility in Layer 2 aggregate interface
view:
Hardware Command
compatibility
MSR800 No
MSR 900
No
MSR900-E No
MSR 930
No
MSR 20-1X
No
MSR 20
No
MSR 30
Yes
MSR 50
Yes
MSR 2600
Yes
MSR3600-51F Yes
To assign Ethernet ports to the isolation group one by one, perform the command in Layer 2 Ethernet
interface view.
To bulk assign Ethernet ports to the isolation group, perform the command in port group view.
To assign a Layer 2 aggregate interface to the isolation group, perform the command in Layer 2
aggregate interface view. The configuration applies to the Layer 2 aggregate interface and all its
member ports. If the device fails to apply the
port-isolate enable
command to a Layer 2 aggregate
interface, it does not assign any member port of the aggregate interface to the isolation group. If the
failure occurs on a member port, the device can still assign other member ports to the isolation group.
For more information about Layer 2 aggregate interfaces, see
Layer 2—LAN Switching
Configuration Guide
.
Examples
# Assign ports Ethernet 1/1 and Ethernet 1/2 to the isolation group.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] port-isolate enable
[Sysname-Ethernet1/1] quit
[Sysname] interface ethernet 1/2
[Sysname-Ethernet1/2] port-isolate enable
# Assign all ports in port group
aa
to the isolation group.
<Sysname> system-view
[Sysname] port-group manual aa