d.
Run the
ip address
command to configure the IP address and subnet mask of the
VLAN interface so that the IP packets in the VLAN can participate in the L3
forwarding.
3.
Run the
ntp-service multicast-client
command to configure the host as the NTP
multicast client.
----End
Example
Assume the following configurations: MA5616 functions as the NTP client, listening to the
multicast packets sent from the server through IP address 10.10.10.20/24 of the L3 interface of
VLAN 2 and synchronizing the local clock with the clock on the multicast server. To perform
these configurations, do as follows:
huawei(config)#
vlan 2 standard
huawei(config)#
port vlan 2 0/0 0
huawei(config)#
interface vlanif 2
huawei(config-if-vlanif2)#
ip address 10.10.10.20 24
huawei(config-if-vlanif2)#
ntp-service multicast-client
huawei(config-if-vlanif2)#
quit
3.9.1.4 Configuring the NTP Unicast Server Mode
This topic describes how to configure the MA5616 as the NTP client to synchronize with the
NTP server in the network.
Prerequisites
Before configuring the NTP client/server mode, make sure that the network interface and the
routing protocol of the MA5616 are configured so that the server and the client are reachable to
each other at the network layer.
Context
In the client/server mode, the client sends a synchronization packet to the server, with the mode
field set to 3 (client mode). After receiving the packet, the server automatically enters the server
mode and sends a response packet with the mode field set to 4 (server mode). After receiving
the response from the server, the client filters and selects the clock, and synchronizes with the
preferred server, as shown in
.
Figure 3-28
NTP client/server mode
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
75