Cisco CCNA (200-301)IP ServicesMedium

A network administrator needs to restore a saved configuration file named 'startup-config.bak' from a TFTP server at 10.0.0.1 to the running configuration of a Cisco switch. Which command sequence should the administrator use to perform this operation?

  1. Acopy running-config tftp://10.0.0.1/startup-config.bak
  2. Brestore tftp://10.0.0.1/startup-config.bak running-config
  3. Ccopy tftp://10.0.0.1/startup-config.bak running-config
  4. Dtftp get 10.0.0.1 startup-config.bak running-config
Show answer & explanation

Correct answer: C. copy tftp://10.0.0.1/startup-config.bak running-config

The 'copy' command is used to copy files between different locations on a Cisco device. The syntax 'copy <source> <destination>' is standard. In this case, the source is the TFTP server with the specific file, and the destination is the running configuration.

Why the other options are wrong

  • A. This command attempts to copy the running-config TO the TFTP server, which is the opposite of the requirement.
  • B. The 'restore' command is not a standard Cisco IOS command for this operation.
  • D. The 'tftp get' command is not a standard Cisco IOS command for this operation; 'copy' is used instead.

Restore Config from TFTP

To restore a configuration file from a TFTP server to the running configuration on a Cisco device, use the 'copy tftp://<server-ip>/<filename> running-config' command.

  • TFTP is a simple file transfer protocol.
  • The 'copy' command has a consistent source-destination syntax.
  • Running-config is the active configuration in RAM.
  • Startup-config is the saved configuration in NVRAM.

Memory trick: Copy TFTP to Running, make it active!

More IP Services questions