In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The four common steps for configuring a layer 3 switch are: dividing the VLAN and describing it; designating a gateway for the VLAN; assigning ports to the VLAN; configuring a routing protocol; and learning these steps will solve all the problems of configuring a layer 3 switch.
Language-modechinese// switches to Chinese mode
System-view// enters the system view
[H3C] display current-configuration// shows the current configuration of layer 3 switch
/ / start configuring layer 3 switches below
The first step in configuring a layer 3 switch: divide the VLAN and describe
Vlan1
Description local-s3600// is used by this switch
#
Vlan2
Description link-to-shanxicentre// Shaanxi Provincial Center
#
Vlan3
Internal use of description link-to-shangjiecentre// Business Center
#
Vlan4
Description link-to-shangdongsuo// Merchant East Office
#
Vlan5
Description link-to-shangnansuo// Merchants South Office
Configure layer 3 switch step 2: set up a gateway for VLAN
#
Interface Vlan-interface 2
Description linktoshanxicentre
Ip address 10.61.242.110 255.255.255.252.Max / provincial center specifies wide area gateway and subnet mask
#
Interface Vlan-interface 3
Description link-to-shangjiecentre
Ip address 10.161.134.65 255.255.255.192 / Business Branch Local area Gateway, Subnet Mask
#
Interface Vlan-interface 4
Description link-to-shangdongsuo
Ip address 10.61.242.113 255.255.255.252.max / Shangdong wide area Gateway, Subnet Mask
#
Interface Vlan-interface 5
Description link-to-shangnansuo
Ip address 10.61.242.117 255.255.255.252.Max / Shangnan wide area Gateway, Subnet Mask
Configure layer 3 switch step 3: assign ports to VLAN
#
Interface Ethernet1/0/2// assigns port 2 of the switch to the provincial center
Description link-to-shanxicentre
Port access vlan2
#
Interface Ethernet1/0/15-24Universe / assign switch ports 15-24 for internal use in the branch center
Description link-to-shangjiecentre
Port access vlan3
#
Interface Ethernet1/0/3// assigns port 3 of the switch to be used by Shang Dong
Description link-to-shangdongsuo
Port access vlan4
#
Interface Ethernet1/0/4// assigns port 4 of the switch to be used by Shangnan
Description link-to-shangnansuo
Port access vlan5
Configure layer 3 switch step 4: configure routing protocol
/ / configure static route (only need to configure one route to the remote device, local self-access)
Ip route 0.0.0.0 0.0.0.0 10.61.242.109 / specify the route from all network segments to Shang Dong
/ / configure reverse routing of layer 3 switches
Ip route 10.161.134.0 255.255.255.0 10.61.242.114
Ip route 10.161.135.0 255.255.255.0 10.61.242.114
/ / configure the reverse routing of the layer 3 switch.
Ip route 10.161.135.0 255.255.255.0 10.61.242.118
Ip route 10.161.136.0 255.255.255.0 10.61.242.118
/ / the provincial center configures layer 3 switches:
Ip route 10.161.242.0 255.255.255.0 10.61.242.110Cash / 242.0 belonging to Shangdong 242.114 and Shangnan 242.118 points to the branch gateway
Ip route 10.161.134.0 255.255.255.0 10.61.242.110 / the internal network segment of the sub-center points to the sub-center gateway
/ / iproute10.161.134.0255.255.255.010.61.242.110
/ / iproute10.161.135.0255.255.255.010.61.242.110
/ / iproute10.161.136.0255.255.255.010.61.242.110
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.