3Com 3.01.01 Switch User Manual


 
NTP 347
Configure Switch SW88004:
1 Enter system view.
<SW88004> system-view
2 Enter Vlan-interface2 view.
[SW88004]interface vlan-interface 2
3 Enable multicast client mode.
[SW88004-Vlan-Interface2]ntp-service multicast-client
Configure Switch SW88001:
1 Enter system view.
<SW88001> system-view
2 Enter Vlan-interface2 view.
[SW88001]interface vlan-interface 2
3 Enable multicast client mode.
[SW88001-Vlan-Interface2]ntp-service multicast-client
The above examples configure SW88004 and SW88001 to receive multicast
messages from Vlan-interface2, SW88003 multicast messages from
Vlan-interface2. Since SW88001 and SW88003 are not located on the same
segments, SW88001 cannot receive the multicast packets from SW88003, while
SW88004 is synchronized by SW88003 after receiving the multicast packet.
Configuring Authentication-Enabled NTP Server Mode
SW88001 sets the local clock as the NTP master clock at stratum 2. SW88002 sets
SW88001 as its time server in server mode and itself in client mode and enables
authentication. See Figure 1-2.
Configure Switch SW88001:
1 Enter system view.
<SW88001> system-view
2 Set the local clock as the master NTP clock at stratum 2.
[SW88001]ntp-service refclcok-master 2
Configure Switch SW88002:
1 Enter system view.
<SW88002> system-view
2 Set SW88001 as time server.
[SW88002]ntp-service unicast-server 1.0.1.11
3 Enable authentication.
[SW88002]ntp-service authentication enable
4 Set the key.
[SW88002]ntp-service authentication-keyid 42 authentication-mode md5
aNiceKey
5 Set the key as reliable.