MotorolaWorldwide
Search
Service ProvidersBusinessConsumers

Configuration File Backup

NQG_035

This document will provide step-by-step instructions for saving and later downloading a configuration file using either a TFTP or Xmodem file transfer. This can be accomplished using either the router's Menu Interface or the Command Line Interface (CLI). A TFTP file transfer involves using Telnet to connect to your router over Ethernet, while an Xmodem file transfer entails connecting to your router using a serial console connection and a terminal emulator, such as HyperTerminal or Zterm. Either type of file transfer can be used for either sending or receiving a config file to/from your local directory.

Please Note: If your router is currently running Netopia Residential Firmware with a web "GUI" configuration menu, this technote is not applicable to you. Most 3300 Series Netopia Gateways can be upgraded to Enterprise level firmware. Click Here! to purchase the upgrade key.

Firmware References:

  • v8.2 R1 (and up) - 3300 Enterprise Series
  • v5.3.7   (and up) - 4000 Series  
  • v4.8.2   (and up) - R-Series

Before You Start

Telnet into the Netopia router's Main Menu at 192.168.1.1 (if using the default IP setting). If your network has a different IP addressing scheme, modify this accordingly. Click Here! for instructions on using telnet and Hyperterminal (serial connection).

Login with the user name and password. The Superuser login is required to save changes.
If you are unsure of this, contact your network administrator.

Don't forget to press the Enter key to save any entries. Hitting the back space, delete or tab without first hitting enter will undo any changes.

The Esc key will take you back towards the main menu screen.

Once you have completed your configuration, you should reboot the Netopia to save and apply your changes.


The Netopia Main Menu Interface

Saving a Config File using a TFTP File Transfer

(Note: The following example details how to save a file to and download a config file from a TFTP server. In order to transmit data to or from a TFTP server on the Internet, your router will need to have Internet access as well as a Local WAN IP address that is a valid, routable IP address.)

  1. Establish a telnet session with the router.
    Main Menu...
    ---> Quick Menus...
    ---> TFTP...
  2. Enter the TFTP Server Name.
  3. Enter the Config File Name you want to use to identify your config file and select Send Config To Server and Continue.
  4. Once the TFTP file transfer has begun, you will see the TFTP Current Transfer Bytes increasing.
    (Note: If the file transfer fails due to a 'DNS ERROR' verify that the correct DNS Server IP information has been configured in your router.)
  5. At the end of the config file upload, all the lights on the router with flash for about 30 seconds, and the router will restart itself.
  6. You will need to reinitiate your telnet session to access the router's configuration screens. (Your current telnet session will hang even after the router has restarted itself.)
CAUTION: Under NO circumstances should you interrupt this process. We also recommend that you save a written copy of your configuration file since a file can be corrupted in a transfer.

Downloading a Config File using a TFTP File Transfer

You can also download a previously saved configuration file using a TFTP file transfer. To do so, repeat the above steps for a TFTP upload, but on Step #3, select Get Config From Server instead.

Saving a Config File using an Xmodem File Transfer

Saving a Config File :

Establish a Hyperterminal/Zterm session.

From a Windows PC:
  1. Power the router off.
  2. Connect the router to your PC using the supplied DB-9 to DB-9 cable.
  3. Establish a Hyperterm connection.
  4. The Hyperterminal window should be blank with a flashing cursor in the top left corner.
  5. Turn on the Router.
  6. The router Main Menu should appear within a few seconds.
  7. If not, press ctrl+L or hit the enter key to refresh the screen.
From a Macintosh computer:
(if equipped w/serial port connection)
  1. Power the router off.
  2. Connect the router to your Macintosh computer using your serial cable.
  3. Establish a Zterm connection.
  4. The Zterm window should be blank with a flashing cursor in the top left corner.
  5. Turn on the Router.
  6. The router Main Menu should appear within a few seconds.
  7. If not, press ctrl+L or hit the enter key to refresh the screen.

Initiate the XModem file transfer.

  1. From the Main Menu, go to Quick Menus and X-Modem File Transfer.
  2. Select Receive Config From Netopia to save your router's config file to your local directory.
  3. Then select Continue.
  4. You will now have 10 seconds to start the file transfer through your Terminal program.
From the Hyperterminal Menu Bar:
  1. Select Transfer --> Receive File
    --> Xmodem.
  2. Select the local directory to which
    you will save the config file.
  3. Use "Browse" to select the directory.
From the Zterm Menu Bar:
  1. Select File --> Receive Files
    --> Xmodem
  2. Select the local directory to which
    you will save the config file.
  3. Select Open.
CAUTION: Under NO circumstances should you interrupt this process. We also recommend that you save a written copy of your configuration file since a file can be corrupted in a transfer.

At the end of the config file download, all the lights on the router will flash for about 30 seconds, and the router will restart itself.

Downloading a Config File using an Xmodem File Transfer

You can also download a previously saved configuration file using an Xmodem file transfer. To do so, establish the console connection as per the above instructions, then do the following:

Initiate the XModem file transfer.

  1. From the Main Menu, go to Quick Menus and X-Modem File Transfer.
  2. Select Send Config To Netopia to send a config file to your router from your local directory.
  3. Select Continue.
  4. You will now have 10 seconds to start the file transfer through your Terminal program.
From the Hyperterminal Menu Bar:
  1. Select Transfer --> Send File
    --> Xmodem.
  2. Select the local directory to which you have saved the config file.
  3. Use "Browse" to select the file.
From the Zterm Menu Bar:
  1. Select File --> Send Files
    --> Xmodem
  2. Select the local directory to which you have saved the config file.
  3. Select Open.

Again, all the lights on the router with flash for about 30 seconds, and the router will restart itself at the end of the config file download.

CAUTION: As before, under NO circumstances should you interrupt this process.

Configuration File Backup Using a Serial Connection in the Command Line Interface (CLI):

Saving a Config File using the CLI

(Firmware version 5.3.8 is recommended for 4000 series routers, 4.11.3 is recommended for R-series routers)

From a Windows PC:

  1. Power the router off.
  2. Connect your router to your PC using the serial console cable that shipped with your router (DB-9 to DB-9).
  3. Establish a Hyperterminal session. (Netopia recommends the newest version of Hyperterminal).
  4. Now that you are at the main menu of the Netopia hold down the Ctrl key and hit N. (Ctrl+N toggles back and forth between the Netopia CLI and the main menu).
  5. Type show config and hit the Enter key.
  6. You should now see the running configuration of the Netopia.
  7. Copy this configuration by highlighting the text starting at the top most line and dragging your cursor down until you have highlighted the complete body of the configuration data.
  8. Use the Edit then Copy commands to copy the highlighted text. Paste this configuration data into any text editing program like Notepad or Microsoft Word.
  9. Save this file in the desired directory on your computer.
Pasting in a Config File using the CLI

As per the previous instructions, you should have now established a Hyperterminal session with the router.

  1. Go to File then Properties.
  2. Click on Settings then ACSII Setup.
  3. Change the Character Delay to 5 (or greater).
    Caution: It is most important to have a 5 millisecond or longer character delay on your terminal program. A delay of less than 5 milliseconds may cause problems when pasting your config into the Netopia CLI.
  4. Select OK.
  5. Select OK again.
  6. The Hyperterminal window should be blank with a flashing cursor in the top left corner.
  7. Turn on the Router.
  8. The router Main Menu should appear within a few seconds.
  9. If not, press Ctrl+L or hit the Enter key to refresh the screen.
  10. From the main menu of the Netopia, hold down the Ctrl key and press N. (Ctrl+N "toggles" back and forth between the Netopia CLI and the main menu).
  11. Bring up the text file that has your Netopia CLI configuration and perform a copy so the configuration data is stored into the clipboard of your Windows machine.
  12. Return to the Netopia active window. Hit Ctrl+V which will paste your configuration to the Netopia CLI.
  13. You should see many lines of configuration data being slowly pasted to the Netopia CLI.
  14. Please note any errors halting the download of your configuration. Normal errors will be listed below.
  15. When the file has completed downloading you will be returned to the pound prompt.

Please Note: There are some errors that may be recorded when pasting in the configuration which should not alarm you. The two most common are and "error 3" when pasting in the MAC address on a router which does not allow this to be a configurable parameter. The second would be the router rejecting asterisk when the password (which is asterisked out when pasting into the CLI). At this time Netopia does not support a hash analysis for password retention.

Configuration File Backup Via TFTP of a Text File:

Note: The following example details how to download a saved config file from a TFTP server. In order to download from a TFTP server on the Internet, your router will need to have Internet access as well as a Local WAN IP address that is a valid, routable IP address.

Saving a Text File using TFTP

(Firmware version 5.3.8 is recommended for 4000 series routers, 4.11.3 is recommended for R-series routers)

From a Windows PC or Macintosh:

  1. Establish a telnet session with the router.
  2. From the main menu of the Netopia hold down the Ctrl key and hit N. (Ctrl+N toggles back and forth between the Netopia CLI and the main menu).
  3. You will see a # (pound) sign prompt.
  4. Type show config and hit the Enter key.
  5. You should now see the running configuration of the Netopia.
  6. Copy this configuration by highlighting the text starting at the top most line and dragging your cursor down until you have highlighted the complete body of the configuration data.
  7. Use the Edit then Copy commands to copy the highlighted text. Paste this configuration data into any text editing program like Notepad or Microsoft Word.
  8. Save this file in the desired directory on your computer.

Downloading a Text File using TFTP

  1. Establish a telnet session with the router.
  2. From the Main Menu, go to Quick Menus and select TFTP (bottom of the middle column).
  3. Enter the TFTP Server Name.
  4. Enter the Config File Name (netopiaconfig.txt for example ) you used for the saved text file. (This could be something you wrote using the CLI reference guide or the output of the show config command which has been pasted into a text file editor like Notepad).
  5. Hit Get Config From Server and Continue.
  6. Once the TFTP file transfer has begun, you will see the TFTP Current Transfer Bytes increasing. A typical config may be around 7000-8000 bytes.

    Please Note: If a Transfer Failed is logged, something in the text file was corrupted or mistyped. The transfer may say failed but part of the config may have been successfully completed. You can however, from the Main Menu, go to Statistics and Logs then Device Event History. Arrow down to the TFTP error menu line and hit Enter. You will be given a description of the transfer failure reason.
  7. Be sure to leave your router alone, and allow the TFTP transfer to continue until complete.
  8. At the end of the config file upload, all the lights on the router with flash for about 30 seconds, and the router will restart itself.
  9. You will need to reinitiate your telnet session to access the router's configuration screens. (Your current telnet session will hang even after the router has restarted itself.)

www.motorola.com  |  Terms of Use  |  Privacy Statement   |  Media Center  |  Site Map  |  Contact Us
© 2008 Netopia, Inc., a Motorola Company. All rights reserved.