When a device starts without any configuration, it can obtain the cloud management platform's IP address and port number from the DHCP server on the LAN and automatically establish a connection with the cloud management platform. This is seen as a plug-and-play mode.

In this mode, you must run the dhcp server option 148 ascii agilemode=agile-cloud;agilemanage-mode=ip/domain;agilemanage-domain=ip-address/domain-name;agilemanage-port=port-number command on the interface of DHCP server directly connecting the FW. The DHCP server uses Option 148 to provide the cloud management platform's IP address and port number to the FW.
In the case of agilemanage-mode=ip, agilemanage-domain is set to the IP address of the cloud management platform.
In the case of agilemanage-mode=domain, agilemanage-domain is set to the domain name of the cloud management platform.
Figure 2 shows the process for the FW to connect to the cloud management platform and to be incorporated into the management of the platform.

In the case of no configuration, the FW starts in traditional mode. During the startup, the FW enables the DHCP client and DNS client functions on an interface in up state, adds the interface to a security zone, sets a security policy, and applies to the DHCP server for an IP address.
The DHCP server returns an IP address to the FW through a DHCP packet and provides the IP address and port number of the cloud management platform to the FW via a given DHCP option.
FW
During the switchover to cloud management mode, the FW is restarted once, which is normal.
If the FW fails to parse, the system does not switch the cloud management mode and starts in the traditional mode. After the system starts, the DHCP client function enabled for the upstream interface will be disabled, and the bindings between interfaces and security zones will be canceled, and the default security policy will be restored.
The connection request carries the device certificate of the FW for the cloud management platform to authenticate the FW.
The established NETCONF channel transmits the subsequent query request and service configuration.
The cloud management platform can properly deliver the service configuration to the FW, indicating that the FW has been incorporated into the management of the cloud management platform. The FW incorporated into the cloud management platform proactively reports NETCONF Notification alarms to the cloud management platform. For alarm details, see NETCONF API Development Guide.