Hello everyone!
Today, I want to show you the restore configuration and data on the OLT. I have already described some of the procedures in previous articles:
Upgrade OLT - TFTP server for upgrade OLT (1)
Upgrade OLT – connecting PC and OLT (2)
OLT configuration backup procedure
Because of that, I will show you only the command for restore. Recovery is very important and useful, because we need to use it when we need to quickly return to the previous configuration or to make big changes to the configuration.
With the next command, we can start to restore configuration on the OLT:
TEST(config)#
TEST(config)#load configuration tftp X.X.0.45 TEST.CONF
{ Options<E><active,all> }: all
Command:
load configuration tftp X.X.0.45 TEST.CONF all
The new configuration file will overwrite the old one
Are you sure to load new configuration file? (y/n)[n]:y
Load(backup,duplicate,...) begins, please wait and notice the rate of progress Any operation such as reboot or switchover will cause failure and
unpredictable result
TEST(config)#
The loading starts
PARAMETERS :FrameID: 0, SlotID: 8, Position: -1, Load type: Configuration
file, Load Object: Active control board
TEST(config)#
The loading starts
PARAMETERS :FrameID: 0, SlotID: 9, Position: -1, Load type: Configuration
file, Load Object: Standby control board
TEST(config)#
Note: The configuration file in 0 frame 8 slot will take effect after being
activated
TEST(config)#
The loading is successful
PARAMETERS :FrameID: 0, SlotID: 8, Position: -1, Load type: Configuration
file, Load Object: Active control board
TEST(config)#
Note: The configuration file in 0 frame 9 slot will take effect after being
activated
TEST(config)#
The loading is successful
PARAMETERS :FrameID: 0, SlotID: 9, Position: -1, Load type: Configuration
file, Load Object: Standby control board

Then, the command to restore data on the OLT:
TEST(config)#load data tftp X.X.0.45 TEST all
Rollback function will be disabled after the database is loaded
Please reboot system in time to ensure that the loaded database takes effect
The database loaded separately will be invalid auto-
matically 24 hours later if you don't reboot system
Are you sure to load new database? (y/n)[n]:y
Load(backup,duplicate,...) begins, please wait and notice the rate of progress Any operation such as reboot or switchover will cause failure and
unpredictable result
TEST(config)#
The loading starts
PARAMETERS :FrameID: 0, SlotID: 8, Position: -1, Load type: Host data, Load
Object: Active control board
TEST(config)#
The loading starts
PARAMETERS :FrameID: 0, SlotID: 9, Position: -1, Load type: Host data, Load
Object: Standby control board
TEST(config)#
Note: the new file in 0 frame 8 slot will take effect after system is
restarted

TEST(config)#
The loading is successful
PARAMETERS :FrameID: 0, SlotID: 8, Position: -1, Load type: Host data, Load
Object: Active control board
TEST(config)#
Note: the new file in 0 frame 9 slot will take effect after system is
restarted
TEST(config)#
The loading is successful
PARAMETERS :FrameID: 0, SlotID: 9, Position: -1, Load type: Host data, Load
Object: Standby control board
And the end, we have to reboot OLT. We can do it with the next command:
TEST(config)# active configuration system
System will reboot after this command, continue? (y/n)[n]:y
TEST(config)#
TEST(config)#
Secure Boot L0 area(1) Ver(1.8.2)
@C4-C0-
***** Boot From BIOS area 1 *****
CPU reset type: outer dog reset
CPU reboot count: 7
Current CPU Temperature: 55
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.69T01.IS
tracecode: 0x4D419370
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 3 [ 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 : Jun 25 2019 20:00:00
System is booting from extended BIOS...
Extended BIOS version is 029
Press <D> key to stop auto-boot 0
Update Logic 0... OK.
Starting system application init......successfully!
Starting system configuration data init...successfully!
System is initializing configuration...finished!
Press any key to get started
The process is finished, the OLT is restored.
Thank you!




