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

Phase 9 Huawei Topology-vlan Communication

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

Share

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

Experimental purpose: communication between different vlan

Lab steps: 1) configure VLAN on layer 2 switches SW1 and SW2

[SW1] vlan 2 [SW1] vlan 3 [SW1] interface Ethernet0/0/1 [SW1-Ethernet0/0/1] port link-type access [SW1-Ethernet0/0/1] port default vlan 1 [SW1] interface Ethernet0/0/2 [SW1-Ethernet0/0/2] port link-type access [SW1-Ethernet0/0/2] port default vlan 2 [SW1] interface Ethernet0/0/3 [SW1-Ethernet0/0/3] port link-type access [SW1-Ethernet0/0/3] port default vlan 3 [SW1 ] int g0/0/1 [SW1-GigabitEthernet0/0/1] port link-type trunk [SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan all[SW2] vlan 4 [SW2] vlan 5 [SW2] interface Ethernet0/0/1 [SW2-Ethernet0/0/1] port link-type access [SW2-Ethernet0/0/1] port default vlan 4 [SW2] interface Ethernet0/0/2 [SW2-Ethernet0/0/2] port link-type access [SW2-Ethernet0/0/2] port default vlan 5 [ SW2] int g0/0/1 [SW2-GigabitEthernet0/0/1] port link-type trunk [SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan all

2) configure layer 3 switch

[SW3] vlan batch 1 to 5 [SW3] int g0/0/1 [SW3-GigabitEthernet0/0/1] port link-type trunk [SW3-GigabitEthernet0/0/1] port trunk allow-pass vlan all[SW3] int g0/0/2 [SW3-GigabitEthernet0/0/2] port link-type trunk [SW3-GigabitEthernet0/0/2] port trunk allow-pass vlan all[SW3] int Vlanif1 [SW3-Vlanif1] ip add 192.168.1.254 24 [SW3] int Vlanif2 [SW3-Vlanif2] ip add 192.168.2.254 24 [SW3] int Vlanif3 [SW3-Vlanif3] ip add 192.168.3.254 24 [SW3] int Vlanif 4 [SW3-Vlanif1] ip add 192.168.4.254 24 [SW3] int Vlanif 5 [SW3-Vlanif2] ip add 192.168.5.254 24

3) Test the interworking between PC

4) establish vlan 6 on sw 1

Add gi 0Accord 1 to vlan 6

Set up VLAN6 Gateway

Route gi 0Uniqq1 Setting192.168.6.1

Pc setting 192.168.7.1 Route gi 0 Universe 0 0 setting 192.168.7.254 Universe 24

5) Test the interworking between PC

Complete configuration, verify, save

Thank you, QQ:3297333814.

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