Error(called by amf) while attach new UE to 5gc

hi i’m new to free5gc.
When i was trying to attach an ue to free5gc core, i encountered some error(log shown below).

can anyone provide me with some hints and ideas on how to solve it? (e.x. what might be the probable cause? …)

many thanks!
(also pls forgive my poor english…)

Background

i’m doing an end2end experiment similar to GitHub - s5uishida/free5gc_srsran_sample_config: free5GC 5GC & srsRAN 5G with ZeroMQ UE / RAN Sample Configuration. The difference is, I’m conducting the whole experiment on a single virtual machine(ubuntu22.04).

Open Source Projects i am using:

  • srs4GUE
  • srsRAN(gnb)
  • free5gc

How i’m running free5gc?

i’m running the containerized free5gc:

$ sudo docker compose -f docker-compose-build.yaml up
...
WARN[0000] /home/cdm/5g/free5gc-compose/docker-compose-build.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] Found orphan containers ([n3iwue tngf n3iwf ueransim nef]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. 
[+] Running 12/12
 ✔ Container upf      Created                                                                                                                                                                                              0.0s 
 ✔ Container mongodb  Created                                                                                                                                                                                              0.0s 
 ✔ Container nrf      Created                                                                                                                                                                                              0.0s 
 ✔ Container amf      Created                                                                                                                                                                                              0.0s 
 ✔ Container smf      Created                                                                                                                                                                                              0.0s 
 ✔ Container udm      Created                                                                                                                                                                                              0.0s 
 ✔ Container pcf      Created                                                                                                                                                                                              0.0s 
 ✔ Container webui    Created                                                                                                                                                                                              0.0s 
 ✔ Container chf      Created                                                                                                                                                                                              0.0s 
 ✔ Container udr      Created                                                                                                                                                                                              0.0s 
 ✔ Container ausf     Created                                                                                                                                                                                              0.0s 
 ✔ Container nssf     Created                                                                                                                                                                                              0.0s

Logging from gnb and ue

seems normal, nothing weird

gnb:

ue:

Error Logging from free5gc

here’s the logging picture(only error part included):

also text version here(started from the moment when ue begins to connect):

amf      | 2025-03-24T01:41:02.707367050Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Handle InitialUEMessage
amf      | 2025-03-24T01:41:02.707411788Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] New RanUe [RanUeNgapID:0][AmfUeNgapID:1]
nrf      | 2025-03-24T01:41:02.708593938Z [INFO][NRF][Token] In HTTPAccessTokenRequest
amf      | 2025-03-24T01:41:02.707447083Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] 5GSMobileIdentity ["SUCI":"suci-0-001-01-0000-0-0-0000000000", err: <nil>]
amf      | 2025-03-24T01:41:02.707488042Z [INFO][AMF][CTX] New AmfUe [supi:][guti:00101cafe0000000001]
nrf      | 2025-03-24T01:41:02.710607726Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
amf      | 2025-03-24T01:41:02.707505431Z [INFO][AMF][Gmm] Handle event[Gmm Message], transition from [Deregistered] to [Deregistered]
nrf      | 2025-03-24T01:41:02.711773140Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
amf      | 2025-03-24T01:41:02.707510945Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Handle Registration Request
amf      | 2025-03-24T01:41:02.707515102Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] RegistrationType: Initial Registration
amf      | 2025-03-24T01:41:02.707519445Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] MobileIdentity5GS: SUCI[suci-0-001-01-0000-0-0-0000000000]
amf      | 2025-03-24T01:41:02.707530240Z [INFO][AMF][Gmm] Handle event[Start Authentication], transition from [Deregistered] to [Authentication]
amf      | 2025-03-24T01:41:02.707533948Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Authentication procedure
nrf      | 2025-03-24T01:41:02.713086180Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
nrf      | 2025-03-24T01:41:02.714714602Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AUSF |
nrf      | 2025-03-24T01:41:02.715795363Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.716904160Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.719054413Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
ausf     | 2025-03-24T01:41:02.721029118Z [INFO][AUSF][UeAuth] HandleUeAuthPostRequest
ausf     | 2025-03-24T01:41:02.721043721Z [INFO][AUSF][UeAuth] Serving network authorized
nrf      | 2025-03-24T01:41:02.722086671Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.722995264Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.723778910Z [INFO][NRF][GIN] | 200 |    10.100.200.7 | POST    | /oauth2/token |
nrf      | 2025-03-24T01:41:02.724737548Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
nrf      | 2025-03-24T01:41:02.725662350Z [INFO][NRF][GIN] | 200 |    10.100.200.7 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=AUSF&service-names=nudm-ueau&target-nf-type=UDM |
nrf      | 2025-03-24T01:41:02.726283169Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.727117842Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
udm      | 2025-03-24T01:41:02.730999669Z [INFO][UDM][UEAU] Handle GenerateAuthDataRequest
nrf      | 2025-03-24T01:41:02.728551475Z [INFO][NRF][GIN] | 200 |    10.100.200.7 | POST    | /oauth2/token |
nrf      | 2025-03-24T01:41:02.732755108Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.735942363Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.737825548Z [INFO][NRF][GIN] | 200 |   10.100.200.10 | POST    | /oauth2/token |
udm      | 2025-03-24T01:41:02.739046645Z [INFO][UDM][Suci] suciPart: [suci 0 001 01 0000 0 0 0000000000]
udm      | 2025-03-24T01:41:02.739097883Z [INFO][UDM][Suci] scheme 0
udm      | 2025-03-24T01:41:02.739537880Z [INFO][UDM][Suci] SUPI type is IMSI
nrf      | 2025-03-24T01:41:02.741150447Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.743181486Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.745179821Z [INFO][NRF][GIN] | 200 |   10.100.200.10 | POST    | /oauth2/token |
nrf      | 2025-03-24T01:41:02.746463005Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
nrf      | 2025-03-24T01:41:02.747924895Z [INFO][NRF][GIN] | 200 |   10.100.200.10 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=UDM&target-nf-type=UDR |
mongodb  | 2025-03-24T01:41:02.752+0000 I NETWORK  [listener] connection accepted from 10.100.200.9:40916 #13 (13 connections now open)
mongodb  | 2025-03-24T01:41:02.752+0000 I NETWORK  [conn13] received client metadata from 10.100.200.9:40916 conn13: { driver: { name: "mongo-go-driver", version: "v1.8.4" }, os: { type: "linux", architecture: "amd64" }, platform: "go1.21.8" }
udr      | 2025-03-24T01:41:02.753804714Z [INFO][UDR][GIN] | 200 |   10.100.200.10 | GET     | /nudr-dr/v2/subscription-data/imsi-001010000000000/authentication-data/authentication-subscription |
udm      | 2025-03-24T01:41:02.755812318Z [INFO][UDM][Proc] ModifyAuthenticationSubscriptionRequest:  [{replace /sequenceNumber  { 000000000028 map[] 0 }}]
udr      | 2025-03-24T01:41:02.759299166Z [INFO][UDR][GIN] | 204 |   10.100.200.10 | PATCH   | /nudr-dr/v2/subscription-data/imsi-001010000000000/authentication-data/authentication-subscription |
udm      | 2025-03-24T01:41:02.759768468Z [INFO][UDM][GIN] | 200 |    10.100.200.7 | POST    | /nudm-ueau/v1/suci-0-001-01-0000-0-0-0000000000/security-information/generate-auth-data |
ausf     | 2025-03-24T01:41:02.760596784Z [INFO][AUSF][UeAuth] Add SuciSupiPair (suci-0-001-01-0000-0-0-0000000000, imsi-001010000000000) to map.
ausf     | 2025-03-24T01:41:02.760617300Z [INFO][AUSF][UeAuth] Use 5G AKA auth method
ausf     | 2025-03-24T01:41:02.760626938Z [INFO][AUSF][5gAka] XresStar = 3730643366353330656638646366613565353239633632396161653532636565
ausf     | 2025-03-24T01:41:02.760828626Z [INFO][AUSF][GIN] | 201 |   10.100.200.16 | POST    | /nausf-auth/v1/ue-authentications |
amf      | 2025-03-24T01:41:02.761338057Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Send Authentication Request
amf      | 2025-03-24T01:41:02.761433175Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Send Downlink Nas Transport
amf      | 2025-03-24T01:41:02.761653592Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Start T3560 timer
amf      | 2025-03-24T01:41:02.783411874Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Handle UplinkNASTransport
amf      | 2025-03-24T01:41:02.783446922Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Handle UplinkNASTransport (RAN UE NGAP ID: 0)
nrf      | 2025-03-24T01:41:02.785014935Z [INFO][NRF][Token] In HTTPAccessTokenRequest
amf      | 2025-03-24T01:41:02.783639817Z [INFO][AMF][Gmm] Handle event[Gmm Message], transition from [Authentication] to [Authentication]
nrf      | 2025-03-24T01:41:02.786516269Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
amf      | 2025-03-24T01:41:02.783647575Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Handle Authentication Response
nrf      | 2025-03-24T01:41:02.789379989Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
amf      | 2025-03-24T01:41:02.783651302Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:] Stop T3560 timer
ausf     | 2025-03-24T01:41:02.792974236Z [INFO][AUSF][5gAka] Auth5gAkaComfirmRequest
ausf     | 2025-03-24T01:41:02.792992886Z [INFO][AUSF][5gAka] res*: 3730643366353330656638646366613565353239633632396161653532636565
ausf     | Xres*: 3730643366353330656638646366613565353239633632396161653532636565
ausf     | 2025-03-24T01:41:02.792996009Z [INFO][AUSF][5gAka] 5G AKA confirmation succeeded
nrf      | 2025-03-24T01:41:02.794145929Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.795469993Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.797959695Z [INFO][NRF][GIN] | 200 |    10.100.200.7 | POST    | /oauth2/token |
udm      | 2025-03-24T01:41:02.801017382Z [INFO][UDM][UEAU] Handle ConfirmAuthDataRequest
nrf      | 2025-03-24T01:41:02.802192579Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.803525378Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.804765287Z [INFO][NRF][GIN] | 200 |   10.100.200.10 | POST    | /oauth2/token |
udr      | 2025-03-24T01:41:02.808637671Z [INFO][UDR][GIN] | 204 |   10.100.200.10 | PUT     | /nudr-dr/v2/subscription-data/imsi-001010000000000/authentication-data/authentication-status |
udm      | 2025-03-24T01:41:02.809046600Z [INFO][UDM][GIN] | 201 |    10.100.200.7 | POST    | /nudm-ueau/v1/imsi-001010000000000/auth-events |
ausf     | 2025-03-24T01:41:02.809560234Z [INFO][AUSF][GIN] | 200 |   10.100.200.16 | PUT     | /nausf-auth/v1/ue-authentications/suci-0-001-01-0000-0-0-0000000000/5g-aka-confirmation |
amf      | 2025-03-24T01:41:02.810019639Z [INFO][AMF][Gmm] Handle event[Authentication Success], transition from [Authentication] to [SecurityMode]
amf      | 2025-03-24T01:41:02.810358666Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Send Security Mode Command
amf      | 2025-03-24T01:41:02.810647054Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Send Downlink Nas Transport
amf      | 2025-03-24T01:41:02.811698338Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Start T3560 timer
amf      | 2025-03-24T01:41:02.828990188Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Handle UplinkNASTransport
amf      | 2025-03-24T01:41:02.829283904Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Handle UplinkNASTransport (RAN UE NGAP ID: 0)
amf      | 2025-03-24T01:41:02.829340770Z [INFO][AMF][Gmm] Handle event[Gmm Message], transition from [SecurityMode] to [SecurityMode]
amf      | 2025-03-24T01:41:02.829346379Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Handle Security Mode Complete
nrf      | 2025-03-24T01:41:02.831203821Z [INFO][NRF][Token] In HTTPAccessTokenRequest
amf      | 2025-03-24T01:41:02.829350351Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Stop T3560 timer
amf      | 2025-03-24T01:41:02.829371029Z [INFO][AMF][Gmm] Handle event[SecurityMode Success], transition from [SecurityMode] to [ContextSetup]
amf      | 2025-03-24T01:41:02.829374823Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Handle InitialRegistration
nrf      | 2025-03-24T01:41:02.832854856Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.834293088Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
nrf      | 2025-03-24T01:41:02.835325017Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
nrf      | 2025-03-24T01:41:02.836104862Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&supi=imsi-001010000000000&target-nf-type=UDM |
nrf      | 2025-03-24T01:41:02.836567334Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.837749220Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.839726800Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
udm      | 2025-03-24T01:41:02.843813351Z [INFO][UDM][Consumer] TwoLayerPathHandlerFunc,  imsi-001010000000000 nssai
udm      | 2025-03-24T01:41:02.843878214Z [INFO][UDM][SDM] Handle GetNssai
nrf      | 2025-03-24T01:41:02.845247237Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.846158784Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.848396302Z [INFO][NRF][GIN] | 200 |   10.100.200.10 | POST    | /oauth2/token |
udr      | 2025-03-24T01:41:02.850579642Z [INFO][UDR][DataRepo] QueryAmDataProcedure: ueId: imsi-001010000000000, servingPlmnId: 00101
udr      | 2025-03-24T01:41:02.851277475Z [INFO][UDR][GIN] | 404 |   10.100.200.10 | GET     | /nudr-dr/v2/subscription-data/imsi-001010000000000/00101/provisioned-data/am-data?supported-features= |
udm      | 2025-03-24T01:41:02.851732303Z [INFO][UDM][GIN] | 404 |   10.100.200.16 | GET     | /nudm-sdm/v2/imsi-001010000000000/nssai?plmn-id=%7B%22mcc%22%3A%22001%22%2C%22mnc%22%3A%2201%22%7D |
amf      | 2025-03-24T01:41:02.852439804Z [ERRO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] SDM_Get Slice Selection Subscription Data Failed Problem[&{Type: Title:System failure Status:500 Detail:json: cannot unmarshal string into Go value of type models.ProblemDetails Instance: Cause:SYSTEM_FAILURE InvalidParams:[] SupportedFeatures: AccessTokenError:<nil> AccessTokenRequest:<nil> NrfId:}]
nrf      | 2025-03-24T01:41:02.854399976Z [INFO][NRF][Token] In HTTPAccessTokenRequest
amf      | 2025-03-24T01:41:02.852482790Z [INFO][AMF][Gmm] RequestedNssai: &{Iei:47 Len:5 Buffer:[4 1 0 0 1]}
nrf      | 2025-03-24T01:41:02.855863479Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
amf      | 2025-03-24T01:41:02.852491515Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] RequestedNssai - ServingSnssai: &{Sst:1 Sd:000001}, HomeSnssai: <nil>
nrf      | 2025-03-24T01:41:02.857365836Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
nrf      | 2025-03-24T01:41:02.859558899Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
nrf      | 2025-03-24T01:41:02.861041399Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=NSSF |
nrf      | 2025-03-24T01:41:02.861793529Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nrf      | 2025-03-24T01:41:02.862973523Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.866038310Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
nssf     | 2025-03-24T01:41:02.869397858Z [INFO][NSSF][NsSel] Handle NSSelectionGet
amf      | 2025-03-24T01:41:02.870172772Z [ERRO][AMF][Gmm][amf_ue_ngap_id:RU:0,AU:1(3GPP)][supi:SUPI:imsi-001010000000000] Registration Status Update Error[amf not found]
nssf     | 2025-03-24T01:41:02.869715934Z [WARN][NSSF][Util] No TA {"plmnId":{"mcc":"001","mnc":"01"},"tac":"000001"} in NSSF configuration
nrf      | 2025-03-24T01:41:02.871183585Z [INFO][NRF][Token] In HTTPAccessTokenRequest
nssf     | 2025-03-24T01:41:02.869774153Z [INFO][NSSF][GIN] | 200 |   10.100.200.16 | GET     | /nnssf-nsselection/v2/network-slice-information?nf-id=a2195477-929b-4661-9e40-39c8aca81220&nf-type=AMF&slice-info-request-for-registration=%7B%22requestedNssai%22%3A%5B%7B%22sst%22%3A1%2C%22sd%22%3A%22000001%22%7D%5D%7D&tai=%7B%22plmnId%22%3A%7B%22mcc%22%3A%22001%22%2C%22mnc%22%3A%2201%22%7D%2C%22tac%22%3A%22000001%22%7D |
nrf      | 2025-03-24T01:41:02.873587138Z [WARN][NRF][Token] Certificate verify: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "NRF")
nrf      | 2025-03-24T01:41:02.875476643Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | POST    | /oauth2/token |
amf      | 2025-03-24T01:41:02.879182664Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Send Reroute Nas Request
nrf      | 2025-03-24T01:41:02.877352011Z [INFO][NRF][DISC] Handle NFDiscoveryRequest
amf      | 2025-03-24T01:41:02.879430410Z [ERRO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Build RerouteNasRequest failed : SEQUENCE OF Size is lower than lowerbound
nrf      | 2025-03-24T01:41:02.878775652Z [INFO][NRF][GIN] | 200 |   10.100.200.16 | GET     | /nnrf-disc/v1/nf-instances?requester-nf-type=AMF&target-nf-type=AMF |
amf      | 2025-03-24T01:41:02.879443350Z [ERRO][AMF][Gmm] AMF can not select an target AMF by NRF
amf      | 2025-03-24T01:41:02.879450161Z [INFO][AMF][Gmm] Handle event[ContextSetup Fail], transition from [ContextSetup] to [Deregistered]
amf      | 2025-03-24T01:41:05.884965404Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Handle UEContextReleaseRequest
amf      | 2025-03-24T01:41:05.884996074Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Handle UEContextReleaseRequest (RAN UE NGAP ID: 0)
amf      | 2025-03-24T01:41:05.885004370Z [WARN][AMF][Ngap][ran_addr:10.100.200.1:50172] Cause RadioNetwork[0]
amf      | 2025-03-24T01:41:05.885015276Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Send UE Context Release Command
amf      | 2025-03-24T01:41:05.885038204Z [WARN][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] AmfUe is nil
amf      | 2025-03-24T01:41:06.045910274Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Handle UEContextReleaseComplete
amf      | 2025-03-24T01:41:06.045949871Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:0,AU:1(3GPP)][ran_addr:10.100.200.1:50172] Handle UEContextReleaseComplete (RAN UE NGAP ID: 0)
amf      | 2025-03-24T01:41:06.045964040Z [INFO][AMF][Ngap][ran_addr:10.100.200.1:50172] Release UE Context : RanUe[AmfUeNgapId: 1]

Config files for free5gc.

The place with # TODO tag means i have made some changes here to build the end2end experiment.

basically just followed the idea of GitHub - s5uishida/free5gc_srsran_sample_config: free5GC 5GC & srsRAN 5G with ZeroMQ UE / RAN Sample Configuration.

amfcfg

info:
  version: 1.0.9
  description: AMF initial local configuration

configuration:
  amfName: AMF # the name of this AMF
  ngapIpList:  # the IP list of N2 interfaces on this AMF
  # TODO to be modified here
    - amf.free5gc.org
  ngapPort: 38412 # the SCTP port listened by NGAP
  sbi: # Service-based interface information
    scheme: http # the protocol for sbi (http or https)
    registerIPv4: amf.free5gc.org # IP used to register to NRF
    bindingIPv4: amf.free5gc.org  # IP used to bind the service
    port: 8000 # port used to bind the service
    tls: # the local path of TLS key
      pem: cert/amf.pem # AMF TLS Certificate
      key: cert/amf.key # AMF TLS Private key
  serviceNameList: # the SBI services provided by this AMF, refer to TS 29.518
    - namf-comm # Namf_Communication service
    - namf-evts # Namf_EventExposure service
    - namf-mt   # Namf_MT service
    - namf-loc  # Namf_Location service
    - namf-oam  # OAM service
  servedGuamiList: # Guami (Globally Unique AMF ID) list supported by this AMF
    # <GUAMI> = <MCC><MNC><AMF ID>
    - plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
        # mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
        # mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        # TODO to be modified here
        mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      amfId: cafe00 # AMF identifier (3 bytes hex string, range: 000000~FFFFFF)
  supportTaiList:  # the TAI (Tracking Area Identifier) list supported by this AMF
    - plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
        # mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
        # mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        # TODO to be modified here
        mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      tac: 000001 # Tracking Area Code (3 bytes hex string, range: 000000~FFFFFF)
  plmnSupportList: # the PLMNs (Public land mobile network) list supported by this AMF
    - plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
        # mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
        # mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        # TODO to be modified here
        mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      snssaiList: # the S-NSSAI (Single Network Slice Selection Assistance Information) list supported by this AMF
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          # sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          # TODO to be modified here
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
  supportDnnList:  # the DNN (Data Network Name) list supported by this AMF
    - internet
  nrfUri: http://nrf.free5gc.org:8000 # a valid URI of NRF
  nrfCertPem: cert/nrf.pem
  security:  # NAS security parameters
    integrityOrder: # the priority of integrity algorithms
      - NIA2
      # - NIA0
    cipheringOrder: # the priority of ciphering algorithms
      - NEA0
      # - NEA2
  networkName:  # the name of this core network
    full: free5GC
    short: free
  ngapIE: # Optional NGAP IEs
    mobilityRestrictionList: # Mobility Restriction List IE, refer to TS 38.413
      enable: true # append this IE in related message or not
    maskedIMEISV: # Masked IMEISV IE, refer to TS 38.413
      enable: true # append this IE in related message or not
    redirectionVoiceFallback: # Redirection Voice Fallback IE, refer to TS 38.413
      enable: false # append this IE in related message or not
  nasIE: # Optional NAS IEs
    networkFeatureSupport5GS: # 5gs Network Feature Support IE, refer to TS 24.501
      enable: true # append this IE in Registration accept or not
      length: 1 # IE content length (uinteger, range: 1~3)
      imsVoPS: 0 # IMS voice over PS session indicator (uinteger, range: 0~1)
      emc: 0 # Emergency service support indicator for 3GPP access (uinteger, range: 0~3)
      emf: 0 # Emergency service fallback indicator for 3GPP access (uinteger, range: 0~3)
      iwkN26: 0 # Interworking without N26 interface indicator (uinteger, range: 0~1)
      mpsi: 0 # MPS indicator (uinteger, range: 0~1)
      emcN3: 0 # Emergency service support indicator for Non-3GPP access (uinteger, range: 0~1)
      mcsi: 0 # MCS indicator (uinteger, range: 0~1)
  t3502Value: 720  # timer value (seconds) at UE side
  t3512Value: 3600 # timer value (seconds) at UE side
  non3gppDeregTimerValue: 3240 # timer value (seconds) at UE side
  # retransmission timer for paging message
  t3513:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Deregistration Request message
  t3522:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Registration Accept message
  t3550:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Configuration Update Command message
  t3555:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Authentication Request/Security Mode Command message
  t3560:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Notification message
  t3565:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  # retransmission timer for NAS Identity Request message
  t3570:
    enable: true     # true or false
    expireTime: 6s   # default is 6 seconds
    maxRetryTimes: 4 # the max number of retransmission
  locality: area1 # Name of the location where a set of AMF, SMF, PCF and UPFs are located
  sctp: # set the sctp server setting <optinal>, once this field is set, please also add maxInputStream, maxOsStream, maxAttempts, maxInitTimeOut
    numOstreams: 3 # the maximum out streams of each sctp connection
    maxInstreams: 5 # the maximum in streams of each sctp connection
    maxAttempts: 2 # the maximum attempts of each sctp connection
    maxInitTimeout: 2 # the maximum init timeout of each sctp connection
  defaultUECtxReq: false # the default value of UE Context Request to decide when triggering Initial Context Setup procedure

logger: # log output setting
  enable: true # true or false
  level: info # how detailed to output, value: trace, debug, info, warn, error, fatal, panic
  reportCaller: false # enable the caller report or not, value: true or false

ausfcfg

info:
  version: 1.0.3
  description: AUSF initial local configuration

configuration:
  sbi: # Service-based interface information
    scheme: http # the protocol for sbi (http or https)
    registerIPv4: ausf.free5gc.org # IP used to register to NRF
    bindingIPv4: ausf.free5gc.org  # IP used to bind the service
    port: 8000 # Port used to bind the service
    tls: # the local path of TLS key
      pem: cert/ausf.pem # AUSF TLS Certificate
      key: cert/ausf.key # AUSF TLS Private key
  serviceNameList: # the SBI services provided by this AUSF, refer to TS 29.509
    - nausf-auth # Nausf_UEAuthentication service
  nrfUri: http://nrf.free5gc.org:8000 # a valid URI of NRF
  nrfCertPem: cert/nrf.pem
  plmnSupportList: # the PLMNs (Public Land Mobile Network) list supported by this AUSF
    # - mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
    #   mnc: 93  # Mobile Network Code (2 or 3 digits string, digit: 0~9)
    # - mcc: 123 # Mobile Country Code (3 digits string, digit: 0~9)
    #   mnc: 45  # Mobile Network Code (2 or 3 digits string, digit: 0~9)
    # TODO to be modified here
    - mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
      mnc: 01  # Mobile Network Code (2 or 3 digits string, digit: 0~9)
  groupId: ausfGroup001 # ID for the group of the AUSF
  eapAkaSupiImsiPrefix: false # including "imsi-" prefix or not when using the SUPI to do EAP-AKA' authentication

logger: # log output setting
  enable: true # true or false
  level: info # how detailed to output, value: trace, debug, info, warn, error, fatal, panic
  reportCaller: false # enable the caller report or not, value: true or false

nrfcfg

info:
  version: 1.0.2
  description: NRF initial local configuration

configuration:
  MongoDBName: free5gc # database name in MongoDB
  MongoDBUrl: mongodb://db:27017 # a valid URL of the mongodb
  sbi: # Service-based interface information
    scheme: http # the protocol for sbi (http or https)
    registerIPv4: nrf.free5gc.org # IP used to serve NFs or register to another NRF
    bindingIPv4: nrf.free5gc.org  # IP used to bind the service
    port: 8000 # port used to bind the service
    cert: # the local path of TLS key
      pem: cert/nrf.pem # NRF TLS Certificate
      key: cert/nrf.key # NRF TLS Private key
    rootcert: # the local path of root CA certs
      pem: cert/nrf.pem
      key: cert/nrf.key
    oauth: true
  DefaultPlmnId:
    # mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
    # mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
    # TODO to be modified here
    mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
    mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
  serviceNameList: # the SBI services provided by this NRF, refer to TS 29.510
    - nnrf-nfm # Nnrf_NFManagement service
    - nnrf-disc # Nnrf_NFDiscovery service

logger: # log output setting
  enable: true # true or false
  level: info # how detailed to output, value: trace, debug, info, warn, error, fatal, panic
  reportCaller: false # enable the caller report or not, value: true or false

nssf

info:
  version: 1.0.2
  description: NSSF initial local configuration

configuration:
  nssfName: NSSF # the name of this NSSF
  sbi: # Service-based interface information
    scheme: http # the protocol for sbi (http or https)
    registerIPv4: nssf.free5gc.org # IP used to register to NRF
    bindingIPv4: nssf.free5gc.org  # IP used to bind the service
    port: 8000 # Port used to bind the service
    tls: # the local path of TLS key
      pem: cert/nssf.pem # NSSF TLS Certificate
      key: cert/nssf.key # NSSF TLS Private key
  serviceNameList: # the SBI services provided by this SMF, refer to TS 29.531
    - nnssf-nsselection # Nnssf_NSSelection service
    - nnssf-nssaiavailability # Nnssf_NSSAIAvailability service
  nrfUri: http://nrf.free5gc.org:8000 # a valid URI of NRF
  nrfCertPem: cert/nrf.pem
  supportedPlmnList: # the PLMNs (Public land mobile network) list supported by this NSSF
    # - mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
    #   mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
    # TODO to be modified here
    - mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
      mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
  supportedNssaiInPlmnList: # Supported S-NSSAI List for each PLMN
    - plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
        # mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
        # mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        # TODO to be modified here
        mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      supportedSnssaiList: # Supported S-NSSAIs of the PLMN
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          # sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          # TODO to be modified here
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
  nsiList: # List of available Network Slice Instance (NSI)
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 10
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 11
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 12
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 12
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 13
    - snssai: # S-NSSAI of this NSI
        sst: 2 # Slice/Service Type (uinteger, range: 0~255)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 20
    - snssai: # S-NSSAI of this NSI
        sst: 2 # Slice/Service Type (uinteger, range: 0~255)
        sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 21
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 22
    - snssai: # S-NSSAI of this NSI
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      nsiInformationList: # Information list of this NSI
        # the NRF to be used to select the NFs/services within the selected NSI, and an optonal ID
        - nrfId: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
          nsiId: 23
  amfSetList: # List of AMF Sets that my be assigned by this NSSF
    - amfSetId: 1 # the AMF Set identifier
      amfList: # Instance ID of the AMFs in this set
        - ffa2e8d7-3275-49c7-8631-6af1df1d9d26
        - 0e8831c3-6286-4689-ab27-1e2161e15cb1
        - a1fba9ba-2e39-4e22-9c74-f749da571d0d
      # URI of the NRF used to determine the list of candidate AMF(s) from the AMF Set
      nrfAmfSet: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances
      # the Nssai availability data information per TA supported by the AMF
      supportedNssaiAvailabilityData:
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33456 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33457 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    - amfSetId: 2 # the AMF Set identifier
      # URI of the NRF used to determine the list of candidate AMF(s) from the AMF Set
      nrfAmfSet: http://nrf.free5gc.org:8084/nnrf-nfm/v1/nf-instances
      # the Nssai availability data information per TA supported by the AMF
      supportedNssaiAvailabilityData:
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33456 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33458 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
  amfList: # List of AMFs that may be assigned by this NSSF
    - nfId: 469de254-2fe5-4ca0-8381-af3f500af77c # ID of this AMF
      # The NSSAI availability data information per TA supported by the AMF
      supportedNssaiAvailabilityData:
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33456 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33457 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    - nfId: fbe604a8-27b2-417e-bd7c-8a7be2691f8d # ID of this AMF
      # The NSSAI availability data information per TA supported by the AMF
      supportedNssaiAvailabilityData:
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33458 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33459 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    - nfId: b9e6e2cb-5ce8-4cb6-9173-a266dd9a2f0c # ID of this AMF
      # The NSSAI availability data information per TA supported by the AMF
      supportedNssaiAvailabilityData:
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33456 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
        - tai: # Tracking Area Identifier
            plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
              mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
              mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
            tac: 33458 # Tracking Area Code (uinteger, range: 0~16777215)
          supportedSnssaiList: # Supported S-NSSAIs of the tracking area
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
  taList: # List of supported tracking area and their related information of this NSSF instance
    - tai: # Tracking Area Identity
        plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
          mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
          mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        tac: 33456 # Tracking Area Code (uinteger, range: 0~16777215)
      accessType: 3GPP_ACCESS # Access type of the tracking area
      supportedSnssaiList: # List of supported S-NSSAIs of the tracking area
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
    - tai: # Tracking Area Identity
        plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
          mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
          mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        tac: 33457 # Tracking Area Code (uinteger, range: 0~16777215)
      accessType: 3GPP_ACCESS # Access type of the tracking area
      supportedSnssaiList: # List of supported S-NSSAIs of the tracking area
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
    - tai: # Tracking Area Identifier
        plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
          mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
          mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        tac: 33458 # Tracking Area Code (uinteger, range: 0~16777215)
      accessType: 3GPP_ACCESS # Access type of the tracking area
      supportedSnssaiList: # List of supported S-NSSAIs of the tracking area
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
      restrictedSnssaiList: # List of restricted S-NSSAIs of the tracking area
        - homePlmnId: # Home PLMN identifier
            mcc: 310 # Mobile Country Code (3 digits string, digit: 0~9)
            mnc: 560 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
          sNssaiList: # the S-NSSAIs List
            - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    - tai: # Tracking Area Identifier
        plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
          mcc: 466 # Mobile Country Code (3 digits string, digit: 0~9)
          mnc: 92 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
        tac: 33459 # Tracking Area Code (uinteger, range: 0~16777215)
      accessType: 3GPP_ACCESS # Access type of the tracking area
      supportedSnssaiList: # List of supported S-NSSAIs of the tracking area
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
        - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
          sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      restrictedSnssaiList: # List of restricted S-NSSAIs of the tracking area
        - homePlmnId: # Home PLMN identifier
            mcc: 310 # Mobile Country Code (3 digits string, digit: 0~9)
            mnc: 560 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
          sNssaiList: # the S-NSSAIs List
            - sst: 2 # Slice/Service Type (uinteger, range: 0~255)
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
  # List of mappings of S-NSSAI in the serving network and the value of the home network
  mappingListFromPlmn:
    - operatorName: NTT Docomo # Home PLMN name
      homePlmnId: # Home PLMN identifier
        mcc: 440 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 10 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      mappingOfSnssai: # List of S-NSSAIs mapping
        - servingSnssai: # S-NSSAI in the serving network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 1 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - servingSnssai: # S-NSSAI in the serving network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - servingSnssai: # S-NSSAI in the serving network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000004 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - servingSnssai: # S-NSSAI in the serving network
            sst: 2 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 2 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
    - operatorName: AT&T Mobility # Home PLMN name
      homePlmnId: # Home PLMN identifier
        mcc: 310 # Mobile Country Code (3 digits string, digit: 0~9)
        mnc: 560 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
      mappingOfSnssai:
        - servingSnssai: # S-NSSAI in the serving network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        - servingSnssai: # S-NSSAI in the serving network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000002 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
          homeSnssai: # S-NSSAI in the home network
            sst: 1 # Slice/Service Type (uinteger, range: 0~255)
            sd: 000003 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)

...

smf

info:
  version: 1.0.7
  description: SMF initial local configuration

configuration:
  smfName: SMF # the name of this SMF
  sbi: # Service-based interface information
    scheme: http # the protocol for sbi (http or https)
    registerIPv4: smf.free5gc.org # IP used to register to NRF
    bindingIPv4: smf.free5gc.org # IP used to bind the service
    port: 8000 # Port used to bind the service
    tls: # the local path of TLS key
      key: cert/smf.key # SMF TLS Certificate
      pem: cert/smf.pem # SMF TLS Private key
  serviceNameList: # the SBI services provided by this SMF, refer to TS 29.502
    - nsmf-pdusession # Nsmf_PDUSession service
    - nsmf-event-exposure # Nsmf_EventExposure service
    - nsmf-oam # OAM service
  snssaiInfos: # the S-NSSAI (Single Network Slice Selection Assistance Information) list supported by this AMF
    - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        # sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
        # TODO to be modified here
        sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      dnnInfos: # DNN information list
        - dnn: internet # Data Network Name
          dns: # the IP address of DNS
            ipv4: 8.8.8.8
            ipv6: 2001:4860:4860::8888
    - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
        sst: 1 # Slice/Service Type (uinteger, range: 0~255)
        sd: 112233 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
      dnnInfos: # DNN information list
        - dnn: internet # Data Network Name
          dns: # the IP address of DNS
            ipv4: 8.8.8.8
            ipv6: 2001:4860:4860::8888
  plmnList: # the list of PLMN IDs that this SMF belongs to (optional, remove this key when unnecessary)
    
    # TODO to be modified here
    - mcc: 001 # Mobile Country Code (3 digits string, digit: 0~9)
      mnc: 01 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
  locality: area1 # Name of the location where a set of AMF, SMF, PCF and UPFs are located
  pfcp: # the IP address of N4 interface on this SMF (PFCP)
    # addr config is deprecated in smf config v1.0.3, please use the following config
    # TODO to be modified here
    nodeID: smf.free5gc.org # the Node ID of this SMF
    listenAddr: smf.free5gc.org # the IP/FQDN of N4 interface on this SMF (PFCP)
    externalAddr: smf.free5gc.org # the IP/FQDN of N4 interface on this SMF (PFCP)
  userplaneInformation: # list of userplane information
    upNodes: # information of userplane node (AN or UPF)
      gNB1: # the name of the node
        type: AN # the type of the node (AN or UPF)
      UPF: # the name of the node
      # TODO to be modified here
        type: UPF # the type of the node (AN or UPF)
        nodeID: upf.free5gc.org # the Node ID of this UPF
        addr: upf.free5gc.org # the IP/FQDN of N4 interface on this UPF (PFCP)
        sNssaiUpfInfos: # S-NSSAI information list for this UPF
          - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
              sst: 1 # Slice/Service Type (uinteger, range: 0~255)
              # sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
              # TODO to be modified here
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            dnnUpfInfoList: # DNN information list for this S-NSSAI
              - dnn: internet
                pools:
                  - cidr: 10.60.0.0/16
                staticPools:
                  - cidr: 10.60.100.0/24
          - sNssai: # S-NSSAI (Single Network Slice Selection Assistance Information)
              sst: 1 # Slice/Service Type (uinteger, range: 0~255)
             
              # TODO to be modified here
              sd: 000001 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
            dnnUpfInfoList: # DNN information list for this S-NSSAI
              - dnn: internet
                pools:
                  - cidr: 10.61.0.0/16
                staticPools:
                  - cidr: 10.61.100.0/24
        interfaces: # Interface list for this UPF
          - interfaceType: N3 # the type of the interface (N3 or N9)
            endpoints: # the IP address of this N3/N9 interface on this UPF
            # TODO to be modified here
              - upf.free5gc.org
            networkInstances: # Data Network Name (DNN)
              - internet
    links: # the topology graph of userplane, A and B represent the two nodes of each link
      - A: gNB1
        B: UPF
  # retransmission timer for pdu session modification command
  # TODO to be modified here
  ulcl: false
  t3591:
    enable: true # true or false
    expireTime: 16s # default is 6 seconds
    maxRetryTimes: 3 # the max number of retransmission
  # retransmission timer for pdu session release command
  t3592:
    enable: true # true or false
    expireTime: 16s # default is 6 seconds
    maxRetryTimes: 3 # the max number of retransmission
  nrfUri: http://nrf.free5gc.org:8000 # a valid URI of NRF
  nrfCertPem: cert/nrf.pem # NRF Certificate
  urrPeriod: 10 # default usage report period in seconds
  urrThreshold: 1000 # default usage report threshold in bytes
  requestedUnit: 1000
...

upf

version: 1.0.3
description: UPF initial local configuration

# The listen IP and nodeID of the N4 interface on this UPF (Can't set to 0.0.0.0)
pfcp:
# TODO to be modified here
  addr: upf.free5gc.org # IP addr for listening
  nodeID: upf.free5gc.org # External IP or FQDN can be reached
  retransTimeout: 1s # retransmission timeout
  maxRetrans: 3 # the max number of retransmission

gtpu:
  forwarder: gtp5g
  # The IP list of the N3/N9 interfaces on this UPF
  # If there are multiple connection, set addr to 0.0.0.0 or list all the addresses
  ifList:
    - addr: upf.free5gc.org
      type: N3
      # name: upf.5gc.nctu.me
      # ifname: gtpif
      # mtu: 1400

# The DNN list supported by UPF
dnnList:
  - dnn: internet # Data Network Name
    cidr: 10.60.0.0/16 # Classless Inter-Domain Routing for assigned IPv4 pool of UE
    # natifname: eth0
    # TODO to be modified here
  # - dnn: internet # Data Network Name
  #   cidr: 10.61.0.0/16 # Classless Inter-Domain Routing for assigned IPv4 pool of UE
    # natifname: eth0

...
1 Like