QuestionQ250

Automation

An engineer needs to remove the running configuration from a Cisco Nexus 9000 Series Switch and replace it with a backup file, without restarting the switch. The backup file resides on an SFTP server reachable through the mgmt0 interface.

Which command set completes this task?

  • 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
Explanation

Cisco NX-OS configure replace replaces the entire running configuration atomically without reloading the switch, whereas copying a file to running-config is a merge operation. On Nexus switches, the mgmt0 interface is reached through the management VRF. Copying the SFTP backup to bootflash with vrf management and then using configure replace applies the backup as a complete replacement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!