Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 1 | ##################################################################### |
| 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] |
| 24 | mme_code = 0x1a |
| 25 | mme_group = 0x0001 |
| 26 | tac = 0x0007 |
| 27 | mcc = ${epc.mcc} |
| 28 | mnc = ${epc.mnc} |
| 29 | mme_bind_addr = ${epc.run_addr} |
| 30 | apn = srsapn |
| 31 | dns_addr = 8.8.8.8 |
| 32 | encryption_algo = EEA0 |
| 33 | integrity_algo = EIA1 |
| 34 | paging_timer = 2 |
| 35 | |
| 36 | ##################################################################### |
| 37 | # HSS configuration |
| 38 | # |
| 39 | # db_file: Location of .csv file that stores UEs information. |
| 40 | # |
| 41 | ##################################################################### |
| 42 | [hss] |
Pau Espin Pedrol | 3373703 | 2020-04-16 13:55:57 +0200 | [diff] [blame] | 43 | db_file = ${epc.db_filename} |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 44 | |
| 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] |
| 56 | gtpu_bind_addr = ${epc.run_addr} |
| 57 | sgi_if_addr = 172.16.0.1 |
| 58 | sgi_if_name = srs_spgw_sgi |
| 59 | max_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 Pedrol | 1e81b5a | 2020-03-16 12:42:17 +0100 | [diff] [blame] | 74 | enable = ${'true' if epc.enable_pcap else 'false'} |
Pau Espin Pedrol | 3373703 | 2020-04-16 13:55:57 +0200 | [diff] [blame] | 75 | filename = ${epc.pcap_filename} |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 76 | |
| 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] |
| 96 | all_level = info |
| 97 | all_hex_limit = 32 |
Pau Espin Pedrol | 3373703 | 2020-04-16 13:55:57 +0200 | [diff] [blame] | 98 | filename = ${epc.log_filename} |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 99 | |
| 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 |