Displaying and maintaining isolation groups
To do…
Use the command…
Remarks
Display information about the isolation group
display port-isolate group
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Port isolation configuration example
Network requirements
As shown in
:
•
Hosts A, B, and C are connected to port Ethernet 1/0/1, Ethernet 1/0/2, and Ethernet 1/0/3 of
Device.
•
Device is connected to the Internet through Ethernet 1/0/4.
•
Ethernet 1/0/1, Ethernet 1/0/2, Ethernet 1/0/3, and Ethernet 1/0/4 belong to the same VLAN.
Configure Device to enable Host A, Host B, and Host C to access the Internet when they are isolated from
one another.
Figure 10
Network diagram for port isolation configuration
Configuration procedure
# Assign ports Ethernet 1/0/1, Ethernet 1/0/2, and Ethernet 1/0/3 to isolation group 1.
<Device> system-view
[Device] interface ethernet 1/0/1
[Device-Ethernet1/0/1] port-isolate enable
[Device-Ethernet1/0/1] quit
[Device] interface ethernet 1/0/2
[Device-Ethernet1/0/2] port-isolate enable
[Device-Ethernet1/0/2] quit
[Device] interface ethernet 1/0/3
[Device-Ethernet1/0/3] port-isolate enable
# Display information about the isolation group.
44