beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 134

background image

22

Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)

As shown above, Device D has been synchronized to Device C and the clock stratum level of Device D

is 3, while that of Device C is 2.
# View the NTP session information of Device D, which shows that an association has been set up
between Device D and Device C.

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

source reference

stra reach poll now offset delay disper

**************************************************************************

[1234] 3.0.1.31 127.127.1.0 2 254 64 62 -16.0 31.0 16.6

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 1

Step4

Configuration on Device B:

Because Device A and Device C are on different subnets, you must enable the multicast functions on

Device B before Device A can receive multicast messages from Device C.
# Enable the IP multicast function.

system-view

[DeviceB] multicast routing-enable

[DeviceB] interface gigabitEthernet0/1

[DeviceB-GigabitEthernet0/1] igmp enable

[DeviceB-GigabitEthernet0/1] igmp static-group 224.0.1.1

[DeviceB-GigabitEthernet0/1] quit

[DeviceB] interface gigabitEthernet0/2

[DeviceB-GigabitEthernet0/2] pim dm

Step5

Configuration on Device A:

system-view

[DeviceA] interface gigabitEthernet0/1

# Configure Device A to work in multicast client mode and receive multicast messages on Ethernet 1/1.

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

# View the NTP status of Device A after clock synchronization.

[DeviceA-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: 40.00 ms

Root dispersion: 10.83 ms

Peer dispersion: 34.30 ms

Reference time: 16:02:49.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)

As shown above, Device A has been synchronized to Device C and the clock stratum level of Device A
is 3, while that of Device C is 2.
# View the NTP session information of Device A, which shows that an association has been set up

between Device A and Device C.