| ##################################################################### |
| # srsEPC configuration file |
| ##################################################################### |
| |
| ##################################################################### |
| # MME configuration |
| # |
| # mme_code: 8-bit MME code identifies the MME within a group. |
| # mme_group: 16-bit MME group identifier. |
| # tac: 16-bit Tracking Area Code. |
| # mcc: Mobile Country Code |
| # mnc: Mobile Network Code |
| # apn: Set Access Point Name (APN) |
| # mme_bind_addr: IP bind addr to listen for eNB S1-MME connnections |
| # dns_addr: DNS server address for the UEs |
| # encryption_algo: Preferred encryption algorithm for NAS layer |
| # (default: EEA0, support: EEA1, EEA2) |
| # integrity_algo: Preferred integrity protection algorithm for NAS |
| # (default: EIA1, support: EIA1, EIA2 (EIA0 not support) |
| # paging_timer: Value of paging timer in seconds (T3413) |
| # |
| ##################################################################### |
| [mme] |
| mme_code = 0x1a |
| mme_group = 0x0001 |
| tac = 0x0007 |
| mcc = ${epc.mcc} |
| mnc = ${epc.mnc} |
| mme_bind_addr = ${epc.run_addr} |
| apn = srsapn |
| dns_addr = 8.8.8.8 |
| encryption_algo = EEA0 |
| integrity_algo = EIA1 |
| paging_timer = 2 |
| |
| ##################################################################### |
| # HSS configuration |
| # |
| # db_file: Location of .csv file that stores UEs information. |
| # |
| ##################################################################### |
| [hss] |
| db_file = ${epc.db_filename} |
| |
| ##################################################################### |
| # SP-GW configuration |
| # |
| # gtpu_bind_addr: GTP-U bind address. |
| # sgi_if_addr: SGi TUN interface IP address. |
| # sgi_if_name: SGi TUN interface name. |
| # max_paging_queue: Maximum packets in paging queue (per UE). |
| # |
| ##################################################################### |
| |
| [spgw] |
| gtpu_bind_addr = ${epc.run_addr} |
| sgi_if_addr = 172.16.0.1 |
| sgi_if_name = srs_spgw_sgi |
| max_paging_queue = 100 |
| |
| #################################################################### |
| # PCAP configuration |
| # |
| # Packets are captured to file in the compact format decoded by |
| # the Wireshark s1ap dissector and with DLT 150. |
| # To use the dissector, edit the preferences for DLT_USER to |
| # add an entry with DLT=150, Payload Protocol=s1ap. |
| # |
| # enable: Enable or disable the PCAP. |
| # filename: File name where to save the PCAP. |
| # |
| #################################################################### |
| [pcap] |
| enable = ${'true' if epc.enable_pcap else 'false'} |
| filename = ${epc.pcap_filename} |
| |
| #################################################################### |
| # Log configuration |
| # |
| # Log levels can be set for individual layers. "all_level" sets log |
| # level for all layers unless otherwise configured. |
| # Format: e.g. s1ap_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. s1ap_hex_limit = 32 |
| # |
| # Logging layers: nas, s1ap, mme_gtpc, spgw_gtpc, gtpu, spgw, hss, 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 |
| ##################################################################### |
| [log] |
| all_level = info |
| all_hex_limit = 32 |
| filename = ${epc.log_filename} |
| |
| #nas_level = debug |
| #s1ap_level = debug |
| #mme_gtpc_level = debug |
| #spgw_gtpc_level = debug |
| #gtpu_level = debug |
| #spgw_level = debug |
| #hss_level = debug |