H3C Technologies H3C MSR 50 User Manual
Page 60

# Specify the local clock as the reference source, with the stratum level 2.
[RouterC] ntp-service refclock-master 2
# Configure Router C to operate in multicast server mode and send multicast messages through
Ethernet 1/1.
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] ntp-service multicast-server
3.
Configure Router D:
# Configure Router D to operate in multicast client mode and receive multicast messages on
Ethernet 1/1.
[RouterD] interface ethernet 1/1
[RouterD-Ethernet1/1] ntp-service multicast-client
Because Router D and Router C are on the same subnet, Router D can receive the multicast
messages from Router C without being enabled with the multicast functions and can be
synchronized to Router C.
# Display the NTP status of Router D after clock synchronization.
[RouterD-Ethernet1/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
Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)
The output shows that Router D has synchronized to Router C. The stratum level of Router D is 3,
and that of Router C is 2.
# Display NTP session information for Router D, which shows that an association has been set up
between Router D and Router C.
[RouterD-Ethernet1/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
4.
Configure Router B:
Because Router A and Router C are on different subnets, you must enable the multicast functions on
Router B before Router A can receive multicast messages from Router C.
# Enable the IP multicast function.
[RouterB] multicast routing-enable
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] igmp enable
47