73
Port isolation configuration example
Network requirements
As shown in
:
•
LAN users Host A, Host B, and Host C are connected to HundredGigE 1/0/1, HundredGigE
1/0/2, and HundredGigE 1/0/3 on the device, respectively.
•
The device connects to the Internet through HundredGigE 1/0/4.
Configure the device to provide Internet access for the hosts, and isolate them from one another at
Layer 2.
Figure 21 Network diagram
Configuration procedure
# Create isolation group 1.
<Device> system-view
[Device] port-isolate group 1
# Assign HundredGigE 1/0/1, HundredGigE 1/0/2, and HundredGigE 1/0/3 to isolation group 1.
[Device] interface hundredgige 1/0/1
[Device-HundredGigE1/0/1] port-isolate enable group 1
[Device-HundredGigE1/0/1] quit
[Device] interface hundredgige 1/0/2
[Device-HundredGigE1/0/2] port-isolate enable group 1
[Device-HundredGigE1/0/2] quit
[Device] interface hundredgige 1/0/3
[Device-HundredGigE1/0/3] port-isolate enable group 1
[Device-HundredGigE1/0/3] quit
Verifying the configuration
# Display information about isolation group 1.
[Device] display port-isolate group 1
Port isolation group information:
Internet
Host A
Host B
Host C
HGE1/0/2
HGE1/0/1
HGE1/0/3
HGE1/0/4
Device