Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 93

Advertising
background image

81

Reference clock ID: 10.1.1.1

Nominal frequency: 63.9100 Hz

Actual frequency: 63.9100 Hz

Clock precision: 2^7

Clock offset: 0.0000 ms

Root delay: 47.00 ms

Root dispersion: 0.18 ms

Peer dispersion: 34.29 ms

Reference time: 02:36:23.119 UTC Jan 1 2001(BDFA6BA7.1E76C8B4)

[CE2] display ntp-service sessions

source reference stra reach poll now offset delay disper

**************************************************************************

[12345]10.1.1.1 LOCL 1 7 64 15 0.0 47.0 7.8

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 1

[CE3] display ntp-service trace

server 127.0.0.1,stratum 2, offset -0.013500, synch distance 0.03154

server 10.1.1.1,stratum 1, offset -0.506500, synch distance 0.03429

refid 127.127.1.0

Configuring MPLS VPN time synchronization in symmetric

peers mode

Network requirements

As shown in

Figure 31

, two VPNs are present on PE 1 and PE 2: VPN 1 and VPN 2. To synchronize the

time between PE 1 and PE 2 in VPN 1, perform the following configurations:

PE 1’s local clock is to be used as a reference source, with the stratum level of 1.

PE 2 is synchronized to PE 1 in the symmetric peers mode, and specify that the VPN is VPN 1.

Configuration procedure

1.

Set the IP address for each interface as shown in

Figure 31

. (Details not shown)

2.

Configure PE 1:
# Specify the local clock as the reference source, with the stratum level of 1.

<PE1> system-view

[PE1] ntp-service refclock-master 1

3.

Configure PE 2:
# Specify PE 1 in VPN 1 as the symmetric-passive peer of PE 2.

<PE2> system-view

[PE2] ntp-service unicast-peer vpn-instance vpn1 10.1.1.2

# View the NTP session information and status information on PE 2 a certain period of time later.
The information should show that PE 2 has been synchronized to PE 1, with the clock stratum level

of 2.

[PE2] display ntp-service status

Clock status: synchronized

Clock stratum: 2

Reference clock ID: 10.1.1.2

Advertising