The bof>bof-password command is available to modify the factory default BOF password password.
The user must enter the correct BOF password to edit the BOF parameters. If the incorrect password is entered three times consecutively, the system prompts the user, after the third attempt, to reset the BOF password to the factory default.
If the user chooses not to reset the BOF password, the system prompts the user to enter the password again. If the user chooses to reset the password to factory default, the system also resets the flash to factory defaults (removes all files from the flash drive, except the boot image file (cf1:\boot.tim) and TiMOS image file (cf1:\both.tim)) as a security measure to prevent malicious access to the configuration file.
After password reset, the node is rebooted with the factory default settings; the BOF parameters are also set to default values. The user must now setup the box using the same steps that were used during first-time boot up of the factory-shipped box. After the system boots up with this setup, use the factory default password password to edit the BOF parameters, and use the bof>bof-password command to change the password again.
The BOF password can be changed from the default value to any other user-defined value only at the TiMOS level.
Nokia strongly recommends that the user not rename cf1:\boot.tim and cf1:\both.tim if the system needs to retain them during the password recovery procedure.
Nokia strongly recommends that the user retain a backup copy of all the image files, configuration files, and other data.
The following sample logs show the system console prompts that are displayed when the user forgets the password and chooses to reset the password to the factory default setting. The BOF contents before and after the reset are also displayed.
The BOF parameters are set to default values after a password reset.
TiMOS BOOT LOADER
Time from clock is SAT JAN 18 01:41:32 2020 UTC
Switching serial output to sync mode... done
Looking for cf1:/bof.cfg ... OK, reading
Contents of Boot Options File on cf1:
primary-image ftp://*:*@xxx.xxx.xxx.xxx/xxxx/7xxx/both.tim
primary-config cf1:\dxp2537.cfg
#uplinkA Port Settings:
uplinkA-port 1/1/1
uplinkA-autoneg
uplinkA-duplex full
uplinkA-speed 1000
uplinkA-address 192.0.2.37
uplinkA-vlan null
uplinkA-route 239.0.0.0/8 next-hop 192.0.2.1
#uplinkB Port Settings:
uplinkB-port 1/1/1
uplinkB-autoneg
uplinkB-duplex full
uplinkB-speed 1000
uplinkB-address 192.0.2.37
uplinkB-vlan null
uplinkB-route 239.0.0.0/8 next-hop 192.0.2.1
#System Settings:
wait 3
persist off
console-speed 115200
uplink-mode access-uplink
no console-disabled
Hit a key within 3 seconds to change boot parameters...
Enter password to edit the Boot Options File
Or CTRL-D to exit the prompt
Password:
Incorrect password
Password:
Incorrect password
Password:
Incorrect password
Authentication failed, Do you want to reset password?(yes/no)
**********************************************************************
On reset,this node's flash contents will be set to factory defaults.
All files on the flash drives(i.e. cf1:) of this
node will be removed.
If present, files boot.tim and both.tim are not removed
from cf1: drive.
Please ensure that you have a backup of the required
files before you proceed.
**********************************************************************
Type (yes/no) within 10 seconds: yes
********************************************
*** Chassis must not be powered off nor ***
*** cards removed while password reset ***
*** is in progress ***
********************************************
Password reset complete. Restarting...
At this point, the password reset is complete and the node restarts to boot up with factory default settings.
Resetting...OK
Nokia SASDxp 7210 Boot ROM. Copyright 2000-2019 Nokia.
All rights reserved. All use is subject to applicable license agreements.
Build: X-xx.x.Rx-xx on Fri Dec 13 16:39:13 IST 2019 by sasb
Version: 0x7
SASDxp-DC Board
Passed!
Copying code from FLASH to RAM....
Done
Board CPLD Version: 0x0e
Reboot Reason: 0x05
Boot rom version is v7
>>> RAM: Testing DDR Passed!
Board Serial Number is 'NS1917T0023'
Tuning values already saved. Skip saving to flash.
Memory Test Passed!
Jumping to vxrom at 0x61400000 now..................
Searching for boot.tim on local drives:
Attempting to load file cf1:/boot.tim
Version M-xx.x.Rx, Thu Dec 19 15:32:20 IST 2019 by sasb in /home/xx.x/Rx/main
text:(12965024-->39651248) + data:(4504288-->20038580)
Starting at 0x6f000000...
Total Memory: 2GB Chassis Type: 0xa Card Type: 0x4e
TiMOS-xx.x.Rx boot/APRC Nokia SAS-Dxp 6T4F2SFP+ 7210 Copyright (c) 2000-2019 Nokia.
All rights reserved. All use subject to applicable license agreements.
Built on Thu Dec 19 15:32:20 IST 2019 by sasb in /home/xx.0/Rx/main
TiMOS BOOT LOADER
Time from clock is SAT JAN 18 01:43:06 2020 UTC
Switching serial output to sync mode... done
Looking for cf1:/bof.cfg ... not found
Could not find bof.cfg on drive cf1:
Default Settings
----------------
#uplinkA Port Settings:
uplinkA-port 1/1/11
no uplinkA-autoneg
uplinkA-duplex full
uplinkA-speed 10000
uplinkA-address 0
uplinkA-vlan 0
#uplinkB Port Settings:
uplinkB-port 1/1/12
no uplinkB-autoneg
uplinkB-duplex full
uplinkB-speed 10000
uplinkB-address 0
uplinkB-vlan 0
#System Settings:
wait 3
persist off
console-speed 115200
uplink-mode access-uplink
no console-disabled
Hit a key within 1 second to change boot parameters...
Enter password to edit the Boot Options File
Or CTRL-D to exit the prompt
Password:
At this password prompt, you are required to enter the default password password.