Article Overview

H3C core switch port routing involves configuring VLAN interfaces, assigning IP addresses, and setting up static or dynamic routes to enable inter-VLAN and external network communication.

Configuring VLAN Interfaces

To enable routing on an H3C core switch, you first need to create VLANs and assign IP addresses to their interfaces:

  1. Enter system view:

system-view

  1. Create VLANs:

vlan 10vlan 20

  1. Assign IP addresses to VLAN interfaces:

interface Vlan-interface 10ip address 192.168.10.1 255.255.255.0interface Vlan-interface 20ip address 192.168.20.1 255.255.255.0

These VLAN interfaces act as Layer 3 gateways for devices in each VLAN, allowing inter-VLAN routing .

Configuring Physical Ports

Ports connecting to end devices or other switches must be assigned to the correct VLAN:

  1. Enter interface view:

interface GigabitEthernet 1/0/1

  1. Set port mode:

port link-type accessport default vlan 10

  1. Enable the port:

undo shutdown

For trunk links between switches, use:

port link-type trunkport trunk permit vlan 10 20

This ensures VLAN traffic is properly carried across the network .

Setting Up Routing

Static Routing

To allow the core switch to communicate with external networks or an egress router:

  1. Configure a default route:

ip route-static 0.0.0.0 0.0.0.0 192.168.100.1

Here, 192.168.100.1 is the next-hop IP of the egress router . 2. Add specific static routes if needed:

ip route-static 192.168.30.0 255.255.255.0 192.168.20.2

Dynamic Routing

H3C switches support protocols like RIP, OSPF, and BGP:

  1. Enable a routing protocol:

ripnetwork 192.168.0.0

  1. Configure route redistribution or metrics as required for inter-protocol communication .

Verifying Configuration

  • Check VLAN interface status:

display interface Vlan-interface 10

  • View routing table:

display ip routing-table

  • Check port status:

display interface brief

These commands help ensure that VLANs, ports, and routes are correctly configured and operational .

Summary

H3C core switch port routing requires:

  • Creating VLANs and assigning IP addresses to VLAN interfaces.
  • Configuring physical ports as access or trunk ports.
  • Setting up static or dynamic routes for inter-VLAN and external network communication.
  • Verifying configuration using display commands. This setup allows the core switch to efficiently route traffic between VLANs and connect to upstream routers, forming the backbone of a campus or enterprise network .

Support

For more information about the console cable, see H3C CR16000-M Routers Hardware Information and Specifications. Prepare the

Support

As shown in Figure 3, a port in VLAN 1 on a switch is connected to a LAN comprising two segments: 172.16.1.0/24 and

How to Master H3C Device Switch Commands: A

Link Aggregation Configuration Create an aggregation port Add Ethernet ports to

H3C Switches Commands: Reset, Trunk, and Basic Commands

[Example 2] Use the undo port trunk permit VLAN command to delete the trunk port Ethernet2/0/1 from VLAN 1. 3.

H3C Switch Configuration | Access Port, Trunk Port, DHCP Server

Hello Friends, In this video I will show you H3C Switch Configuration. In this video tutorial

Support

01-Fundamentals Configuration Guide Home Support Configure & Deploy Configuration Guides H3C S6800 & S6860 Switch Series

H3C Router and Switch Configuration Lab

The document describes initial configuration tasks for a router and switch, including: 1) Resetting the devices to factory defaults and

H3C S5800 SWITCH CONFIGURATION MANUAL | ManualsLib

It describes how to log in to the H3C open application platform (OAP) card connected to your switch and reset the operating system

H3C S1600V2 Switch Series Web Configuration Guide

Navigation pane—Provides the Web menu for device functions in a tree structure. You can easily select function menus in the

Support

Analysis · Log in to the router management Web page through a browser and connect the console port to the switch. · Configure

Support

Static route configuration examples Example: Configuring basic static routes Network configuration As shown in Figure 2, configure

H3C Switch Command Mastery: Streamlined Configuration

This article provides a hands-on guide to 50+ essential H3C switch commands, revealing hidden shortcuts and best practices

H3C S5830 Switch Series Configuration Examples

However, the port (UDP) is set to 1645 on an H3C device that functions as the RADIUS authentication server. You must

H3C S5830 Switch Series Configuration Examples

The authentication port (UDP) used by RADIUS servers is 1812 according to standard RADIUS protocols. However, the

H3C Switch Command Mastery: Streamlined Configuration

In today''s fast-paced network environments, H3C switches form the backbone of enterprise connectivity. While many administrators

Support

Chapter 1 Command Line Interface When configuring command line interface, go to these sections for information you are interested

Support

In port group view, the user only needs to input the configuration command once on one port and that configuration will apply to all

Support

09-Port Basic Configuration Operation 10-Link Aggregation Operation 11-Port Isolation Operation 12-Port Security-Port

H3C Switch Layer 3 Routing FAQ: Expert Answers To Technical

This FAQ addresses the most common technical questions regarding H3C switch routing, from licensing requirements and protocol

H3C S5120-EI Series Configuration Commands

View and Download H3C S5120-EI Series configuration commands online. Layer 3 - IP Routing Command Reference. S5120-EI

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

Support

Configuring BFD for static routes Bidirectional forwarding detection (BFD) provides a general-purpose, standard, medium-, and

H3C S5800 SERIES SWITCH CONFIGURATION MANUAL

View and Download H3C S5800 Series configuration manual online. Layer 3 - IP Routing. S5800 Series switch pdf manual

H3C S5800 SERIES SWITCH CONFIGURATION MANUAL

Page 3 Preface The H3C S5800&S5820X documentation set includes 11 configuration guides, which describe the software features

Support

Introduction This document provides examples for setting up IRF fabrics and configuring link aggregation and routing on the IRF

Layer 3-IP Routing Configuration Guide

This configuration guide describes the IP routing fundamentals and configuration procedures. This preface includes the following

H3C Campus Fixed-Port Switches Web-Based Configuration Guide

The H3C Campus Fixed-Port Switches Web-Based Configuration Guide describes the web functions of the H3C Campus Fixed-Port

Basic CLI Commands on H3C Switch

Learn how to create users, VLANs, enable Telnet and SSH, configure Spanning Tree Protocol, enable DHCP snooping, define trunk

Support

The H3C S5820X&S5800 documentation set includes 12 configuration guides, which describe the software features for the

Support

Configuring basic IP routing This chapter focuses on unicast routing protocols. For more information about multicast routing

H3C

Hier sollte eine Beschreibung angezeigt werden, diese Seite lässt dies jedoch nicht zu.

H3C Switch Basic Configuration | VLAN | DHCP Server | Static Routing

In this video, I have explained the basic configurations of an H3C switch, including:

Support

Home Support Switches H3C S3600 Switch Series Configure & Deploy Configuration Examples H3C Low-End Ethernet Switches

Support

Compared with static routing, a dynamic routing protocol is complicated to configure, requires more router resources, and consumes

How to configure Static Routing on "H3C/HPE" L3-Switches by

In this lab I Configured a L3 Switch for static Routing. This Lab demonstrates how we

Related Resources

Ready to Optimize Your Cable Infrastructure?

Request a free quote for fiber optic cable trays, grid runways, U-steel troughs, aluminum bridges, or complete overhead trunking systems. EU‑owned German factory – reliable, compliant, and cost‑effective solutions for Africa.