Huawei OLT – Basic Configuration:
Huawei OLT – Basic Configuration:
switch adsl mode to rfc2662 vdsl mode to tr129
xpon mode switch-to profile-mode
voice-spec set vag-num 8
voice-spec set sip-account-num 2048
protocol support h248
system ex-mode backup
router mode basic
#
[global-config]
<global-config>
terminal user name buildrun_new_password DT admin 2 “Data_O&M”
dba-profile quick-modify profile-id 4 type4 max 1024000
dba-profile add profile-id 10 profile-name “Internet” type4 max 1024000
dba-profile add profile-id 11 profile-name “Internet-DBA” type4 max 1024000
ont-srvprofile gpon profile-id 2 profile-name “Internet-VLAN-20”
ont-port pots adaptive eth adaptive catv adaptive
port vlan eth 1 translation 20 user-vlan 20
port vlan eth 2 translation 20 user-vlan 20
port vlan eth 3 translation 20 user-vlan 20
port vlan eth 4 translation 20 user-vlan 20
commit
ont-lineprofile gpon profile-id 0 profile-name “line-profile_default_0”
tcont 0 dba-profile-id 2
tcont 1 dba-profile-id 0
commit
quit
ont-lineprofile gpon profile-id 2 profile-name “Internet-VLAN-20”
tcont 4 dba-profile-id 11
gem add 2 eth tcont 4
gem mapping 2 0 vlan 20
commit
quit
#
[device-config]
<device-config>
board add 0/0 H805GPFD
board add 0/1 H805GPFD
board add 0/4 H801MPWD
board add standby sub0 CPCB
#
[public-config]
<public-config>
timezone GMT+ 01:00
time dst start 3 last Sun 02:00:00 end 10 last Sun 03:00:00 adjust 01:00
snmp-agent local-engineid 800007DB032C9D1E4B41F8B0
snmp-agent community read $>:Ng9ux6R/h.’B41bbY*7″*ZIc=jL)i&r/^C|$!yCPk>D]\0$
snmp-agent community write $A*#pWG,0!;(y5,#0u/`T&=0T!4.!:.+*8)GLJ/CBHsq)6Z%s$
snmp-agent sys-info location “Prizren, Kosove”
snmp-agent sys-info version v2c
snmp-agent target-host trap-hostname U2000SERVER address 10.11.104.20 udp-port 162 trap-paramsname NMS
snmp-agent target-host trap-paramsname NMS v2C securityname $7Rhe~%F}r.
s3c4G2-752,Fr0$<xuBvm8G=k=q-C;c>u2I\j[$
snmp-agent trap enable standard
#
[vlan-config]
<vlan-config>
vlan 10 smart
vlan 20 smart
vlan desc 10 description “OLT-Management-VLAN”
vlan desc 20 description “INTERNET_for_ONT”
port vlan 10 0/2 0
port vlan 20 0/2 0
#
[mcu]
<mcu-0/2>
interface mcu 0/2
speed 0 1000
speed 1 1000
speed 2 1000
speed 3 1000
#
[gpon]
<gpon-0/0>
interface gpon 0/0
port 0 ont-auto-find enable
port 1 ont-auto-find enable
port 2 ont-auto-find enable
port 3 ont-auto-find enable
port 4 ont-auto-find enable
port 5 ont-auto-find enable
port 6 ont-auto-find enable
port 7 ont-auto-find enable
port 8 ont-auto-find enable
port 9 ont-auto-find enable
port 10 ont-auto-find enable
port 11 ont-auto-find enable
port 12 ont-auto-find enable
port 13 ont-auto-find enable
port 14 ont-auto-find enable
port 15 ont-auto-find enable
ont add 0 0 sn-auth “485754438A131940” omci ont-lineprofile-id 2
ont-srvprofile-id 2 desc “ONT_NO_DESCRIPTION”
ont add 0 1 sn-auth “485754432B9E9D66” omci ont-lineprofile-id 2
ont-srvprofile-id 2 desc “ONT_NO_DESCRIPTION”
ont port native-vlan 0 0 eth 1 vlan 20 priority 0
ont port native-vlan 0 0 eth 2 vlan 20 priority 0
ont port native-vlan 0 0 eth 3 vlan 20 priority 0
ont port native-vlan 0 0 eth 4 vlan 20 priority 0
ont port native-vlan 0 1 eth 1 vlan 20 priority 0
ont port native-vlan 0 1 eth 2 vlan 20 priority 0
ont port native-vlan 0 1 eth 3 vlan 20 priority 0
ont port native-vlan 0 1 eth 4 vlan 20 priority 0
#
<gpon-0/1>
interface gpon 0/1
port 0 ont-auto-find enable
port 1 ont-auto-find enable
port 2 ont-auto-find enable
port 3 ont-auto-find enable
port 4 ont-auto-find enable
port 5 ont-auto-find enable
port 6 ont-auto-find enable
port 7 ont-auto-find enable
port 8 ont-auto-find enable
port 9 ont-auto-find enable
port 10 ont-auto-find enable
port 11 ont-auto-find enable
port 12 ont-auto-find enable
port 13 ont-auto-find enable
port 14 ont-auto-find enable
port 15 ont-auto-find enable
#
[platform-config]
<platform-config>
autosave interval on
autosave time 04:00:00
#
[port-config]
<port-config>
port desc 0/0/0 description “PON -1- Ratkoc”
port desc 0/2/0 description “UP-LINK”
#
[emu-config]
<emu-config>
emu add 0 fan 0 1 “H831FCBB”
emu add 1 h801pmu 0 0 “H801PMUB”
#
[bbs-config]
<bbs-config>
service-port 0 vlan 20 gpon 0/0/0 ont 0 gemport 2 multi-service user-vlan 20
tag-transform translate
service-port 10 vlan 20 gpon 0/0/0 ont 1 gemport 2 multi-service user-vlan 20 tag-transform translate
service-port desc 10 description “Test”
#
[config]
<config>
mpls label start 8192
#
[prevlanif]
<prevlanif>
interface vlanif10
interface vlanif20
#
[vlanif]
<vlanif10>
interface vlanif10
description “MANAGMENT”
ip address 172.40.55.2 255.255.255.0
#
<vlanif20>
interface vlanif20
description “INTERNET”
#
[meth]
<meth0>
interface meth0
ip address 10.11.104.2 255.255.255.0
#
[null]
<null0>
interface null0
#
[aaa]
<aaa>
aaa
authentication-scheme “default”
#
authorization-scheme “default”
#
accounting-scheme “default”
#
domain “default”
#
[post-system]
<post-system>
ip route-static 0.0.0.0 0.0.0.0 172.40.55.254
undo ssh server compatible_ssh1x
ssh user root authentication-type password
ssh user mentor authentication-type password
#