42
7. Verify the configuration:
After NTP authentication is enabled on Switch C, Switch A and Switch B can synchronize their
local clocks to Switch C.
# Verify that Switch B has synchronized to Switch C, and the clock stratum level is 4 on Switch
B and 3 on Switch C.
[SwitchB-Vlan-interface2] display ntp-service status
Clock status: synchronized
Clock stratum: 4
System peer: 3.0.1.31
Local mode: bclient
Reference clock ID: 3.0.1.31
Leap indicator: 00
Clock jitter: 0.006683 s
Stability: 0.000 pps
Clock precision: 2^-10
Root delay: 0.00127 ms
Root dispersion: 2.89877 ms
Reference time: d0d287a7.3119666f Sat, Jan 8 2011 6:50:15.191
# Verify that an IPv4 NTP association has been established between Switch B and Switch C.
[SwitchB-Vlan-interface2] display ntp-service sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[1245]3.0.1.31 127.127.1.0 3 3 64 68 -0.0 0.0000 0.0
Notes: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured.
Total sessions: 1
Configuration example for MPLS VPN time synchronization
in client/server mode
Network requirements
As shown in Figure 18, two VPNs are present on PE 1 and PE 2: VPN 1 and VPN 2. CE 1 and CE 3
are devices in VPN 1.
To synchronize the time between PE 2 and CE 1 in VPN 1, perform the following tasks:
• Configure CE 1's local clock as a reference source, with the stratum level 2.
• Configure PE 1 to operate in client/server mode.
• Specify VPN 1 as the target VPN.