Article Overview
Huawei core switches can be integrated with routers by configuring Layer 3 interfaces, VLANs, and routing to enable inter-VLAN communication and Internet access.
Overview
When adding routers to Huawei core switches, the goal is typically to allow multiple VLANs or network segments to communicate with each other and access external networks. The core switch often functions as the gateway for internal users, while the router handles egress traffic to the Internet or other external networks .
Step 1: Prepare Network Data
Before configuration, gather the following information:
- Management IP for the core switch (e.g., 10.10.1.1/24)
- Router public interface IP and gateway (e.g., 1.1.1.2/30 and 1.1.1.1/30)
- VLAN IDs for each department or subnet
- DNS server addresses for internal users
- Interface mapping between the switch and router
Step 2: Configure VLANs on the Core Switch
- Log in to the switch via SSH or console.
- Create VLANs for each network segment:
vlan 10[Switch-vlan10] quit vlan 20[Switch-vlan20] quit
- Assign ports to VLANs:
interface GigabitEthernet0/0/1[Switch-GigabitEthernet0/0/1] port link-type access[Switch-GigabitEthernet0/0/1] port default vlan 10
- Configure VLAN interfaces (VLANIF) for Layer 3 routing:
interface Vlanif10[Switch-Vlanif10] ip address 192.168.10.1 255.255.255.0 interface Vlanif20[Switch-Vlanif20] ip address 192.168.20.1 255.255.255.0
Step 3: Configure the Router
- Assign IP addresses to the router interfaces connected to the core switch:
interface GigabitEthernet0/0 ip address 192.168.10.254 255.255.255.0 no shutdown
- Configure the router's default route to the Internet gateway:
ip route 0.0.0.0 0.0.0.0 1.1.1.1
- Ensure the router can communicate with all VLANs on the core switch.
Step 4: Enable DHCP and Security Features
- If the core switch is the DHCP server, configure it to assign IPs to VLANs:
dhcp enable ip pool vlan10[Switch-dhcp-pool-vlan10] network 192.168.10.0 24[Switch-dhcp-pool-vlan10] gateway-list 192.168.10.1
- Enable IP Source Guard (IPSG) to prevent unauthorized IP changes:
interface Vlanif10[Switch-Vlanif10] ip source check user-bind enable
Step 5: Verify Connectivity
- Use ping tests between PCs in different VLANs to ensure Layer 2 and Layer 3 connectivity.
- Test Internet access through the router.
- Check interface status and routing tables:
display ip routing-table display interface brief
Step 6: Save Configuration
save
This ensures that all VLAN, interface, and routing configurations persist after a reboot .
Additional Tips
- For multiple routers, connect each router to a separate VLAN or use subinterfaces for trunk links.
- Use static routes or dynamic routing protocols (e.g., OSPF) if the network has multiple core switches or routers.
- Always verify software versions and compatibility between Huawei switches and routers before deployment . By following these steps, Huawei core switches can effectively integrate with routers to provide inter-VLAN routing, DHCP services, and Internet access for campus or enterprise networks.
Huawei router and switch connection configuration plan, two
So how are Huawei''s routers and switches connected in a network? Today, Linknewnet engineers teach you 2 ways.
Native AC Solution: Core Switches Function as the Gateway for Wired
Aggregation switches set up stacks to implement device-level backup and increase the interface density and forwarding bandwidth.
SME Network Solution Typical Configuration Examples
"Gateway + Core Switch + Access Switch + AP + AR180" Networking: Huawei eKit Cloud Management "Gateway + Core Switch +
Huawei S Series Quick Configuration
Small- and Mid-Sized Campus Networks This section uses the S2750 as an access switch (ACC1), S5700 as a core switch (CORE),
Link Aggregation Configuration
Typical Free Mobility Configuration Example for Deploying the NGFW Module and IPS Module on a Switch Typical Configuration for
Basic CLI Commands on Huawei Switch
This text is a guide detailing Basic Command Line Interface (CLI) Commands on Huawei brand switches. It provides step-by-step
Huawei Switch Configuration Guide
The document provides configuration instructions and commands for basic switch configuration using Huawei switches. It covers
Guide for Replacement and Interoperation Between Huawei Switches
This document provides typical configuration examples for interoperation between Huawei switches and mainstream IP phones,
Huawei
We''re sorry but web site doesn''t work properly without JavaScript enabled. Please enable it to continue.
Example for Configuring a Layer 2 Switch to Work with a Router for
Configuration Notes Switch configurations used in this example apply to all versions of all S series switches (except the S5751-L,
Huawei switch and router basic configuration in English | HCIA part 1
In this video, we will learn about the Huawei switch and router''s basic configuration step by
IP Routing Basics
Routing Table Each router maintains a local core routing table (namely, an IP routing table), and each routing protocol maintains its
Configuring Devices to Be Managed by the Controller (in the Hybrid
Context On a large or midsize campus network, switches running V600 (such as the S8700) can function as core
Configuring Aggregation and Access Switches to Be Managed by the
Configuration Roadmap Manually add information about aggregation and access switches to the site. If the
HUAWEI S6700 SERIES CONFIGURATION MANUAL Pdf Download
On an IPv4 network, configuring BFD for IPv4 static routes on the public network can speed up route convergence and improve
Sx300 Series Switches Typical Configuration Examples (V200)
Create VLANs, add interfaces to the VLANs, and assign IPv4 addresses to VLANIF interfaces so that neighboring
VLAN Routing with Layer 2 Switch and Router on Huawei
VLAN Routing with Huawei Layer 2 Switches. Here we will focus How to Configure VLAN Routing on Huawei devices with a
Guide for Replacement and Interoperation Between Huawei Switches
S12700 Series Agile Switches Interoperation Configuration Guide (V200) This document provides typical configuration examples for
Configuring the Core Switch
When configuring interfaces and routes, you need to specify a VPN instance to isolate public network routes from the
Standalone AC Solution: Aggregation Switches Function as Gateways
Core switches set up a CSS that functions as the core of the entire campus network to implement high network reliability and
Switches
Switches After more than 20 years of unremitting efforts and stable development, Huawei provides
Typical VRRP Configuration
To ensure reliable multicast data transmission, configure the Virtual Router Redundancy Protocol (VRRP) and Bidirectional
Huawei Technical Support
This webpage provides cases for deploying networks using gateway, core switch, and access switch to enhance connectivity and
HUAWEI S Series Switch-Configure Static Routes
HUAWEI S Series Switch-Configure Static Routes video demonstrates how to configure
Huawei router and switch connection configuration plan
As a leading global ICT solutions provider, Huawei''s router and switch products play a key role in building advanced
Example for Configuring a Layer 3 Switch to Work with a Firewall for
Example for Configuring a Layer 3 Switch to Work with a Firewall for Internet Access Layer 3 Switch Layer 3 switches provide the
Master the Basic Command Configurations of Huawei, H3C, Ruijie,
As technology advances, networking switches have become an integral part of the IT infrastructure. They play a
Related Resources
- Are optical modules considered batteries
- Nicaragua Firefighting Distribution Box Assembly Plant
- EU Fiber Optic Connector Suppliers
- Height of cable tray installation
- Price of Custom-Made Complete Distribution Boxes in Kenya
- Anning High Voltage Busbar Quotation
- Dominican cable tray tee
- Price of Aluminum Tape Wrapping for Optical Cable
- Selection of Communication Optical Cable Connector Location
- National Standard Specifications and Models of Intelligent Distribution Boxes
- Columbia Fiber Optic Endface Inspection Instrument Dynamic Range 35dB
- Relay protection should be forward-looking
- Sales of Bhutanese power distribution box terminals
- Using a low-voltage box as a network cabinet
- Electrical box cover application
- What are some manufacturers of optical fiber cables and communication cables
- How to upgrade a smart power distribution cabinet
- Protection of power optical cables from strong current
- Relay protection potential test
