79
Figure 31 Network diagram for MPLS VPN time synchronization configuration
Device Interface IP address Device Interface IP address
CE 1 Vlan-int 10 10.1.1.1/24 PE 1 Vlan-int 10 10.1.1.2/24
CE 2 Vlan-int 20 10.2.1.1/24 Vlan-int 30 172.1.1.1/24
CE 3 Vlan-int 50 10.3.1.1/24 Vlan-int 20 10.2.1.2/24
CE 4 Vlan-int 60 10.4.1.1/24 PE 2 Vlan-int 50 10.3.1.2/24
P Vlan-int 30 172.1.1.2/24 Vlan-int 40 172.2.1.2/24
Vlan-int 40 172.2.1.1/24 Vlan-int 60 10.4.1.2/24
Configuration procedure
NOTE:
Prior to performing the following configuration, be sure you have completed MPLS VPN-related
configurations and make sure of the reachability between CE 1 and PE 1, between PE 1 and PE 2, and
between PE 2 and CE 3. For information about configuring MPLS VPN, see
MPLS Configuration Guide
.
1. Set the IP address for each interface as shown in Figure 31. The configuration procedure is omitted.
2. Configuration on CE 3:
# Specify CE 1 in VPN 1 as the NTP server of CE 3.
<CE3> system-view
[CE3] ntp-service unicast-server 10.1.1.1
# View the NTP session information and status information on CE 3 a certain period of time later. The
information should show that CE 3 has been synchronized to CE 1, with the clock stratum level of 2.
[CE3] display ntp-service status
Clock status: synchronized
Clock stratum: 2
Reference clock ID: 10.1.1.1
Nominal frequency: 63.9100 Hz
Actual frequency: 63.9100 Hz
Clock precision: 2^7