ソラコムのplan01sをCisco LTEルータで使用する方法メモ。ヤフオクで落札した C819GW-LTE-LA / IOS 15.6(3)M1 / MC7430。
APNプロファイルの追加
APNプロファイルはモデム内に保存され、running-config には現れない。* はデフォルトデータ通信用プロファイル、** は LTEアタッチ用プロファイル。
c819h1# cellular 0 lte profile create 1 soracom.io pap sora sora
c819h1# show cellular 0 profile
Profile password Encryption level: 7
Profile 1 = ACTIVE* **
--------
PDP Type = IPv4
PDP address = 10.193.176.160
Access Point Name (APN) = soracom.io
Authentication = PAP
Username: sora
Password: 120A0A0513
Primary DNS address = 100.127.0.53
Secondary DNS address = 100.127.1.53
* - Default profile
** - LTE attach profile
Configured default profile for active SIM 0 is profile 1.セルラーインターフェースの設定
chat-script lte と dialer string lte を対応させ、dialer-group 1 の IP トラフィックで発呼する。
先ほど作成した Profile 1 を controller 側のデータ通信用・アタッチ用プロファイルに指定する。
理由はわからないけど dialer watch-list を設定しないとデータ通信できなかった。
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"controller Cellular 0
lte sim data-profile 1 attach-profile 1 slot 0interface Cellular0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer string lte
dialer watch-group 1
dialer-group 1
no peer default ip addressdialer watch-list 1 ip 133.130.116.148 0.0.0.0
dialer watch-list 1 delay route-check initial 60
dialer watch-list 1 delay connect 1dialer-list 1 protocol ip permitip route 0.0.0.0 0.0.0.0 Cellular0ベアラの確認
発呼していなければ ping 100.127.100.127 (pong.soracom.io) で IPトラフィックを発生させ、show cellular 0 connection を再確認する。
c819h1# show cellular 0 network
Current System Time = Fri Oct 9 13:15:12 2026
Current Service Status = Normal
Current Service = Packet switched
Current Roaming Status = Roaming
Network Selection Mode = Automatic
Network = DOCOMO
Mobile Country Code (MCC) = 440
Mobile Network Code (MNC) = 10
Packet switch domain(PS) state = Attached
LTE Carrier Aggregation state = Deactivated
Registration state(EMM) = Registered
EMM Sub State = Normal Service
Tracking Area Code (TAC) = 4708
Cell ID = 41220691c819h1# show cellular 0 connection
Profile 1, Packet Session Status = ACTIVE
Cellular0:
Data Transmitted = 980 bytes, Received = 0 bytes
IP address = 10.193.176.160
Primary DNS address = 100.127.0.53
Secondary DNS address = 100.127.1.53
Profile 2, Packet Session Status = INACTIVE
Profile 3, Packet Session Status = INACTIVE
Profile 4, Packet Session Status = INACTIVE
Profile 5, Packet Session Status = INACTIVE
Profile 6, Packet Session Status = INACTIVE
Profile 7, Packet Session Status = INACTIVE
Profile 8, Packet Session Status = INACTIVE
Profile 9, Packet Session Status = INACTIVE
Profile 10, Packet Session Status = INACTIVE
Profile 11, Packet Session Status = INACTIVE
Profile 12, Packet Session Status = INACTIVE
Profile 13, Packet Session Status = INACTIVE
Profile 14, Packet Session Status = INACTIVE
Profile 15, Packet Session Status = INACTIVE
Profile 16, Packet Session Status = INACTIVEc819h1# show ip interface brief | include Cellular0
Cellular0 10.193.176.160 YES IPCP up up