l
Configuration file of Switch D
#
sysname SwitchD
#
vlan batch 111
#
interface Vlanif111
ip address 10.0.0.3 255.255.255.0
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 111
port hybrid untagged vlan 111
#
ntp-service authentication enable
ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 42
ntp-service unicast-server 10.0.0.1 authentication-keyid 42
#
return
4.6.2 Example for Configuring the Common NTP Peer Mode
Networking Requirements
, three Switches reside on the LAN.
l
The clock of Switch C is the master clock and the clock stratum is 2.
l
Switch C is the NTP server of Switch D. That is, Switch D is the client.
l
Switch D is the passive peer of Switch E. That is, Switch E is the active end.
Figure 4-3
Networking diagram for configuring the NTP peer mode
SwitchC
SwitchE
SwitchD
GE0/0/1
3.0.1.33/24
GE0/0/1
3.0.1.31/24
GE0/0/1
3.0.1.32/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure the clock on Switch C as the master clock. The clock on Switch D should be
synchronized to the clock on Switch C.
2.
Configure Switch E and Switch D as the NTP peers so that Switch E should send clock
synchronization requests to Switch D.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
4 NTP Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
233