Monday, November 14, 2011

Manual Back up and Restore CFG

Manual Back up and Restore Configuration Files for Switch

       The purpose of this content provides the IT services staff with some basic steps to migrate the configuration from an existing switch to a new switch and this content is to ensure that all backup the configuration is correct and also ensure the backup and restore process are agreeable with the business unit requirement. Use a Terminal Emulation Program to Backup and Restore a Configuration

       A terminal emulation program can be used to back up and restore a configuration. This is a description of the procedure using Microsoft HyperTerminal Terminal Emulation software:

  1. If the configuration needs to be copied from another switch, connect to that switch through the console or Telnet.
  2. At the Switch> prompt, issue the enable command, and provide the required password when prompted.
         The prompt changes to Switch#, which indicates that the switch is now in privileged mode.
  3. Issue the terminal length 0 commands in order to force the switch to return the entire response at once, rather than one screen at a time.      This allows you to capture the configuration without extraneous --more-- prompts generated when the switch responds one screen at a time.
  4. On the HyperTerminal menu, choose Transfer > Capture Text.          The Capture Text window appears.
  5. Name this file "config111111.txt." [name template “configmmddyy.txt”]
  6. Click Start in order to dismiss the Capture Text window and begin the capture.
  7. Issue the show running-config command, and allow time for the switch to complete its response. You will see: Building configuration...          followed by the configuration.
  8. On the HyperTerminal menu, choose Transfer > Capture Text > Stop in order to end the screen capture.  
  9. Open the config111111.txt file you created in any text editor, such as Notepad or Wordpad.
  10. Connect to the switch that needs the configuration.
  11. Open the config111111.txt file.
  12. Highlight the entire contents of the config.txt file. You can do this by dragging the cursor from before the first character to after the last character in the file while holding down the left mouse button. Alternatively, if you use Notepad, you can choose Edit > Select All from the menu.
  13. Copy the selected text to the Windows clipboard. You can either choose Edit > Copy from the text editor menu, or hold down the CTRL key and simultaneously press the C key in order to perform the copy.
  14. Switch to the HyperTerminal window, and issue the configure terminal command at the Switch# prompt. Then press Enter.
  15. Paste the configuration file into the switch by selecting Edit > Paste to Host on the HyperTerminal menu.
  16. After the configuration has finished pasting and the switch brings you back to the configuration prompt, issue the copy running-config startup-config command in order to write the configuration into memory.
  17. Issue the exit command in order to return to the Switch# prompt
  18. Logon as local administrator and verify that the Switch is functioning as expected Use the show running-config command to confirm that the configuration file has been copied to the destination switch

Role and responsible
1.   IT Service are responsible to maintain the procedure and assure that the document is align with the procedure
2.   IT Service Asst. Application owner is an assigned information owner who agrees with the backup strategy.
3.   The procedure and document are subjected to review and approved by information owner by specify period.
4.   IT Service run test the switch backup and restore process that must be tested at least once a year to ensure that the backup strategy is effective. Use the test to restore the configuration at least once a year and have the application owner sign document.


Post a Comment