How To Put Magento 2 Website In Maintenance Mode?

How To Put Magento 2 Website In Maintenance Mode? Use the magento maintenance CLI command to enable or disable Magento maintenance mode. –ip=<ip address> is an IP address to exempt from maintenance mode (for example, developers doing the maintenance). How do I enable maintenance mode in Magento? Put Magento 1 in Maintenance Mode Step 1: