mac
494
no sntp polltime
Function: Sets the interval for SNTP clients to send requests to NTP/SNTP; the ―no sntp
polltime‖ command cancels the polltime sets and restores the default setting.
Parameters: <interval> is the interval value from 16 to 16284.
Default: The default polltime is 64 seconds.
Command Mode: Global Mode
Example: Setting the client to send request to the server every 128 seconds.
Switch#config
Switch(config)#sntp polltime128
43.4 sntp server
Command: sntp server {<ip-address> | <ipv6-address>} [source {vlan <vlan no> |
loopback <loopback no>}] [version <version_no>]
no sntp server {<ip-address> | <ipv6-address>} [source {vlan <vlan no> |
loopback <loopback no>}] [version <version_no>]
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










