How to change NSX Manager CLI Privileged mode password to a string containing the question mark
search cancel

How to change NSX Manager CLI Privileged mode password to a string containing the question mark

book

Article ID: 341254

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

This article provides information about how to change NSX Manager CLI Privileged mode password to a string containing the question mark.

Symptoms:
You are not able to input the question mark in NSX Manager CLI because "?" command will display a list of available commands, keywords, or arguments.

Environment

VMware NSX for vSphere 6.2.x
VMware NSX for vSphere 6.3.x
VMware NSX for vSphere 6.4.x

Resolution

If you want to use the question mark in NSX Manager CLI, press Ctrl+v just before inputting the question mark. 

Example:
1. Switch to Configuration mode.
nsxmgr> enable
nsxmgr# configure terminal
2. Run "enable password".
nsxmgr(config)# enable password 
3. Enter your password. In this case, the password is "abc?123".
3-1. Input "abc".
nsxmgr(config)# enable password abc 
3-2. Press Ctrl+v. 
nsxmgr(config)# enable password abc 
3-3. Input "?123" and save the password change, then exit Configuration mode.
nsxmgr(config)# enable password abc?123
Password changed
nsxmgr(config)# write memory
nsxmgr(config)# exit
nsxmgr#