drawbacks whith NTP protocol

Answered Question
Jul 21st, 2009

Hello, I have set up configured NTP in my LAN network, in the clien switches I have the following commands:

ntp logging

ntp clock-period 36028792

ntp peer 10.213.20.4

now This synchronized and the peer is well associated, the clock configured,but when digit "show logging" the outcome don't show the time correctly.

this is the show:

2d17h: %LINK-3-UPDOWN: Interface FastEthernet0/30, changed state to up

2d17h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/30, changed state to up

like that when I type "show logging" show correct time:

Jul 21 11:21:44.770 COL: %LINK-3-UPDOWN: Interface FastEthernet0/30, changed state to up

Jul 21 11:21:45.776 COL: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/30, changed state to up

Correct Answer by Danilo Dy about 7 years 7 months ago

From what I understand the first "show logging" output is what you see from your switches, but you want to see it like the second output you provided.

Try adding this into your configuration.

!

service timestamps log datetime localtime

service timestamps debug datetime localtime

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Danilo Dy Tue, 07/21/2009 - 08:43

From what I understand the first "show logging" output is what you see from your switches, but you want to see it like the second output you provided.

Try adding this into your configuration.

!

service timestamps log datetime localtime

service timestamps debug datetime localtime

Actions

This Discussion