Hello. I want to launch a 5G network. But I get an error all the time.
NGsetup failed
Failed to initiate NG connection. Attempting reconnection in 10 seconds
NG Setup Failure. Cause: radioNetwork - slice-not-supported
I think that the error is also in the configs and it is simple.
Launch
I run docker_open5gs like this.
docker-compose -f sa-deploy.yaml up
I run srsENB like this.
docker-compose -f srsgnb.yaml up -d && docker attach srsgnb
Configs
rr_gnb.conf
```
mac_cnfg =
{
phr_cnfg =
{
dl_pathloss_change = "dB3"; // Valid: 1, 3, 6 or INFINITY
periodic_phr_timer = 50;
prohibit_phr_timer = 0;
};
ulsch_cnfg =
{
max_harq_tx = 4;
periodic_bsr_timer = 20; // in ms
retx_bsr_timer = 320; // in ms
};
time_alignment_timer = -1; // -1 is infinity
};
phy_cnfg =
{
phich_cnfg =
{
duration = "Normal";
resources = "1/6";
};
pusch_cnfg_ded =
{
beta_offset_ack_idx = 6;
beta_offset_ri_idx = 6;
beta_offset_cqi_idx = 6;
};
// PUCCH-SR resources are scheduled on time-frequeny domain first, then multiplexed in the same resource.
sched_request_cnfg =
{
dsr_trans_max = 64;
period = 20; // in ms
//subframe = [1, 11]; // Optional vector of subframe indices allowed for SR transmissions (default uses all)
nof_prb = 1; // number of PRBs on each extreme used for SR (total prb is twice this number)
};
cqi_report_cnfg =
{
mode = "periodic";
simultaneousAckCQI = true;
period = 40; // in ms
//subframe = [0, 10, 20, 30]; // Optional vector of subframe indices every period where CQI resources will be allocated (default uses all)
m_ri = 8; // RI period in CQI period
//subband_k = 1; // If enabled and > 0, configures sub-band CQI reporting and defines K (see 36.213 7.2.2). If disabled, configures wideband CQI
};
};
cell_list =
(
);
nr_cell_list =
(
{
rf_port = 0;
cell_id = 1;
root_seq_idx = 1;
tac = 1;
pci = 500;
dl_arfcn = 368500;
band = 3;
}
);
```
rb.conf
```
// All times are in ms. Use -1 for infinity, where available
// 4G Section
// srb1_config = {
// rlc_config = {
// ul_am = {
// t_poll_retx = 45;
// poll_pdu = -1;
// poll_byte = -1;
// max_retx_thresh = 4;
// };
// dl_am = {
// t_reordering = 35;
// t_status_prohibit = 0;
// };
// enb_specific = {
// dl_max_retx_thresh = 32;
// };
// };
// }
// srb2_config = {
// rlc_config = {
// ul_am = {
// t_poll_retx = 45;
// poll_pdu = -1;
// poll_byte = -1;
// max_retx_thresh = 4;
// };
// dl_am = {
// t_reordering = 35;
// t_status_prohibit = 0;
// };
// enb_specific = {
// dl_max_retx_thresh = 32;
// };
// };
// }
qci_config = (
{
qci=1;
pdcp_config = {
discard_timer = 100;
pdcp_sn_size = 12;
}
rlc_config = {
ul_um = {
sn_field_length = 10;
};
dl_um = {
sn_field_length = 10;
t_reordering = 50;
};
};
logical_channel_config = {
priority = 2;
prioritized_bit_rate = -1;
bucket_size_duration = 100;
log_chan_group = 1;
};
enb_specific = {
dl_max_retx_thresh = 32;
};
},
{
qci=2;
pdcp_config = {
discard_timer = 100;
pdcp_sn_size = 12;
}
rlc_config = {
ul_um = {
sn_field_length = 10;
};
dl_um = {
sn_field_length = 10;
t_reordering = 50;
};
};
logical_channel_config = {
priority = 4;
prioritized_bit_rate = -1;
bucket_size_duration = 100;
log_chan_group = 1;
};
enb_specific = {
dl_max_retx_thresh = 32;
};
},
{
qci=5;
pdcp_config = {
discard_timer = -1;
status_report_required = true;
}
rlc_config = {
ul_am = {
t_poll_retx = 80;
poll_pdu = 128;
poll_byte = 125;
max_retx_thresh = 4;
};
dl_am = {
t_reordering = 80;
t_status_prohibit = 60;
};
};
logical_channel_config = {
priority = 11;
prioritized_bit_rate = -1;
bucket_size_duration = 100;
log_chan_group = 2;
};
enb_specific = {
dl_max_retx_thresh = 32;
};
},
{
qci = 7;
pdcp_config = {
discard_timer = -1;
pdcp_sn_size = 12;
}
rlc_config = {
ul_um = {
sn_field_length = 10;
};
dl_um = {
sn_field_length = 10;
t_reordering = 45;
};
};
logical_channel_config = {
priority = 13;
prioritized_bit_rate = -1;
bucket_size_duration = 100;
log_chan_group = 2;
};
enb_specific = {
dl_max_retx_thresh = 32;
};
},
{
qci = 9;
pdcp_config = {
discard_timer = 150;
status_report_required = true;
}
rlc_config = {
ul_am = {
t_poll_retx = 120;
poll_pdu = 64;
poll_byte = 750;
max_retx_thresh = 16;
};
dl_am = {
t_reordering = 50;
t_status_prohibit = 50;
};
};
logical_channel_config = {
priority = 11;
prioritized_bit_rate = -1;
bucket_size_duration = 100;
log_chan_group = 3;
};
enb_specific = {
dl_max_retx_thresh = 32;
};
}
);
// 5G Section
five_qi_config = (
{
five_qi = 7;
pdcp_nr_config = {
drb = {
discard_timer = 50;
pdcp_sn_size_ul = 18;
pdcp_sn_size_dl = 18;
};
t_reordering = 50;
};
rlc_config = {
um_bi_dir = {
ul_um = {
sn_field_len = 12;
};
dl_um = {
sn_field_len = 12;
t_reassembly = 50;
};
};
};
},
{
five_qi = 9;
pdcp_nr_config = {
drb = {
discard_timer = 50;
pdcp_sn_size_ul = 18;
pdcp_sn_size_dl = 18;
};
t_reordering = 50;
};
rlc_config = {
am = {
ul_am = {
sn_field_len = 12;
t_poll_retx = 50;
poll_pdu = 4;
poll_byte = 3000;
max_retx_thres = 4;
};
dl_am = {
sn_field_len = 12;
t_reassembly = 50;
t_status_prohibit = 50;
};
};
};
}
);
```
enb.conf
```
#####################################################################
# srsENB configuration file
#####################################################################
#####################################################################
# eNB configuration
#
# enb_id: 20-bit eNB identifier.
# mcc: Mobile Country Code
# mnc: Mobile Network Code
# mme_addr: IP address of MME for S1 connnection
# gtp_bind_addr: Local IP address to bind for GTP connection
# gtp_advertise_addr: IP address of eNB to advertise for DL GTP-U Traffic
# s1c_bind_addr: Local IP address to bind for S1AP connection
# s1c_bind_port: Source port for S1AP connection (0 means any)
# n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100)
# tm: Transmission mode 1-4 (TM1 default)
# nof_ports: Number of Tx ports (1 port default, set to 2 for TM2/3/4)
#
#####################################################################
[enb]
enb_id = 0x19B
mcc = MCC
mnc = MNC
mme_addr = MME_IP
gtp_bind_addr = SRS_ENB_IP
s1c_bind_addr = SRS_ENB_IP
s1c_bind_port = 0
n_prb = 50
# tm = 4
# nof_ports = 2
#####################################################################
# eNB configuration files
#
# sib_config: SIB1, SIB2 and SIB3 configuration file
# note: When enabling MBMS, use the sib.conf.mbsfn configuration file which includes SIB13
# rr_config: Radio Resources configuration file
# rb_config: SRB/DRB configuration file
#####################################################################
[enb_files]
sib_config = /etc/srsran/sib.conf
rr_config = /etc/srsran/rr_gnb.conf
rb_config = /etc/srsran/rb.conf
#####################################################################
# RF configuration
#
# dl_earfcn: EARFCN code for DL (only valid if a single cell is configured in rr.conf)
# tx_gain: Transmit gain (dB).
# rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
#
# Optional parameters:
# dl_freq: Override DL frequency corresponding to dl_earfcn
# ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set)
# device_name: Device driver family
# Supported options: "auto" (uses first driver found), "UHD", "bladeRF", "soapy", "zmq" or "Sidekiq"
# device_args: Arguments for the device driver. Options are "auto" or any string.
# Default for UHD: "recv_frame_size=9232,send_frame_size=9232"
# Default for bladeRF: ""
# time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay
# from antenna to timestamp insertion.
# Default "auto". B210 USRP: 100 samples, bladeRF: 27
#####################################################################
[rf]
# dl_earfcn = 6300
tx_gain = 56
rx_gain = 38
device_name = soapy
device_args = rxant=LNAH,txant=BAND1
# For best performance in 2x2 MIMO and >= 15 MHz use the following device_args settings:
# USRP B210: num_recv_frames=64,num_send_frames=64
# And for 75 PRBs, also append ",master_clock_rate=15.36e6" to the device args
# For best performance when BW<5 MHz (25 PRB), use the following device_args settings:
# USRP B210: send_frame_size=512,recv_frame_size=512
#device_args = auto
#time_adv_nsamples = auto
# Example for ZMQ-based operation with TCP transport for I/Q samples
#device_name = zmq
#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
#####################################################################
# Packet capture configuration
#
# MAC-layer packets are captured to a file in the compact format which can
# be decoded by Wireshark. For decoding, use the UDP dissector and the UDP
# heuristic dissection. Edit the preferences (Edit > Preferences >
# Protocols > DLT_USER) for DLT_USER to add an entry for DLT=149 with
# Protocol=udp. Further, enable the heuristic dissection in UDP under:
# Analyze > Enabled Protocols > MAC-LTE > mac_lte_udp and MAC-NR > mac_nr_udp
# For more information see: https://wiki.wireshark.org/MAC-LTE
# Configuring this Wireshark preferences is needed for decoding the MAC PCAP
# files as well as for the live network capture option.
#
# Please note that this setting will by default only capture MAC
# frames on dedicated channels, and not SIB. You have to build with
# WRITE_SIB_PCAP enabled in srsenb/src/stack/mac/mac.cc if you want
# SIB to be part of the MAC pcap file.
#
# S1AP Packets are captured to a file in the compact format which can
# be decoded by the Wireshark s1ap dissector with DLT 150.
# To use the dissector, edit the preferences for DLT_USER to
# add an entry with DLT=150, Payload Protocol=s1ap.
#
# mac_enable: Enable MAC layer packet captures (true/false)
# filename: File path to use for LTE MAC packet captures
# nr_filename: File path to use for NR MAC packet captures
# s1ap_enable: Enable or disable the PCAP.
# s1ap_filename: File name where to save the PCAP.
#
# mac_net_enable: Enable MAC layer packet captures sent over the network (true/false default: false)
# bind_ip: Bind IP address for MAC network trace (default: "0.0.0.0")
# bind_port: Bind port for MAC network trace (default: 5687)
# client_ip: Client IP address for MAC network trace (default: "127.0.0.1")
# client_port Client IP address for MAC network trace (default: 5847)
#####################################################################
[pcap]
#enable = false
#filename = /mnt/srslte/enb_mac.pcap
#nr_filename = /mnt/srslte/enb_mac_nr.pcap
#s1ap_enable = false
#s1ap_filename = /mnt/srslte/enb_s1ap.pcap
#mac_net_enable = false
#bind_ip = 0.0.0.0
#bind_port = 5687
#client_ip = 127.0.0.1
#client_port = 5847
#####################################################################
# Log configuration
#
# Log levels can be set for individual layers. "all_level" sets log
# level for all layers unless otherwise configured.
# Format: e.g. phy_level = info
#
# In the same way, packet hex dumps can be limited for each level.
# "all_hex_limit" sets the hex limit for all layers unless otherwise
# configured.
# Format: e.g. phy_hex_limit = 32
#
# Logging layers: rf, phy, phy_lib, mac, rlc, pdcp, rrc, gtpu, s1ap, stack, all
# Logging levels: debug, info, warning, error, none
#
# filename: File path to use for log output. Can be set to stdout
# to print logs to standard output
# file_max_size: Maximum file size (in kilobytes). When passed, multiple files are created.
# If set to negative, a single log file will be created.
#####################################################################
[log]
all_level = warning
all_hex_limit = 32
filename = /mnt/srslte/enb.log
file_max_size = -1
[gui]
enable = false
#####################################################################
# Scheduler configuration options
#
# sched_policy: User MAC scheduling policy (E.g. time_rr, time_pf)
# min_aggr_level: Optional minimum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
# max_aggr_level: Optional maximum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
# adaptive_aggr_level: Boolean flag to enable/disable adaptive aggregation level based on target BLER
# pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified)
# pdsch_max_mcs: Optional PDSCH MCS limit
# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
# pusch_max_mcs: Optional PUSCH MCS limit
# min_nof_ctrl_symbols: Minimum number of control symbols
# max_nof_ctrl_symbols: Maximum number of control symbols
# pucch_multiplex_enable: Allow PUCCH HARQ to collide with PUSCH and other PUCCH
# pucch_harq_max_rb: Maximum number of RB to be used for PUCCH on the edges of the grid.
# If defined and greater than 0, the scheduler will avoid DL PDCCH allocations if
# PUCCH HARQ falls outside this region
# target_bler: Target BLER (in decimal) to achieve via adaptive link
# max_delta_dl_cqi: Maximum shift in CQI for adaptive DL link
# max_delta_ul_snr: Maximum shift in UL SNR for adaptive UL link
# adaptive_dl_mcs_step_size: Step size or learning rate used in adaptive DL MCS link
# adaptive_ul_mcs_step_size: Step size or learning rate used in adaptive UL MCS link
# min_tpc_tti_interval: Minimum TTI interval between TPCs different than 1
# ul_snr_avg_alpha: Exponential Average alpha coefficient used in estimation of UL SNR
# init_ul_snr_value: Initial UL SNR value used for computing MCS in the first UL grant
# init_dl_cqi: DL CQI value used before any CQI report is available to the eNB
# max_sib_coderate: Upper bound on SIB and RAR grants coderate
# pdcch_cqi_offset: CQI offset in derivation of PDCCH aggregation level
# nr_pdsch_mcs: Optional fixed NR PDSCH MCS (ignores reported CQIs if specified)
# nr_pusch_mcs: Optional fixed NR PUSCH MCS (ignores reported CQIs if specified)
#
#####################################################################
[scheduler]
#policy = time_pf
#policy_args = 2
#min_aggr_level = 0
#max_aggr_level = 3
#adaptive_aggr_level = false
#pdsch_mcs = -1
#pdsch_max_mcs = -1
#pusch_mcs = -1
#pusch_max_mcs = 16
#min_nof_ctrl_symbols = 1
#max_nof_ctrl_symbols = 3
#pucch_multiplex_enable = false
#pucch_harq_max_rb = 0
#target_bler = 0.05
#max_delta_dl_cqi = 5
#max_delta_ul_snr = 5
#adaptive_dl_mcs_step_size = 0.001
#adaptive_ul_mcs_step_size = 0.001
#min_tpc_tti_interval = 1
#ul_snr_avg_alpha=0.05
#init_ul_snr_value=5
#init_dl_cqi=5
#max_sib_coderate=0.3
#pdcch_cqi_offset=0
#nr_pdsch_mcs=28 by default unkomment use for 5g
#nr_pusch_mcs=28
#####################################################################
# eMBMS configuration options
#
# enable: Enable MBMS transmission in the eNB
# m1u_multiaddr: Multicast address the M1-U socket will register to
# m1u_if_addr: Address of the interface the M1-U interface will listen to for multicast packets
# mcs: Modulation and Coding scheme for MBMS traffic
#
#####################################################################
[embms]
#enable = false
#m1u_multiaddr = 239.255.0.1
#m1u_if_addr = 127.0.1.201
#mcs = 20
#####################################################################
# Channel emulator options:
# enable: Enable/disable internal Downlink/Uplink channel emulator
#
# -- AWGN Generator
# awgn.enable: Enable/disable AWGN generator
# awgn.snr: Target SNR in dB
#
# -- Fading emulator
# fading.enable: Enable/disable fading simulator
# fading.model: Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc)
#
# -- Delay Emulator delay(t) = delay_min + (delay_max - delay_min) * (1 + sin(2pi*t/period)) / 2
# Maximum speed [m/s]: (delay_max - delay_min) * pi * 300 / period
# delay.enable: Enable/disable delay simulator
# delay.period_s: Delay period in seconds
# delay.init_time_s: Delay initial time in seconds
# delay.maximum_us: Maximum delay in microseconds
# delay.minumum_us: Minimum delay in microseconds
#
# -- Radio-Link Failure (RLF) Emulator
# rlf.enable: Enable/disable RLF simulator
# rlf.t_on_ms: Time for On state of the channel (ms)
# rlf.t_off_ms: Time for Off state of the channel (ms)
#
# -- High Speed Train Doppler model simulator
# hst.enable: Enable/disable HST simulator
# hst.period_s: HST simulation period in seconds
# hst.fd_hz: Doppler frequency in Hz
# hst.init_time_s: Initial time in seconds
#####################################################################
[channel.dl]
#enable = false
[channel.dl.awgn]
#enable = false
#snr = 30
[channel.dl.fading]
#enable = false
#model = none
[channel.dl.delay]
#enable = false
#period_s = 3600
#init_time_s = 0
#maximum_us = 100
#minimum_us = 10
[channel.dl.rlf]
#enable = false
#t_on_ms = 10000
#t_off_ms = 2000
[channel.dl.hst]
#enable = false
#period_s = 7.2
#fd_hz = 750.0
#init_time_s = 0.0
[channel.ul]
#enable = false
[channel.ul.awgn]
#enable = false
#n0 = -30
[channel.ul.fading]
#enable = false
#model = none
[channel.ul.delay]
#enable = false
#period_s = 3600
#init_time_s = 0
#maximum_us = 100
#minimum_us = 10
[channel.ul.rlf]
#enable = false
#t_on_ms = 10000
#t_off_ms = 2000
[channel.ul.hst]
#enable = false
#period_s = 7.2
#fd_hz = -750.0
#init_time_s = 0.0
#####################################################################
# CFR configuration options
#
# The CFR module provides crest factor reduction for the transmitted signal.
#
# enable: Enable or disable the CFR. Default: disabled
#
# mode: manual: CFR threshold is set by cfr_manual_thres (default).
# auto_ema: CFR threshold is adaptive based on the signal PAPR. Power avg. with Exponential Moving Average.
# The time constant of the averaging can be tweaked with the ema_alpha parameter.
# auto_cma: CFR threshold is adaptive based on the signal PAPR. Power avg. with Cumulative Moving Average.
# Use with care, as CMA's increasingly slow response may be unsuitable for most use cases.
#
# strength: Ratio between amplitude-limited vs unprocessed signal (0 to 1). Default: 1
# manual_thres: Fixed manual clipping threshold for CFR manual mode. Default: 0.5
# auto_target_papr: Signal PAPR target (in dB) in CFR auto modes. output PAPR can be higher due to peak smoothing. Default: 8
# ema_alpha: Alpha coefficient for the power average in auto_ema mode. Default: 1/7
#
#####################################################################
[cfr]
#enable = false
#mode = manual
#manual_thres = 0.5
#strength = 1
#auto_target_papr = 8
#ema_alpha = 0.0143
#####################################################################
# Expert configuration options
#
# pusch_max_its: Maximum number of turbo decoder iterations (default: 4)
# nr_pusch_max_its: Maximum number of LDPC iterations for NR (Default 10)
# pusch_8bit_decoder: Use 8-bit for LLR representation and turbo decoder trellis computation (experimental)
# nof_phy_threads: Selects the number of PHY threads (maximum: 4, minimum: 1, default: 3)
# metrics_period_secs: Sets the period at which metrics are requested from the eNB
# metrics_csv_enable: Write eNB metrics to CSV file.
# metrics_csv_filename: File path to use for CSV metrics
# report_json_enable: Write eNB report to JSON file (default: disabled)
# report_json_filename: Report JSON filename (default: /mnt/srslte/enb_report.json)
# report_json_asn1_oct: Prints ASN1 messages encoded as an octet string instead of plain text in the JSON report file
# alarms_log_enable: Enable Alarms logging (default: disabled)
# alarms_filename: Alarms logging filename (default: /mnt/srslte/alarms.log)
# tracing_enable: Write source code tracing information to a file
# tracing_filename: File path to use for tracing information
# tracing_buffcapacity: Maximum capacity in bytes the tracing framework can store
# stdout_ts_enable: Prints once per second the timestamp into stdout
# tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR)
# rrc_inactivity_timer Inactivity timeout used to remove UE context from RRC (in milliseconds)
# max_mac_dl_kos: Maximum number of consecutive KOs in DL before triggering the UE's release (default: 100)
# max_mac_ul_kos: Maximum number of consecutive KOs in UL before triggering the UE's release (default: 100)
# max_prach_offset_us: Maximum allowed RACH offset (in us)
# nof_prealloc_ues: Number of UE memory resources to preallocate during eNB initialization for faster UE creation (default: 8)
# rlf_release_timer_ms: Time taken by eNB to release UE context after it detects an RLF
# eea_pref_list: Ordered preference list for the selection of encryption algorithm (EEA) (default: EEA0, EEA2, EEA1)
# eia_pref_list: Ordered preference list for the selection of integrity algorithm (EIA) (default: EIA2, EIA1, EIA0)
# gtpu_tunnel_timeout: Time that GTPU takes to release indirect forwarding tunnel since the last received GTPU PDU (0 for no timer)
# ts1_reloc_prep_timeout: S1AP TS 36.413 TS1RelocPrep Expiry Timeout value in milliseconds
# ts1_reloc_overall_timeout: S1AP TS 36.413 TS1RelocOverall Expiry Timeout value in milliseconds
# rlf_release_timer_ms: Time taken by eNB to release UE context after it detects a RLF
# rlf_min_ul_snr_estim: SNR threshold in dB below which the enb is notified with RLF ko
# s1_setup_max_retries: Maximum amount of retries to setup the S1AP connection. If this value is exceeded, an alarm is written to the log. -1 means infinity.
# rx_gain_offset: RX Gain offset to add to rx_gain to calibrate RSRP readings
#####################################################################
[expert]
#pusch_max_its = 8 # These are half iterations
#nr_pusch_max_its = 10
#pusch_8bit_decoder = false
#nof_phy_threads = 3
#metrics_period_secs = 1
#metrics_csv_enable = false
#metrics_csv_filename = /mnt/srslte/enb_metrics.csv
#report_json_enable = true
#report_json_filename = /mnt/srslte/enb_report.json
#report_json_asn1_oct = false
#alarms_log_enable = true
#alarms_filename = /mnt/srslte/enb_alarms.log
#tracing_enable = true
#tracing_filename = /mnt/srslte/enb_tracing.log
#tracing_buffcapacity = 1000000
#stdout_ts_enable = false
#tx_amplitude = 0.6
#rrc_inactivity_timer = 30000
#max_mac_dl_kos = 100
#max_mac_ul_kos = 100
#max_prach_offset_us = 30
#nof_prealloc_ues = 8
#rlf_release_timer_ms = 4000
#lcid_padding = 3
#eea_pref_list = EEA0, EEA2, EEA1
#eia_pref_list = EIA2, EIA1, EIA0
#gtpu_tunnel_timeout = 0
#extended_cp = false
#ts1_reloc_prep_timeout = 10000
#ts1_reloc_overall_timeout = 10000
#rlf_release_timer_ms = 4000
#rlf_min_ul_snr_estim = -2
#s1_setup_max_retries = -1
#rx_gain_offset = 62
```
amf.yaml
```
logger:
file: /open5gs/install/var/log/open5gs/amf.log
parameter:
amf:
sbi:
- addr: AMF_IP
port: 7777
ngap:
- addr: AMF_IP
guami:
- plmn_id:
mcc: MCC
mnc: MNC
amf_id:
region: 2
set: 1
tai:
- plmn_id:
mcc: MCC
mnc: MNC
tac: 1
plmn_support:
- plmn_id:
mcc: MCC
mnc: MNC
s_nssai:
- sst: 1
sd: 1
security:
integrity_order : [ NIA2, NIA1, NIA0 ]
ciphering_order : [ NEA0, NEA1, NEA2 ]
network_name:
full: Open5GS
amf_name: open5gs-amf0
nrf:
sbi:
- addr:
- NRF_IP
port: 7777
```
upf.yaml
```
logger:
file: /open5gs/install/var/log/open5gs/upf.log
parameter:
upf:
pfcp:
- addr: UPF_IP
gtpu:
- addr: UPF_IP
advertise: UPF_ADVERTISE_IP
subnet:
- addr: 192.168.100.1/24
dev: ogstun
dnn: internet
- addr: 2001:230:cafe::1/48
dev: ogstun
dnn: internet
- addr: 192.168.101.1/24
dnn: ims
dev: ogstun2
- addr: 2001:230:babe::1/48
dnn: ims
dev: ogstun2
smf:
pfcp:
- addr: SMF_IP
```
Logs
I can provide the log of the following containers:
Problem
Hello. I want to launch a 5G network. But I get an error all the time.
I think that the error is also in the configs and it is simple.
Launch
I run docker_open5gs like this.
docker-compose -f sa-deploy.yaml up
I run srsENB like this.docker-compose -f srsgnb.yaml up -d && docker attach srsgnb
Configs
rr_gnb.conf
``` mac_cnfg = { phr_cnfg = { dl_pathloss_change = "dB3"; // Valid: 1, 3, 6 or INFINITY periodic_phr_timer = 50; prohibit_phr_timer = 0; }; ulsch_cnfg = { max_harq_tx = 4; periodic_bsr_timer = 20; // in ms retx_bsr_timer = 320; // in ms }; time_alignment_timer = -1; // -1 is infinity }; phy_cnfg = { phich_cnfg = { duration = "Normal"; resources = "1/6"; }; pusch_cnfg_ded = { beta_offset_ack_idx = 6; beta_offset_ri_idx = 6; beta_offset_cqi_idx = 6; }; // PUCCH-SR resources are scheduled on time-frequeny domain first, then multiplexed in the same resource. sched_request_cnfg = { dsr_trans_max = 64; period = 20; // in ms //subframe = [1, 11]; // Optional vector of subframe indices allowed for SR transmissions (default uses all) nof_prb = 1; // number of PRBs on each extreme used for SR (total prb is twice this number) }; cqi_report_cnfg = { mode = "periodic"; simultaneousAckCQI = true; period = 40; // in ms //subframe = [0, 10, 20, 30]; // Optional vector of subframe indices every period where CQI resources will be allocated (default uses all) m_ri = 8; // RI period in CQI period //subband_k = 1; // If enabled and > 0, configures sub-band CQI reporting and defines K (see 36.213 7.2.2). If disabled, configures wideband CQI }; }; cell_list = ( ); nr_cell_list = ( { rf_port = 0; cell_id = 1; root_seq_idx = 1; tac = 1; pci = 500; dl_arfcn = 368500; band = 3; } ); ```rb.conf
``` // All times are in ms. Use -1 for infinity, where available // 4G Section // srb1_config = { // rlc_config = { // ul_am = { // t_poll_retx = 45; // poll_pdu = -1; // poll_byte = -1; // max_retx_thresh = 4; // }; // dl_am = { // t_reordering = 35; // t_status_prohibit = 0; // }; // enb_specific = { // dl_max_retx_thresh = 32; // }; // }; // } // srb2_config = { // rlc_config = { // ul_am = { // t_poll_retx = 45; // poll_pdu = -1; // poll_byte = -1; // max_retx_thresh = 4; // }; // dl_am = { // t_reordering = 35; // t_status_prohibit = 0; // }; // enb_specific = { // dl_max_retx_thresh = 32; // }; // }; // } qci_config = ( { qci=1; pdcp_config = { discard_timer = 100; pdcp_sn_size = 12; } rlc_config = { ul_um = { sn_field_length = 10; }; dl_um = { sn_field_length = 10; t_reordering = 50; }; }; logical_channel_config = { priority = 2; prioritized_bit_rate = -1; bucket_size_duration = 100; log_chan_group = 1; }; enb_specific = { dl_max_retx_thresh = 32; }; }, { qci=2; pdcp_config = { discard_timer = 100; pdcp_sn_size = 12; } rlc_config = { ul_um = { sn_field_length = 10; }; dl_um = { sn_field_length = 10; t_reordering = 50; }; }; logical_channel_config = { priority = 4; prioritized_bit_rate = -1; bucket_size_duration = 100; log_chan_group = 1; }; enb_specific = { dl_max_retx_thresh = 32; }; }, { qci=5; pdcp_config = { discard_timer = -1; status_report_required = true; } rlc_config = { ul_am = { t_poll_retx = 80; poll_pdu = 128; poll_byte = 125; max_retx_thresh = 4; }; dl_am = { t_reordering = 80; t_status_prohibit = 60; }; }; logical_channel_config = { priority = 11; prioritized_bit_rate = -1; bucket_size_duration = 100; log_chan_group = 2; }; enb_specific = { dl_max_retx_thresh = 32; }; }, { qci = 7; pdcp_config = { discard_timer = -1; pdcp_sn_size = 12; } rlc_config = { ul_um = { sn_field_length = 10; }; dl_um = { sn_field_length = 10; t_reordering = 45; }; }; logical_channel_config = { priority = 13; prioritized_bit_rate = -1; bucket_size_duration = 100; log_chan_group = 2; }; enb_specific = { dl_max_retx_thresh = 32; }; }, { qci = 9; pdcp_config = { discard_timer = 150; status_report_required = true; } rlc_config = { ul_am = { t_poll_retx = 120; poll_pdu = 64; poll_byte = 750; max_retx_thresh = 16; }; dl_am = { t_reordering = 50; t_status_prohibit = 50; }; }; logical_channel_config = { priority = 11; prioritized_bit_rate = -1; bucket_size_duration = 100; log_chan_group = 3; }; enb_specific = { dl_max_retx_thresh = 32; }; } ); // 5G Section five_qi_config = ( { five_qi = 7; pdcp_nr_config = { drb = { discard_timer = 50; pdcp_sn_size_ul = 18; pdcp_sn_size_dl = 18; }; t_reordering = 50; }; rlc_config = { um_bi_dir = { ul_um = { sn_field_len = 12; }; dl_um = { sn_field_len = 12; t_reassembly = 50; }; }; }; }, { five_qi = 9; pdcp_nr_config = { drb = { discard_timer = 50; pdcp_sn_size_ul = 18; pdcp_sn_size_dl = 18; }; t_reordering = 50; }; rlc_config = { am = { ul_am = { sn_field_len = 12; t_poll_retx = 50; poll_pdu = 4; poll_byte = 3000; max_retx_thres = 4; }; dl_am = { sn_field_len = 12; t_reassembly = 50; t_status_prohibit = 50; }; }; }; } ); ```enb.conf
``` ##################################################################### # srsENB configuration file ##################################################################### ##################################################################### # eNB configuration # # enb_id: 20-bit eNB identifier. # mcc: Mobile Country Code # mnc: Mobile Network Code # mme_addr: IP address of MME for S1 connnection # gtp_bind_addr: Local IP address to bind for GTP connection # gtp_advertise_addr: IP address of eNB to advertise for DL GTP-U Traffic # s1c_bind_addr: Local IP address to bind for S1AP connection # s1c_bind_port: Source port for S1AP connection (0 means any) # n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100) # tm: Transmission mode 1-4 (TM1 default) # nof_ports: Number of Tx ports (1 port default, set to 2 for TM2/3/4) # ##################################################################### [enb] enb_id = 0x19B mcc = MCC mnc = MNC mme_addr = MME_IP gtp_bind_addr = SRS_ENB_IP s1c_bind_addr = SRS_ENB_IP s1c_bind_port = 0 n_prb = 50 # tm = 4 # nof_ports = 2 ##################################################################### # eNB configuration files # # sib_config: SIB1, SIB2 and SIB3 configuration file # note: When enabling MBMS, use the sib.conf.mbsfn configuration file which includes SIB13 # rr_config: Radio Resources configuration file # rb_config: SRB/DRB configuration file ##################################################################### [enb_files] sib_config = /etc/srsran/sib.conf rr_config = /etc/srsran/rr_gnb.conf rb_config = /etc/srsran/rb.conf ##################################################################### # RF configuration # # dl_earfcn: EARFCN code for DL (only valid if a single cell is configured in rr.conf) # tx_gain: Transmit gain (dB). # rx_gain: Optional receive gain (dB). If disabled, AGC if enabled # # Optional parameters: # dl_freq: Override DL frequency corresponding to dl_earfcn # ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set) # device_name: Device driver family # Supported options: "auto" (uses first driver found), "UHD", "bladeRF", "soapy", "zmq" or "Sidekiq" # device_args: Arguments for the device driver. Options are "auto" or any string. # Default for UHD: "recv_frame_size=9232,send_frame_size=9232" # Default for bladeRF: "" # time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay # from antenna to timestamp insertion. # Default "auto". B210 USRP: 100 samples, bladeRF: 27 ##################################################################### [rf] # dl_earfcn = 6300 tx_gain = 56 rx_gain = 38 device_name = soapy device_args = rxant=LNAH,txant=BAND1 # For best performance in 2x2 MIMO and >= 15 MHz use the following device_args settings: # USRP B210: num_recv_frames=64,num_send_frames=64 # And for 75 PRBs, also append ",master_clock_rate=15.36e6" to the device args # For best performance when BW<5 MHz (25 PRB), use the following device_args settings: # USRP B210: send_frame_size=512,recv_frame_size=512 #device_args = auto #time_adv_nsamples = auto # Example for ZMQ-based operation with TCP transport for I/Q samples #device_name = zmq #device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6 ##################################################################### # Packet capture configuration # # MAC-layer packets are captured to a file in the compact format which can # be decoded by Wireshark. For decoding, use the UDP dissector and the UDP # heuristic dissection. Edit the preferences (Edit > Preferences > # Protocols > DLT_USER) for DLT_USER to add an entry for DLT=149 with # Protocol=udp. Further, enable the heuristic dissection in UDP under: # Analyze > Enabled Protocols > MAC-LTE > mac_lte_udp and MAC-NR > mac_nr_udp # For more information see: https://wiki.wireshark.org/MAC-LTE # Configuring this Wireshark preferences is needed for decoding the MAC PCAP # files as well as for the live network capture option. # # Please note that this setting will by default only capture MAC # frames on dedicated channels, and not SIB. You have to build with # WRITE_SIB_PCAP enabled in srsenb/src/stack/mac/mac.cc if you want # SIB to be part of the MAC pcap file. # # S1AP Packets are captured to a file in the compact format which can # be decoded by the Wireshark s1ap dissector with DLT 150. # To use the dissector, edit the preferences for DLT_USER to # add an entry with DLT=150, Payload Protocol=s1ap. # # mac_enable: Enable MAC layer packet captures (true/false) # filename: File path to use for LTE MAC packet captures # nr_filename: File path to use for NR MAC packet captures # s1ap_enable: Enable or disable the PCAP. # s1ap_filename: File name where to save the PCAP. # # mac_net_enable: Enable MAC layer packet captures sent over the network (true/false default: false) # bind_ip: Bind IP address for MAC network trace (default: "0.0.0.0") # bind_port: Bind port for MAC network trace (default: 5687) # client_ip: Client IP address for MAC network trace (default: "127.0.0.1") # client_port Client IP address for MAC network trace (default: 5847) ##################################################################### [pcap] #enable = false #filename = /mnt/srslte/enb_mac.pcap #nr_filename = /mnt/srslte/enb_mac_nr.pcap #s1ap_enable = false #s1ap_filename = /mnt/srslte/enb_s1ap.pcap #mac_net_enable = false #bind_ip = 0.0.0.0 #bind_port = 5687 #client_ip = 127.0.0.1 #client_port = 5847 ##################################################################### # Log configuration # # Log levels can be set for individual layers. "all_level" sets log # level for all layers unless otherwise configured. # Format: e.g. phy_level = info # # In the same way, packet hex dumps can be limited for each level. # "all_hex_limit" sets the hex limit for all layers unless otherwise # configured. # Format: e.g. phy_hex_limit = 32 # # Logging layers: rf, phy, phy_lib, mac, rlc, pdcp, rrc, gtpu, s1ap, stack, all # Logging levels: debug, info, warning, error, none # # filename: File path to use for log output. Can be set to stdout # to print logs to standard output # file_max_size: Maximum file size (in kilobytes). When passed, multiple files are created. # If set to negative, a single log file will be created. ##################################################################### [log] all_level = warning all_hex_limit = 32 filename = /mnt/srslte/enb.log file_max_size = -1 [gui] enable = false ##################################################################### # Scheduler configuration options # # sched_policy: User MAC scheduling policy (E.g. time_rr, time_pf) # min_aggr_level: Optional minimum aggregation level index (l=log2(L) can be 0, 1, 2 or 3) # max_aggr_level: Optional maximum aggregation level index (l=log2(L) can be 0, 1, 2 or 3) # adaptive_aggr_level: Boolean flag to enable/disable adaptive aggregation level based on target BLER # pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified) # pdsch_max_mcs: Optional PDSCH MCS limit # pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified) # pusch_max_mcs: Optional PUSCH MCS limit # min_nof_ctrl_symbols: Minimum number of control symbols # max_nof_ctrl_symbols: Maximum number of control symbols # pucch_multiplex_enable: Allow PUCCH HARQ to collide with PUSCH and other PUCCH # pucch_harq_max_rb: Maximum number of RB to be used for PUCCH on the edges of the grid. # If defined and greater than 0, the scheduler will avoid DL PDCCH allocations if # PUCCH HARQ falls outside this region # target_bler: Target BLER (in decimal) to achieve via adaptive link # max_delta_dl_cqi: Maximum shift in CQI for adaptive DL link # max_delta_ul_snr: Maximum shift in UL SNR for adaptive UL link # adaptive_dl_mcs_step_size: Step size or learning rate used in adaptive DL MCS link # adaptive_ul_mcs_step_size: Step size or learning rate used in adaptive UL MCS link # min_tpc_tti_interval: Minimum TTI interval between TPCs different than 1 # ul_snr_avg_alpha: Exponential Average alpha coefficient used in estimation of UL SNR # init_ul_snr_value: Initial UL SNR value used for computing MCS in the first UL grant # init_dl_cqi: DL CQI value used before any CQI report is available to the eNB # max_sib_coderate: Upper bound on SIB and RAR grants coderate # pdcch_cqi_offset: CQI offset in derivation of PDCCH aggregation level # nr_pdsch_mcs: Optional fixed NR PDSCH MCS (ignores reported CQIs if specified) # nr_pusch_mcs: Optional fixed NR PUSCH MCS (ignores reported CQIs if specified) # ##################################################################### [scheduler] #policy = time_pf #policy_args = 2 #min_aggr_level = 0 #max_aggr_level = 3 #adaptive_aggr_level = false #pdsch_mcs = -1 #pdsch_max_mcs = -1 #pusch_mcs = -1 #pusch_max_mcs = 16 #min_nof_ctrl_symbols = 1 #max_nof_ctrl_symbols = 3 #pucch_multiplex_enable = false #pucch_harq_max_rb = 0 #target_bler = 0.05 #max_delta_dl_cqi = 5 #max_delta_ul_snr = 5 #adaptive_dl_mcs_step_size = 0.001 #adaptive_ul_mcs_step_size = 0.001 #min_tpc_tti_interval = 1 #ul_snr_avg_alpha=0.05 #init_ul_snr_value=5 #init_dl_cqi=5 #max_sib_coderate=0.3 #pdcch_cqi_offset=0 #nr_pdsch_mcs=28 by default unkomment use for 5g #nr_pusch_mcs=28 ##################################################################### # eMBMS configuration options # # enable: Enable MBMS transmission in the eNB # m1u_multiaddr: Multicast address the M1-U socket will register to # m1u_if_addr: Address of the interface the M1-U interface will listen to for multicast packets # mcs: Modulation and Coding scheme for MBMS traffic # ##################################################################### [embms] #enable = false #m1u_multiaddr = 239.255.0.1 #m1u_if_addr = 127.0.1.201 #mcs = 20 ##################################################################### # Channel emulator options: # enable: Enable/disable internal Downlink/Uplink channel emulator # # -- AWGN Generator # awgn.enable: Enable/disable AWGN generator # awgn.snr: Target SNR in dB # # -- Fading emulator # fading.enable: Enable/disable fading simulator # fading.model: Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc) # # -- Delay Emulator delay(t) = delay_min + (delay_max - delay_min) * (1 + sin(2pi*t/period)) / 2 # Maximum speed [m/s]: (delay_max - delay_min) * pi * 300 / period # delay.enable: Enable/disable delay simulator # delay.period_s: Delay period in seconds # delay.init_time_s: Delay initial time in seconds # delay.maximum_us: Maximum delay in microseconds # delay.minumum_us: Minimum delay in microseconds # # -- Radio-Link Failure (RLF) Emulator # rlf.enable: Enable/disable RLF simulator # rlf.t_on_ms: Time for On state of the channel (ms) # rlf.t_off_ms: Time for Off state of the channel (ms) # # -- High Speed Train Doppler model simulator # hst.enable: Enable/disable HST simulator # hst.period_s: HST simulation period in seconds # hst.fd_hz: Doppler frequency in Hz # hst.init_time_s: Initial time in seconds ##################################################################### [channel.dl] #enable = false [channel.dl.awgn] #enable = false #snr = 30 [channel.dl.fading] #enable = false #model = none [channel.dl.delay] #enable = false #period_s = 3600 #init_time_s = 0 #maximum_us = 100 #minimum_us = 10 [channel.dl.rlf] #enable = false #t_on_ms = 10000 #t_off_ms = 2000 [channel.dl.hst] #enable = false #period_s = 7.2 #fd_hz = 750.0 #init_time_s = 0.0 [channel.ul] #enable = false [channel.ul.awgn] #enable = false #n0 = -30 [channel.ul.fading] #enable = false #model = none [channel.ul.delay] #enable = false #period_s = 3600 #init_time_s = 0 #maximum_us = 100 #minimum_us = 10 [channel.ul.rlf] #enable = false #t_on_ms = 10000 #t_off_ms = 2000 [channel.ul.hst] #enable = false #period_s = 7.2 #fd_hz = -750.0 #init_time_s = 0.0 ##################################################################### # CFR configuration options # # The CFR module provides crest factor reduction for the transmitted signal. # # enable: Enable or disable the CFR. Default: disabled # # mode: manual: CFR threshold is set by cfr_manual_thres (default). # auto_ema: CFR threshold is adaptive based on the signal PAPR. Power avg. with Exponential Moving Average. # The time constant of the averaging can be tweaked with the ema_alpha parameter. # auto_cma: CFR threshold is adaptive based on the signal PAPR. Power avg. with Cumulative Moving Average. # Use with care, as CMA's increasingly slow response may be unsuitable for most use cases. # # strength: Ratio between amplitude-limited vs unprocessed signal (0 to 1). Default: 1 # manual_thres: Fixed manual clipping threshold for CFR manual mode. Default: 0.5 # auto_target_papr: Signal PAPR target (in dB) in CFR auto modes. output PAPR can be higher due to peak smoothing. Default: 8 # ema_alpha: Alpha coefficient for the power average in auto_ema mode. Default: 1/7 # ##################################################################### [cfr] #enable = false #mode = manual #manual_thres = 0.5 #strength = 1 #auto_target_papr = 8 #ema_alpha = 0.0143 ##################################################################### # Expert configuration options # # pusch_max_its: Maximum number of turbo decoder iterations (default: 4) # nr_pusch_max_its: Maximum number of LDPC iterations for NR (Default 10) # pusch_8bit_decoder: Use 8-bit for LLR representation and turbo decoder trellis computation (experimental) # nof_phy_threads: Selects the number of PHY threads (maximum: 4, minimum: 1, default: 3) # metrics_period_secs: Sets the period at which metrics are requested from the eNB # metrics_csv_enable: Write eNB metrics to CSV file. # metrics_csv_filename: File path to use for CSV metrics # report_json_enable: Write eNB report to JSON file (default: disabled) # report_json_filename: Report JSON filename (default: /mnt/srslte/enb_report.json) # report_json_asn1_oct: Prints ASN1 messages encoded as an octet string instead of plain text in the JSON report file # alarms_log_enable: Enable Alarms logging (default: disabled) # alarms_filename: Alarms logging filename (default: /mnt/srslte/alarms.log) # tracing_enable: Write source code tracing information to a file # tracing_filename: File path to use for tracing information # tracing_buffcapacity: Maximum capacity in bytes the tracing framework can store # stdout_ts_enable: Prints once per second the timestamp into stdout # tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR) # rrc_inactivity_timer Inactivity timeout used to remove UE context from RRC (in milliseconds) # max_mac_dl_kos: Maximum number of consecutive KOs in DL before triggering the UE's release (default: 100) # max_mac_ul_kos: Maximum number of consecutive KOs in UL before triggering the UE's release (default: 100) # max_prach_offset_us: Maximum allowed RACH offset (in us) # nof_prealloc_ues: Number of UE memory resources to preallocate during eNB initialization for faster UE creation (default: 8) # rlf_release_timer_ms: Time taken by eNB to release UE context after it detects an RLF # eea_pref_list: Ordered preference list for the selection of encryption algorithm (EEA) (default: EEA0, EEA2, EEA1) # eia_pref_list: Ordered preference list for the selection of integrity algorithm (EIA) (default: EIA2, EIA1, EIA0) # gtpu_tunnel_timeout: Time that GTPU takes to release indirect forwarding tunnel since the last received GTPU PDU (0 for no timer) # ts1_reloc_prep_timeout: S1AP TS 36.413 TS1RelocPrep Expiry Timeout value in milliseconds # ts1_reloc_overall_timeout: S1AP TS 36.413 TS1RelocOverall Expiry Timeout value in milliseconds # rlf_release_timer_ms: Time taken by eNB to release UE context after it detects a RLF # rlf_min_ul_snr_estim: SNR threshold in dB below which the enb is notified with RLF ko # s1_setup_max_retries: Maximum amount of retries to setup the S1AP connection. If this value is exceeded, an alarm is written to the log. -1 means infinity. # rx_gain_offset: RX Gain offset to add to rx_gain to calibrate RSRP readings ##################################################################### [expert] #pusch_max_its = 8 # These are half iterations #nr_pusch_max_its = 10 #pusch_8bit_decoder = false #nof_phy_threads = 3 #metrics_period_secs = 1 #metrics_csv_enable = false #metrics_csv_filename = /mnt/srslte/enb_metrics.csv #report_json_enable = true #report_json_filename = /mnt/srslte/enb_report.json #report_json_asn1_oct = false #alarms_log_enable = true #alarms_filename = /mnt/srslte/enb_alarms.log #tracing_enable = true #tracing_filename = /mnt/srslte/enb_tracing.log #tracing_buffcapacity = 1000000 #stdout_ts_enable = false #tx_amplitude = 0.6 #rrc_inactivity_timer = 30000 #max_mac_dl_kos = 100 #max_mac_ul_kos = 100 #max_prach_offset_us = 30 #nof_prealloc_ues = 8 #rlf_release_timer_ms = 4000 #lcid_padding = 3 #eea_pref_list = EEA0, EEA2, EEA1 #eia_pref_list = EIA2, EIA1, EIA0 #gtpu_tunnel_timeout = 0 #extended_cp = false #ts1_reloc_prep_timeout = 10000 #ts1_reloc_overall_timeout = 10000 #rlf_release_timer_ms = 4000 #rlf_min_ul_snr_estim = -2 #s1_setup_max_retries = -1 #rx_gain_offset = 62 ```amf.yaml
``` logger: file: /open5gs/install/var/log/open5gs/amf.log parameter: amf: sbi: - addr: AMF_IP port: 7777 ngap: - addr: AMF_IP guami: - plmn_id: mcc: MCC mnc: MNC amf_id: region: 2 set: 1 tai: - plmn_id: mcc: MCC mnc: MNC tac: 1 plmn_support: - plmn_id: mcc: MCC mnc: MNC s_nssai: - sst: 1 sd: 1 security: integrity_order : [ NIA2, NIA1, NIA0 ] ciphering_order : [ NEA0, NEA1, NEA2 ] network_name: full: Open5GS amf_name: open5gs-amf0 nrf: sbi: - addr: - NRF_IP port: 7777 ```upf.yaml
``` logger: file: /open5gs/install/var/log/open5gs/upf.log parameter: upf: pfcp: - addr: UPF_IP gtpu: - addr: UPF_IP advertise: UPF_ADVERTISE_IP subnet: - addr: 192.168.100.1/24 dev: ogstun dnn: internet - addr: 2001:230:cafe::1/48 dev: ogstun dnn: internet - addr: 192.168.101.1/24 dnn: ims dev: ogstun2 - addr: 2001:230:babe::1/48 dnn: ims dev: ogstun2 smf: pfcp: - addr: SMF_IP ```Logs
I can provide the log of the following containers:
amf
``` 08/22 07:47:22.862: [app] INFO: Configuration: '/open5gs/install/etc/open5gs/amf.yaml' (../lib/app/ogs-init.c:126) 08/22 07:47:22.862: [app] INFO: File Logging: '/open5gs/install/var/log/open5gs/amf.log' (../lib/app/ogs-init.c:129) 08/22 07:47:22.869: [sbi] INFO: nghttp2_server() [172.22.0.10]:7777 (../lib/sbi/nghttp2-server.c:150) 08/22 07:47:22.869: [amf] INFO: ngap_server() [172.22.0.10]:38412 (../src/amf/ngap-sctp.c:61) 08/22 07:47:22.869: [sctp] INFO: AMF initialize...done (../src/amf/app.c:33) 08/22 07:47:22.872: [sbi] INFO: [5dbde7da-21bc-41ed-9082-cfcc55afa705] NF registered [Heartbeat:10s] (../lib/sbi/nf-sm.c:231) 08/22 07:47:32.013: [app] INFO: [63314162-21bc-41ed-b93d-c7807aa86d5a] (NRF-notify) NF registered (../lib/sbi/nnrf-handler.c:560) 08/22 07:47:32.013: [app] INFO: [63314162-21bc-41ed-b93d-c7807aa86d5a] (NRF-notify) NF Profile updated (../lib/sbi/nnrf-handler.c:570) 08/22 07:49:35.021: [amf] INFO: gNB-N2 accepted[172.22.0.22]:46855 in ng-path module (../src/amf/ngap-sctp.c:113) 08/22 07:49:35.021: [amf] INFO: gNB-N2 accepted[172.22.0.22] in master_sm module (../src/amf/amf-sm.c:660) 08/22 07:49:35.021: [amf] INFO: [Added] Number of gNBs is now 1 (../src/amf/context.c:878) 08/22 07:49:35.021: [amf] INFO: gNB-N2[172.22.0.22] max_num_of_ostreams : 30 (../src/amf/amf-sm.c:699) 08/22 07:49:35.023: [amf] WARNING: NG-Setup failure: (../src/amf/ngap-handler.c:305) 08/22 07:49:35.023: [amf] WARNING: Cannot find Served TAI. Check 'amf.tai' configuration (../src/amf/ngap-handler.c:306) 08/22 07:49:43.878: [amf] INFO: gNB-N2[172.22.0.22] connection refused!!! (../src/amf/amf-sm.c:712) 08/22 07:49:43.878: [amf] INFO: [Removed] Number of gNBs is now 0 (../src/amf/context.c:905) ```smf
``` 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Create peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:112) 08/22 08:38:00.104: [pfcp] DEBUG: Heartbeat Request (../lib/pfcp/build.c:27) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL UPD TX-1 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:192) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Commit peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:471) 08/22 08:38:00.104: [smf] DEBUG: smf_state_operational(): SMF_EVT_N4_MESSAGE (../src/smf/smf-sm.c:83) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Find peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:786) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Receive peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:700) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL UPD RX-2 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:293) 08/22 08:38:00.104: [smf] DEBUG: smf_pfcp_state_associated(): SMF_EVT_N4_MESSAGE (../src/smf/pfcp-sm.c:165) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Commit peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:471) 08/22 08:38:00.104: [pfcp] DEBUG: [2] LOCAL Delete peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:809) 08/22 08:38:00.104: [smf] DEBUG: smf_state_operational(): SMF_EVT_N4_MESSAGE (../src/smf/smf-sm.c:83) 08/22 08:38:00.104: [pfcp] DEBUG: [2] Cannot find xact type 1 from PFCP peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:795) 08/22 08:38:00.104: [pfcp] DEBUG: [2] REMOTE Create peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:155) 08/22 08:38:00.104: [pfcp] DEBUG: [2] REMOTE Receive peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:700) 08/22 08:38:00.104: [pfcp] DEBUG: [2] REMOTE UPD RX-1 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:293) 08/22 08:38:00.104: [smf] DEBUG: smf_pfcp_state_associated(): SMF_EVT_N4_MESSAGE (../src/smf/pfcp-sm.c:165) 08/22 08:38:00.104: [pfcp] DEBUG: Heartbeat Response (../lib/pfcp/build.c:44) 08/22 08:38:00.104: [pfcp] DEBUG: [2] REMOTE UPD TX-2 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:192) 08/22 08:38:00.104: [pfcp] DEBUG: [2] REMOTE Commit peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:471) 08/22 08:38:07.608: [pfcp] DEBUG: [2] REMOTE Holding Timeout for step 2 type 2 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:641) 08/22 08:38:07.608: [pfcp] DEBUG: [2] REMOTE Delete Transaction for step 2 type 2 peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:654) 08/22 08:38:07.608: [pfcp] DEBUG: [2] REMOTE Delete peer [172.22.0.8]:8805 (../lib/pfcp/xact.c:809) 08/22 08:38:08.690: [smf] DEBUG: smf_state_operational(): OGS_EVENT_NAME_SBI_TIMER (../src/smf/smf-sm.c:83) 08/22 08:38:08.690: [sbi] DEBUG: ogs_sbi_nf_state_registered(): OGS_EVENT_NAME_SBI_TIMER (../lib/sbi/nf-sm.c:220) 08/22 08:38:08.690: [sbi] DEBUG: [PATCH] http://172.22.0.12:7777/nnrf-nfm/v1/nf-instances/69392032-21c3-41ed-9131-b53f0e843cb9 (../lib/sbi/client.c:660) 08/22 08:38:08.690: [sbi] DEBUG: SENDING...[72] (../lib/sbi/client.c:391) 08/22 08:38:08.690: [sbi] DEBUG: [{ "op": "replace", "path": "/nfStatus", "value": "REGISTERED" }] (../lib/sbi/client.c:393) 08/22 08:38:08.690: [sbi] DEBUG: [204:PATCH] http://172.22.0.12:7777/nnrf-nfm/v1/nf-instances/69392032-21c3-41ed-9131-b53f0e843cb9 (../lib/sbi/client.c:545) 08/22 08:38:08.690: [sbi] DEBUG: RECEIVED[0] (../lib/sbi/client.c:556) 08/22 08:38:08.690: [smf] DEBUG: smf_state_operational(): OGS_EVENT_NAME_SBI_CLIENT (../src/smf/smf-sm.c:83) 08/22 08:38:08.690: [sbi] DEBUG: ogs_sbi_nf_state_registered(): OGS_EVENT_NAME_SBI_CLIENT (../lib/sbi/nf-sm.c:220) 08/22 08:38:11.104: [smf] DEBUG: smf_state_operational(): SMF_EVT_N4_TIMER (../src/smf/smf-sm.c:83) 08/22 08:38:11.104: [smf] DEBUG: smf_pfcp_state_associated(): SMF_EVT_N4_TIMER (../src/smf/pfcp-sm.c:165) ```I will be grateful for any help