Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to divide broadcast domain and isolate collision domain in the same local area network

Shulou Source: shulou.com Published: 2022-06-03 09:51:57 12月06日 Update

Vlan: virtual local area network

Local area network: the same network segment exists in the same area

The role of vlan: divide the broadcast domain, isolate the conflict domain, so that the two can not communicate with each other.

First enter the system and attempt to system-view and then create a vlan

[huawei] vlan batch id id batch creation

[huawei] vlan id created separately

[huawei] display vlan View vlan

System-view enters the system view

[huawei] vlan batch 10 20. Batch create vlan to create as many vlan as there are ports.

Next, set a different vlan for each port

[huawei] interface gigabitethernet 0/0/1

[huawei-gigabitethernet0/0/1] port link-type access

[huawei-gigabitethernet0/0/1] port default vlan 10

Set the vlan to which the port belongs

As shown in the figure:

[huawei-gigabitethernet0/0/1] quit

[Huawei] interface gigabitethernet 0/0/2

[huawei-gigabitethernet0/0/2] port link-type access

[huawei-gigabitethernet0/0/2] port default vlan 20

After setting up the vlan, you can no longer communicate with each other.

Tags: Port local area LAN system conflict broadcast isolation different next function area ownership network segment view as shown in the figure Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MySQL NVidia Shulou Information vpn