90
port-isolate enable
Syntax
port-isolate enable
undo port-isolate enable
View
Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Description
Use the port-isolate enable command to assign a port to the isolation group.
Use the undo port-isolate enable command to remove a port from the isolation group.
• To assign Ethernet ports to the isolation group one by one, perform the command in 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 switch 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 switch can still assign other member ports to the isolation
group. For detailed information about Layer 2 aggregate interfaces, see the Layer 2—LAN
Switching Configuration Guide.
Examples
# Assign ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the 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 all ports in port group aa to the isolation group.
<Sysname> system-view
[Sysname] port-group manual aa
[Sysname-port-group-manual-aa] group-member gigabitethernet 1/0/1
[Sysname-port-group-manual-aa] group-member gigabitethernet 1/0/2
[Sysname-port-group-manual-aa] group-member gigabitethernet 1/0/3
[Sysname-port-group-manual-aa] group-member gigabitethernet 1/0/4
[Sysname-port-group-manual-aa] port-isolate enable
# Assign Layer 2 aggregate interface Bridge-aggregation 1 to the isolation group.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1