Sunday, November 21, 2010

Backing up configuration files

Backing up configuration files

3.2.9  This page will teach students how to backup and restore configuration files using tftp.
A current copy of the configuration can be stored on a TFTP server. The copy running-config tftp command can be used to store the current configuration on a network TFTP server, as shown in Figure . To do so, complete the following tasks:
  1. Enter the copy running-config tftp command.
  2. Enter the IP address of the host where the configuration file will be stored.
  3. Enter the name to assign to the configuration file.
  4. Answer yes to confirm each choice.
A configuration file stored on one of the network servers can be used to configure a router. To do so, complete the following tasks:
  1. Use the copy tftp running-config command to enter configuration mode, as shown in Figure .
  2. Select a host or network configuration file at the system prompt. The network configuration file contains commands that apply to all routers and terminal servers on the network. The host configuration file contains commands that apply to one router in particular. At the system prompt, enter the IP address of the remote host where the TFTP server is located. In this example, the router is configured from the TFTP server at IP address 131.108.2.155.
  3. Enter the name of the configuration file or accept the default name. The filename convention is UNIX-based. The default filename is hostname-config for the host file and network-config for the network configuration file. In the DOS environment, filenames are limited to eight characters plus a three-character extension, such as router.cfg. Confirm the configuration filename and the tftp server address that the system supplies. Notice in Figure that the router prompt changes to tokyo immediately. This is evidence that the reconfiguration happens as soon as the new file is downloaded.
To save a router configuration to a disk or hard drive, capture text in the router and save it. If the file needs to be copied back to the router, use the standard edit features of a terminal emulator program to paste the command file into the router.
The Lab Activity on this page will allow students to capture the running configuration of a router.
This page concludes the lesson about router configurations. The next page will summarize the main points from this module.
The next page will explain how configuration files can be copied and implemented. 

No comments:

Post a Comment