Qtech QSW-2900-24T4-AC [172/209] Sntp client working mode configuration

12-170
12.2.2 SNTP client working mode configuration
SNTPv4 can work in three modes: unicast, broadcast (multicast), anycast. In unicast and anycast, client sends
requirement and gets the response to adjust system time. In broadcast and multicast, client waits for the broadcast
packet sent by server to adjust system time.
sntp client mode { broadcast | unicast | anycast [ key number ] | multicast }
no sntp client mode
For example:
! Configure SNTP client to operate in anycast
QTECH(config)#sntp client mode anycast
12.2.3 SNTP client unicast server configuration
In unicast ode, SNTP client must configure server address. The related command is as following:
sntp server ip-address [ key number ]
no sntp server
Only in unicast, configured server address can be effective.
For example:
! Configure unicast server ip-address to be 192.168.0.100
QTECH(config)#sntp server 192.168.0.100
12.2.4 SNTP client broadcast delay configuration
SNTP client broadcast delay configuration is as following:
sntp client broadcastdelay milliseconds
no sntp client broadcastdelay
Only in broadcast (multicast), configured transmit delay can be effective. After configuration, SNTP client can
add transmit delay after obtaining time from server to adjust current system time.
For example:
! Configure broadcastdelay to be 1 second
QTECH(config)#sntp client broadcastdelay 1000
12.2.5 SNTP client multicast TTL configuration
Use following command to configure ttl-value of multicast packet:
sntp client multicast ttl ttl-value
no sntp client multicast ttl
This command should be effective by sending packet through multicast address in anycast operation mode. In
order to restrict the range of sending multicast packet, TTL-value setting is suggested. The default ttl-value is 255.
For example:
! Configure TTTL-value of sending multicast packet to be 5

Содержание

Скачать