Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 357
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?
Answer options
- A. configure replace sftp://[email protected]/backup.cfg vrf mgmt0 copy running-config bootflash://startup-config
- B. copy sftp://[email protected]/backup.cfg bootflash:///backup.cfg vrf management configure replace bootflash:///backup.cfg
- C. copy sftp://[email protected]/backup.cfg startup-config vrf mgmt0 copy startup-config running-config
- D. copy sftp://[email protected]/backup.cfg startup-config vrf management reload in 10
Correct answer: B
Explanation
Option B is correct because it correctly copies the backup configuration file from the SFTP server to the bootflash and then replaces the running configuration with the newly copied file. The other options either do not properly replace the running configuration or suggest an unnecessary reload of the switch, which is not required for this task.