Guest

Cisco 6000 Series IP DSL Switches

Upgrading Cisco IOS Software for the Cisco 6015/6130/6160/6260 NI-2 DSLAM

Cisco - Upgrading Cisco IOS Software for the Cisco 6015/6130/6160/6260 NI-2 DSLAM

Document ID: 6121

Updated: Feb 26, 2008

   Print

Introduction

This document contains a step-by-step procedure for upgrading your Cisco NI-2 DSLAM. A TFTP server or a remote copy protocol (RCP) server application must be installed on a TCP/IP ready workstation. Once the application is installed, a minimal level of configuration must be performed. First, the TFTP application must be configured to operate as a TFTP server, not as a TFTP client. Second, the outbound file directory must be specified. This is the directory in which the Cisco IOS® Software images are stored. Most TFTP applications provide a setup routine to assist in these configuration tasks.

Before You Begin

Conventions

For more information on document conventions, see the Cisco Technical Tips Conventions.

Prerequisites

There are no specific prerequisites for this document.

Components Used

This document is not restricted to specific software and hardware versions.

Upgrading the Cisco IOS Software Image

Use the following procedure to upgrade the Cisco IOS Software image.

  1. Install the new Cisco IOS Software image in the outbound directory of the TFTP server.

    The TFTP server looks for the DSLAM's Cisco IOS Software image in this directory. Make sure that the image you want to copy to your Flash is in this directory.

    Memory requirements for each image are also in the outbound directory of the TFTP server. Using the show version command, verify that you have enough memory.

    DSLAM#show version
    Cisco Internetwork Operating System Software
    IOS (tm) NI2 Software (NI2-DSL-M), Version 12.1(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)
    Copyright (c) 1986-2000 by cisco Systems, Inc.
    Compiled Thu 07-Dec-00 19:27 by pnicosia
    Image text-base: 0x800082C0, data-base: 0x811EA000
    ROM: System Bootstrap, Version 12.0(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    BOOTFLASH: NI2 Software (NI2-DBOOT-M), Version 12.1(3)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    6130A uptime is 1 day, 18 hours, 19 minutes
    System returned to ROM by power-on
    System restarted at 16:11:23 PST Wed Feb 14 2001
    System image file is "flash:ni2-dsl-mz.121-5.DA.bin"
    cisco 6130 (NI2) processor with 60416K/5120K bytes of memory.
    RC64475 CPU at 100Mhz, Implementation 48, Rev 0.0
    Bridging software.
    1 Ethernet/IEEE 802.3 interface(s)
    4 ATM network interface(s)
    522232 bytes of non-volatile configuration memory.
    4096K bytes of Boot Flash (Sector size 256K).
    16384K bytes of Flash internal SIMM (Sector size 256K).
    Configuration register is 0x2102
  2. Establish a console session to the DSLAM.

    This can be done with a direct console connection or a virtual Telnet connection. A direct console connection is preferred because a Telnet connection will be lost during the reboot phase of the software installation (see step 9). The console connection is made with a rolled cable (flat black or blue cable), and connects the console port of the DSLAM to the COM-port of the PC.

  3. Launch HyperTerminal on the PC and use the following settings:

    • 9600 bits per second

    • 8 databits

    • 0 parity bits

    • 1 stop bit

    • No Flow Control

  4. Verify that the TFTP server has IP connectivity to the DSLAM.

    The TFTP server must have a network connection to the DSLAM and must be able to ping the IP address of the DSLAM targeted for a TFTP software upgrade. To achieve this, the DSLAM interface and the TFTP server must either have:

    • an IP address in the same range OR;

    • a default gateway configured.

    To verify, check the IP address of the TFTP server.

    Note: After you verify network connectivity with your TFTP server, write all the changes to memory by issuing a write memory command on the DSLAM.

    DSLAM#write memory
    Building configuration...
    [OK]
    DSLAM#
  5. Verify that the bootflash image is either ni2-dboot-mz.121-5.da1 or ni2-dboot-mz.121-4.da. If it is, go to step 14. If it is not, go to step 6 to make room in the bootflash.

    DSLAM#dir bootflash:
    Directory of bootflash:/
    
    1  -rw-     3361208   Jan 01 2000 00:05:11  ni2-dboot-mz.121-2.DA
     
    3801088 bytes total (439752 bytes free)
  6. Make room in the bootflash by deleting the name of the current boot image.

    DSLAM#delete bootflash:ni2-dboot-mz.121-2.DA.bin
    Delete filename [ni2-dboot-mz.121-2.DA.bin]?
    Delete bootflash:ni2-dboot-mz.121-2.DA.bin? [confirm]
  7. Recover available space in the bootflash using the squeeze bootflash command.

    DSLAM#squeeze bootflash
    All deleted files will be removed. Continue? [confirm]
    Squeeze operation may take a while. Continue? [confirm]
    Squeeze of bootflash complete
  8. Copy the boot image to the bootflash.

    DSLAM#copy tftp://171.69.89.140/ni2-dboot-mz.121-5.DA1.bin bootflash:
    Destination filename [ni2-dboot-mz.121-5.DA1.bin]?
    Accessing tftp://171.69.89.140/ni2-dboot-mz.121-5.DA1.bin...
    Loading ni2-dboot-mz.121-5.DA1.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [OK - 3405392/6810624 bytes]
     
    3405392 bytes copied in 57.676 secs (59743 bytes/sec)
  9. Enter global configuration mode and set the configuration register to 0x0000 so that the NI-2 will reboot in ROM monitor (ROMmon) mode.

    DSLAM#configure terminal
    Enter configuration commands, one per line.  End with CNTL/Z.
    DSLAM(config)#config-register 0X0
    DSLAM(config)#exit
    
  10. Save the running configuration and reset the system.

    DSLAM#copy running-config startup-config
    Destination filename [startup-config]?
    Building configuration...
    [OK]
    
    DSLAM#reload
    Proceed with reload? [confirm]
    
    *Jan 10 02:11:43.397: %SYS-5-RELOAD: Reload requested
    System Bootstrap, Version 12.0(5)DA1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    Copyright (c) 1999 by cisco Systems, Inc.
    NI2 platform with 65536 Kbytes of main memory
  11. If you see BOOTLDR after you enter the set command, the image in bootflash is already being used as the bootstrapper; go to step 13. Otherwise, go to step 12 and enter the commands to force the system to use ni2-dboot-mz.121-5.bin as the bootstrapper.

    rommon 1 > set 
  12. Use unset BOOTLDR to remove the variable and sync to save the state of ROMmon, then reboot.

    When the NI-2 boots, it uses ni2-dboot-mz.121-5da.bin as your bootstrapper.

    rommon 2 > unset BOOTLDR
    
    rommon 3 > sync
    
  13. Set the configuration register back to 0x2102 and reset the system.

    rommon 4 > confreg 0x2102
    rommon 5 > reset
    
  14. Display the name of the Flash file that begins ni2- and use it as the filename in step 15.

    DSLAM#dir flash:
    Directory of flash:/
    
        1  -rw-     9447084   Jan 01 2000 00:13:03  ni2-dsl-mz.121-5.DA1.bin
    
    15990784 bytes total (6543572 bytes free)
  15. Delete the Flash file name found in step14. Repeat step 14 and step 15 until all files in the Flash have been deleted.

    DSLAM#delete flash:ni2-dsl-mz.121-5.DA1.bin
    Delete filename [ni2-dsl-mz.121-5.DA1.bin]?
    Delete flash:ni2-dsl-mz.121-5.DA1.bin? [confirm]
  16. Recover available space in Flash memory.

    DSLAM#squeeze flash:
    All deleted files will be removed. Continue? [confirm]
    Squeeze operation may take a while. Continue? [confirm]
     
    Squeeze of flash complete
  17. Copy the Cisco IOS Software image from a TFTP server to Flash.

    DSLAM#copy tftp: flash:
    Address or name of remote host [171.69.89.140]?
    Source filename [ni2-dsl-mz.122-1b.DA.bin]?
    Destination filename [ni2-dsl-mz.122-1b.DA.bin]?
    Accessing tftp://171.69.89.140/ni2-dsl-mz.122-1b.DA.bin...
    Loading ni2-dsl-mz.122-1b.DA.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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     
    9447084 bytes copied in 128.940 secs (73805 bytes/sec)
  18. Enter global configuration mode and disable the boot from system. Save your changes to the start-up configuration and reload the system to upgrade the image.

    DSLAM(config)#no boot system
     DSLAM(config)#end
     DSLAM(config)#write memory
     DSLAM(config)#reload
    
  19. Confirm that the running image is ni2-dsl-mz.122-1b.da. If it is not, go to step 17.

    DSLAM#show version
    Cisco Internetwork Operating System Software
    IOS (tm) NI2 Software (NI2-DSL-M), Version 12.2(1b)DA, EARLY DEPLOYMENT RELEASE
    SOFTWARE (fc1)
    TAC Support: http://www.cisco.com/tac
    Copyright (c) 1986-2001 by cisco Systems, Inc.
    Compiled Mon 20-Aug-01 14:13 by torowe
    Image text-base: 0x80008308, data-base: 0x814CC000
    
    ROM: System Bootstrap, Version 12.0(5)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    BOOTLDR: NI2 Software (NI2-DBOOT-M), Version 12.2(1b)DA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    
    DSLAM uptime is 28 minutes
    System returned to ROM by reload at 00:06:58 UTC Sat Jan 1 2000
    System image file is "flash:ni2-dsl-mz.122-1b.DA.bin"
    
    cisco 6100 (NI2) processor with 60416K/5120K bytes of memory.
    RC64475 CPU at 100Mhz, Implementation 48, Rev 0.0
    Bridging software.
    1 Ethernet/IEEE 802.3 interface(s)
    8 DMT DSL Port interface(s)
    4 ATM network interface(s)
    522232 bytes of non-volatile configuration memory.
    
    4096K bytes of Boot Flash (Sector size 128K).
    16384K bytes of Flash internal SIMM (Sector size 256K).
    Configuration register is 0x2102
  20. Erase all information in bootflash memory. Answer y to confirm all questions. When the DSLAM returns you to the EXEC prompt, bootflash memory is successfully formatted and ready for use. Ensure that the bootflash is 3.8 MB total. If it is not, go to step 14.

    DSLAM#format bootflash:
    Format operation may take a while. Continue? [confirm]
    Format operation will destroy all data in "bootflash:".  Continue? [confirm]
    Formatting sector 1
    Format of bootflash: complete
  21. Copy the boot image from a TFTP server to the bootflash.

    DSLAM#copy tftp://171.69.89.140/ni2-dboot-mz.122-1b.DA.bin bootflash:
    Destination filename [ni2-dboot-mz.122-1b.DA.bin]?
    Accessing tftp://171.69.89.140/ni2-dboot-mz.122-1b.DA.bin...
    Loading ni2-dboot-mz.122-1b.DA.bin from 171.69.89.140 (via Ethernet0/0): !!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [OK - 3712100/7424000 bytes]
     
    3712100 bytes copied in 69.476 secs (53798 bytes/sec)
  22. Reload the DSLAM to make it boot from the new Cisco IOS Software image.

    DSLAM#reload
    
  23. Confirm the DSLAM booted from the new Cisco IOS Software image by issuing a show version command.

    DSLAM#show version
    

    The output from the show version command should show the name of the upgraded Cisco IOS Software image.

Related Information

Updated: Feb 26, 2008
Document ID: 6121