iperf -B 99.99.3.1 -c 192.168.42.242 -p 10002 -f m -i 1 -P 1 -w 1M -u -b 1M -t 20
iperf -B 192.168.42.242 -c 99.99.3.1 -p 10002 -f m -i 1 -P 1 -w 1M -t 6 -u -b 1M -r
iperf -B 99.99.3.1 -c 99.99.3.2 -p 10002 -f m -i 1 -P 1 -w 1M -t 600 -u -b 40M
iperf -s -B 192.168.42.242 -p 10002 -f m -i 1 -w 1M
tcpdump -i lo -vv -w /tmp/dump_lo.pcap
tcpdump -i tun2 -vv -w /tmp/dump_ims.pcap
ssh -i ens1 -vv -w /tmp/dump_03.pcap
./tcpdump port 9001 -i eno1 -vv -w ./dump.pcap
tcpdump -i rmnet_data2 -vv
tcpdump -i tun0 -vv -w /tmp/dump_03.pcap
cd /data/data/com.edc.iperf/files/iperf
./iperf -s -B 99.99.3.2 -p 10002 -f m -i 1 -w 1M -u
/data/data/com.edc.iperf/files/iperf # ./iperf -s -B 99.99.3.2 -p 10002 -f m -i 1 -w 1M -u
mt_call 460110000000002@ims.mnc011.mcc460.3gppnetwork.org mt_voice_qos.sdp
mt_call 460110000000001@ims.mnc011.mcc460.3gppnetwork.org mt_voice_qos.sdp
mt_call 460110000000002@ims.mnc011.mcc460.3gppnetwork.org mt_video_qos.sdp
mt_call 460110000000001@ims.mnc011.mcc460.3gppnetwork.org mt_video_qos.sdp
iperf -B 99.99.3.1 -c 99.99.3.2 -p 10002 -f m -i 1 -P 1 -w 1M -t 600 -u -b 40M
ClearInternalMessageQueue()
cd /root/enb/doc
enb
---------------------------------------------------
./ws.js 127.0.0.100:9001 '{"message":"stats"}'
./ws.js 127.0.0.100:9001 '{"message":"ue_get"}'
./ws.js 127.0.0.100:9001 '{"message":"erab_get"}'
./ws.js 127.0.0.100:9001 '{"message":"config_get"}'
./ws.js 127.0.0.100:9001 '{"message":"snr","snr":30}'
./ws.js 127.0.0.100:9001 '{"message":"snr","snr":30,"channel":0}'
./ws.js 127.0.0.100:9001 '{"message":"stats","cells": "1"}'
./ws.js 127.0.0.100:9001 '{"message":"rf","tx_gain":[60,60]}'
./ws.js 127.0.0.100:9001 '{"message":"rf","rx_gain":[60,60]}'
./ws.js 127.0.0.100:9001 '{"message":"rf","tx_gain":70,"tx_channel_index":1}'
./ws.js 127.0.0.100:9001 '{"message":"rf","tx_gain":77,"tx_channel_index":2}'
./ws.js 127.0.0.100:9001 '{"message":"cell_gain","cell_id":0,"gain":-200}'
./ws.js 127.0.0.100:9001 '{"message":"rf","tx_gain":[60,60],"rx_gain":[60,60]}'
./ws.js 127.0.0.100:9001 '{"message":"config_set","cells": {"1":{ "force_full_bsr": true}}}'
./ws.js 127.0.0.100:9001 '{"message":"config_set","cells": {"1":{ "force_dl_schedule": true}}}'
./ws.js 127.0.0.100:9001 '{"message":"config_set","cells": {"1":{ "pusch_mcs": 20}}}'
./ws.js 127.0.0.100:9001 '{"message":"config_set","cells": {"1":{ "pdsch_mcs": 20}}}'
./ws.js 127.0.0.100:9001 '{"message":"handover","enb_ue_id":22,"pci":1,"dl_earfcn":100,"type":"auto"}' //not verify
./ws.js 127.0.0.100:9001 '{"message":"ue_get"}'
./ws.js 127.0.0.100:9001 '{"message":"rrc_cnx_release","enb_ue_id": 280}'
./ws.js 127.0.0.100:9001 '{"message":"page_ue","type":"normal","cn_domain":"ps","imsi":"460110000000002","cell_id":[1,2,3,4]}'
{'message':'page_ue','type':'normal','cn_domain':'ps','imsi':'460110000000001','cell_id':[1,2,3,4,5]}
消息执行失败时候会有error IE。
==> Message received
{
"message": "cell_gain",
"error": "Unknown cell id",
"message_id": "id#1"
}
mme
-------------------------------------------------------------------------------------------------
./ws.js 127.0.0.1:9002 '{"message":"config_get"}'
./ws.js 127.0.0.1:9002 '{"message":"stats"}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","ims_vops": true}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","attach_result_mode": "eps_only"}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","service_reject_error":111}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"service_request":"reject"}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"service_request":"treat"}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","attach_reject_error":111}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","attach_reject_filter": {"460110000000001":0}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","attach_reject_filter": {"460110000000001":null}}' //remove the reject
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"attach":"reject"}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"attach":"treat"}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","tracking_area_update_reject_error":111}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"tracking_area_updating":"reject"}}'
./ws.js 127.0.0.1:9002 '{"message":"config_set","emm_procedure_filter":{"tracking_area_updating":"treat"}}'
./ws.js 127.0.0.1:9002 '{"message":"ue_detach","imsi":"460110000000002","type":1,"cause":17}' //re-attach required
./ws.js 127.0.0.1:9002 '{"message":"ue_detach","imsi":"460110000000002","type":2,"cause":-1}' //re-attach not require
" {'message':''ue_detach','imsi':'460110000000001','type':1,'cause':111}
ims
-----------------------------------------------------------
./ws.js 127.0.0.1:9003 '{"message":"config_get"}'
> SMS
./ws.js 127.0.0.1:9003 '{"message":"sms","impi":"460110000000001@ims.mnc011.mcc460.3gppnetwork.org","text":"hello changeself","validity":60}'
> MT voice
./ws.js 127.0.0.1:9003 '{"message":"mt_call","impi":"460110000000001@ims.mnc011.mcc460.3gppnetwork.org","sip_file":"mt_voice_qos.sdp"}'
./ws.js 127.0.0.1:9003 '{"message":"mt_call","impi":"460110000000002@ims.mnc011.mcc460.3gppnetwork.org","sip_file":"mt_voice_qos.sdp"}'
> MT Vedio
./ws.js 127.0.0.1:9003 '{"message":"mt_call","impi":"460110000000001@ims.mnc011.mcc460.3gppnetwork.org","sip_file":"mt_video.sdp"}'
./ws.js 127.0.0.1:9003 '{"message":"mt_call","impi":"460110000000001@ims.mnc011.mcc460.3gppnetwork.org","sip_file":"mt_video_qos.sdp"}' //for qualcomm
./ws.js 127.0.0.1:9003 '{"message":"users"}'
./ws.js 127.0.0.1:9003 '{"message":"dialog_get"}'
tcpdump
---
./tcpdump port 9002 -i lo -vv -w ./dump.pcap
tcpdump -i ens0 -vv -w /tmp/dump_en0.pcap
tcpdump -i ens1 -vv -w /tmp/dump_en1.pcap
tcpdump -i tun0 -vv -w /tmp/internet.pcap
tcpdump -i tun1 -vv -w /tmp/ims.pcap
tcpdump -i lo host "127.0.1.100" -vv -w /tmp/ims2.pcap
/data/data/com.edc.iperf/files/iperf/
iperf -u -s -B 99.99.3.2 -p 10000 -f m -i 1 -w 1M -l 1470
iperf -u -B 99.99.3.1 -c 99.99.3.2 -p 10000 -f m -i 1 -P 1 -w 1M -b 350M -l 1470 -t 60