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

An experiment to determine the basic configuration and principle of Huawei hybrid-vlan

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Lab Topology:

two。 Experimental requirements: PC1 and PC3 belong to VLAN10 PC2 and PC4 belong to VLAN20 PC5 and PC6 belong to VLAN30. Members of VLAN10 and 20 can communicate with PC5 in VLAN30, but members of VLAN10 and VLAN20 cannot communicate with each other (achieving this requirement through layer 2 technology is the flexibility of Huawei Hybrid-vlan technology)

3. Experimental steps: 1) IP planning: / / the network segment PC1:192.168.1.10,PC2:192.168.1.20,PC3:192.168.1.30,PC4:192.168.1.40,PC5:192.168.1.50,PC6:192.168.1.60 of 192.168.1.0 is configured here. 2) configure LSW1:system-view for LSW according to the experimental requirements. The [SW1] vlan bat 10 20 30 / / vlan bat command can add multiple vlans [SW1] int e0tagger 1 [SW1-Ethernet0/0/1] porthybrid pvid vlan10 / / add the interface to Vlan10 [SW1-Ethernet0/0/1] porthybrid untagged vlan10 / / untagged means that the label is untagged when the data leaves the port, which is equivalent to the ACCESS interface, which can also be said to add the interface to VLAN10 as untagged. [SW1] int e0debark 0 / 2 [SW1] i-Ethernet0/0/2] porthybrid pvid vlan 20 [SW1-Ethernet0/0/2] porthybrid untagged vlan 20 [SW1] int g0Accord 1 [SW1-GigabitEthernet0/0/1] porthybrid tagged vlan 10 20 30//tagged means that the data leaves the port with a tag, which is equivalent to the TRUNK interface. It can also be said that the interface is added to VLAN10 20 30 in tagged mode to check the configuration results of VLAN: [SW1] display vlan

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