Hello, everyone!
Today I will show you the commands for deleting the configuration, as well as the whole process of deleting the configuration and viewing the start configuration. As an example, we use the OLT MA5800-X15 with two control boards and no service boards.
First, we can check our configuration on the OLT with the next command:
TEST(config)#display current-configuration
{ <cr>|include-default<K>|interface<K>|ont<K>|port<K>|section<K>|service-port<K>||<K> }:
Command:
display current-configuration
[Active: H902MPLA; Standby: H902MPLA]
[Patch Info: SPH102]
[MA5800V100R018: 5600]
#
timezone GMT+ 01:00
time dst start 3 last Sun 02:00:00 end 10 last Sun 02:00:00 adjust 02:00
#
[pre-config]
<pre-config>
board add 0/10 H901GPHF
board add 0/11 H901GPHF
board add 0/12 H901GPHF
board add 0/13 H901GPHF
board add 0/14 H901GPHF
board add 0/15 H901GPHF
board add 0/18 H901PILA
board add 0/19 H901PILA
#
[sysmode]
<sysmode>
switch vdsl mode to tr129
xpon mode switch-to profile-mode
sysmode end
#
[global-config]
<global-config>
sysname TEST
terminal user name buildrun_new_password root *j$1b$K.zy)%aWcS$*v”HJG7#X+P2)kNHdg-9Y$W-Q;nncGHT:3’u2[q-$* 7 0000:00:00:00:00:00 2000:09:13:21:06:28 root 1
first-login-info 0 “—–“
terminal user name buildrun_new_password konzul *i$1b$xas,4wva**$tc*26B3n3@}(xmBf-+”AaOJV(\”%qSoHwO(:Y&#<$* 0 2000:02:03:23:18:29 2000:05:16:19:44:31 root 2
first-login-info 0 “—–“
terminal user name history_password root *j$1b$Sej@;]>c-X$#B<cD(.UDA-3onX_NB[/#t{yJuRFM(51l.G9N$M0$* *j$1b$S\e06zxB]8$CB8<F*`5R+Q}KU5%e”XM_BP’-#\&R>/p’k<$&N$*
terminal user name history_password konzul *i$1b$’6[mBV4KY%$*N`,!-Le’$G@6\=on.f,0*;;R{>Wj2{Mx,VoWV>6$*
traffic table ip index 50 name “management” cir 2048 cbs 67536 pir 2048 pbs
67536 color-mode color-blind priority 7 priority-policy local-setting
traffic table ip index 51 name “voip” cir 256 cbs 10192 pir 256 pbs 10192
color-mode color-blind priority 5 priority-policy local-setting
traffic table ip index 510 name “10mbps” cir 10240 cbs 329680 pir 10240 pbs
329680 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 550 name “50mbps” cir 51200 cbs 1640400 pir 51200 pbs
1640400 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 570 name “70mbps” cir 71680 cbs 2295760 pir 71680 pbs
2295760 color-mode color-blind priority 0 priority-policy local-setting
dba-profile add profile-id 50 profile-name “management” type2 assure 2048
dba-profile add profile-id 51 profile-name “voip” type2 assure 256
dba-profile add profile-id 55 profile-name “0002m” type4 max 2048
dba-profile add profile-id 56 profile-name “0040m” type4 max 40960
dba-profile add profile-id 57 profile-name “0015m” type4 max 15360
dba-profile add profile-id 58 profile-name “0070m” type4 max 71680
xpon anti-rogueont autodetect on
ont-srvprofile gpon profile-id 11 profile-name “HG8012”
ont-port eth 1 catv 1
port vlan eth 1 translation 555 user-vlan 555
commit
ont-srvprofile gpon profile-id 12 profile-name “chtest”
ont-port eth 4 catv 1
port vlan eth 1 translation 555 user-vlan 555
port vlan eth 2 translation 555 user-vlan 555
port vlan eth 3 translation 555 user-vlan 555
port vlan eth 4 translation 555 user-vlan 555
commit
…
As we can see, there is some old configuration on the OLT. Before we start configuring the OLT, the easiest way is to delete the old configuration, not modify the old one. We can use the next command:
TEST(config)#erase flash data
This command will clear the system data that has been loaded or saved
Please remember to backup the system configuration data
Database erase takes effect only after the control board reset
If you do not reset the control board over 2 days, the system will
cancel data erase operation automatically
You can run the “undo erase flash data” command to cancel database erase
Are you sure to continue? (y/n)[n]:y
Command executes successfully, and will take effect after active board
rebooted
TEST(config)#
Command executes successfully, and will take effect after standby board
rebooted
TEST(config)#reboot standby
{ <cr>|hot<K> }:
Command:
reboot standby
Please check whether data has saved, are you sure to reboot standby board?
(y/n)[n]:y
After these commands, device will be reboot:
TEST(config)#
Secure Boot L0 Ver 1.8.0
@C4-C0-
***** Boot From BIOS area 1 *****
CPU reset type: outer dog reset
CPU reboot count: 5
Current CPU Temperature: 45
DDR is initialized ………………………..Hold
DDR init …………………………………PASS
DDR ECC INIT ……………………………..PASS
PLL0 …………………………………1500 Mhz
Press <ctrl+T> to get in rom menu
Board reset type isn’t Power on, Skip Exam Ram
CPU Serdes init……………………………PASS
Manage Ethernet init ………………………PASS
netBIOS version: 7.12T01.IS
tracecode: 0x4D419270
Auto boot linux from norflash ……
boot area: UEFI[1], program[1], data[0]
========= Starting to load Linux OS ==========
Loading kernel from flash [ OK ]
Checking the kernel CRC [ OK ]
select dtb index 1 [ OK ]
Loading initrd from flash [ OK ]
Checking the initrd CRC [ OK ]
Initializing the Linux Atag list [ OK ]
Finding the boot entry point [ OK ]
Setting the Linux Atag tag parameters [ OK ]
PPE Status is OK.
Exit UEFI boot service success
=========== Starting the Linux kernel ============
Select area information : Program Area B ,Data Area A
The last update date of extended BIOS is : Jul 26 2017 10:21:29
System is booting from extended BIOS…
Extended BIOS version is 022
Press <D> key to stop auto-boot 0
Starting system application init……successfully!
Starting system configuration data init…successfully!
Press any key to get started
In the end, we will log in to OLT and will check the configuration again:
>>User name:root
>>User password:
Huawei Integrated Access Software (MA5800).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2017. All rights reserved.
Warning: Using the default user password is not recommended. Please change the password.
MA5800-X15>enable
MA5800-X15#config
MA5800-X15(config)#display current-configuration
{ <cr>|include-default<K>|interface<K>|ont<K>|port<K>|section<K>|service-port<K>||<K> }:
Command:
display current-configuration
[Active: H902MPLA; Standby: H902MPLA]
[Patch Info: SPH102]
[MA5800V100R018: 5600]
#
[pre-config]
<pre-config>
board add 0/18 H901PILA
board add 0/19 H901PILA
#
[sysmode]
<sysmode>
switch vdsl mode to tr129
xpon mode switch-to profile-mode
sysmode end
#
[global-config]
<global-config>
terminal user name buildrun_new_password root *j$1b$d”7S/O{f^!$aG”K,hY0,@w%UoQv8;”<*~A&D%&a;4rHc]MxeEh8$* 7 0000:00:00:00:00:00 0000:00:00:00:00:00 root 1
first-login-info 0 “—–“
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
#
[cable-init-template]
<cable-init-template>
interface cable init-template
cable capability upstream channel-num 16 downstream channel-num 32 eqam-channel channel-num 64
cable capability ofdma-upstream channel-num 2 ofdm-downstream channel-num 6
#
[device-config]
<device-config>
board add standby
#
[mpu]
<mpu-0/8>
interface mpu 0/8
auto-neg 0 disable
speed 0 10000
auto-neg 1 disable
speed 1 10000
auto-neg 2 disable
speed 2 10000
auto-neg 3 disable
speed 3 10000
#
<mpu-0/9>
interface mpu 0/9
auto-neg 0 disable
speed 0 10000
auto-neg 1 disable
speed 1 10000
auto-neg 2 disable
speed 2 10000
auto-neg 3 disable
speed 3 10000
#
[emu-config]
<emu-config>
emu add 0 fan 0 1 “H901FMLA”
#
[config]
<config>
stp enable
#
[ip-tunnel-profile]
<ip-tunnel-profile>
ip tunnel priority-profile gre index 0 name “default-profile-0” inbound
dscp-outer dscp-inner
#
ip tunnel priority-profile vxlan index 0 name “default-profile-0” inbound
dscp-outer cos-inner
#
[aaa]
<aaa>
aaa
#
authentication-scheme “default”
#
authorization-scheme “default”
#
accounting-scheme “default”
#
domain “default”
#
[Interface]
<Vlanif1>
interface Vlanif1
#
<MEth0>
interface MEth0
ip address 192.168.0.50 255.255.255.0
#
<NULL0>
interface NULL0
#
[snmp]
<snmp>
snmp-agent local-engineid 800007DB03506F77E85E2C
#
[post-system]
<post-system>
ssh user “root” authentication-type password
#
[eqam]
<eqam>
cable eqam input-redundancy trigger no-bitrate
#
return
This is the basic configuration, and we can start to configure this device.
Leave a comment