1-9
z
A multicast server can synchronize multicast clients only after its clock has been synchronized.
z
A Switch 4210 working in the multicast server mode supports up to 1,024 multicast clients.
Configuring a switch to work in the multicast server mode
Table 1-7
Configure a switch to work in the NTP multicast server mode
Operation
Command
Description
Enter system view
system-view
—
Enter VLAN interface view
interface
Vlan-interface vlan-id
—
Configure the switch to work in
the NTP multicast server mode
ntp-service
multicast-server
[
ip-address
] [
authentication-keyid
keyid
|
ttl
ttl-number
|
version
number
]*
Required
Not configured by
default.
Configuring a switch to work in the multicast client mode
Table 1-8
Configure a switch to work in the NTP multicast client mode
Operation
Command
Description
Enter system view
system-view
—
Enter VLAN interface view
interface
Vlan-interface
vlan-id
—
Configure the switch to work in
the NTP multicast client mode
ntp-service
multicast-client
[
ip-address
]
Required
Not configured by default.
Configuring Access Control Right
With the following command, you can configure the NTP service access-control right to the local switch
for a peer device. There are four access-control rights, as follows:
z
query
: Control query right. This level of right permits the peer device to perform control query to the
NTP service on the local device but does not permit the peer device to synchronize its clock to the
local device. The so-called “control query” refers to query of state of the NTP service, including
alarm information, authentication status, clock source information, and so on.
z
synchronization
: Synchronization right. This level of right permits the peer device to synchronize
its clock to the local switch but does not permit the peer device to perform control query.
z
server
: Server right. This level of right permits the peer device to perform synchronization and
control query to the local switch but does not permit the local switch to synchronize its clock to the
peer device.
z
peer
: Peer access. This level of right permits the peer device to perform synchronization and
control query to the local switch and also permits the local switch to synchronize its clock to the
peer device.