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
4.3.8 (Optional) Setting the Maximum Number of Dynamic NTP
Sessions
Context
Do as follows on the S5700 that functions as a client.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ntp-service max-dynamic-sessions
number
The maximum number of dynamic NTP sessions is set.
----End
4.3.9 Checking the Configuration
After basic NTP functions are configured, you can view the configuration.
Prerequisite
The configurations of the Basic NTP Functions are complete.
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.
220