Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface to send multicast NTP packets is specified.
Step 3
Run:
ntp-service multicast-server
[
authentication-keyid
key-id
|
version
number
]*
The ID of the authentication key used by the NTP multicast server is configured.
For configuring the multicast client, see
Configuring the Broadcast Mode
.
----End
5.3.8 Checking the Configuration
After NTP security mechanisms are configured, you can view the configuration.
Prerequisites
The configurations of the NTP Security Mechanisms are complete.
Procedure
l
Run the
display ntp-service status
command to view the status of the NTP service.
l
Run the
display ntp-service sessions
[
verbose
] command to view the status of NTP
sessions.
----End
Example
Run the
display ntp-service status
command to view the status of the NTP service.
<Huawei>
display ntp-service status
clock status: synchronized
clock stratum: 2
reference clock ID: LOCAL(0)
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 0.00 ms
peer dispersion: 10.00 ms
reference time: 15:51:36.259 UTC Apr 25 2010(C6179088.426490A3)
Run the
display ntp-service sessions
[
verbose
] command to view the status of NTP sessions.
<Huawei>
display ntp-service sessions
source reference stra reach poll now offset delay
disper
********************************************************************************
[12345]127.127.1.0 LOCAL(0) 7 1 64 2 - 0.0
15.6
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
5 NTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
124