Quectel NSSAI setting by AT+CGDCONT Command

Hi community,

I am doing 5g network slicing research with Quectel 5G module and USRP + OAI gNB & 5gCN.

However, when I try to set NSSAI in PDP context by AT+CGDCONT command, it always output ERROR :

+CGDCONT: 1,"IP","oai","",0,0,0,0,,,,,,,,,"",,,,0


Following this post, I have already set the default configured NSSAI by AT+C5GNSSAI, but it does not help solve the above ERROR.

+C5GNSSAIRDP: 4,"01.000001"

With the above error, I can still use at+cgact=1,1 to activate that PDP context and establish PDU session. However, I cannot actively assign S-NSSAI info in each PDU session, which is the standard procedure of 5G NR.

Could anyone give me some hints?


Dear @poynting
I have sent the user guide to you via Message, hope it can help you.

Hi community,

following silvia’s user guide, I find the correct at command to set s-nssai:


Then, you could check the modified pdp by:

+CGDCONT: 1,"IP","oai","",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 2,"IP","oai2_EMBB000002","",0,0,0,0,,,,,,,,1,"01.000002",,,,0


Then, how you activate cid 2?
AT+CGACT=2,1 ?

which nssai are going to be requested by modem in registration request?


sst = 1 sd = 2

Cid 1 and 2 are both active at the same time?

@silvia could you also send this “User Guide” to me?
we’re facing the same problem currently, even follow the @poynting 's example still got ERROR from module.
sst=2, sd=19CDE2

Hi Silvia,

We’ve figured out that the S-NSSAI can’t be set at 1st PDP context but it could be setup after 1st, the following screenshot shows we’ve setup our sst.sd parameter at 2nd PDP context.


1 Like