To configure fiber ports on Huawei switches, you need to enable the interface, assign it to the correct VLAN, set the link type, and optionally apply port security and bandwidth controls.Step 1: Acces...
Connect to the Huawei switch via console, SSH, or Telnet. Enter system view mode to start configuration:
system-view
Identify the fiber interface (e.g., GigabitEthernet0/0/1 or XGE0/0/1) and activate it:
interface GigabitEthernet0/0/1undo shutdown
This command brings the port online and allows traffic to pass through .
Assign the port to the appropriate VLAN and set it as an access or trunk port:
port link-type accessport default vlan 10
For multiple ports, use the interface range command:
interface range GigabitEthernet0/0/1 to 0/0/10port link-type accessport default vlan 10
This ensures the fiber port communicates within the correct network segment .
To prevent unauthorized access, enable MAC address binding and define protection actions:
port-security enableport-security mac-address stickyport-security max-mac-num 2
You can also configure protection actions such as shutdown, restrict, or protect to control how the switch responds to violations .
Limit outbound traffic to prevent congestion:
qos lr outbound cir 100000
Adjust the bandwidth value according to network requirements .
Check the port status and MAC table:
display interface GigabitEthernet0/0/1display mac-address
Finally, save the configuration to ensure it persists after a reboot:
save
auto speed commands if needed .cable-snr-test on MultiGE interfaces to verify fiber cable quality, especially for high-speed links (≥2.5 Gbit/s), .
When you introduce a Huawei backbone switch into an existing network where Cisco switches were originally
This guide dives into the step-by-step process of port configuration on Huawei switches, while addressing the often
This page provides a guide to configure the rate and duplex mode of an Ethernet interface for optimal network
In Ethernet, layer-2 switching devices communicate by identifying MAC addresses. The data link layer defines the
Configuring Unidirectional Single-Fiber Communication Context Unidirectional single-fiber communication enables a device to send
Example for Switching an Interface to Layer 3 Mode Networking Requirements As shown in Figure 3-15, PC1, PC2,
This document explains Ethernet interface configuration commands, including functions, syntax, parameters, views, default level,
Configuring Unidirectional Single-Fiber Communication Context During network management and maintenance, the administrator
The document provides configuration instructions and commands for basic switch configuration using Huawei switches. It covers
I will give an example of setting up ports on Huawei switches. For the test, I will execute commands on the Huawei
This guide explains how to configure the working mode of a combo interface on Huawei devices, including switching between
This page provides configuration commands for Ethernet interfaces on Huawei devices, covering settings like duplex mode and auto
Example for Configuring Local Port Mirroring Applicable Products and Versions This example applies to all models
Configuring Port Split for a Switch Context The port split function allows a high-bandwidth physical port on a switch to
S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Ethernet Switching This document describes the
Design & Configure Access port config (Huawei) Technology: Switching Area: Neighbor Discovery Vendor: Huawei Software: eNSP
If interface split or merge is configured on an interface, the original configuration on the interface is lost. Therefore, exercise caution
As shown in Figure 8-3, PC1, PC2, and PC3 connect to the company network through the switch. For high user access security, port
This text is a guide detailing Basic Command Line Interface (CLI) Commands on Huawei brand switches. It provides step-by-step
In this Huawei Port Security Configuration Example, we will configure Port Security on a Huawei switch. For our Huawei
Select optical fibers of appropriate modes, quantity, and lengths according to the optical module types, number of ports to be
Hello everyone, I''m having trouble connecting a Huawei switch and a Cisco switch. The switches are connected via
In the preceding example, you can configure link flapping protection on the interface of the primary link to prevent frequent topology
Remove dust plugs from the optical modules and insert fiber connectors into the corresponding optical ports. After verifying that all
Overview Interface-based rate limiting is easy to configure and limits the rate of all packets sent or received on an
Four Fibre Channel switches are cascaded across active-active data centers, building a mirroring relationship between the storage
Example for Configuring Port Security Port Security Overview Port security changes the dynamic MAC addresses learned on an
This document describes all the configuration commands of the device, including the command function, syntax, parameters, views,
Contact us for clamps, conduits, joints, and custom kits – we respond within 24 hours.