blob: d6ecaecc24235fd78445e2cc55cb7f135ebd1cb8 [file] [log] [blame]
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +01001#####################################################################
2# srsEPC configuration file
3#####################################################################
4
5#####################################################################
6# MME configuration
7#
8# mme_code: 8-bit MME code identifies the MME within a group.
9# mme_group: 16-bit MME group identifier.
10# tac: 16-bit Tracking Area Code.
11# mcc: Mobile Country Code
12# mnc: Mobile Network Code
13# apn: Set Access Point Name (APN)
14# mme_bind_addr: IP bind addr to listen for eNB S1-MME connnections
15# dns_addr: DNS server address for the UEs
16# encryption_algo: Preferred encryption algorithm for NAS layer
17# (default: EEA0, support: EEA1, EEA2)
18# integrity_algo: Preferred integrity protection algorithm for NAS
19# (default: EIA1, support: EIA1, EIA2 (EIA0 not support)
20# paging_timer: Value of paging timer in seconds (T3413)
21#
22#####################################################################
23[mme]
24mme_code = 0x1a
25mme_group = 0x0001
26tac = 0x0007
Andre Puschmann1dddb7b2020-07-09 14:22:02 +020027mcc = ${'{0:03}'.format(int(epc.mcc))}
28mnc = ${'{0:02}'.format(int(epc.mnc))}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010029mme_bind_addr = ${epc.run_addr}
30apn = srsapn
31dns_addr = 8.8.8.8
32encryption_algo = EEA0
33integrity_algo = EIA1
Andre Puschmannd1732d72021-01-22 16:14:15 +010034paging_timer = 12
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010035
36#####################################################################
37# HSS configuration
38#
39# db_file: Location of .csv file that stores UEs information.
40#
41#####################################################################
42[hss]
Pau Espin Pedrol33737032020-04-16 13:55:57 +020043db_file = ${epc.db_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010044
45#####################################################################
46# SP-GW configuration
47#
48# gtpu_bind_addr: GTP-U bind address.
49# sgi_if_addr: SGi TUN interface IP address.
50# sgi_if_name: SGi TUN interface name.
51# max_paging_queue: Maximum packets in paging queue (per UE).
52#
53#####################################################################
54
55[spgw]
56gtpu_bind_addr = ${epc.run_addr}
57sgi_if_addr = 172.16.0.1
58sgi_if_name = srs_spgw_sgi
59max_paging_queue = 100
60
61####################################################################
62# PCAP configuration
63#
64# Packets are captured to file in the compact format decoded by
65# the Wireshark s1ap dissector and with DLT 150.
66# To use the dissector, edit the preferences for DLT_USER to
67# add an entry with DLT=150, Payload Protocol=s1ap.
68#
69# enable: Enable or disable the PCAP.
70# filename: File name where to save the PCAP.
71#
72####################################################################
73[pcap]
Pau Espin Pedrol1e81b5a2020-03-16 12:42:17 +010074enable = ${'true' if epc.enable_pcap else 'false'}
Pau Espin Pedrol33737032020-04-16 13:55:57 +020075filename = ${epc.pcap_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010076
77####################################################################
78# Log configuration
79#
80# Log levels can be set for individual layers. "all_level" sets log
81# level for all layers unless otherwise configured.
82# Format: e.g. s1ap_level = info
83#
84# In the same way, packet hex dumps can be limited for each level.
85# "all_hex_limit" sets the hex limit for all layers unless otherwise
86# configured.
87# Format: e.g. s1ap_hex_limit = 32
88#
89# Logging layers: nas, s1ap, mme_gtpc, spgw_gtpc, gtpu, spgw, hss, all
90# Logging levels: debug, info, warning, error, none
91#
92# filename: File path to use for log output. Can be set to stdout
93# to print logs to standard output
94#####################################################################
95[log]
Andre Puschmann82ced3f2020-06-18 14:52:39 +020096all_level = ${epc.log_all_level}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010097all_hex_limit = 32
Pau Espin Pedrol33737032020-04-16 13:55:57 +020098filename = ${epc.log_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010099
100#nas_level = debug
101#s1ap_level = debug
102#mme_gtpc_level = debug
103#spgw_gtpc_level = debug
104#gtpu_level = debug
105#spgw_level = debug
106#hss_level = debug