{"id":265,"date":"2017-04-10T10:58:21","date_gmt":"2017-04-10T09:58:21","guid":{"rendered":"https:\/\/zed-network.fr\/?p=265"},"modified":"2020-08-24T19:37:26","modified_gmt":"2020-08-24T18:37:26","slug":"cisco-nexus-9k-recovery-password","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=265","title":{"rendered":"How to recover password Cisco Nexus N9K &#8211; Recovery password"},"content":{"rendered":"<p>To recover the password on Cisco Nexus 9000, you need to restart the switch.<\/p>\n<p>During the boot process, you need to escape with Ctrl+C<\/p>\n<pre>Detected CISCO MIFPGA\nVersion 2.16.1240. Copyright (C) 2013 American Megatrends, Inc. \nBoard type 2\nIOFPGA @ 0xc8000000\nSLOT_ID @ 0xf\nAborting config file read and autoboot \nNo autoboot or failed autoboot. falling to loader \n\n\n Loader Version 7.34\n\nloader &gt; help \n? Print the command list\nboot Boot image\nbootmode Display\/Change current boot mode\ndir List file contents on a device\neobc Booting image from active sup via EOBC channel\nhelp Print the command list or the specific command usage\nip Setting IP address or gateway address\nreboot Reboot the system\nserial Serial console setting\nset Set network configuration\nshow Show loader configuration\n<\/pre>\n<p>Enter in recovery mode with the following command <strong><em>cmdline recoverymode=1<\/em> <\/strong>and boot the image.<\/p>\n<pre>loader &gt; cmdline recoverymode=1 \n\nloader &gt; dir \n\nbootflash:: \n\n lost+found\n .patch\n .rpmstore\n[...]\n nxos.7.0.3.I5.2.bin\n .swtam\n\nloader &gt; boot nxos.7.0.3.I5.2.bin \nBooting nxos.7.0.3.I5.2.bin \nTrying diskboot \n Filesystem type is ext2fs, partition type 0x83\nImage valid\n\n\nImage Signature verification was Successful.\n\nBoot Time: 4\/10\/2017 8:33:0\nInstalling klm_card_index\ndone\nINIT: version 2.88 booting\nInstalling ata_piix module ... done.\nUnsquashing rootfs ...\nInstalling isan procfs ... done.\nInstalling SSE module with card index 21025 ... done.\nCreating SSE device node 248 ... done.\nLoading I2C driver ... done.\nInstalling CCTRL driver for card_type 19 without NEED_GEM ... done.\nLoading IGB driver ... done.\n[...]\n\n<\/pre>\n<p>In configuration mode, change the admin password and load the image.<\/p>\n<pre>A copy of each such license is available at\nhttp:\/\/www.opensource.org\/licenses\/gpl-2.0.php and\nhttp:\/\/opensource.org\/licenses\/gpl-3.0.html and\nhttp:\/\/www.opensource.org\/licenses\/lgpl-2.1.php and\nhttp:\/\/www.gnu.org\/licenses\/old-licenses\/library.txt.\nswitch(boot)# config ter\nEnter configuration commands, one per line. End with CNTL\/Z.\nswitch(boot)(config)# admin-password ?\n &lt;WORD&gt; Password for user admin (Max Size - 64)\nswitch(boot)(config)# admin-password C1sco1234\nWARNING! Enabling local authentication for login through console due to password recovery\nswitch(boot)(config)# exit\n\n<\/pre>\n<pre>switch(boot)# load-nxos \nUnsquashing rootfs ...\nCreating \/dev\/mcelog\nStarting mcelog daemon\nOverwriting dme stub lib\nINIT: Switching to runlevel: 3\nINIT: Sending processes the TERM signal\nFile \/etc\/shared\/localtime exists.\nINIT: (boot)# \nRunning S93thirdparty-script...\n\nPopulating conf files for hybrid sysmgr ...\nStarting hybrid sysmgr ...\n[...]\n<\/pre>\n<p>Your device is UP with the new password.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To recover the password on Cisco Nexus 9000, you need to restart the switch. During the boot process, you need to escape with Ctrl+C Detected CISCO MIFPGA Version 2.16.1240. Copyright (C) 2013 American Megatrends, Inc. Board type 2 IOFPGA @ 0xc8000000 SLOT_ID @ 0xf Aborting config file read and autoboot No autoboot or failed autoboot. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=265"}],"version-history":[{"count":4,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}