Using the Command-Line Utilities 57
Using the
Command-Line
Utilities
Use the command-line utilities within a script or execute the commands manually.
Otherwise, use Upgrade Link as described on page 53.
Installing the NETBuilder
Software
You can upgrade from a CD-ROM, a tar file, or an image you have downloaded
from 3Com. If you are installing the software from a CD-ROM, complete the
procedure in “Installing the Software on the NMS” on page 37.
You can choose to transfer files using FTP or TFTP. Complete the procedure in
“Setting Up a File Transfer Method” on page 17.
Prediagnosing System
Problems
Detect any problems with SNMP or FTP/TFTP connectivity using:
bcmdiagnose <device>
Where <device> is the IP address or hostname of the bridge/router you are
diagnosing.
Upgrading Using
Automatic Recovery
To perform an image-only upgrade using automatic recovery, follow these steps.
See Chapter 3 for the memory requirements for automatic recovery.
Whenever you specify an option with bcmsysupgrade, you must repeat that
option for all steps in the procedure.
1 Back up your current software to the NMS using:
bcmsysupgrade [-options] -s:from_nb -I -V:<software version> <device>
where [-options] lets you specify the EncryptionLicenseRead option that indicates
you have read and understand the encryption license agreement notice and
<device> is the IP address or hostname of the bridge/router or switch you are
upgrading.
CAUTION: When upgrading to a package containing encryption, you must specify
the -EncyrptionLicenseRead option flag. If you attempt to upgrade to an
encrypted package and you have not specified the -EncryptionLicenseRead option,
the upgrade will fail.
2 Copy the configuration files into the new software directory on the NMS using:
bcmsysupgrade -s:update -I -V:<software version> <device>
3 Copy the upgraded software to the bridge/router using:
bcmsysupgrade -s:to_nb -I -V:<software version> <device>
4 Test your new software using:
bcmsysupgrade -s:test_boot -I -V:<software version> <device>
The bridge/router is rebooted, and the utilities confirm IP connectivity and that the
expected version of software is running.
5 Verify that your upgrade completed successfully.
To verify that the software is working properly, you can perform a set of
operational integrity checks on the newly upgraded network. These may include:
■ Some standard checks based on services active.
A basic service verification test can Ping to specific IP addresses.
■ Connectivity checks based on network topology.