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

Huawei layer 3 switch realizes Communication between different vlan

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Experiment name: Huawei Layer 3 Switch realizes communication between different vlans

Objective: PC1/PC2/PC3 communication

Experimental topology:

Experimental procedure:

1. Configure PC

2. Configuring Layer 3 Switches

syste-mview

[huawei]sysname gateway

[gateway]vlan batch 10 20 30

[gateway]interface vlanif 10

[gateway-Vlanif10]undo shutdown

[gateway-Vlanif10]ip address 192.168.10.254 255.255.255.0

[gateway-Vlanif10]quit

[gateway]interface vlanif 20

[gateway-Vlanif20]undo shutdown

[gateway-Vlanif20]ip address 192.168.20.254 255.255.255.0

[gateway-Vlanif20]quit

[gateway]interface vlanif30

[gateway-Vlanif30]undo shutdown

[gateway-Vlanif30]ip address 192.168.30.254 255.255.255.0

[gateway-Vlanif30]quit

[gateway]

[gateway]interface GigabitEthernet 0/0/1

[gateway-GigabitEthernet0/0/1]port link-type access

[gateway-GigabitEthernet0/0/1]port default vlan 10

[gateway-GigabitEthernet0/0/1]quit

[gateway]interface GigabitEthernet 0/0/2

[gateway-GigabitEthernet0/0/2]port link-type access

[gateway-GigabitEthernet0/0/2]port default vlan 20

[gateway-GigabitEthernet0/0/2]quit

[gateway]interface GigabitEthernet 0/0/3

[gateway-GigabitEthernet0/0/1]port link-type access

[gateway-GigabitEthernet0/0/1]port default vlan 30

[gateway-GigabitEthernet0/0/1]quit

3. verification and testing

PC1:

PC2:

PC3:

Experimental Summary:

Layer 3 switch configuration ideas:

1. First look at which vlans need to be configured with gateways

2. Create the vlan if not on the layer 3 switch

3. Create a virtual vlan (SVI) for each vlan

4. Configure IP addresses for each vlan

5. Configure dynamic or static routing of Layer 3 switches, if required

Experiment conclusion: huawei layer 3 switch can realize different vlan communication by creating virtual vlan, that is, realize vlan routing function.

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

Servers

Wechat

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

12
Report