3Com Switch 8800 Configuration Guide
Chapter 49 NTP Configuration
49-4
II. Configuring NTP Peer Mode
Set a remote server whose ip address is
ip
-
address
as the peer of the local equipment.
In this case, the local equipment operates in symmetric active mode.
ip
-
address
specifies a host address other than a broadcast, multicast or reference clock IP
address. In this mode, both the local Ethernet Switch and the remote server can
synchronize their clocks with the clock of opposite end.
Perform the following configuration in system view.
Table 49-2
Configure NTP peer mode
Operation
Command
Configure NTP peer mode
ntp-service
unicast-peer
ip
-
address
[
version
number
|
authentication-key
keyid
|
source-interface
{
interface
-
name
|
interface
-
type
interface
-
number
} |
priority
]*
Cancel NTP peer mode
undo
ntp-service
unicast-peer 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 peer will be taken, the interface can
be VLAN interface and Loopback interface;
priority
indicates the peer will be the first
choice for time server.
III. Configuring NTP Broadcast Server Mode
Designate an interface on the local Ethernet Switch to transmit NTP broadcast packets.
In this case, the local equipment operates in broadcast mode and serves as a
broadcast server to broadcast messages to its clients regularly.
Perform the following configuration in VLAN interface view.
Table 49-3
Configure NTP broadcast server mode
Operation
Command
Configure NTP broadcast server mode
ntp-service
broadcast-server
[
authentication-keyid
keyid
version
number
]*
Cancel NTP broadcast server mode
undo
ntp-service
broadcast-server
NTP version number
number
ranges from 1 to 3 and defaults to 3; the authentication
key ID
keyid
ranges from 1 to 4294967295; This command can only be configured on
the interface where the NTP broadcast packets will be transmitted.