3.2. Testing SWm requests sent by ePDG Previous topic Parent topic Child topic Next topic

About this task

This test scenario tests the functionality of Diameter SWm connection between the ePDG (Evolved Packet Data Gateway) and Radiator 3GPP AAA Server.

Procedure

To test EAP authentication initiated by an end user:
  1. Open aka-simulator.conf, located in Radiator SIM Pack's /goodies directory, and check that identity is 0232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org.
  2. Run eapol_test to make sure the authentication works correctly. This sends a RADIUS EAP-AKA request to a Radiator radiusd instance started with radius-eap-convert.cfg. The request is converted to a DER (Diameter EAP Request) and sent over SWm.
To test other requests sent by ePDG:
  1. Send an AAR (AA Request) over SWm. Use the correct -session_id from a previous DER. To do this, execute the following command in the Radiator SIM Pack directory:
    perl goodies/diapwtst-3gpp
            -trace 4 -swm aar -originhost epdg3.epc.mnc001.mcc232.3gppnetwork.org
            -originrealm epc.mnc001.mcc232.3gppnetwork.org -user
            232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org -session_id
            'epdg.epc.mnc001.mcc232.3gppnetwork.org;1450276781;831118;0'
    Note
    Use epdg3.epc.mnc001.mcc232.3gppnetwork.org because epdg.epc.mnc001.mcc232.3gppnetwork.org already has a session with Radiator 3GPP AAA Server.
  2. Send an STR (Session-Termination-Request) over SWm to terminate the session started with EAP-AKA. Use the correct -session_id. To do this, execute the following command in the Radiator SIM Pack directory:
    perl
            goodies/diapwtst-3gpp -trace 4 -swm str -originhost
            epdg3.epc.mnc001.mcc232.3gppnetwork.org -originrealm
            epc.mnc001.mcc232.3gppnetwork.org -user
            232010000000000@nai.epc.mnc001.mcc232.3gppnetwork.org
            Termination-Cause=DIAMETER_LOGOUT -session_id
            'epdg.epc.mnc001.mcc232.3gppnetwork.org;1450276781;831118;0'