beautypg.com

Disabling an interface from receiving ntp messages – H3C Technologies H3C MSR 5600 User Manual

Page 91

background image

78

To specify the source interface for NTP messages:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify the source interface

for NTP messages.

Specify the source interface for
NTP messages:

ntp-service source-interface

interface-type interface-number

Specify the source interface for

IPv6 NTP messages:

ntp-service ipv6 source

interface-type interface-number

By default, no source interface is
specified for NTP messages.

Disabling an interface from receiving NTP messages

When NTP is enabled, all interfaces by default can receive NTP messages. For security purposes, you

can disable some of them from receiving NTP messages.
To disable an interface from receiving NTP messages:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Disable the interface from
receiving NTP messages.

For IPv4:

ntp-service inbound disable

For IPv6:

ntp-service ipv6 inbound

disable

By default, an interface is enabled
to receive NTP messages.

Configuring the maximum number of dynamic associations

NTP has the following types of associations:

Static association—A manually created association.

Dynamic association—Temporary association created by the system during NTP operation. A
dynamic association is removed if no messages are exchanged over a specific period of time.

The following describes how an association is established in different association modes:

Client/server mode—After you specify an NTP server, the system creates a static association on the
client. The server simply responds passively upon the receipt of a message, rather than creating an

association (static or dynamic).

Symmetric active/passive mode—After you specify a symmetric-passive peer on a symmetric active
peer, static associations are created on the symmetric-active peer, and dynamic associations are

created on the symmetric-passive peer.

Broadcast or multicast mode—Static associations are created on the server, and dynamic
associations are created on the client.

This manual is related to the following products: