Cisco Cisco 1800 2800 3800 Series 9-Port EtherSwitch High-Speed WIC
© 2014 Cisco and/or its affiliates All rights reserved. This document is Cisco Public Information. Page 20 of 21
Antenna Guide for ISR and CGR with Verizon Wireless 4G LTE
7) Define the EEM applet that calls the tcl script above
(IOS configuration mode).
event manager applet NMEA
event syslog pattern "LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular[0-9\/]+, changed state to up" maxrun 31536000
action 010 cli command "enable"
action 020 syslog msg "NMEA streaming starting now"
action 030 cli command "tclsh flash:stream_NMEA2.tcl $server $udp_port"
8) Reset the LTE interface via configuration shut/no shut, LTE modem power cycle, or ISR reload during
planned maintenance
(IOS configuration mode).
a. IOS commands from enable mode:
configure terminal
,
interface cell 0/x/0
(where x is the ISR slot
number for 1900/2900/3900, or cell 0 for 819),
shut
(wait 5 seconds),
no shut
,
end.
(Operational in a
few seconds)
i. Requires ISR terminal access other than through the LTE interface
b. IOS commands from enable mode:
configure terminal
,
service internal
,
end
,
test cellular 0/x/0
modem-power-cycle
(where x is the ISR slot number for 1900/2900/3900, or cell 0 for 819)
(IOS
configuration and enable modes)
i. Can be done over LTE, but takes 1 minute to return to operation
Example: shut/no shut the ISR LTE interface to initiate the script:
C1921_pod4#
conf t
Enter configuration commands, one per line. End with CNTL/Z.
C1921_pod4(config)#
C1921_pod4(config)#
int cell 0/0/0
C1921_pod4(config-if)#
shut
C1921_pod4(config-if)#
*Jun 18 13:27:37.989: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to administratively down
*Jun 18 13:27:38.989: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/0/0, changed state to down
C1921_pod4(config-if)#
*Jun 18 13:27:37.989: %LINK-5-CHANGED: Interface Cellular0/0/0, changed state to administratively down
*Jun 18 13:27:38.989: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/0/0, changed state to down
C1921_pod4(config-if)#
no shut
C1921_pod4(config-if)#
end
C1921_pod4#
*Jun 18 13:27:45.001: %SYS-5-CONFIG_I: Configured from console by cisco on console
C1921_pod4#
*Jun 18 13:27:46.329: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Jun 18 13:27:47.329: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/0/0, changed state to up
*Jun 18 13:27:47.349: %HA_EM-6-LOG: NMEA: NMEA streaming starting now
*Jun 18 13:27:47.405: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
*Jun 18 13:27:47.417: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:47.529: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:47.533: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:48.365: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback7, changed state to up
C1921_pod4#
*Jun 18 13:27:45.001: %SYS-5-CONFIG_I: Configured from console by cisco on console
C1921_pod4#
*Jun 18 13:27:46.329: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up
*Jun 18 13:27:47.329: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/0/0, changed state to up
*Jun 18 13:27:47.349: %HA_EM-6-LOG: NMEA: NMEA streaming starting now
*Jun 18 13:27:47.405: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
*Jun 18 13:27:47.417: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:47.529: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:47.533: %SYS-5-CONFIG_I: Configured from console by on vty1
*Jun 18 13:27:48.365: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback7, changed state to up
C1921_pod4#
Sample NMEA information posted to the server from the NMEA app on this ISR:
(IP address of ISR hidden, first 2 octets replaced with X and Y)
09:51:03.322475941 X.Y.125.2 60646: 65 $GPRMC,134838.0,A,4006.152992,N,07507.354367,W,0.0,,180614,,,A*5E
09:51:04.303889374 X.Y.125.2 60646: 65 $GPRMC,134839.0,A,4006.152990,N,07507.354370,W,0.0,,180614,,,A*5B
09:51:05.297133729 X.Y.125.2 60646: 65 $GPRMC,134840.0,A,4006.152991,N,07507.354374,W,0.0,,180614,,,A*50
09:51:06.297635238 X.Y.125.2 60646: 65 $GPRMC,134841.0,A,4006.152987,N,07507.354378,W,0.0,,180614,,,A*5A
09:51:07.313955173 X.Y.125.2 60646: 65 GPRMC,134842.0,A,4006.152983,N,07507.354383,W,0.0,,180614,,,A*59C
09:51:04.303889374 X.Y.125.2 60646: 65 $GPRMC,134839.0,A,4006.152990,N,07507.354370,W,0.0,,180614,,,A*5B
09:51:05.297133729 X.Y.125.2 60646: 65 $GPRMC,134840.0,A,4006.152991,N,07507.354374,W,0.0,,180614,,,A*50
09:51:06.297635238 X.Y.125.2 60646: 65 $GPRMC,134841.0,A,4006.152987,N,07507.354378,W,0.0,,180614,,,A*5A
09:51:07.313955173 X.Y.125.2 60646: 65 GPRMC,134842.0,A,4006.152983,N,07507.354383,W,0.0,,180614,,,A*59C