Remove flags from a restrict entry, Delete a restrict entry, Configure a trap in the server – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual
Page 319
NTP Access Control Menu
Page 12-41
Remove Flags from a Restrict Entry
It is possible to place restriction flags on specific
NTP
entities in relation to the switch. Restric-
tion flags prevent messages or information coming from the
NTP
entity from affecting the
switch.
To remove a restriction flag from an
NTP
entity, enter the
ntpmres
command as shown:
ntpmres
where
is the
IP
address of the
NTP
entity,
is the entity’s subnet mask, and
is the specific flag you want to remove from the entity. For example, to remove
an
ignore
restriction from an entity with address 1.1.1.1 and a subnet mask of 255.255.0.0,
enter the following:
ntpmres 1.1.1.1 255.255.0.0 ignore
Delete a Restrict Entry
To remove an entry completely from the restriction list, enter the
ntpdres
command in the
following manner:
ntpdres
where
is the
IP
address of the
NTP
entity, and
is the entity’s subnet mask.
For example to remove an entity with address 1.1.1.1 and a subnet mask of 255.255.0.0, enter
the following:
ntpmres 1.1.1.1 255.255.0.0
This entity will no longer be listed in the restriction list and has no restriction flags placed on
messages it sends to the switch.
Configure a Trap in the Server
The
ntpctrap
command allows you to set a trap receiver for the given address and port
number. The trap receiver will log event messages and other information for the server in a
log file.
To create a trap receiver, enter the
ntpctrap
command in the following manner:
ntpctrap [
where address is the IP address of the switch. There are two optional items you can specify:
port
The port on the switch used for sending
NTP
messages. If no
port is specified, a default port of 18447 is used.
♦ Note ♦
This is the
TCP
and
UDP
definition of a port, not a
switch interface port.
interface
The local interface address for this
NTP
entity. If no interface is
specified, the interface for the local
NTP
entity is used. For
more information on interface addresses, see Display Peer
Summary Information on page 12-16.