The following example configures the client for SNTP broadcast mode:
System(rw)->set sntp client broadcast System(rw)->set sntp broadcastdelay 3500 System(rw)->set timezone EDT -4 0 System(rw)->show sntp SNTP Version: 4 Current Time: SAT AUG 01 14:34:53 2009 Timezone: 'EDT', offset from UTC is -4 hours and 0 minutes Client Mode: broadcast Broadcast Delay: 3500 microseconds Broadcast Count: 1 Poll Interval: 512 seconds Poll Retry: 1 Poll Timeout: 5 seconds SNTP Poll Requests: 0 Last SNTP Update: SAT AUG 01 14:23:54 2009 Last SNTP Request: SAT AUG 01 14:23:54 2009 Last SNTP Status: Enabled Status Precedence SNTP-Server ----------------------------------------------------------------------- Active 1 10.21.1.300 System(rw)->
The following example configures the client for SNTP unicast mode with SNTP authentication operational:
System(rw)->set sntp client unicast System(rw)->set sntp authentication mode enable System(rw)->set sntp authentication key 1 md5 foobar System(rw)->set sntp authentication trust 1 enable System(rw)->set sntp server 10.21.1.100 key 1 System(rw)->set sntp poll-interval 600 System(rw)->set timezone EDT -4 0 System(rw)->set sntp poll-retry 2 System(rw)->show sntp SNTP Version: 4 Current Time: FRI MAY 06 15:33:53 2011 Timezone: 'EDT', offset from UTC is -4 hours and 0 minutes Client Mode: unicast Broadcast Delay: 3000 microseconds Broadcast Count: 0 Poll Interval: 600 seconds Poll Retry: 2 Poll Timeout: 5 seconds SNTP Poll Requests: 2 Last SNTP Update: MON MAY 02 14:42:52 2011 Last SNTP Request: MON MAY 02 14:42:52 2011 Last SNTP Status: Enabled SNTP Servers: Status Precedence Key SNTP-Server ----------------------------------------------------------------------- Active 1 1 10.21.1.100 SNTP Authentication: Enabled Status Key Type Trusted ----------------------------------------------------------------------- Active 1 MD5 Enabled System(rw)->