Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[preliminary article] Huawei's exclusive hybird-vlan technology

2025-03-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

First configure the IP addresses from C1 to C5 and configure them on the same network segment.

And so on, c3 with 192.168.10.30, C4 with 192.168.10.40, C5 with 192.168.10.50, with 192.168.10.50

Add them to VLAN first.

SW1 configuration:

System-view / / enter the system view

[Huawei] sysname SW1 / / modify the name

[SW1] vlan batch 10 20 30 / / add VLAN

[SW1] int e0Compact 1 / / enter interface

[SW1-Ethernet0/0/1] port hybrid pvid vlan 10 / / add the interface to VLAN 10

[SW1-Ethernet0/0/1] port hybrid untagged vlan10 / / remove the label when vlan10 traffic passes through the interface. (the host will only recognize it because it has taken off the tag)

[SW1-Ethernet0/0/1] int e0/0/2

[SW1-Ethernet0/0/2] port hybrid pvid vlan 20

[SW1-Ethernet0/0/2] port hybrid untagged vlan 20

[SW1-Ethernet0/0/2] int g0/0/1

[SW1-GigabitEthernet0/0/1] port hybrid tagged vlan 10 20 30 / / as a relay port (with label)

SW2 configuration:

Sy

[Huawei] sysname SW2

[SW2] vlan batch 10 20 30

[SW2-Ethernet0/0/3] port hybrid pvid vlan 10

[SW2-Ethernet0/0/3] port hybrid untagged vlan 10

[SW2-Ethernet0/0/3] int e0/0/4

[SW2-Ethernet0/0/4] port hybrid pvid vlan 20

[SW2-Ethernet0/0/4] port hybrid untagged vlan 20

[SW2-Ethernet0/0/4] int g0/0/1

[SW2-GigabitEthernet0/0/1] port hybrid tagged vlan 10 20 30 / / act as a relay port

[SW2-GigabitEthernet0/0/1] int e0/0/5

[SW2-Ethernet0/0/5] port hybrid pvid vlan 30

[SW2-Ethernet0/0/5] port hybrid untagged vlan 30

At this point, members of the same VLAN can communicate, and C1 and C3 can communicate

We require C1 to communicate with C5, not C3.

It is required that C4 and C5 can communicate, but C2 cannot.

Configuration:

[SW1] int e0/0/1

[SW1-Ethernet0/0/1] port hybrid untagged vlan30 / / allow vlan30 traffic to pass through

[SW2-Ethernet0/0/5] port hybrid untagged vlan 10 20

[SW2-Ethernet0/0/4] port hybrid untagged vlan 30

In this way, the requirements of the experiment are completed.

The experiment is over

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report