beautypg.com

Configuring the ntp symmetric peer mode, Configuring the ntp symmetric peer mode -7 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 458

background image

46-7

To do…

Use the command…

Remarks

Enter system view

system-view

Configure an NTP client

ntp-service

unicast-server { remote-ip |

server-name

} [ authentication-keyid key-id |

priority

| source-interface Vlan-interface vlan-id |

version

number ]*

Required
By default, the device is not
configured to work in the NTP
client mode.

z

The remote server specified by remote-ip or server-name serves as the NTP server, and the local
device serves as the NTP client. The clock of the NTP client will be synchronized by but will not
synchronize that of the NTP server.

z

remote-ip

cannot be a broadcast address, a multicast address or the IP address of the local clock.

z

After you specify an interface for sending NTP messages through the source-interface keyword,
the source IP address of the NTP message will be configured as the primary IP address of the
specified interface.

z

The device can act as a server to synchronize the clock of other devices only after its clock has
been synchronized. If the clock of a server has a stratum level lower than or equal to that of a
client’s clock, the client will not synchronize its clock to the server’s.

z

You can configure multiple servers by repeating the ntp-service unicast-server command. The
client will choose the optimal reference source.

Configuring the NTP Symmetric Peer Mode

For devices working in the symmetric peer mode, you need to specify a symmetric-passive peer on the
symmetric-active peer.

Follow these steps to configure a symmetric-active switch:

To do…

Use the command…

Remarks

Enter system view

system-view

Specify a
symmetric-passive peer
for the device

ntp-service

unicast-peer { remote-ip |

peer-name

} [ authentication-keyid key-id

| priority | source-interface
Vlan-interface vlan-id

| version number ]*

Required
By default, the device is not
configured to work in the
symmetric mode.