beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 133

background image

21

Figure 10 Network diagram for NTP multicast mode configuration

GE0/1

1.0.1.10/24

Device A

GE0/1

3.0.1.31/24

GE0/1

3.0.1.32/24

Device B

Device C

Device D

GE0/1
1.0.1.11/24

GE0/2
3.0.1.30/24

Configuration procedure

Step1

Set the IP address for each interface as shown in

Figure 10

. The configuration procedure is omitted.

Step2

Configuration on Device C:

# Specify the local clock as the reference source, with the stratum level of 2.

system-view

[DeviceC] ntp-service refclock-master 2

# Configure Device C to work in multicast server mode and send multicast messages through
GigabitEthernet 0/1.

[DeviceC] interface gigabitEthernet0/1

[DeviceC-GigabitEthernet0/1] ntp-service multicast-server

Step3

8Configuration on Device D:

# Configure Device D to work in multicast client mode and receive multicast messages on

GigabitEthernet 0/1.

system-view

[DeviceD] interface gigabitEthernet0/1

[DeviceD-GigabitEthernet0/1] ntp-service multicast-client

Because Device D and Device C are on the same subnet, Device D can receive the multicast messages
from Device C without being enabled with the multicast functions and can be synchronized to Device C.
# View the NTP status of Device D after clock synchronization.

[DeviceD-GigabitEthernet0/1] display ntp-service status

Clock status: synchronized

Clock stratum: 3

Reference clock ID: 3.0.1.31

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

Clock offset: 0.0000 ms

Root delay: 31.00 ms

Root dispersion: 8.31 ms

Peer dispersion: 34.30 ms