To install or upgrade the 7701 CPAA Hardware Revision 2 OS software using a CLI

WARNING 

WARNING

Equipment Damage

Do not add, modify, or delete the content of the last stable version of the boot files. They must be preserved in case they are required as a secondary image.

Before you begin

The following procedure describes Nokia’s recommendations for using a CLI to install or upgrade the software on a 7701 CPAA. Variations on this procedure are possible, depending on your system and requirements.

Place the installation or upgrade files in a location that is accessible using FTP or SCP.

Do not copy the BOOTROM.SYS file when upgrading unless it is required. See Important information.

Steps
 

Back up the existing configuration files for the CPAA that you are planning to upgrade. Ensure that the following files are backed up:

  • bof.cfg

  • CPAA configuration file

See “To create a 7701 CPAA backup policy” in the NSP NFM-P Control Plane Assurance Manager User Guide.


Ensure that the COM1 serial port is connected to a terminal server, then open a Telnet session on that connection.


If you are performing an upgrade, proceed to Step 4.

If you are performing an initial installation, you must change the management port IP address and assign a static route. Use the following CLI commands, and insert the IP address, mask, and file names required for your network:

A:CPAA_name# bof↵
A:CPAA_name>bof# no static-route IP_address/mask next-hop IP_address
A:CPAA_name>bof# address management_port_IP_address/mask active↵
A:CPAA_name>bof# static-route IP_address/mask next-hop gateway_IP_address
A:CPAA_name>bof# save↵

Note: The default SNMP Engine ID is derived from the management IP that you specify in the bof.cfg file. If you specify the same management IP address for two different 7701 CPAAs, they have the same SNMP Engine ID.

The SNMP Engine ID of the 7701 CPAA is used for SNMPv3. To use SNMP, you must ensure that you specify a unique management port IP address for each 7701 CPAA.

The following is a sample configuration:

A:CPAA# bof↵
A:CPAA>bof# no static-route 198.51.0.0/16 next-hop 198.51.185.1↵
A:CPAA>bof# address 198.51.9.8/24 active↵
A:CPAA>bof# static-route 198.51.0.0/16 next-hop 198.51.9.1↵
A:CPAA>bof# save↵

Create a directory on the CPAA for the upgrade files. Use the following commands:

A:CPAA_name# file↵
A:CPAA_name>file cf1:\ # md new_load
A:CPAA_name>file cf1:\ # cd new_load
A:CPAA_name# exit↵

Use FTP or SCP to copy the new boot.tim and both.tim files to the directory created in Step 4.

If you use FTP, you must enable FTP on the CPAA. Use the following commands:

A:CPAA_name# configure system security↵
A:CPAA_name>config>system>security#  ftp-server↵
A:CPAA_name>config>system>security# user user_name
A:CPAA_name>config>system>security>user$ password password
A:CPAA_name>config>system>security>user$ access ftp↵
A:CPAA_nameconfig>system>security>user$ exit all↵
A:CPAA_name# admin save↵

For FTP, use binary mode.


Confirm that the file transfer is successful.


Modify the bof.cfg to designate the primary and secondary image locations. Use the existing primary-image path as the secondary-image path. Use the new_load path created in Step 4 as the primary-image path.

Use the following commands:

A:CPAA_name# bof↵
A:CPAA_name>bof# secondary-image cf1:\previous primary-image path\both.tim↵
A:CPAA_name>bof# primary-image cf1:\new_load\both.tim↵
A:CPAA_name>bof# save↵

You can view the current bof.cfg configuration by using the show bof command.


Reboot the appliance, then stop the boot process to configure the boot parameters by clicking on any key when the following message appears:

Press any key to stop auto-boot...↵

This may take several minutes.


Type p (for print) to view the content of the NVRAM.DAT file.

You can enter ? to view other command options and information.


10 

Type c (change) to change the content of the NVRAM.DAT file. Configure the parameters:

boot device          : ata=0,0 ↵
unit number          : 0 ↵
processor number     : 0 ↵
host name            : host_name
file name            : boot_load_pathname/boot.tim↵
inet on ethernet (e) : management_port_IP_address:ffffffff
inet on backplane (b): ftp_server_IP_address
host inet (h)        : ftp_server_IP_address
gateway inet (g)     : gateway_IP_address
user (u)             : ftp_username
ftp password (pw)    : ftp_password
flags (f)            : 0x0↵
target name (tn)     : CPAA_name

Some of the NVRAM.DAT parameters are optional, depending on the option configured for boot device. For example, the inet on backplane, host inet, gateway inet, user, and ftp password parameters apply when you boot from the network, when the boot device is fei. However, the inet on ethernet (e) parameter is not optional. See Table 2-1, 7701 CPAA files.

The following is a sample configuration:

boot device          : ata=0,0↵
unit number          : 0↵
processor number     : 0↵
host name            : ↵
file name            : cf1:\new_load\boot.tim↵
inet on ethernet (e) : management_port_IP_address:ffffffff↵
inet on backplane (b): 0.0.0.0↵
host inet (h)        : 0.0.0.0↵
gateway inet (g)     : 0.0.0.0↵
user (u)             : ↵
ftp password (pw)    : ↵
flags (f)            : 0x0↵
target name (tn)     : CPAA_name↵

11 

Enter @ to save the changes and continue the boot process.


12 

Wait for the system to reboot. The system is fully rebooted when the login prompt appears.

Note: The contents of the NVRAM.DAT file can be changed during a reboot, as required.

See Table 2-1, 7701 CPAA files for a description of the parameters.


13 

Verify that the upgrade was successful by using the show version command:

End of steps

© 2022 Nokia. Nokia Confidential Information

Use subject to agreed restrictions on disclosure and use.