292CHAPTER 11: SYSTEM MANAGEMENT

3Enable multicast client mode.

[SW77504-Vlan-Interface2]ntp-service multicast-client

Configure Ethernet Switch SW77501:

1Enter system view.

<SW77501>system-view

2Enter Vlan-interface2 view.

[SW77501]interface vlan-interface 2

3Enable multicast client mode.

[SW77501-Vlan-Interface2]ntp-service multicast-client

The previous examples configure SW77504 and SW77501 to receive multicast messages from Vlan-interface2, SW77503 multicast messages from Vlan-interface2. Since SW77501 and SW77503 are not located on the same segments, SW77501 cannot receive the multicast packets from SW77503, while SW77504 is synchronized by SW77503 after receiving the multicast packet.

Example: Configuring Authentication-Enabled NTP Server Mode

SW77501 sets the local clock as the NTP master clock at stratum 2. SW77502 sets SW77501 as its time server in server mode and itself in client mode and enables authentication. See Figure 66.

Configure Ethernet Switch SW77501:

1Enter system view.

<SW77501>system-view

2Set the local clock as the master NTP clock at stratum 2.

[SW77501]ntp-service refclcok-master 2

Configure Ethernet Switch SW77502:

1Enter system view.

<SW77502>system-view

2Set SW77501 as time server.

[SW77502]ntp-service unicast-server 1.0.1.11

3Enable authentication.

[SW77502]ntp-service authentication enable

4Set the key.

[SW77502]ntp-service authentication-keyid 42 authentication-mode md5

aNiceKey

5Set the key as reliable.

[SW77502]ntp-service reliable authentication-keyid 42

The previous examples synchronized SW77502 by SW77501. Since SW77501 has not been enabled authentication, it cannot synchronize SW77502.

Page 292
Image 292
3Com 10014298 manual Example Configuring Authentication-Enabled NTP Server Mode