From Release 4.0 onward, you can use the bof>bof-password command 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 should 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 should 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
CPLD Version: 2.1
Time from clock is FRI AUG 19 09:22:46 2016 UTC
USB: USB EHCI 1.00
scanning bus for devices...
1 USB Device(s) found
Number of blocks in device 0 is 0
Number of bytes per block in device 0 is 0
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.xx.xx/xxx/xx/xxx/xx/xxx/both.tim
primary-config cf1:\sasm.cfg
#eth-mgmt Port Settings:
no eth-mgmt-disabled
eth-mgmt-address xx.xxx.xx.xxx/24 active
eth-mgmt-route x.x.x.x/0 next-hop xx.xxx.xx.x
eth-mgmt-autoneg
eth-mgmt-duplex full
eth-mgmt-speed 100
#uplinkA Port Settings:
uplinkA-port 1/1/1
uplinkA-autoneg
uplinkA-duplex full
uplinkA-speed 1000
uplinkA-address 0
uplinkA-vlan 0
#uplinkB Port Settings:
uplinkB-port 1/1/2
uplinkB-autoneg
uplinkB-duplex full
uplinkB-speed 1000
uplinkB-address 0
uplinkB-vlan 0
#System Settings:
wait 3
persist off
console-speed 115200
uplink-mode network
acl-mode IPv6-None
use-expansion-card-type m4-ds1-ces
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,the node's flash contents will be set to factory defaults.
All files on the flash will be removed. If present, files
cf1:/boot.tim and cf1:/both.tim are not removed.
Please ensure that you have a backup of the required
files before you proceed.
*******************************************************************
'yes' or 'no' ?
'yes' or 'no' ? 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 7210 Boot ROM. Copyright 2016 Nokia.
All rights reserved. All use is subject to applicable license agreements.
Running POST tests from ROM
Testing ROM load area...done
Relocating code...Jumping to RAM
Performing second stage RAM test....passed
Board Serial Number is 'NS1023C1436'
Bootlog started for Version 9-V-0.0.I1111
Build V-0.0.I1111 bootrom/mpc 7xxx
Built on Wed Jun 29 21:55:30 IST 2016 by builder in /builder/0.0/panos/main
?Attempting to load from file cf1:/boot.tim
Version L-4.0.beta-private, Sat Aug 20 12:59:26 IST 2016 by abc /abc/ws-40b/panos/
main
text:(3706043-->13139264) + data:(528557-->2068192)
Starting at 0xb000000...
Total Memory: 1GB Chassis Type: sas Card Type: badami_7210
TiMOS-L-4.0.beta-private boot/mpc NOKIA SAS 7210 Copyright (c) 2016 Nokia.
All rights reserved. All use subject to applicable license agreements.
Built on Sat Aug 20 12:59:26 IST 2016 by abc in /abc/ws-40b/panos/main
TiMOS BOOT LOADER
CPLD Version: 2.1
Time from clock is FRI AUG 19 09:24:05 2016 UTC
USB: USB EHCI 1.00
scanning bus for devices...
1 USB Device(s) found
Number of blocks in device 0 is 0
Number of bytes per block in device 0 is 0
Switching serial output to sync mode... done
Looking for cf1:/bof.cfg ... not found
Could not find bof.cfg on any of the local drives.
Default Settings
----------------
#eth-mgmt Port Settings:
eth-mgmt-disabled
#uplinkA Port Settings:
uplinkA-port 1/1/1
uplinkA-autoneg
uplinkA-duplex full
uplinkA-speed 1000
uplinkA-address 0
uplinkA-vlan 0
#uplinkB Port Settings:
uplinkB-port 1/1/2
uplinkB-autoneg
uplinkB-duplex full
uplinkB-speed 1000
uplinkB-address 0
uplinkB-vlan 0
#System Settings:
wait 3
persist off
console-speed 115200
uplink-mode network
acl-mode IPv6-None
use-expansion-card-type m4-ds1-ces
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".