Figure 3-29
NTP peer mode
Precaution
1.
In the peer mode, you need to configure the NTP mode only on the active peer.
2.
The peers determine clock synchronization according to the clock stratum instead of
according to whether the peer is an active peer.
Procedure
Step 1
Configure the NTP active peer.
1.
Run the
ntp-service refclock-master
command to configure the local clock as the master
NTP clock, and specify the stratum of the master NTP clock.
2.
Run the
ntp-service unicast-peer
command to configure the NTP peer mode, and specify
the IP address of the remote server that functions as the local timer server and the interface
for transmitting and receiving NTP packets.
NOTE
l
In this command,
ip-address
is a unicast address, which cannot be a broadcast address, a multicast
address, or the IP address of a reference clock.
l
After the source interface of the NTP packets is specified by
source-interface
, the source IP address
of the NTP packets is configured as the primary IP address of the specified interface.
Step 2
Add a VLAN L3 interface.
1.
Run the
vlan
command to create a VLAN.
2.
Run the
port vlan
command to add an upstream port to the VLAN so that the user packets
carrying the VLAN tag are transmitted upstream through the upstream port.
3.
In the global config mode, run the
interface vlanif
command to create a VLAN interface,
and then enter the VLAN interface mode to configure the L3 interface.
4.
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.
----End
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.
78