In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Experimental topology diagram
one, Configure the sw2 switch sys [Huawei] sysname SW2 [SW2] vlan batch 10 20 # # create vlan10 20 [SW2] int e0Charger 2 [SW2-Ethernet0/0/2] port link-type access # # set up access [SW2-Ethernet0/0/2] port default vlan10 # # put the interface in vlan [SW2-Ethernet0/0/2] un sh [SW2-Ethernet0/0/2] int e0Accord 0lap 3 [SW2-Ethernet0/0/3] port link-type access [ SW2-Ethernet0/0/3] port default vlan 20 [SW2-Ethernet0/0/3] un sh [SW2-Ethernet0/0/3] int e0Uniplet 1 [SW2-Ethernet0/0/1] port link-type trunk # # Settingtrunk [SW2-Ethernet0/0/1] port trunk allow-pass vlan all # allows all vlan to pass through [SW2-Ethernet0/0/1] un sh [SW2-Ethernet0/0/1] int g0Unipedia 1 [SW2-GigabitEthernet0/0/ 1] port link-type trunk [SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan all [SW2-GigabitEthernet0/0/1] un sh2 Configure the sw3 switch (as configured with sw2) sys [Huawei] sysname SW3 [SW3] vlan batch 10 20 [SW3] int e0Accord 2 [SW3-Ethernet0/0/2] port link-type access [SW3-Ethernet0/0/2] port default vlan 10 [SW3-Ethernet0/0/2] un sh [SW3-Ethernet0/0/2] int e0Accord 3 [SW3-Ethernet0/0/3] port link-type access [SW3-Ethernet0/0/3] port default vlan 20 [SW3-Ethernet0/0/3] un sh [SW3-Ethernet0/0/3] int e0/0/1 [SW3-Ethernet0/0/1] port link-type trunk [SW3-Ethernet0/0/1] port trunk allow-pass vlan all [SW3-Ethernet0/0/1] un sh3 Configuration of sw1 layer 3 switch sys [Huawei] sysname SW1 [SW1] vlan batch 10 20 1000 [SW1] int g0and0According to 1 [SW1-GigabitEthernet0/0/1] port link-type trunk [SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan all [SW1-GigabitEthernet0/0/1] un sh [SW1-GigabitEthernet0/0/1] int g0Universe 2 [SW1-GigabitEthernet0/0/2] port link-type access # # layer 3 switched connection routing cannot be configured with trunk [ SW1-GigabitEthernet0/0/2] port default vlan 1000 [SW1-GigabitEthernet0/0/2] un sh [SW1-GigabitEthernet0/0/2] int vlanif 10 # # enter the logical interface [SW1-Vlanif10] ip add 192.168.10.1 24 # # set up the gateway [SW1-Vlanif10] int vlanif 20 [SW1-Vlanif20] ip add 192.168.20.1 24 [SW1] int vlanif 1000 [SW1-Vlanif1000] ip add 11.0.0.1 30 [SW1-Vlanif1000] Q [SW1] ip route-static 0.0.0.0 0.0.0.0 11.0.0.2 # # set the default route Default up, static 4 down, configure R1 to route sys [Huawei] sysname R1 [R1] int g0Accord 0 # # set the ip address of the interface [R1-GigabitEthernet0/0/0] ip add 11.0.0.2 30 [R1-GigabitEthernet0/0/0] un sh [R1-GigabitEthernet0/0/0] int loopback 0 # # to enter the loopback interface Set ip [R1-LoopBack0] ip add 1.1.1.1 30 [R1-LoopBack0] Q [R1] ip route-static 192.168.10.024 11.0.0.1 # # set static route [R1] ip route-static 192.168.20.024 11.0.0.15 to test network interoperability
Thank you for reading!
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.