25 ntp ace – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 760

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 760 of 855

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.25 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


Default

No ACE is created.


Usage

Advertising