When troubleshooting issues that involve gathering both the log messages and the syslog messages from the FPC, different timestamps are seen in show log messages and the show syslog messages from the FPC. This article explains that the FPCs and the RE syslogs are configured in different time zones, and provides a command to display the configured system time zone.
show log messages
show syslog messages
When troubleshooting issues that involve gathering both the log messages and the syslog messages from the FPC, different timestamps are seen. For example, if there are PPE messages in the logs and user wants to check for the same errors on the FPC, it will be seen that the the timestamps for the logs in the FPC are different.
show log messages:
Apr 18 14:00:29.214 2014 Router-re0 fpc0 PPE Sync XTXN Err Trap: Count 763, PC 10, 0x0010: trap_nexthop_returnApr 18 14:00:29.325 2014 Router-re0 fpc0 PPE Thread Timeout Trap: Count 181, PC 34c, 0x034c: nh_ret_last_wrap
show syslog messages:
[Apr 18 18:00:17.205 LOG: Err] PPE Sync XTXN Err Trap: Count 763, PC 10, 0x0010: trap_nexthop_return[Apr 18 18:00:17.205 LOG: Err] PPE Thread Timeout Trap: Count 181, PC 34c, 0x034c: nh_ret_last_wrap
The reason for the different timestamps is that the FPCs are logging in UTC and the RE syslogs are configured to use a different time zone.
Use the following command to see the configured system time zone:
Router-re0> show configuration system time-zoneAmerica/New_York;