- Table of Contents
-
- 02-Layer 2—LAN Switching Command Reference
- 00-Preface
- 01-MAC address table commands
- 02-Bulk interface commands
- 03-Ethernet interface commands
- 04-Ethernet link aggregation commands
- 05-Port isolation commands
- 06-VLAN commands
- 07-Loopback, null, and inloopback interface commands
- 08-VLAN mapping commands
- 09-VLAN termination commands
- 10-Loop detection commands
- 11-LLDP commands
- 12-L2PT commands
- 13-Service loopback group commands
- 14-Spanning tree commands
- 15-Cut-through Layer 2 forwarding commands
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Port isolation commands | 39.99 KB |
Port isolation commands
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:
Ten-GigabitEthernet1/0/2
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 contains no isolated ports. |
Related commands
port-isolate enable
port-isolate enable
Use port-isolate enable to assign a port to an isolation group.
Use undo port-isolate enable to remove a port from an isolation group.
Syntax
port-isolate enable
undo port-isolate enable
Default
The port is not assigned to any isolation group.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Usage guidelines
You cannot assign the member ports of a service loopback group to an isolation group, and vice versa.
When this command is executed on an interface, the interface is assigned to the system default 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 Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to the default isolation group.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port-isolate enable
[Sysname-Ten-GigabitEthernet1/0/1] quit
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-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 ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-aggregation group 1
[Sysname-Ten-GigabitEthernet1/0/1] quit
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] port link-aggregation group 1
[Sysname-Ten-GigabitEthernet1/0/2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port-isolate enable
Related commands
display port-isolate group