H3C S3100V2-52TP Configuration Manual page 43

Network management and monitoring
Hide thumbs Also See for S3100V2-52TP:
Table of Contents

Advertisement

Figure 16 Network diagram
Vlan-int2
3.0.1.30/24
Device A
Configuration procedure
Set the IP address for each interface as shown in
1.
Configure Device A:
2.
# # Configure the Device A to work in the NTP broadcast client mode and receive NTP broadcast
messages on VLAN-interface 2.
<DeviceA> system-view
[DeviceA] interface vlan-interface 2
[DeviceA-Vlan-interface2] ntp-service broadcast-client
Configure Device B:
3.
# Enable NTP authentication on Device B. Configure an NTP authentication key, with the key ID of 88
and key value of 123456. Specify the key as a trusted key.
<DeviceB> system-view
[DeviceB] ntp-service authentication enable
[DeviceB] ntp-service authentication-keyid 88 authentication-mode md5 123456
[DeviceB] ntp-service reliable authentication-keyid 88
# Configure Device B to work in broadcast client mode and receive NTP broadcast messages on
VLAN-interface 2.
[DeviceB] interface vlan-interface 2
[DeviceB-Vlan-interface2] ntp-service broadcast-client
Configure Device C:
4.
# Configure Device C to work in the NTP broadcast server mode and use VLAN-interface 2 to send NTP
broadcast packets.
[DeviceC] interface vlan-interface 2
[DeviceC-Vlan-interface2] ntp-service broadcast-server
[DeviceC-Vlan-interface2] quit
# Device A synchronizes its local clock based on the received broadcast messages sent from Device C.
View NTP service status information on Device A, you can see that Device A has been synchronized to
Device C, and the clock stratum level of Device A is 4, while that of Device C is 3.
[DeviceA-Vlan-interface2] display ntp-service status
Clock status: synchronized
Clock stratum: 4
Vlan-int2
3.0.1.31/24
Device C
Vlan-int2
3.0.1.32/24
Device B
31
Figure
16. (Details not shown)

Advertisement

Table of Contents
loading

Table of Contents