![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 154](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487154.webp)
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
3.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.
Context
Do as follows on the switch that needs to be disabled from receiving NTP packets.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
vlan
vlan-id
A VLAN is created and the VLAN view is displayed.
Step 3
Run:
interface vlanif
vlan-id
The interface that receives NTP packets is specified.
Step 4
Run:
ntp-service in-interface disable
The interface on the switch is disabled from receiving NTP packets.
----End
3 NTP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
3-12
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)