How to confirm NTP server is working on GSS

Unanswered Question
Nov 10th, 2006
User Badges:

Hi all,


I couldn't find any command to check the GSS is making use of NTP to get the correct time from NTP server. Can anyone please advise how i can check.


Thanks.


Jianwen

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
skumar1969 Sun, 11/12/2006 - 23:55
User Badges:
  • Bronze, 100 points or more

There are 2 ways to confirm this working. I hope you would have tried the first option. Second option would help more precise.


1/ To view if NTP is enabled for the GSS device, enter:

localhost.localdomain# show ntp

Ntp is enabled

ntp-server 172.16.1.2

ntp-server 172.16.1.3


2/ Use the "tcpdump interface" command to display a record at the CLI of all TCP traffic transmitted from and received by an Ethernet interface. GSS traffic information continuously displays on screen until you press Ctrl-C to cancel the operation.


thanks




gaojianwen Wed, 11/22/2006 - 23:24
User Badges:

Hi,


Does the following messages show that it's working? Thanks.


#tcpdump interface any protocol any host

tcpdump: WARNING: Promiscuous mode not supported on the "any" device

tcpdump: listening on any

17:41:46.160704 x.x.x.x.ntp > y.y.y.y.ntp: v4 client strat 0 poll 6 prec -17 (DF) [tos 0x10]

17:41:46.435812 y.y.y.y.ntp > x.x.x.x.ntp: v4 server strat 5 poll 6 prec -17 (DF)


2 packets received by filter

0 packets dropped by kernel

Actions

This Discussion