Vous êtes sur la page 1sur 84

Superfast Copper Solution

FTTBC+HGW (GPON Networking,


ONU Providing the VoIP Service)
Configuration Guide

Issue 01
Date 2017-10-31

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2017. All rights reserved.

Trademarks and Permissions

Notice

Huawei Technologies Co., Ltd.


NOTICE
NOTE


NOTE
NOTE
OLT
Command Reference

huawei(config)#diagnose
huawei(diagnose)%%display xpon mode
-------------------------------------------
Current config mode: Profile-mode
-------------------------------------------










NOTE

huawei(config)#dba-profile add profile-name fttb_dba_mngt type1 fix 1024


huawei(config)#dba-profile add profile-name fttb_dba_voip type1 fix 4096
huawei(config)#dba-profile add profile-name fttb_dba_hsi type4 max 524288
huawei(config)#dba-profile add profile-name fttb_dba_vod type3 assure 8192
max 16384
huawei(config)#dba-profile add profile-name fttb_dba_iptv type3 assure 8192
max 16384

huawei(config)#ont-lineprofile gpon profile-id 10 profile-name fttb(c)

NOTE

huawei(config-gpon-lineprofile-10)#tcont 4 dba-profile-name fttb_dba_mngt


huawei(config-gpon-lineprofile-10)#tcont 5 dba-profile-name fttb_dba_voip
huawei(config-gpon-lineprofile-10)#tcont 6 dba-profile-name fttb_dba_hsi
huawei(config-gpon-lineprofile-10)#tcont 7 dba-profile-name fttb_dba_vod
huawei(config-gpon-lineprofile-10)#tcont 8 dba-profile-name fttb_dba_iptv

huawei(config-gpon-lineprofile-10)#gem add 11 eth tcont 4 //Create


GEM port 11 for T-CONT 4. Use the same method to create other GEM ports.
huawei(config-gpon-lineprofile-10)#gem add 12 eth tcont 5
huawei(config-gpon-lineprofile-10)#gem add 13 eth tcont 6
huawei(config-gpon-lineprofile-10)#gem add 14 eth tcont 6 //Create
two GEM ports for the Internet access service. The reason is as follows:
Each GEM port maps up to 8 ONU-side service flows, and a total of 16
Internet access service flows are configured on the ONU in the following
section.
huawei(config-gpon-lineprofile-10)#gem add 15 eth tcont 7
huawei(config-gpon-lineprofile-10)#gem add 16 eth tcont 8

huawei(config-gpon-lineprofile-10)#gem mapping 11 0 vlan 8


huawei(config-gpon-lineprofile-10)#gem mapping 12 0 vlan 200
huawei(config-gpon-lineprofile-10)#gem mapping 13 0 vlan 1001
......
huawei(config-gpon-lineprofile-10)#gem mapping 13 7 vlan 1008
huawei(config-gpon-lineprofile-10)#gem mapping 14 0 vlan 1009
......
huawei(config-gpon-lineprofile-10)#gem mapping 14 7 vlan 1016
huawei(config-gpon-lineprofile-10)#gem mapping 15 0 vlan 300
huawei(config-gpon-lineprofile-10)#gem mapping 16 0 vlan 1000

huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit

huawei(config)#interface gpon 0/2


huawei(config-if-gpon-0/2)#ont add 1 ontid 1 sn-auth 32303131B39FD641
snmp ont-lineprofile-name fttb(c)

huawei(config)#interface gpon 0/2


huawei(config-if-gpon-0/2)#port 1 ont-auto-find enable
huawei(config-if-gpon-0/2)#display ont autofind 1
huawei(config-if-gpon-0/2)#ont confirm 1 ontid 1 sn-auth 32303131B39FD641
snmp ont-lineprofile-name fttb(c)

huawei(config-if-gpon-0/2)#display ont info 1 1


---------------------------------------------------------------------
F/S/P : 0/2/1
ONT-ID : 1
Control flag : active //The ONU is activated.
Run state : online //The ONU is online.
Config state : normal //The ONU configurations are recovered
normally.
...//The rest of the response information is not provided here.
huawei(config-if-gpon-0/2)#quit

huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/19 0
huawei(config)#vlan priority 8 6
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)#ont ipconfig 1 1 static ip-address 192.168.50.2 mask
255.255.255.0 gateway
192.168.50.254 vlan 8
huawei(config-if-gpon-0/2)#quit

huawei(config)#service-port 1 vlan 8 gpon 0/2/1 ont 1 gemport 11 multi-service


user-vlan 8 rx-cttr 6 tx-cttr 6

192.168.50.2
NOTE

huawei(config)#vlan 100 smart


huawei(config)#vlan attrib 100 stacking
huawei(config)#port vlan 100 0/19 0
huawei(config)#display traffic table ip from-index 0

huawei(config)#service-port vlan 100 gpon 0/2/1 ont 1 gemport 13 multi-


service user-vlan 1001 tag-transform translate-and-add rx-cttr 6 tx-cttr
6

huawei(config)#vlan 200 smart


huawei(config)#port vlan 200 0/19 0

priority-policy

huawei(config)#traffic table ip index 9 cir off priority 5 priority-


policy local-setting

huawei(config)#service-port vlan 200 gpon 0/2/1 ont 1 gemport 12 multi-


service user-vlan 200 rx-cttr 9 tx-cttr 9

huawei(config)#vlan 300 smart


huawei(config)#port vlan 300 0/19 0
priority-policy

huawei(config)#traffic table ip index 10 cir off priority 4 priority-


policy local-Setting

huawei(config)#service-port vlan 300 gpon 0/2/1 ont 1 gemport 15 multi-


service user-vlan 300 rx-cttr 10 tx-cttr 10

huawei(config)#vlan 1000 smart


huawei(config)#port vlan 1000 0/19 0

huawei(config)#service-port vlan 1000 gpon 0/2/1 ont 1 gemport 16 multi-


service user-vlan 1000 rx-cttr 10 tx-cttr 10

huawei(config)#btv
huawei(config-btv)#igmp cascade-port 0/2/1 ontid 1 gemport-index 16

huawei(config)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp version v3

huawei(config-mvlan1000)#igmp mode proxy


Are you sure to change IGMP mode?(y/n)[n]:y

huawei(config-mvlan1000)#igmp uplink-port 0/19/0


huawei(config-mvlan1000)#igmp program add batch ip 224.1.1.10 to-ip
224.1.1.100 sourceip 10.10.10.10

huawei(config)#traffic table ip index 8 cir 4096 priority 0 priority-policy local-


setting
huawei(config)#vlan 1001-1016 smart
huawei(config)#port vlan 1001-1016 0/0 1

//Create service port 101, bind port 0/3/1 to it, set the user VLAN to
untagged, and bind traffic profile 8 to the user VLAN./
huawei(config)#service-port 101 vlan 1001 eth 0/3/1 multi-service user-vlan
untagged rx-cttr 8 tx-cttr 8

//Create service port 101, bind port 0/3/1 to it, set the user VLAN ID to
10, and bind traffic profile 8 to the user VLAN./
huawei(config)#service-port 101 vlan 1001 eth 0/3/1 multi-service user-vlan
10 rx-cttr 8 tx-cttr 8

huawei(config)#diagnose
huawei(diagnose)%%display xdsl mode
-------------------------------------------
ADSL Current mode : rfc2662
VDSL Current mode : tr129
--------------------------------------------
huawei(config)#traffic table ip index 8 cir 4096 priority 0 priority-policy local-
setting

huawei(config)#vlan 1001-1016 smart


huawei(config)#port vlan 1001-1016 0/0 1

//Create service port 101, bind port 0/2/0 to it, set VPI/VCI to 0/35, and
bind traffic profile 8 to the user VLAN./
huawei(config)#service-port 101 vlan 1001 adsl 0/2/0 vpi 0 vci 35 multi-service
user-vlan untagged rx-cttr 8 tx-cttr 8
huawei(config)#interface adsl 0/2
huawei(config-if-adsl-0/2)#deactivate 0
huawei(config-if-adsl-0/2)#alarm-config 0 1
huawei(config-if-adsl-0/2)#activate 0 profile-index 1024

huawei(config)#diagnose
huawei(diagnose)%%display xdsl mode
-------------------------------------------
ADSL Current mode : rfc2662
VDSL Current mode : tr129
--------------------------------------------
huawei(config)#traffic table ip index 8 cir 4096 priority 0 priority-policy local-
setting

huawei(config)#vlan 1001-1016 smart


huawei(config)#port vlan 1001-1016 0/0 1

huawei(config)#service-port 101 vlan 1001 vdsl mode ptm 0/1/0 multi-service user-
vlan untagged rx-cttr 8 tx-cttr 8

huawei(config)#vdsl line-profile add


{ <cr>|profile-index<U><2,770> }:6
Command:
vdsl line-profile add 6
Start adding profile
Press 'Q' to quit the current configuration and new configuration will be
neglected
> Do you want to name the profile? (y/n) [n]:
> Transmission mode:
> 0: Custom
> 1: All (G.992.1~5,T1.413,G.993.2)
> 2: Full rate (G.992.1/3/5,T1.413,G.993.2)
> 3: G.DMT (G.992.1/3/5,G.993.2)
> 4: G.HS (G.992.1~5,G.993.2)
> 5: ADSL (G.992.1~5,T1.413)
> 6: VDSL (G.993.2)
> Please select (0~6) [1]:
> Bit swap downstream 1-disable 2-enable (1~2) [2]:
> Bit swap upstream 1-disable 2-enable (1~2) [2]:
> Please select the form of transmit rate adaptation downstream:
> 1-fixed, 2-adaptAtStartup, 3-adaptAtRuntime, 4-adaptAtRuntimewithsos (1~4) [
2]:
> Please select the form of transmit rate adaptation upstream:
> 1-fixed, 2-adaptAtStartup, 3-adaptAtRuntime, 4-adaptAtRuntimewithsos (1~4) [
2]:
> Will you set SNR margin parameters? (y/n) [n]:y
> Target SNR margin downstream (0~310 0.1dB) [60]:80 //Note that the
parameter value is expressed in 0.1 dB.
> Minimum SNR margin downstream (0~80 0.1dB) [0]:
> Maximum SNR margin downstream (80~310 0.1dB) [300]:
> Target SNR margin upstream (0~310 0.1dB) [60]:80 //Note that the
parameter value is expressed in 0.1 dB.
> Minimum SNR margin upstream (0~80 0.1dB) [0]:
> Maximum SNR margin upstream (80~310 0.1dB) [300]:
> Will you set DPBO parameters? (y/n) [n]:
> Will you set UPBO parameters? (y/n) [n]:
> Will you set power management parameters? (y/n) [n]:
> Will you set RFI notch configuration parameter? (y/n) [n]:
> Will you set ADSL tone blackout configuration parameter? (y/n) [n]:
> Will you set VDSL tone blackout configuration parameter? (y/n) [n]:
> Will you set mode-specific parameters? (y/n) [n]:y
> Current configured modes:
> 1-defmode
> Please select 1-Add 2-Modify 3-Save and quit [3]:2
> 1-defmode
> Please select [1]:
> G.993.2 profile:
> 1-Profile8a 2-Profile8b 3-Profile8c 4-Profile8d
> 5-Profile12a 6-Profile12b 7-Profile17a 8-Profile30a
> Please select (1~8) [5]:7
> VDSL2 PSD class mask:
> 1-AnnexA998-D-32 2-AnnexA998-D-64
> 3-AnnexBHPE17-M1-NUS0(B7-7) 4-AnnexB997E17-M2x-A(B7-9)
> 5-AnnexB998E17-M2x-NUS0(B8-8) 6-AnnexB998E17-M2x-NUS0-M(B8-9)
> 7-AnnexB998ADE17-M2x-NUS0-M(B8-10) 8-AnnexB998ADE17-M2x-B(B8-12)
> 9-AnnexB998ADE17-M2x-A(B8-11) 10-AnnexA998-D-48
> 11-AnnexA998-D-128 12-AnnexB998ADE17-M2x-M(B8-17)
> Please select (1~12) [8]:9
> VDSL2 link use of U0 1-unused, 2-used (1~2) [1]:2 //Enable US0.
> Maximum nominal aggregate transmit power downstream
> (-255~145 0.1dBm) [145]:
> Maximum nominal aggregate transmit power upstream
> (-255~145 0.1dBm) [145]:
> Will you set PSD mask value downstream parameter? (y/n) [n]:
> Will you set PSD mask value upstream parameter? (y/n) [n]:
> Will you set Upstream PSD mask selection parameter? (y/n) [n]:
> Will you set transmitter referred virtual noise parameters? (y/n) [n]:
> Current configured modes:
> 1-defmode
> Please select 1-Add 2-Modify 3-Save and quit [3]:
> Will you set network timing reference? (y/n) [n]:
> Will you set INM parameter? (y/n) [n]:
> Will you set SOS downstream parameter? (y/n) [n]:
> Will you set SOS upstream parameter? (y/n) [n]:
> Will you set the G.998.4 retransmission function? (y/n) [n]:
> Will you set force framer setting for inp? (y/n) [n]:
Add profile 6 successfully

huawei(config)#vdsl channel-profile add


{ <cr>|profile-index<U><2,770> }:6

Command:
vdsl channel-profile add 6
Start adding profile
Press 'Q' to quit the current configuration and new configuration will be
neglected
> Do you want to name the profile? (y/n) [n]:
> Data path mode 1-ATM, 2-PTM, 3-Both (1~3) [3]:
> Will you set the minimum impulse noise protection? (y/n) [n]:y
> Minimum impulse noise protection downstream:
> 1-noProtection 2-halfSymbol 3-singleSymbol 4-twoSymbols
> 5-threeSymbols 6-fourSymbols 7-fiveSymbols 8-sixSymbols
> 9-sevenSymbols 10-eightSymbols 11-nineSymbols 12-tenSymbols
> 13-elevenSymbols 14-twelveSymbols 15-thirteenSymbols 16-fourteenSymbols
> 17-fifteenSymbols 18-sixteenSymbols
> Please select (1~18) [1]:4
> Minimum impulse noise protection upstream:
> 1-noProtection 2-halfSymbol 3-singleSymbol 4-twoSymbols
> 5-threeSymbols 6-fourSymbols 7-fiveSymbols 8-sixSymbols
> 9-sevenSymbols 10-eightSymbols 11-nineSymbols 12-tenSymbols
> 13-elevenSymbols 14-twelveSymbols 15-thirteenSymbols 16-fourteenSymbols
> 17-fifteenSymbols 18-sixteenSymbols
> Please select (1~18) [1]:4
> Will you set interleaving delay parameters? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]:y
> Minimum transmit rate downstream (32~200000 Kbps) [32]:
> Minimum reserved transmit rate downstream (32~200000 Kbps) [32]:
> Maximum transmit rate downstream (32~200000 Kbps) [200000]:50000
> Minimum transmit rate upstream (32~200000 Kbps) [32]:
> Minimum reserved transmit rate upstream (32~200000 Kbps) [32]:
> Maximum transmit rate upstream (32~200000 Kbps) [200000]:15000
> Will you set rate thresholds? (y/n) [n]:
> Will you set PHY-R function? (y/n) [n]:
> Will you set erasure decoding? (y/n) [n]:
> Will you set SOS bit rate? (y/n) [n]:
> Will you set the G.998.4 retransmission function? (y/n) [n]:
> Will you set channel initialization policy selection? (y/n) [n]:
Add profile 6 successfully

huawei(config)#vdsl line-template add


{ <cr>|template-index<U><2,770> }:6

Command:
vdsl line-template add 6
Start adding template
Press 'Q' to quit the current configuration and new configuration will be
neglected
> Do you want to name the template? (y/n) [n]:y
> Please input template name:VDSL2-PORT1
> Please set the line-profile index (1~770) [1]:6
> Will you set channel configuration parameters? (y/n) [n]:y
> Please set the channel number (1~2) [1]:1 //Configurations are
required only for channel 1.
> Channel1 configuration parameters:
> Please set the channel-profile index (1~770) [1]:6
Add template 6 successfully
huawei(config)#interface vdsl 0/1
huawei(config-if-vdsl-0/1)#deactivate 0
huawei(config-if-vdsl-0/1)#alarm-config 0 1
huawei(config-if-vdsl-0/1)#activate 0 template-index 6
huawei(config)#xdsl vectoring bandplan-type 998ade us0-type type-a

huawei(config)#xdsl vectoring legacy-cpe activate-policy no-limit

huawei(config)#xdsl frequent-retrain-control 0/1/0 control-policy no-


limit

huawei(config)#xdsl vectoring enable

huawei(config)#save
huawei(config)#traffic table ip index 8 cir 4096 priority 0 priority-policy local-
setting

huawei(config)#vlan 1001-1016 smart


huawei(config)#port vlan 1001-1016 0/0 1
huawei(config)#service-port 101 vlan 1001 vdsl mode ptm 0/1/0 multi-service user-
vlan
untagged rx-cttr 8 tx-cttr 8

huawei(config)#vdsl line-profile quickadd 3 snr 60 0 300 60 0 300 mode-specific 1


vdsl-parameter 9 35 u0-used transmit-power 145 145 g.998.4-rtx-mode 1 1
huawei(config)#vdsl channel-profile quickadd 3 path-mode ptm retransmission phyr-
ds enable phyr-us enab inp 4 2 rate 32 500000 32 100000
huawei(config)#vdsl line-template quickadd 3 line 3 channel1 3 100 100

huawei(config)#xdsl g.993.2profile fallback-35b 0x40

huawei(config)#interface vdsl 0/1


huawei(config-if-vdsl-0/1)#deactivate 0
huawei(config-if-vdsl-0/1)#activate 0 template-index 3
huawei(config-if-vdsl-0/1)#alarm-config 0 1
huawei(config-if-vdsl-0/1)#quit

huawei(config)#xdsl vectoring bandplan-type 998ade us0-type type-a


huawei(config)#xdsl frequent-retrain-control 0/1/0 control-policy no-limit
huawei(config)#xdsl vectoring enable
CAUTION
huawei(config)#vlan 200 smart

huawei(config)#port vlan 200 0/0 1

huawei(config)#interface vlanif 200


huawei(config-if-vlanif200)#ip address 10.10.10.10 24
huawei(config-if-vlanif200)#quit

huawei(config)#voip
huawei(config-voip)#ip address media 10.10.10.10 10.10.10.1
huawei(config-voip)#ip address signaling 10.10.10.10
huawei(config-voip)#quit

NOTE

huawei(config)#ip route-static 200.200.200.0 24 10.10.10.1


huawei(config)#interface h248 0
Are you sure to add MG interface?(y/n)[n]:y

huawei(config-if-h248-0)#if-h248 attribute mgip 10.10.10.10 mgport


2944 code text transfer udp primary-mgc-ip1 200.200.200.200 primary-mgc-port
2944 mg-media-ip1 10.10.10.10 start-negotiate-version 1

huawei(config-if-h248-0)#reset coldstart
Are you sure to reset MG interface?(y/n)[n]:y
huawei(config-if-h248-0)#quit

NOTE

huawei(config)#esl user
huawei(config-esl-user)#mgpstnuser batadd 0/3/0 0/3/15 0 terminalid 0 telno
83110001

huawei(config-esl-user)#mgpstnuser modify 0/3/0 priority cat2


huawei(config-esl-user)#quit

huawei(config)#pstnport
huawei(config-pstnport)#pstnport attribute batset 0/3/0 0/3/15 reverse-pole-pulse
enable
huawei(config-pstnport)#quit
huawei(config)#save

CAUTION
huawei(config)#vlan 200 smart
huawei(config)#port vlan 200 0/0 1

huawei(config)#interface vlanif 200


huawei(config-if-vlanif200)#ip address 10.10.10.10 24
huawei(config-if-vlanif200)#quit

huawei(config)#voip
huawei(config-voip)#ip address media 10.10.10.10 10.10.10.1
huawei(config-voip)#ip address signaling 10.10.10.10
huawei(config-voip)#quit

NOTE

huawei(config)#ip route-static 200.200.200.0 24 10.10.10.1

huawei(config)#interface sip 0
Are you sure to add the SIP interface?(y/n)[n]:y

huawei(config-if-sip-0)#if-sip attribute basic media-ip 10.10.10.10 signal-ip


10.10.10.10 signal-port 5060 transfer udp primary-proxy-ip1 200.200.200.200
primary-proxy-port 5060 home-domain huawei sipprofile-index 1

huawei(config-if-sip-0)#reset
Are you sure to reset the SIP interface?(y/n)[n]:y
huawei(config-if-sip-0)#quit
NOTE

huawei(config)#esl user
huawei(config-esl-user)#sippstnuser batadd 0/3/0 0/3/15 0 telno 83110001

huawei(config-esl-user)#sippstnuser attribute set 0/3/0 priority cat2


huawei(config-esl-user)#quit

huawei(config)#pstnport
huawei(config-pstnport)#pstnport attribute batset 0/3/0 0/3/15 reverse-pole-pulse
enable
huawei(config-pstnport)#quit

huawei(config)#save
huawei(config)#vlan 300 smart
huawei(config)#port vlan 300 0/0 1
priority-policy

huawei(config)#traffic table ip index 10 cir off priority 4 priority-policy


local-setting

huawei(config)#service-port 301 vlan 300 eth 0/3/1 multi-service user-


vlan 1 rx-cttr 10 tx-cttr 10

huawei(config)#service-port 301 vlan 300 adsl vpi 0 vci 35 0/2/0 multi-


service user-vlan untagged rx-cttr 10 tx-cttr 10

huawei(config)#service-port 301 vlan 300 vdsl mode ptm 0/1/0 multi-


service user-vlan untagged rx-cttr 10 tx-cttr 10

huawei(config)#service-port 301 vlan 300 g.fast 0/1/0 multi-service user-


vlan
untagged rx-cttr 10 tx-cttr 10

huawei(config)#vlan 1000 smart


huawei(config)#port vlan 1000 0/0 1

huawei(config)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp version v3

huawei(config-mvlan1000)#igmp mode proxy


Are you sure to change IGMP mode?(y/n)[n]:y

huawei(config-mvlan1000)#igmp uplink-port 0/0/1


huawei(config-mvlan1000)#igmp program add batch ip 224.1.1.10 to-ip
224.1.1.100 sourceip 10.10.10.10
huawei(config-mvlan1000)#quit

huawei(config)#service-port 401 vlan 1000 eth 0/3/1 multi-service user-


vlan 43 rx-cttr 10 tx-cttr 10

huawei(config)#service-port 401 vlan 1000 adsl vpi 0 vci 35 0/2/0 multi-


service user-vlan untagged rx-cttr 10 tx-cttr 10

huawei(config)#service-port 401 vlan 1000 vdsl mode ptm 0/1/0 multi-


service user-vlan 43 rx-cttr 10 tx-cttr 10

huawei(config)#service-port 401 vlan 1000 g.fast 0/1/0 multi-service


user-vlan
43 rx-cttr 10 tx-cttr 10

huawei(config-mvlan1000)#btv
huawei(config-btv)#igmp user add service-port 401 no-auth
huawei(config-btv)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp multicast-vlan member service-port 401
huawei(config-mvlan1000)#quit
NOTE



huawei(config)#link-aggregation 0/19 0-1 ingress workmode lacp-static

huawei(config)#queue-scheduler strict-priority
huawei(config)#cos-queue-map cos0 0 cos4 4 cos5 5 cos6 6


serviceport-id



NOTE


huawei(config)#test
huawei(config-test)#pots emulational-call caller-port 0/3/0 callee-port
0/3/15 callee-telno 83110016



huawei(config)#btv
huawei(config-btv)#igmp static-join service-port 401 ip 224.1.1.10 vlan
1000

huawei(config-btv)#display igmp user service-port 401

huawei(config-btv)#display multicast flow-statistic ip 224.1.1.10 vlan


1000

Vous aimerez peut-être aussi