83
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Description
Use
port-isolate enable
to assign a port to an isolation group.
Use
undo port-isolate enable
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 more information about Layer 2 aggregate interfaces, see
Layer
2—LAN Switching Configuration Guide
.
Examples
# Assign ports Ethernet 1/0/1 and Ethernet 1/0/2 to the isolation group.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port-isolate enable
[Sysname-Ethernet1/0/1] quit
[Sysname] interface ethernet 1/0/2
[Sysname-Ethernet1/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 ethernet 1/0/1
[Sysname-port-group-manual-aa] group-member ethernet 1/0/2
[Sysname-port-group-manual-aa] group-member ethernet 1/0/3
[Sysname-port-group-manual-aa] group-member ethernet 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
[Sysname-Bridge-Aggregation1] quit
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-aggregation group 1
[Sysname-Ethernet1/0/1] quit
[Sysname] interface ethernet 1/0/2
[Sysname-Ethernet1/0/2] port link-aggregation group 1
[Sysname-Ethernet1/0/2] quit
[Sysname] interface bridge-aggregation 1