beautypg.com

Configuring the ntp multicast mode, Configuring the local clock as a reference source – H3C Technologies H3C SecBlade LB Cards User Manual

Page 130

background image

120

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

This command enters the view of
the interface for sending NTP

broadcast messages.

3.

Configure the device to

operate in NTP broadcast
server mode.

ntp-service broadcast-server
[ authentication-keyid keyid |

version number ] *

A broadcast server can
synchronize broadcast clients only
when its clock has been

synchronized.

Configuring the NTP multicast mode

The multicast server periodically sends NTP multicast messages to multicast clients, which send replies

after receiving the messages and synchronize their local clocks.
Configure the NTP multicast mode on both the server and clients. The NTP multicast mode must be

configured in a specific interface view.
To configure a multicast client:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

This command enters the view of
the interface for sending NTP

multicast messages.

3.

Configure the device to
operate in NTP multicast client

mode.

ntp-service multicast-client
[ ip-address ]

You can configure up to 1024
multicast clients, of which 128 can
take effect at the same time.

To configure the multicast server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

This command enters the view of
the interface for sending NTP

multicast messages.

3.

Configure the device to
operate in NTP multicast

server mode.

ntp-service multicast-server
[ ip-address ]

[ authentication-keyid keyid | ttl
ttl-number | version number ] *

A multicast server can synchronize
broadcast clients only when its

clock has been synchronized.

Configuring the local clock as a reference source

A network device can get its clock synchronized in either of the following two ways:

Synchronized to the local clock, which operates as the reference source.

Synchronized to another device on the network in any of the four NTP operation modes previously
described.

If you configure two synchronization modes, the device selects the optimal clock as the reference source.

This manual is related to the following products: