3Com Switch 8800 Configuration Guide
Chapter 49 NTP Configuration
49-3
time server of the local equipment. In this case the local Ethernet Switch works as an
NTP client. If you set a remote server as a peer of the local Ethernet Switch, the local
equipment operates in symmetric active mode. If you configure an interface on the local
Ethernet Switch to transmit NTP broadcast packets, the local Ethernet Switch will
operates in broadcast mode. If you configure an interface on the local Ethernet Switch
to receive NTP broadcast packets, the local Ethernet Switch will operates in broadcast
client mode. If you configure an interface on the local Ethernet Switch to transmit NTP
multicast packets, the local Ethernet Switch will operates in multicast mode. Or you
may also configure an interface on the local Ethernet Switch to receive NTP multicast
packets, the local Ethernet Switch will operates in multicast client mode.
z
Configure NTP server mode
z
Configure NTP peer mode
z
Configure NTP broadcast server mode
z
Configure NTP broadcast client mode
z
Configure NTP multicast server mode
z
Configure NTP multicast client mode
I. Configuring NTP Server Mode
Set a remote server whose ip address is
ip
-
address
as the local time server.
ip
-
address
specifies a host address other than a broadcast, multicast or reference clock IP
address. In this case, the local Ethernet Switch operates in client mode. In this mode,
only the local client synchronizes its clock with the clock of the remote server, while the
reverse synchronization will not happen.
Perform the following configuration in system view.
Table 49-1
Configure NTP time server
Operation
Command
Configure NTP time server
ntp-service
unicast-server
ip
-
address
[
version
number
|
authentication-keyid
keyid
|
source-interface
{
interface
-
name
|
interface
-
type
interface
-
number
} |
priority
]*
Cancel NTP server mode
undo
ntp-service
unicast-server
ip
-
address
NTP version number
number
ranges from 1 to 3 and defaults to 3; the authentication
key ID
keyid
ranges from 1 to 4294967295;
interface
-
name
or
interface
-
type
interface
-
number
specifies an interface, from which the source IP address of the NTP
packets sent from the local Ethernet Switch to the time server will be taken, the
interface can be VLAN interface and Loopback interface;
priority
indicates the time
server will be the first choice.