Use the Magento maintenance CLI command to enable or disable Magento maintenance mode. --ip= is an IP address exempt from maintenance mode (for example, developers doing the maintenance).