26 ntp ace – CANOGA PERKINS 9175 Command Reference User Manual
Page 688
CanogaOS Command Reference
40-17
the timing source. In general, NTP synchronization takes approximately 15 to 20 minutes.
Examples
The following example displays the clock information:
Switch# show clock
00:18:28 Bejing Sat Aug 02 2003
The following example displays the detailed clock information:
Switch# show clock detail
00:18:28 Bejing Sat Aug 02 2003
Time zone: (GMT + 08:00:00) Bejing
Related Commands
clock set timezone
clock set datetime
40.26 ntp ace
To create the Access Control Entries (ACE) of a NTP server/peer, use the ntp ace command in global
configuration mode. To remove the ace, use the no form of this command.
Command Syntax
ntp ace {address | hostname} [mask A.B.C.D] {[version] [kod] [ignore] [noquery] [nomodify] [notrap]
[lowpriotrap] [noserve] [nopeer] [notrust] [limited] [ntpport] [none]}
no ntp ace
address
IP address of the time server or peer.
hostname
Name of the time server or peer.
mask
Specify network mask of the address.
version
Ignore these hosts if not the current NTP version.
kod
If access is denied, send a kiss-of-death packet.
ignore
Ignore all packets from host that match this entry.
noquery
Ignore all NTP mode 6 and 7 packets from the source, time service is not affected.
nomodify
Ignore all NTP mode 6 and 7 packets which attempt to modify the state of the server.
notrap
Decline to provide mode 6 control message trap service to matching hosts.
noserve
Ignore NTP packets whose mode is other than 6 or 7.
nopeer
Provide stateless time service to polling hosts, but do not allocate peer memory
resources.
notrust
Treat these hosts normally in other respects, but never use them as synchronization
sources.
limited
These hosts are subject to limitation of number of clients from the same net.
none
No limit.
Command Mode
Global configuration