Configuring Configuration Persistence on Cisco Nexus Switches | Implementing and Operating Cisco Data Center Core Technologies

Configuring Configuration Persistence

Question

A network engineer repeatedly saves a configuration on Catalyst switches to NVRAM using the write memory command.

Which action should be taken to implement the same action on Nexus switches?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

https://community.cisco.com/t5/switching/write-command-on-nexus-switchs/td-p/1958386

In Cisco Nexus switches, the command "write memory" is not supported. Instead, the recommended command is "copy running-config startup-config" to save the configuration changes to NVRAM. Therefore, the correct answer is option B, "Use the wri command to use the copy running-config startup-config command."

Option A, "Use the alias command to use the write memory command," is incorrect because the alias command is used to create a shortcut or an alternative name for a command, and it does not affect the behavior of the command itself.

Option C, "Use the exit command to leave the configuration mode and save the configuration automatically," is incorrect because the exit command is used to exit the configuration mode, and it does not save the configuration automatically.

Option D, "Use the write memory command to save the configuration," is incorrect because the write memory command is not supported in Cisco Nexus switches.

In summary, to save the configuration changes made in a Cisco Nexus switch to NVRAM, the "copy running-config startup-config" command should be used instead of the "write memory" command.