R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

40
port-isolate enable
Use port-isolate enable to assign a port to the isolation group (group 1).
Use undo port-isolate enable to remove a port from the isolation group.
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
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.
You cannot assign the member ports of a service loopback group to the isolation group, and vice versa.
Examples
# Assign ports GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 to the isolation group.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] port-isolate enable
[Sysname-GigabitEthernet4/0/1] quit
[Sysname] interface gigabitethernet 4/0/2
[Sysname-GigabitEthernet4/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 4/0/1
[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
[Sysname-Bridge-Aggregation1] quit
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] port link-aggregation group 1