4 sntp server, Sntp server – PLANET WGSW-52040 User Manual
Page 818

59-358
59.4 sntp server
Command:
sntp server {
[source {vlan
no sntp server {
[source {vlan
Function:
Enable the specified time server as clock source, the no command deletes the specified time server.
Parameters:
ip-address: IPv4 address of time server
ipv6-address: IPv6 address of time server
source: Specify the interface of the source address
vlan: Configure the virtual LAN
vlan no: Virtual LAN number, ranging from 1 to 4094
loopback: Configure loopback interface
loopback no: Loopback identifier, ranging from 1 to 1024
version: Configure the version for the server
version_no: Version number, ranging from 1 to 4, the default is 4
Default:
Do not configure the time server.
Command Mode:
Global mode
Usage Guide:
None.
Example:
Configure the time server address as 1.1.1.1, specify the interface of the source address as vlan1:
Switch(config)#sntp server 1.1.1.1 source vlan 1
Delete the time server that the address is 1.1.1.1, the interface of the specified source address is vlan1:
Switch(config)#no sntp server 1.1.1.1 source vlan 1