How to identify currently using network band(2G,3G,4G) using AT commands

How to identify the currently used network band in quectel modems using AT commands.
Specifically EG21 module or similar LTE modems - Quectel_EC2x&EG9x&EG2x-G&EM05_Series

Need to know which band of network am I currently registered to. Like 2G,3G,4G .

AT+QENG="servingcell"

Hi Vishun:

The following two AT commonds can be used:

AT+QENG=“servingcell”
AT+COPS?

Is there a sequence to use… Mean to ask that if these command should be used after AT,AT+CPIN?,AT+CREG?,etc
Please let me know if there is any sequence of sending commands before sending AT+QENG=“servingcell”

Many networks require the APN to be set correctly before network registration succeeds (for 4G specifically).

In such cases the AT+CGDCONT command can be used to set the APN. The APN value remains in modem memory through power-cycles.

I’m querying the APN in the init, so i could have this command after that, right?

There’s no need to set the APN if it’s already correct. In that case, AT+QENG="servingcell" will return the band and the access technology in use.