Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 85

Advertising
background image

6-17

Figure 6-8 Network diagram for NTP symmetric peers mode configuration

Switch

AC 1

AC 2

Vlan-int
3.0.1.31/24

Vlan-int
3.0.1.32/24

Vlan-int
3.0.1.33/24

Configuration procedure

1) Configuration on Switch:

# Specify the local clock as the reference source, with the stratum level of 2.

<Switch> system-view

[Switch] ntp-service refclock-master 2

2) Configuration on AC 1:

# Specify Switch as the NTP server of AC 1.

<AC1> system-view

[AC1] ntp-service unicast-server 3.0.1.31

3) Configuration on AC 2 (after AC1 is synchronized to Switch):

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

<AC2> system-view

[AC2] ntp-service refclock-master 1

# Configure AC 1 as a symmetric peer after local synchronization.

[AC2] ntp-service unicast-peer 3.0.1.32

In the step above, AC 1 and AC 2 are configured as symmetric peers, with AC 2 in the symmetric-active

mode and AC 1 in the symmetric-passive mode. Because the stratus level of AC 2 is 1 while that of AC

1 is 3, AC 1 is synchronized to AC 2.

# View the NTP status of AC 1 after clock synchronization.

[AC1] display ntp-service status

Clock status: synchronized

Clock stratum: 2

Reference clock ID: 3.0.1.33

Nominal frequency: 64.0000 Hz

Actual frequency: 64.0000 Hz

Clock precision: 2^7

Clock offset: -21.1982 ms

Root delay: 15.00 ms

Root dispersion: 775.15 ms

Peer dispersion: 34.29 ms

Reference time: 15:22:47.083 UTC Sep 19 2005 (C6D95647.153F7CED)

As shown above, AC 1 has been synchronized to AC 2, and the clock stratum level of AC 1 is 2, while

that of AC 2 is 1.

Advertising