Display the traps set in the server, Field descriptions – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 320

Advertising
background image

NTP Access Control Menu

Page 12-42

Display the Traps Set in the Server

The

ntpvtrap

command allows you to view a list of trap receivers set for the server. To view

the trap list, enter the

ntpvtrap

command at the system prompt. A display similar to the

following is shown:

address 127.0.0.1, port 18447
interface: 0.0.0.5, configured
set for 0 seconds, last set 0 seconds ago
sequence 1, number of resets 1

Field Descriptions

The following section describes the fields shown with the

ntpvtrap

command.

address

. The address of the server where the trap was set.

port

. The port on which the server is listening for

NTP

messages.

Note

This is the TCP and UDP definition of a port, not a
switch interface port.

interface

. The local interface address of the

NTP

server.

set for n seconds

. The time the trap was initially set.

last set

. The time in seconds from when the last trap was set for this server.

sequence

. The number of times the trap was set.

number of resets

. The number of times the trap has been reset.

Remove a Trap (Configured or Otherwise) from the Server

The

ntpdtrap

command allows you to remove a trap receiver for the given address. The trap

receiver will log event messages an other information for the server in a log file.

To delete a trap receiver, enter the

ntpdtrap

command in the following manner:

ntpctrap <address> [<port>] [<interface>]

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.

Note

This is the

TCP/IP

and

UDP

definition of a port, not a

switch interface port.

interface

.

The local interface address for this

NTP

entity. For more infor-

mation on interface addresses, see Display Peer Summary Infor-
mation
on page 12-16.

Advertising