2014年2月12日星期三

Configuring the Multicast Mode NTP

MA5680T  _S uses the local clock as the master NTP clock on stratum 2 and works in the multicast mode NTP, sends multicast clock synchronization packets periodically through IP address 10.10.10.10/24 of the L3 interface of VLAN 2, and is enabled with the NTP authentication function (the ID of the MD5 authentication key is set to 10, the key is set to BetterKey, and the authentication key is declared to be reliable); MA5600_C functions as the NTP client, listens to the multicast packets sent from the server through IP address 10.10.10.20/24 of the L3 interface of VLAN 2, and synchronizes with the clock on the multicast server. To perform these configurations, do as follows:

On MA5600_S:

huawei(config)#ntp-service authentication enable

huawei(config)#ntp-service authentication-keyid 10 authentication-mode md5 BetterKey

huawei(config)#ntp-service reliable authentication-keyid 10

huawei(config)#ntp-service refclock-master 2

huawei(config)#vlan 2 standard

huawei(config)#port vlan 2 0/7 0

huawei(config)#interface vlanif 2

huawei(config-if-vlanif2)#ip address 10.10.10.10 24

huawei(config-if-vlanif2)#ntp-service multicast-server

huawei(config-if-vlanif2)#quit

On MA5600_C:

huawei(config)#vlan 2 standard

huawei(config)#port vlan 2 0/7 0

huawei(config)#interface vlanif 2

huawei(config-if-vlanif2)#ip address 10.10.10.20 24

huawei(config-if-vlanif2)#ntp-service multicast-client

huawei(config-if  MA5683T  -vlanif2)#quit

没有评论:

发表评论