How to place the NSX-T Edge into NSX maintenance mode from cli?
search cancel

How to place the NSX-T Edge into NSX maintenance mode from cli?

book

Article ID: 311846

calendar_today

Updated On:

Products

VMware NSX VMware NSX

Issue/Introduction

If NSX manager lost the connection to the Edge, and the Edge remains in NSX maintenance mode. You can exit the NSX maintenance mode using the cli option

Environment

VMware NSX 4.x

VMware NSX-T Data Center 3.x

VMware NSX-T Data Center

 

Resolution

 

Run the command below to trigger an exit of NSX edge maintenance mode.

set debug-mode
set maintenance-mode disabled


If you need to place the Edge into maintenance mode again, please run the command below.

set maintenance-mode enabled

 

Note: set maintenance-mode is only available using debug-mode. Once in maintenance mode via CLI, the edge must be taken out of maintenance mode via CLI.

Entering Maintenance Mode via CLI:

Status of Edge in NSX GUI: