The account lockout policy can be checked using this command:
get auth-policy cli lockout-period
To set the lockout period, use the set auth-policy cli lockout-period command.
For example, to set the lockout period to 2 minutes (120 seconds):
set auth-policy cli lockout-period 120
You can also set the Number of authentication failures to trigger lockout with this command.
For example, setting it to two failed attempts:
set auth-policy cli max-auth-failures 2
Note: All commands provided above are run at the central CLI of an NSX Manager or Edge Node, using the 'admin' account for access.