We assume either of the following is true:

1. The following instructions have been executed: http://iristestbed.eu/index.php/fb-magma-core

2. Experimenters are using our Magma EPC Core deployed.

 

1. edit the enb.conf file

vi /home/$USER/.config/srslte/enb.conf

mme_addr = <MME IP>
gtp_bind_addr = <eNB IP>
s1c_bind_addr = <eNB IP>

For example:
mme_addr = 10.154.50.75
gtp_bind_addr = 10.154.50.69
s1c_bind_addr = 10.154.50.69

Note 10.154.50.75 is Iris testbed MAGMA CORE IP address

Troubleshooting Logs

For more comprehensive logs, in the following logs, change 

log_level: INFO

to 

log_level: DEBUG

vi /etc/magma/sessiond.yml_prod

vi /etc/magma/gateway.mconfig

vi /etc/magma/magmad.yml

vi /etc/magma/sessiond.yml

vi /etc/magma/mme.yml

sudo vi /var/log/syslog

 

sudo tail -f /var/log/daemon.log

sudo tail -f  /var/log/daemon.log


Aug 20 11:20:22 magma-dev mme[22309]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:20:22 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:20:22 magma-dev mme[22309]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:21:10 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 45
Aug 20 11:27:36 magma-dev mme[23028]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:27:36 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:27:36 magma-dev mme[23028]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:28:10 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 46
Aug 20 11:32:40 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:40 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:32:40 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:40 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:40 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:40 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:32:42 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:43 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:32:43 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:43 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:43 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:43 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:32:46 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:46 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:32:46 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:46 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:32:46 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:32:46 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:33:10 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 49
Aug 20 11:36:08 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:08 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:36:08 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:08 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:08 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:08 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:36:10 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 50
Aug 20 11:36:10 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:10 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:36:10 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:10 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:10 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:10 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:36:14 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:14 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:36:14 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:14 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:14 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:14 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:36:16 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:16 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 11:36:16 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:17 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 11:36:17 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 11:36:17 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 11:37:10 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 53
Aug 20 12:22:40 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 12:22:40 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 12:22:40 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:22:40 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 12:22:40 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:22:40 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 12:23:11 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 54
Aug 20 12:26:26 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 12:26:26 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 12:26:26 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:26:26 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 12:26:26 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:26:26 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 12:26:29 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 12:26:29 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 12:26:29 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:26:29 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 12:26:29 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:26:29 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 12:27:11 magma-dev state[19555]: DEBUG:root:Successfully replicated state for: deviceID: IMSI001010123456780,type: directory_record, version: 56
Aug 20 12:37:46 magma-dev mme[24130]: [INFO] Sending S6A-AUTHENTICATION_INFORMATION_REQUEST with IMSI: 001010123456780
Aug 20 12:37:46 magma-dev subscriberdb[19558]: INFO:root:Auth success: 001010123456780
Aug 20 12:37:46 magma-dev mme[24130]: [INFO] Received S6A-AUTHENTICATION_INFORMATION_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:37:46 magma-dev mme[24130]: [DEBUG] Sending S6A-UPDATE_LOCATION_REQUEST with IMSI: 001010123456780
Aug 20 12:37:46 magma-dev mme[24130]: [INFO] Received S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780; Status: ; StatusCode: 2001
Aug 20 12:37:46 magma-dev mme[24130]: [INFO] sent itti S6A-LOCATION-UPDATE_ANSWER for IMSI: 001010123456780
Aug 20 12:37:46 magma-dev mobilityd[24086]: INFO:root:Allocated IPv4 192.168.128.124 for sid IMSI001010123456780 for apn srslte
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.418720 24061 LocalSessionManagerHandler.cpp:203] Received a CreateSessionRequest for IMSI001010123456780 apn: srslte plmn_id: 00101 imsi_plmn_id: 00101
Aug 20 12:37:46 magma-dev policydb[19557]: INFO:root:Creating a session for subscriber ID: IMSI001010123456780
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.424154 24061 LocalEnforcer.cpp:693] Activating untracked rule allowlist_sid-001010123456780
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.424369 24061 PipelinedClient.cpp:234] Activating 0 static rules and 1 dynamic rules for subscriber IMSI001010123456780
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.424409 24061 PipelinedClient.cpp:54] Sending AMBR info for IMSI001010123456780 ip addr 192.168.128.124dl 1000000ul 1000000
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.424758 24061 PipelinedClient.cpp:54] Sending AMBR info for IMSI001010123456780 ip addr 192.168.128.124dl 1000000ul 1000000
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.425010 24061 LocalEnforcer.cpp:1757] Updating IPFIX flow for subscriber IMSI001010123456780
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.425807 24061 LocalSessionManagerHandler.cpp:260] Successfully initialized new session IMSI001010123456780-778048 in sessiond for subscriber IMSI001010123456780 with default bearer id #005
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.434741 24071 SessionEvents.cpp:67] Could not log session_created event {"mac_addr":"","session_id":"IMSI001010123456780-778048","apn":"srslte","imsi":"IMSI001010123456780"}, Error Message: Could not connect to FluentBit locally, Details: [Errno 111] Connection refused
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.436067 24069 LocalEnforcer.cpp:1671] Pipelined add ue enf flow succeeded for IMSI001010123456780
Aug 20 12:37:46 magma-dev sessiond[24061]: I0820 12:37:46.436455 24069 LocalEnforcer.cpp:1671] Pipelined add ue enf flow succeeded for IMSI001010123456780
Aug 20 12:38:01 magma-dev sessiond[24061]: I0820 12:38:01.156530 24061 LocalEnforcer.cpp:262] IMSI001010123456780 used 168 tx bytes and 168 rx bytes for rule allowlist_sid-001010123456780
Aug 20 12:38:05 magma-dev sessiond



sudo tail -f /var/log/mme.log

sudo tail -f /var/log/mme.log


018624 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0028      ======================================= STATISTICS ============================================

018625 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0032                     |   Current Status| Added since last display|  Removed since last display |
018626 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0040      Connected eNBs |          1      |              0              |             0               |
018627 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0048      Attached UEs   |          1      |              0              |             0               |
018628 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0056      Connected UEs  |          0      |              0              |             1               |
018629 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0064      Default Bearers|          1      |              0              |             0               |
018630 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0072      S1-U Bearers   |          0      |              0              |             1               |

018631 Thu Aug 20 13:32:55 2020 7FB99981D700 DEBUG MME-AP tasks/mme_app/mme_app_statistics:0076      ======================================= STATISTICS ============================================

16. Command to dump sctp protocol issues for EPC 

sudo tcpdump -i any sctp

 

17. Report Magma issue

https://github.com/magma/magma/issues