5 min read

Basic Huawei GPON OLT Configuration: Profiles, VLANs, Service-Ports, and CLI Essentials

If you are coming from Cisco IOS to a Huawei MA5800 / MA5801 / EA5801 GPON OLT, two habits change on day one: show becomes display, no becomes undo, and nothing passes traffic until four separate objects—a DBA profile, an ONT line profile, an ONT service profile, and a service-port—are wired together in the right order.

This guide walks through a clean, production-tested baseline configuration (with all site-specific identifiers, serial numbers, and credentials scrubbed) covering system hardening, 10G uplinks, standardized multi-service VLANs (10–60), ONT provisioning, multicast IPTV, and the display commands you actually use when troubleshooting in the field.

Huawei GPON OLT traffic flow from ONT Ethernet UNI port through T-CONT, GEM port, service-port, and 10G uplink

1. Profile Dependency Order (Build Bottom-Up)

Before registering an ONT (ont add), make sure the OLT is in profile mode and build the underlying profiles in order so every reference resolves cleanly:

Huawei GPON profile dependency hierarchy showing DBA, Line, and Service profiles feeding ont add and service-port


2. System Baseline, Hardening & 10G Uplink

Start by switching to profile-mode, enforcing strong SSH/password policies, disabling legacy plaintext management like Telnet, and locking your 10G uplink ports (eth 0/2) to 10000 Mbps with auto-negotiation disabled if required by your core switch SFP+ optics:

enable
config
sysname OLT-CORE-01
timezone GMT+ 05:00

xpon mode switch-to profile-mode

system modify logon password enable all
system user password security mode enhance
system user password security-length 12
sysman service telnet disable
sysman service dhcp-relay disable

interface eth 0/2
 auto-neg 0 disable
 speed 0 10000
 auto-neg 1 disable
 speed 1 10000
quit

port desc 0/2/0 description "UPLINK-TO-CORE-SW"

Set an out-of-band or management Vlanif interface (VLAN 10), default gateway, and scheduled autosave so power events never wipe recent ONT additions:

interface Vlanif10
 ip address 10.0.10.10 255.255.255.0
quit

ip route-static 0.0.0.0 0.0.0.0 10.0.10.1

autosave type data
autosave time on
autosave time 01:30:00
autosave type configuration
autosave time on
autosave time 01:00:00

3. Standardized Smart VLANs & Uplink Trunking

On Huawei OLTs, subscriber-facing VLANs are typically created as smart VLANs and tagged toward the uplink port (0/2 0):

vlan 10 smart
vlan 20 smart
vlan 30 smart
vlan 40 smart
vlan 50 smart
vlan 60 smart

vlan desc 10 description "Management"
vlan desc 20 description "Corporate_WiFi"
vlan desc 30 description "Guest_WiFi"
vlan desc 40 description "Voice_VoIP"
vlan desc 50 description "IPTV_Multicast"
vlan desc 60 description "CCTV_Security"

port vlan 10 0/2 0
port vlan 20 0/2 0
port vlan 30 0/2 0
port vlan 40 0/2 0
port vlan 50 0/2 0
port vlan 60 0/2 0

4. Traffic Tables, DBA, Line & Service Profiles

Traffic Table & DBA Profile

traffic table ip enforces downstream/upstream CIR and PIR per service-port, while dba-profile governs upstream T-CONT allocation (type3 for assured + max, type4 for best-effort max):

traffic table ip index 10 name "CORP_100M" cir 102400 cbs 3278800 pir 102400 pbs 3278800 color-mode color-blind priority 0 priority-policy local-setting

dba-profile add profile-id 10 profile-name "DBA_100M_ASSURED" type3 assure 32000 max 102400

ONT Line Profile (ont-lineprofile)

Maps T-CONTs to GEM ports and defines how VLANs (or 802.1p priorities in mapping-mode priority) enter each GEM port. Always finish with commit:

ont-lineprofile gpon profile-id 10 profile-name "LINE_MULTI_SVC"
 omcc encrypt on
 tcont 1 dba-profile-id 10
 gem add 10 eth tcont 1 encrypt on
 gem add 20 eth tcont 1 encrypt on
 gem add 30 eth tcont 1 encrypt on
 gem add 40 eth tcont 1 encrypt on
 gem add 50 eth tcont 1 encrypt on
 gem add 60 eth tcont 1 encrypt on
 gem mapping 10 0 vlan 10
 gem mapping 20 0 vlan 20
 gem mapping 30 0 vlan 30
 gem mapping 40 0 vlan 40
 gem mapping 50 0 vlan 50
 gem mapping 60 0 vlan 60
 commit
quit

ONT Service Profile (ont-srvprofile)

Declares the ONT hardware port layout (e.g., 8 Ethernet + 1 Wi-Fi) and per-port VLAN translation rules:

ont-srvprofile gpon profile-id 101 profile-name "SRV_8ETH_MULTI"
 ont-port eth 8 wifi 1
 port vlan eth 1 translation 40 0 user-vlan 40 0
 port vlan eth 5 translation 20 0 user-vlan 20 0
 port vlan eth 5 translation 30 0 user-vlan 30 0
 port vlan eth 7 translation 50 0 user-vlan 50 0
 port vlan eth 8 translation 60 0 user-vlan 60 0
 commit
quit

5. Discovering & Registering ONTs

Enable auto-find on your GPON ports (0/1), discover unprovisioned ONT serial numbers, register the ONT with sn-auth, and set any untagged access port native-vlan values:

interface gpon 0/1
 port 1 ont-auto-find enable
 port 1 ont-password-renew extra 1440
quit

display ont autofind all

Register the discovered ONT (port 1, ont-id 5) and set native VLANs where untagged endpoints (IP phones, AP management, IPTV STBs, or cameras) plug in:

interface gpon 0/1
 ont add 1 5 sn-auth "48575443XXXXXXXX" omci ont-lineprofile-id 10 ont-srvprofile-id 101 desc "UNIT_101"
 ont port native-vlan 1 5 eth 1 vlan 40 priority 0
 ont port native-vlan 1 5 eth 5 vlan 10 priority 0
 ont port native-vlan 1 5 eth 7 vlan 50 priority 5
 ont port native-vlan 1 5 eth 8 vlan 60 priority 0
quit

6. Binding Traffic with service-port (+ Optional IPTV)

Finally, create a service-port for each VLAN flowing through that ONT (gpon 0/1/1 ont 5):

service-port 1 vlan 10 gpon 0/1/1 ont 5 gemport 10 multi-service user-vlan 10 tag-transform translate inbound traffic-table index 10 outbound traffic-table index 10
service-port 2 vlan 20 gpon 0/1/1 ont 5 gemport 20 multi-service user-vlan 20 tag-transform translate inbound traffic-table index 10 outbound traffic-table index 10
service-port 3 vlan 30 gpon 0/1/1 ont 5 gemport 30 multi-service user-vlan 30 tag-transform translate inbound traffic-table index 10 outbound traffic-table index 10
service-port 4 vlan 40 gpon 0/1/1 ont 5 gemport 40 multi-service user-vlan 40 tag-transform transparent inbound traffic-table index 10 outbound traffic-table index 10
service-port 5 vlan 50 gpon 0/1/1 ont 5 gemport 50 multi-service user-vlan 50 tag-transform translate inbound traffic-table index 10 outbound traffic-table index 10
service-port 6 vlan 60 gpon 0/1/1 ont 5 gemport 60 multi-service user-vlan 60 tag-transform translate inbound traffic-table index 10 outbound traffic-table index 10

If you deliver IPTV (VLAN 50), add the service-port to btv / multicast-vlan with IGMP proxy enabled:

btv
 igmp user add 0 service-port 5 no-auth
 multicast-vlan 50
  igmp default uplink-port 0/2/0
  igmp version v2
  igmp match mode disable
  igmp multicast-vlan member service-port-list 5
  igmp mode proxy
  igmp uplink-port 0/2/0
quit

(For redundant dual-OLT designs, Huawei also supports dual-parenting + protect-group ... workmode dual-parenting across active/standby nodes so Type-B GPON ports fail over automatically.)


7. Essential display & Troubleshooting Cheat Sheet

Always finish changes with save, then keep these field verification commands handy:

Task Huawei OLT Command
Check boards, CPU & temperature display board · display cpu 0/1 · display environmental-parameter
Find unconfigured ONTs display ont autofind all
Locate ONT by serial number display ont info by-sn 48575443XXXXXXXX
Check ONT status & optical Rx/Tx display ont info 0 1 1 all · display ont optical-info 0/1/1 5
Check ONT up/down event history display ont event 0/1/1 5
Verify learned MACs on board / ONT port display mac-address board 0/1 · display mac-address ont 0/1/1 5 eth 5
Check GEM port live traffic display gemport traffic 0/1/1 5 gemindex 20
Inspect all service-ports display service-port all
Delete / roll back a command Prefix with undo (e.g., undo service-port 1)

Related Reading

Comments

Leave a Comment

Math verification challenge