In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Experiment name: Huawei layer 3 switch realizes communication between different vlan
Experimental purpose: to realize communication with pc1/pc2/pc3
Lab Topology:
2, configure layer 3 switch
System-view
[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
4. Summary of the experiment:
Configuration ideas for layer 3 switches:
1.vlan needs to configure gateway
two。 Create vlan on layer 3 switch
3. Create a corresponding virtual vlan (SVI) for each vlan
4. Configure each vlan with an IP address
5. Configure dynamic or static routes for layer 3 switches
Experimental conclusion: Huawei layer 3 switch can realize different vlan communication by creating virtual vlan, that is, realizing the function of vlan routing.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.