On a router, use the commands described in the sections that follow to verify the status of GPS dead reckoning. The status
has three possibilities:
-
GPS and dead reckoning are enabled and the GPS receiver has received satellite location information.
-
GPS and dead reckoning are enabled and the GPS receiver has not received satellite location information, so it falls back
on using the dead reckoning method.
-
The GPS feature is not enabled.
Dead Reckoning Is Enabled, GPS Receiver Has Received Satellite Location Information
When the GPS receiver has received satellite location information, the show platform hardware gps status command indicates that GPS coordinates have been acquired.
Router#show platform hardware gps status
GPS Feature = enabled
GPS Status = GPS coordinates acquired
The show platform hardware gps mode command indicates that dead reckoning (DR) is not in use.
Router#show platform hardware gps mode
GPS Feature = enabled
DR in use for location fix: No
Use the show platform hardware gps detail command to show the location information received by satellite. Note that the output includes "GPS Mode Used = GPS standalone"
to indicate that GPS has received satellite information.
Router#show platform hardware gps detail
GPS Feature = enabled
GPS Status = GPS coordinates acquired
Latitude = 37 Deg 25 Min 4.7460 Sec North
Longitude = 121 Deg 55 Min 11.1840 Sec West
Timestamp (GMT) = Tue Nov 24 03:03:55 2020
Fix type index = 0, Height = 40 m
HDOP = 4.1, GPS Mode Used = GPS standalone
Satellite Info
----------------
Satellite #30, elevation 72, azimuth 43, SNR 0
Satellite #28, elevation 68, azimuth 277, SNR 0
Satellite #7, elevation 49, azimuth 89, SNR 0
Satellite #13, elevation 37, azimuth 312, SNR 0
Satellite #17, elevation 26, azimuth 185, SNR 25
Satellite #8, elevation 21, azimuth 43, SNR 0
Satellite #9, elevation 15, azimuth 160, SNR 17
Satellite #5, elevation 11, azimuth 260, SNR 26
Satellite #21, elevation 10, azimuth 77, SNR 0
Satellite #19, elevation 7, azimuth 194, SNR 24
Satellite #1, elevation 7, azimuth 103, SNR 0
Satellite #15, elevation 6, azimuth 322, SNR 0
Dead Reckoning Is Enabled, GPS Receiver Has Not Received Satellite Location Information
The show platform hardware gps mode command indicates that dead reckoning (DR) is in use.
Router#show platform hardware gps mode
GPS Feature = enabled
DR in use for location fix: Yes
Use the show platform hardware gps detail command to show the location information. Note that the output includes "GPS Mode Used = DR based GPS" to indicate that the
dead reckoning method is being used for location information. The output also provides the most recent satellite location information available.
Router#show platform hardware gps detail
GPS Feature = enabled
GPS Status = GPS coordinates acquired
Latitude = 37 Deg 25 Min 4.7460 Sec North
Longitude = 121 Deg 55 Min 11.1840 Sec West
Timestamp (GMT) = Tue Nov 24 03:03:55 2020
Fix type index = 0, Height = 40 m
HDOP = 4.1, GPS Mode Used = DR based GPS
Satellite Info
----------------
Satellite #30, elevation 72, azimuth 43, SNR 0
Satellite #28, elevation 68, azimuth 277, SNR 0
Satellite #7, elevation 49, azimuth 89, SNR 0
Satellite #13, elevation 37, azimuth 312, SNR 0
Satellite #17, elevation 26, azimuth 185, SNR 12
Satellite #8, elevation 21, azimuth 43, SNR 0
Satellite #9, elevation 15, azimuth 160, SNR 14
Satellite #5, elevation 11, azimuth 260, SNR 10
Satellite #21, elevation 10, azimuth 77, SNR 0
Satellite #19, elevation 7, azimuth 194, SNR 8
Satellite #1, elevation 7, azimuth 103, SNR 0
Satellite #15, elevation 6, azimuth 322, SNR 0
GPS Is Not Enabled
The following show commands indicate that the GPS feature is disabled.
Router#show platform hardware gps mode
GPS Feature = disabled
Router#show platform hardware gps status
GPS Feature = disabled
GPS Status = GPS mode not enabled
Router#show platform hardware gps detail
GPS Feature = disabled
GPS Status = GPS mode not enabled