Sie sind auf Seite 1von 8

5/3/2018 Huawei GPON configuration | Splynx

Support
Huawei GPON con guration
 2018-03-07 (https://splynx.com/4018/huawei-gpon-con guration/)  Alexander Vishnyakov
(https://splynx.com/author/alexcherry/)  News (https://splynx.com/category/news/)

We got Huawei MA5800-X7 device to help our customers with GPON integration. In this article you
can nd useful commands that help during con guration. Huawei instead of “show” uses “display”
command. Also there is enable mode, similar to Cisco devices. If we need to delete part of
con guration – use “undo some_command” instead of “no some_command”.

Let’s display basic information of the system :


display version
shows version of equipment and OS running on it.

this shows interfaces, for example MEth0, it’s now showing GPON ports.
display interface

The most important commands showing running and startup con gurations.
display saved-configuration
display saved-configuration

get information about con gured IPs and also routing table.
By continuing to use the site, you agree to the use of cookies. more information
display ip interfaces ACCEPT

display ip routing-table

https://splynx.com/4018/huawei-gpon-configuration/ 1/8
5/3/2018 Huawei GPON configuration | Splynx

Let’s set user and con g default route quickly :


ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
ssh user "test" authentication-type password

Before con guring GPON and VLANs we need to install physical cards to chassis slots and initiate
them with commands similar to :

This command is adding a card on board 0, slot 5. And it’s de ning that it’s 16 port GPON card.

Support
In our case we have one H901GPHF(GPON 16 port) and H901MPLA(SFP+ Ethernet) cards.
board add 0/5 H901GPHF

GPON con guration step by step :

1. SET VLANS. ID depends on design, let’s assume that 100 is management, 200 Internet, 300 voice
and 400 is IPTV.
(con g)
vlan 100 smart
vlan 200 smart
vlan 300 smart
vlan 400 smart

2. SET VLANs to UPLINK PORT.


Our UPLINK port is located in board 0, slot 0, SFP port 0. It means “0/8 0”

(con g)

port vlan 100 0/8 0


port vlan 200 0/8 0
port vlan 300 0/8 0
port vlan 400 0/8 0

3. De ning DBA pro les. This de nes upload speed (capability of the service on one ONT).
Here it says that upload for MGNT is maximum 1Mbps, for Internet is from 10Mbps to 200Mbps,
Voice is 4Mbps and TV is up to 5 Mbps.

dba-profile add profile-id 100 profile-name "MGNT" type1 fix 1024


dba-profile add profile-id 102 profile-name "INTERNET" type3 assure 10000 max 200000
dba-profile add profile-id 103 profile-name "VOICE" type1 fix 4096
dba-profile add profile-id 104 profile-name "CUSTOM_TV" type1 fix 5192

4. Tra c tables con guration. Now let’s de ne real speed limitation.


We de ne MGNT to 1 Mbps Up and down, Voice to 4 Mbps, TV to 10 Mbps and Internet to 100/20
Mbps.

traffic table ip index 100 name "MGNT" cir 512 cbs 329680 pir 1024 pbs 329680 color-mode
By continuing to use the site, you agree to the use of cookies. more information ACCEPT
color-blind priority 7 priority-policy local-setting
traffic table ip index 101 name "INTERNET_100_DOWN" cir 10000 cbs 329680 pir 100000 pbs 329680
https://splynx.com/4018/huawei-gpon-configuration/ 2/8
5/3/2018 Huawei GPON configuration | Splynx

priority 0 priority-policy local-Setting


traffic table ip index 102 name "INTERNET_20_UP" cir 4096 cbs 329680 pir 20000 pbs 329680
priority 0 priority-policy local-Setting
traffic table ip index 103 name "VOICE_SMART" cir 2048 cbs 329680 pir 4096 pbs 329680 color-
mode color-blind priority 7 priority-policy local-setting
traffic table ip index 104 name "CUSTOM_TV_COOL" cir 5192 cbs 329680 pir 10240 pbs 329680
color-mode color-blind priority 7 priority-policy local-setting

Support
5. SYNC PROFILES/BUNDLE
(Con g)
ont-lineprofile gpon profile-id 20 profile-name "FTTH-100"
Here we de ned ont-linepro le for FTTH-100 tari bundle, that includes voice, IPTV, internet and
management.

Following con guration lines are put under ont-linepro le con g :

tcont 1 dba-profile-id 100


tcont 2 dba-profile-id 102
tcont 3 dba-profile-id 103
tcont 4 dba-profile-id 104

gem add 1 eth tcont 1


gem add 2 eth tcont 2
gem add 3 eth tcont 3
gem add 4 eth tcont 4

gem mapping 1 1 vlan 100


gem mapping 2 2 vlan 200
gem mapping 3 3 vlan 300
gem mapping 4 4 vlan 400

commit

6. SERVICE PROFILE :

ont-srvprofile gpon profile-id 20 profile-name "FTTH-100"


ont-port pots adaptive eth adaptive
commit

7. ONT CONNECTION

Auto nd can be enabled this way:

By continuing to use the site, you agree to the use of cookies. more information ACCEPT
interface gpon 0/5
port 0 ont-auto-find enable

https://splynx.com/4018/huawei-gpon-configuration/ 3/8
5/3/2018 Huawei GPON configuration | Splynx

SET PROFILES to CUSTOMER :

interface gpon 0/5


ont add 0 1 sn-auth "4857544352E92103" omci ont-lineprofile-id 20 ont-srvprofile-id 20 desc
"CUSTOMER-1"

8. The last are the most di cult commands – it’s de ning service ports for each VLAN for ONT

Support
service-port 1001 vlan 100 gpon 0/5/0 ont 1 gemport 1 multi-service user-vlan 100 tag-transform
translate inbound tra c-table index 10 outbound tra c-table index 10
service-port 1002 vlan 200 gpon 0/5/0 ont 1 gemport 2 multi-service user-vlan 200 tag-transform
translate inbound tra c-table index 102 outbound tra c-table index 101
service-port 1003 vlan 300 gpon 0/5/0 ont 1 gemport 3 multi-service user-vlan 300 tag-transform
translate inbound tra c-table index 103 outbound tra c-table index 103
service-port 1004 vlan 400 gpon 0/5/0 ont 1 gemport 4 multi-service user-vlan 400 tag-transform
translate inbound tra c-table index 104 outbound tra c-table index 104

When everything is con gured, there are few helpful commands for displaying status :

Show all con gured ONT devices


display ont info 0 5 0 all
display ont info summary 0/5
display service-port all

Show auto discovered ONTs


display ont autofind all

Show physical module installed on Huawei OLT chassis


display board 0

Show speci c module installed


display board 0/SlotID
display board 0/5

Show all con guration


display display current-configuration

Show GPON dba pro le


display dba-profile all

Show tra c table that is used for speed limitations


display traffic table ip from-index 0

Show service port


display service-port all

Show ont linepro le


By continuing to use the site, you agree to the use of cookies. more information ACCEPT
display ont-lineprofile gpon all

https://splynx.com/4018/huawei-gpon-configuration/ 4/8
5/3/2018 Huawei GPON configuration | Splynx

Show ont service pro le


display ont-srvprofile gpon all

How to remove ONT from con gured Huawei ONL.


First step is to delete all associated service ports:
undo service-port 1001
undo service-port 2001

Support
undo service-port 3001
undo service-port 4001

Second step is to delete ONT itself :


interface gpon 0/5
ont delete 0 0

 Tweet
(https://twitter.com/intent/tweet?
text=Huawei%20GPON%20con guration&url=https%3A%2F%2Fsplynx.com%2F4018%2Fhuawei-
gpon-con guration%2F&via=IspFramework)

 Share
(https://www.facebook.com/sharer/sharer.php?u=https://splynx.com/4018/huawei-gpon-
con guration/)

 Share
(https://plus.google.com/share?url=https://splynx.com/4018/huawei-gpon-con guration/)

 Share
(http://www.linkedin.com/shareArticle?
mini=true&title=Huawei%20GPON%20con guration&url=https://splynx.com/4018/huawei-gpon-
con guration/&summary=We+got+Huawei+MA5800-
X7+device+to+help+our+customers+with+GPON+integration.+In+this+article+you+can+...)

 Inventory management (https://splynx.com/3955/inventory-management/)

De ning User Roles, Permissions and Access  (https://splynx.com/4061/de ning-user-roles-permissions-and-access/)

By continuing to use the site, you agree to the use of cookies. more information ACCEPT
Search… 

https://splynx.com/4018/huawei-gpon-configuration/ 5/8
5/3/2018 Huawei GPON configuration | Splynx

FOLLOW US

(htt 

ps://  (htt

Support
 ww (htt ps://

(htt w.fa ps:// plus.

ps:// ceb yout goo

twitt ook. ube. gle.c

er.c com com om/

om/I /Isp /c/Is +Isp

spFr Fra pFra Fra

ame me me me

wor wor wor wor

k) k/) k/) k)

LOG IN

Username

Password

LOG IN Remember Me
Lost your password? (https://splynx.com/wp-login.php?action=lostpassword)
Register (https://splynx.com/wp-login.php?action=register)

LIST OF FEATURES

 Administrators (https://splynx.com/category/administrators/)
By continuing to use the site, you agree to the use of cookies. more information ACCEPT

https://splynx.com/4018/huawei-gpon-configuration/ 6/8
5/3/2018 Huawei GPON configuration | Splynx

 Billing (https://splynx.com/category/billing/)

 Features (https://splynx.com/category/features/)

 Hotspots (https://splynx.com/category/hotspots/)

 Network management (https://splynx.com/category/networking/)

Support
 News (https://splynx.com/category/news/)

 Radius server (https://splynx.com/category/radius/)

 System con guration (https://splynx.com/category/other/)

 Top (https://splynx.com/category/top/)

 Uncategorized (https://splynx.com/category/uncategorized/)

POPULAR FEATURES

Minimum requirements (https://splynx.com/151/minimum-requirements/)


(https://s 17 Oct , 2015

plynx co

FOLLOW US

By continuing to use the site, you agree to the use of cookies. more information ACCEPT

https://splynx.com/4018/huawei-gpon-configuration/ 7/8
5/3/2018 Huawei GPON configuration | Splynx

(htt 

ps://  (htt

 ww (htt ps://

Support
(htt w.fa ps:// plus.

ps:// ceb yout goo

twitt ook. ube. gle.c

er.c com com om/

om/I /Isp /c/Is +Isp

spFr Fra pFra Fra

ame me me me

wor wor wor wor

k) k/) k/) k)

Splynx ISP Framework by Splynx s.r.o. Theme by Colorlib (http://colorlib.com/) Powered by WordPress (http://wordpress.org/)

By continuing to use the site, you agree to the use of cookies. more information ACCEPT

https://splynx.com/4018/huawei-gpon-configuration/ 8/8

Das könnte Ihnen auch gefallen