In this article, we will introduce you to configuring the Port Isolation feature on Huawei Switch according to the example below. In the model of PC1, PC2, PC3 belonging to VLAN 10, we will configure port G0/0/1 to connect to PC1 and G0/0/2 to connect to PC2 into port isolation group, then PC1 and PC2 will not be able to communicate. communicate with each other, but it can still communicate with PC3.
– To configure Port Isolation, we will create a VLAN and put the corresponding port in the vlan, configure Port Isolation on port G0/0/1 and G0/0/2.
system-view
(SW)vlan 10
(SW)interface GigabitEthernet 0/0/1
(SW-GigabitEthernet0/0/1)port link-type access
(SW-GigabitEthernet0/0/1)port default vlan 10
(SW-GigabitEthernet0/0/1)port-isolate enable group 1
(SW)interface GigabitEthernet 0/0/2
(SW-GigabitEthernet0/0/2)port link-type access
(SW-GigabitEthernet0/0/2)port default vlan 10
(SW-GigabitEthernet0/0/2)port-isolate enable group 1
(SW)interface GigabitEthernet 0/0/3
(SW-GigabitEthernet0/0/3)port link-type access
(SW-GigabitEthernet0/0/3)port default vlan 10
– After adding port 0/0/1 and 0/0/2, PC 1 cannot contact PC2 and vice versa, but can still contact PC3.
!!!! Thank you for following!!!!
Xem tiếp...