
1-24
Peer dispersion: 34.30 ms
Reference time: 16:02:49.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)
As shown above, Switch A has been synchronized to Switch C, and the clock stratum level of Switch A
is 3, while that of Switch C is 2.
# View the NTP session information of Switch A, which shows that an association has been set up
between Switch A and Switch C.
[SwitchA-Vlan-interface3] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[1234] 3.0.1.31 127.127.1.0 2 255 64 26 -16.0 40.0 16.6
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
Refer to
IGMP Configuration
in the
IP Multicast
volume for how to configure IGMP and PIM.
Configuring NTP Client/Server Mode with Authentication
Network requirements
As shown in
Figure 1-11, perform the following configurations to synchronize the time between Device
B and Device A and ensure network security.
z
The local clock of Switch A is to be used as the master clock, with a stratum level of 2.
z
Switch B works in the client mode and Switch A is to be used as the NTP server of Switch B, with
Switch B as the client.
z
NTP authentication is to be enabled on both Switch A and Switch B.
Figure 1-11
Network diagram for configuration of NTP client/server mode with authentication
Configuration procedure
1) Configure IP addresses for interfaces (omitted)
2) Configuration on Switch B:
# Enable NTP authentication on Switch B.
<SwitchB> system-view
[SwitchB] ntp-service authentication enable
# Set an authentication key.
[SwitchB] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...