Replacing the Running Configuration from an SFTP Backup without Reloading

Implement network configuration management
Answer Correct answer: B — Copy the backup from SFTP to bootflash with vrf management, then use configure replace bootflash:///backup.cfg.

An engineer must remove the running configuration of a Cisco Nexus 9000 Series Switch and replace it with a backup file without restarting the switch. The backup file is stored on an SFTP server that is reachable via the mgmt0 interface. Which set of commands accomplishes this task?

  1. configure replace sftp://[email protected]/backup.cfg vrf mgmt0 copy running-config bootflash://startup-config
  2. copy sftp://[email protected]/backup.cfg bootflash:///backup.cfg vrf management configure replace bootflash:///backup.cfg Correct Answer
  3. copy sftp://[email protected]/backup.cfg startup-config vrf mgmt0 copy startup-config running-config
  4. copy sftp://[email protected]/backup.cfg startup-config vrf management reload in 10

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

configure replace is a non-disruptive, full-replacement operation (unlike copy ... running-config, which is a merge). The SFTP copy must use the management VRF (mgmt0), and the file is staged to bootflash before being applied via configure replace.

To replace the running configuration with a backup stored on an SFTP server reachable via mgmt0, first copy the file to bootflash using vrf management, then use configure replace bootflash:///backup.cfg — which replaces the running config without reloading the switch.

Option A uses vrf mgmt0 (wrong syntax — NX-OS uses vrf management) and copies running to startup after. Option C copies to startup-config then startup to running (a merge, not replace) and also uses vrf mgmt0. Option D reloads, which the question forbids.

Community Discussion (4 comments)

Rollizo 👍 3 Selected: B
B, the question said to replace running-config, nothing about startup-config
8d00f64 👍 4 Selected: B
Here's a breakdown of what these commands do: copy sftp://[email protected]/backup.cfg bootflash:///backup.cfg vrf management: This command copies the backup configuration file from the SFTP server to the switch's bootflash storage. configure replace bootflash:///backup.cfg: This command replaces the current running configuration with the configuration from the backup file stored in the bootflash.
Mr_Myself 👍 3 Selected: B
configure replace
Mrtvi 👍 1 Selected: C
Vrf should be management, however C is the correct answer.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The supported sequence is: copy the SFTP backup to bootflash with vrf management (mgmt0 is in the management VRF), then configure replace bootflash:///backup.cfg to replace the running configuration without reloading. configure replace is a non-merge, full replacement of the running config.

Why the Other Options Are Wrong

A. Uses vrf mgmt0 (invalid; the VRF is "management") and ends by copying running to startup, not replacing running. C. Copies to startup-config then startup to running (a merge operation, not a replace) and also uses vrf mgmt0. D. Reloads the switch, which the question explicitly forbids ("without restarting the switch").

Community Comment Notes

Community: "B, the question said to replace running-config, nothing about startup-config"; "copy sftp://... bootflash:///backup.cfg vrf management... configure replace bootflash:///backup.cfg." Votes B 91.

Official Reference

Related Analysis

← Back to 350-601 Study Guide