Using The Cli With Network-Admin Privileges To Recover The Administrator Password; Power Cycling The Device To Recover The Administrator Password - Cisco Nexus 9000 Series Troubleshooting Manual

Nx-os release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Troubleshooting Installations, Upgrades, and Reboots

Using the CLI with Network-Admin Privileges to Recover the Administrator Password

SUMMARY STEPS
1. switch# show user-account
2. switch# configure terminal
3. switch(config)# username admin password new-password
4. switch(config)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# show user-account
Example:
switch# show user-account
user:admin
this user account has no expiry date
roles:network-admin
user:dbgusr
this user account has no expiry date
roles:network-admin network-operator
Step 2
switch# configure terminal
Example:
switch# configure terminal
switch(config)#
Step 3
switch(config)# username admin password new-password
Example:
switch(config)# username admin password egBdf
Step 4
switch(config)# copy running-config startup-config
Example:
switch(config)# copy running-config startup-config

Power Cycling the Device to Recover the Administrator Password

If you cannot start a session on the device that has network-admin privileges, you can recover the network
administrator password by power cycling the device.
Purpose
Shows that your username has network-admin
privileges.
Enters global configuration mode.
Assigns a new network administrator password
if your username has network-admin privileges.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
Recovering the Administrator Password
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents