Amarisoft

LTE Dedicated EPS Bearer

 

This tutorial shows how to trigger a Dedicated EPS Bearer with Amari Callbox + Amari UEsim and Amari Callbox + Commerical UE. The main purpose of this tutorial are as follows :

In LTE, two types of EPS bearer are defined.

In LTE, at least one Default EPS bearer should be established during the initial attach process and additional default EPS bearer or dedicated bearer can be added afterwards.

 

Table of Contents

 

Test Setup

Test setup for this tutorial is as shown below.  (NOTE : This setup is for Amari Callbox + Amari UEsim.  For Amari Callbox + Commercial UE case, refer to Test 3).

TestSetup Callbox UEsim 1sdr 01

 

 

Key Configuration Parameters

Followings are important configuration parameters for this tutorial. You may click on the items for the descriptions from Amarisoft documents.

 

 

Test 1 : Amari Callbox + UEsim, Dedicated Bearer Triggered by UEsim for QCI 6 (Non-GBR)

This test shows an example of establishing Dedicated EPS Bearer triggered by UE (Amarisoft UEsim in this case). In this test, UE request to setup a dedicated EPS bearer for QCI 6 (Non-GBR). The main purpose of this test is to show how to trigger Dedicated Bearer for a Non-GBR.

 

Configuration

I used the default LTE configuration (ue.default.cfg) without any change on UE Sim.

LTE DedEps Test1 Config 01

I used the default eNB configuration (enb.default.cfg) without any change on Callbox

LTE DedEps Test1 Config 02

I used mme-ims-ue-initiated-ded-bearer-qci6.cfg which is copied from mme-ims.cfg and modified.

LTE DedEps Test1 Config 03

In mme-ims-ue-initiated-ded-bearer-qci6.cfg, you see ue_db-ims.cfg is used.

LTE DedEps Test1 Config 04

In mme-ims-ue-initiated-ded-bearer-qci6.cfg add the following configuration. In the configuration, setup_type is set to "ue_initiated" which means that this bearer setup should be triggered by UE. qci is set to 6 which is a Non-GBR bearer.

LTE DedEps Test1 Config 05

In ue_db-ims.cfg on Callbox, I used following USIM parameters. This is a default USIM setting of Amarisoft test USIM. If you are using a different test USIM, change these parameters (sim_algo, imsi, amf, sqn, K) according to the USIM.

LTE DedEps Test1 Config 06

In ue.default.cfg on UEsim, I used following USIM parameters. The imsi, K on UEsim should match the ue_db settings in Callbox setting.

LTE DedEps Test1 Config 07

 

Perform the Test

Start trace logging on Callbox

LTE DedEps Test1 Run 01

Power on UE on UEsim

LTE DedEps Test1 Run 02

Then you see following traces on Callbox and confirm UE gets attached

LTE DedEps Test1 Run 03

When UE is in connection with a cell, you can get the information on the connected cell using 'cells' command on UEsim

LTE DedEps Test1 Run 04

When UE is in connection with a cell, you can get the information on the connected UE using 'ue' command in (ue) screen on UESim (NOTE : pay special attention to UE_ID shown here because this UE_ID should be specified in the remote API command at later step).

LTE DedEps Test1 Run 05

When UE is in connection with a cell, you can get the information on the connected UE in NAS layer using 'ue' command in (mme) screen

LTE DedEps Test1 Run 06

In the directory : /root/ue/doc on UEsim, run following command

./ws.js ue '{"message":"ue_activate_dedicated_bearer","ue_id":1,"def_bearer_id":5,"qci":6,"filters":[{ "direction":"both","id":1,"precedence":1,"components":[{"ipv4_remote_addr": "192.168.2.1","type_of_service":"ipv4","mask":"255.255.255.0"}]}]}'

(NOTE : Make it sure that you set the right value for "ue_id". Set the "qci" to the value set in the configuration file)

LTE DedEps Test1 Run 07

If UE is in proper call status and the above command is properly processed, you would get the response as follows.

LTE DedEps Test1 Run 08

 

Log Analysis

SampleLog

Following is snapshots from UEsim log.

Before you send RemoteAPI command, I would recommend to check the default EPS bearer ID you want to link the dedicated bearer you will create. You can check out the EPS Bearer Identity in Attach Accept message in this case.

LTE DedEps Test1 Log 01

After you send the RemoteAPI, you see a sequence of following messages. In "Bearer resource allocation request" message, you can confirm that "Linked EPS bearer identity" is set to 5 and QCI is set to 6.

LTE DedEps Test1 Log 02

Then RRC Connection Reconfiguration is triggered for setting 'radioResourceConfigDedicated'.

LTE DedEps Test1 Log 03

Then 'Activate dedicated EPS bearer context request' is triggered with 'Linked EPS bearer identity = 5' and 'QCI = 6' as configured in the configuration file and remoteAPI.

LTE DedEps Test1 Log 04

The dedicated EPS bearer setup gets completed by 'Activate dedicated EPS bearer context accept' message from UE.

LTE DedEps Test1 Log 05

 

 

Test 2 : Amari Callbox + UEsim, Dedicated Bearer Triggered by UEsim for QCI 4 (GBR)

This test shows an example of establishing Dedicated EPS Bearer triggered by UE (Amarisoft UEsim in this case). In this test, UE request to setup a dedicated EPS bearer for QCI 4 (GBR). The main purpose of this test is to show how to trigger Dedicated Bearer for a GBR.

 

Configuration

All the configurations are same as Test 1 Configuration except the followings.

I used mme-ims-ue-initiated-def-bearer-qci4.cfg which is copied and modified from mme-ims.cfg

LTE DedEps Test2 Config 01

In mme-ims-ue-initiated-def-bearer-qci4.cfg, add following configurations.  In the configuration, setup_type is set to "ue_initiated" which means that this bearer setup should be triggered by UE. qci is set to 4 which is a GBR bearer. Key point for this is the configuration in gbr: {  }. You would also notice that the value of pre_emption_capability and pre_emption_vulnuerability are set to "may_trigger_pre_emption" and "pre_emptable" respectively.

LTE DedEps Test2 Config 02

 

Perform the Test

Test Procedure is same as in Test 1 Procedure except the followings (the last step).

In the directory : /root/ue/doc on UEsim, run following command

./ws.js ue '{"message":"ue_activate_dedicated_bearer","ue_id":1,"def_bearer_id":5,"qci":4,"gbr": {"maximum_bitrate_dl": 49000, "maximum_bitrate_ul":49000,"guaranteed_bitrate_dl":49000,"guaranteed_bitrate_ul":49000},"filters":[{ "direction":"both","id":1,"precedence":1,"components":[{"ipv4_remote_addr": "192.168.2.1","type_of_service":"ipv4","mask":"255.255.255.0"}]}]}'

(NOTE : Make it sure that you set the right value for "ue_id". Set the "qci" to the value set in the configuration file)

LTE DedEps Test2 Run 01

If UE is in proper call status and the above command is properly processed, you would get the response as follows.

LTE DedEps Test2 Run 02

 

Log Analysis

SampleLog

Following is snapshots from UEsim log.

Before you send RemoteAPI command, I would recommend to check the default EPS bearer ID you want to link the dedicated bearer you will create.

LTE DedEps Test2 Log 01

After you send the RemoteAPI, you see a sequence of following messages.  In "Bearer resource allocation request" message, you can confirm that "Linked EPS bearer identity" is set to 5 and QCI is set to 4.

LTE DedEps Test2 Log 02

Then RRC Connection Reconfiguration is triggered for setting 'radioResourceConfigDedicated'.

LTE DedEps Test2 Log 03

Then 'Activate dedicated EPS bearer context request' is triggered with 'Linked EPS bearer identity = 5' and 'QCI = 4' as configured in the configuration file and remoteAPI.

LTE DedEps Test2 Log 04

The dedicated EPS bearer setup gets completed by 'Activate dedicated EPS bearer context accept' message from UE.

LTE DedEps Test2 Log 05

 

 

Test 3 : Amari Callbox + Commerical UE, Dedicated Bearer Triggered by UE

I don't have any separate tutorial for this case because you can see this case in  the tutorial VoLTE

 

 

RRC / NAS Signaling

 

Activate dedicated EPS bearer context request

: This is the Activate dedicated EPS bearer context request message sent by  LTE Core to activate the dedicated EPS Bearer (NOTE : You would see some IEs that has a specific assigned vale here, but consider it as just an example value. Those values should vary depending on test requirement)

 

Protocol discriminator = 0x7 (EPS Mobility Management)

Security header = 0x2 (Integrity protected and ciphered)

Auth code = 0x34602608

Sequence number = 0x03

Protocol discriminator = 0x2 (EPS Session Management)

EPS bearer identity = 6

Procedure transaction identity = 2

Message type = 0xc5 (Activate dedicated EPS bearer context request)

Linked EPS bearer identity = 5

EPS QoS:

  QCI = 6

Traffic Flow Template:

  TFT operation code = 1 (create new TFT)

  E = 0 (parameters list is not included)

  Number of packet filters = 1

  Packet filter identifier = 1

    Packet filter direction = 3 (bidirectional)

    Packet filter evaluation precedence = 1

    IPv4 remote address = 192.168.2.1 mask 255.255.255.0