![Huawei Quidway S9300 Скачать руководство пользователя страница 169](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487169.webp)
Data Preparation
To complete the configuration, you need the following data:
l
IP address of Switch C
l
IP address of Switch D
l
Stratum count of the NTP master clock
Procedure
Step 1
Configure IP addresses for Switch C, Switch D, and Switch E.
Configure an IP address for each interface according to
. After configurations, the
three Switches can ping each other.
The configuration procedure is not mentioned.
Step 2
Configure the unicast NTP client/server mode.
# On Switch C, set the clock as a master NTP clock with stratum being 2.
<SwitchC>
system-view
[SwitchC]
ntp-service refclock-master 2
# Configure Switch C as the NTP server of Switch D.
<SwitchD>
system-view
[SwitchD]
ntp-service unicast-server 3.0.1.31
After the configurations, the clock of Switch D is synchronized with the clock of Switch C.
Check the NTP status of Switch D, and you can see that the status of the clock is synchronized.
This means that the synchronization is complete. The stratum of the clock of Switch D is 3, one
stratum lower than the clock stratum of Switch C.
[SwitchD]
display ntp-service status
clock status: synchronized
clock stratum: 3
reference clock ID: 3.0.1.31
nominal frequency: 64.0029 Hz
actual frequency: 64.0029 Hz
clock precision: 2^7
clock offset: 0.0000 ms
root delay: 62.50 ms
root dispersion: 0.20 ms
peer dispersion: 7.81 ms
reference time: 06:52:33.465 UTC Mar 7 2006(C7B7AC31.773E89A8)
Step 3
Configure the unicast NTP peer mode.
# Configure Switch D as the passive peer of Switch E.
<SwitchE>
system-view
[SwitchE]
ntp-service unicast-peer 3.0.1.32
No master clock is configured on Switch E, so the clock on Switch E should be synchronized
to the clock on Switch D.
Step 4
Verify the configuration.
View the status of Switch E after clock synchronization.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
3 NTP Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-27