3com 4500 PWR 50-PORT User Manual

Page of 466
412
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
Example
Configure the switch to receive NTP multicast messages through Vlan-interface1, 
with the multicast IP address being 224.0.1.1.
<SW4500> system-view
System View: return to User View with Ctrl+Z. 
[SW4500] interface Vlan-interface 1
[SW4500-Vlan-interface1] ntp-service multicast-client 224.0.1.1
ntp-service 
multicast-server
Syntax
ntp-service multicast-server [ 
ip-address ] [ authentication-keyid 
key-id | ttl ttl-number | version number ]*
undo ntp-service multicast-server [ 
ip-address ]
View
VLAN interface view
Parameter
ip-address
: Multicast IP address, in the range of 224.0.1.0 to 224.0.1.255. The 
default IP address is 224.0.1.1.
authentication-keyid 
key-id
: Specifies the key ID used for sending messages 
to multicast clients. The key-id argument ranges from 1 to 4294967295.
ttl 
ttl-number
: Defines the lifetime of multicast messages. The ttl-number 
argument ranges from 1 to 255 and defaults to 16.
version 
number
: Specifies the NTP version number which ranges from 1 to 3 and 
defaults to 3.
Description
Use the 
ntp-service multicast-server 
command to configure an Ethernet 
switch to operate in the NTP multicast server mode and send NTP multicast 
messages through the current interface.
Use the u
ndo ntp-service multicast-server 
command to remove the 
configuration.
By default, no Ethernet switch operates in multicast server mode.
Example
Configure the switch to send NTP multicast messages through Vlan-interface1, 
and set the multicast group address to 224.0.1.1, keyid to 4, and the NTP version 
number to 3.
<SW4500> system-view
System View: return to User View with Ctrl+Z. 
[SW4500] interface Vlan-interface 1
[SW4500-Vlan-interface1]ntp-service multicast-server 224.0.1.1 
authentication-keyid 4 version 3