The system view is displayed.
2.
Run:
vlan
vlan-id
A VLAN is created and the VLAN view is displayed.
3.
Run:
interface vlanif
vlan-id
The interface that sends NTP multicast packets is specified.
4.
Run:
ntp-service multicast-server
[
ip-address
] [
authentication-keyid
key-id
|
ttl
ttl-number
|
version
number
] *
The local switch is set to be an NTP multicast server.
After the configurations, the local switch periodically sends clock synchronization
packets to the multicast address 224.0.1.1.
l
Configuring an NTP Multicast Client
Do as follows on the switch functioning as an NTP multicast client:
1.
Run:
system-view
The system view is displayed.
2.
(Optional) Run:
ntp-service max-dynamic-sessions
number
The number of local sessions allowed to be set up dynamically is set.
3.
Run:
vlan
vlan-id
A VLAN is created and the VLAN view is displayed.
4.
Run:
interface vlanif
vlan-id
The interface that receives NTP multicast packets is specified.
5.
Run:
ntp-service multicast-client
[
ip-address
]
The local switch is set to be an NTP multicast client.
Step 2 is optional. By default, up to 100 NTP sessions can be set up dynamically.
After the configurations, the local switch senses the multicast NTP packets sent from
the server and synchronizes the local clock.
Running the
ntp-service max-dynamic-sessions
command does not affect the
existence of NTP sessions. When the number of the sessions reaches or exceeds the
maximum, the new session cannot be set up further.
----End
4.3.7 Disabling the Interface From Receiving NTP Packets
To prevent a host on the LAN from synchronizing the clock on the specified server, you can
disable the specified interface on the host from receiving NTP packets.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
4 NTP Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
219