Cisco 819-LTE (KPN 4G/LTE)

Werkende config voor een Cisco 819-4G (LTE) en KPN mobiel.

Begin met het instellen van het Celluar modem, dit moet direct in de enable modus nog niet in de configure modus (dus niet conf t).

Stel regio in op Europe:

cellular 0 lte prl-region 1

Optioneel, stel in op alleen LTE modus:

cellular 0 lte technology lte

Activeer de SIM (waarbij de XYZ de SIM pincode is):

 

cellular 0 lte sim unlock XYZ

Controle:

Locked

Router#sh cellular 0 security 
Active SIM = 0
SIM switchover attempts = 0
Card Holder Verification (CHV1) = Enabled
SIM Status = Locked
SIM User Operation Required = Enter CHV1
Number of CHV1 Retries remaining = 3

Unlocked:

Router#sh cellular 0 security 
Active SIM = 0
SIM switchover attempts = 0
Card Holder Verification (CHV1) = Disabled
SIM Status = OK
SIM User Operation Required = None
Number of CHV1 Retries remaining = 3

 

Controle of de sim verbonden is met het mobiele netwerk, stuur een SMS;

cellular 0 lte sms send 061234567 hallo

Maak een profile voor de data APN:

cellular 0 lte profile create 1 create KPN4G.nl none

Profile 1 is standaard gekoppeld aan Celluar 0 en word aangesproken als de radio up is.

Om te controleren of de radio en de SIM is aangemeld:

sh celluar 0 radio

4G#sh cellular 0 radio
Radio power mode = ON
Channel Number = 6400
Current Band = LTE
Current RSSI = -80 dBm
Current RSRP = -100 dBm
Current RSRQ = -4 dB
Current SNR = 14.6 dB
Radio Access Technology(RAT) Preference = LTE
Radio Access Technology(RAT) Selected = LTE

En om te controleren of de radio het netwerk correct ziet:

sh cellular 0 network

4G#sh cellular 0 network
Current System Time = Sun Jan 6 0:13:57 1980
Current Service Status = Normal
Current Service = Packet switched
Current Roaming Status = Home
Network Selection Mode = Automatic
Network = KPN
Mobile Country Code (MCC) = 204
Mobile Network Code (MNC) = 8
Packet switch domain(PS) state = Attached
Registration state(EMM) = Registered
Tracking Area Code (TAC) = 60501
Cell ID = 9574667

 

Onderstaand de IOS configuratie waarbij de interface vlan 1 als interne interface gebruikt word met NAT en ip reeks 192.0.200.0/24.

!
controller Cellular 0
lte sim authenticate 0 0000
lte sim data-profile 1 attach-profile 1 slot 0
lte modem link-recovery rssi onset-threshold -110

lte modem link-recovery monitor-timer 60
lte modem link-recovery wait-timer 10
lte modem link-recovery debounce-count 6
!
interface Cellular0
ip address negotiated
no ip unreachables
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer idle-timeout 0
dialer enable-timeout 60
dialer string lte
async mode interactive
routing dynamic
!
interface Vlan1
ip address 192.0.200.254 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip nat inside source list NAT interface Cellular 0 overload
ip route 0.0.0.0 0.0.0.0 Cellular0
!
ip access-list extended NAT
permit ip 192.0.200.0 0.0.0.255 any
!
line 3
script dialer lte
modem InOut
no exec
transport input telnet
transport output all
rxspeed 100000000
txspeed 50000000

 


Achtergrond info

http://www.cisco.com/c/en/us/td/docs/routers/access/interfaces/software/feature/guide/EHWIC-4G-LTESW.html#pgfId-1309655

http://blog.martinshouse.com/2014/09/in-hope-that-it-helps-others-here-is.html