Hi All,
I am trying to updated the 'admin' password on NSX ( NSXv, 6.4) using CLI. I have logged into edge appliance but there is no CLI command to update password.
I have looked into NSX 6.4 CLI doc :
https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_cli.pdf
under section 'NSX Manager and NSX Edge CLI Passwords' it does suggest to use 'password' command. However I am getting error as 'Unknown command'
NSX-edge-> password
% Unknown command.
NSX-edge-> cli password
% Unknown command.
Please let me know whether I am missing anything here.
Thank you
According to documentation you cannot do that.
It makes sense, because edges are deployed and managed by the nsx manager (via the vsphere-webclient)
Only on the standalone edge you can use the password command on cli. Because that is not managed by nsx.
The other way to do it is via api.
See https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf page 364
Hi.
The documentation says the following: (page 17)
After the NSX Edge appliance has been deployed, you can change the password from the vSphere Web Client (Network & Security > NSX Edges > Select an Edge > Actions > Change CLI Credentials).
The standalone NSX Edge appliance uses different passwords to enter basic mode and privileged mode. When you deploy a standalone NSX Edge appliance from an OVF file you are prompted to configure both passwords. After the standalone NSX Edge appliance has been deployed, you can change the basic and privileged mode passwords with the password command.
Hi Chris,
I am able to update the credentials using WebClient. However I wanted to perform it via CLI but mentioned 'password' command throws error.
According to documentation you cannot do that.
It makes sense, because edges are deployed and managed by the nsx manager (via the vsphere-webclient)
Only on the standalone edge you can use the password command on cli. Because that is not managed by nsx.
The other way to do it is via api.
See https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf page 364
Thanks Chris for your input. It makes sense.