5.18 SNTP Commands
sntp server
Use the sntp server command to configure the sntp server
snto server <ip> |
|
|
SYNTAX DESCRIPTION: | <ip> | IP address of the recipient. |
DEFAULT VALUE: | The hosts are not assigned by default | |
COMMAND MODES: | Global configuration | |
MENU: | Basic Switch Configuration | |
| Set SNTP Server IP |
EXAMPLE:
!Configure SNTP server ip 172.16.5.198. Switch(config)# sntp server 172.16.5.198 Switch(config)#
sntp poll-interval
Use this command to configure the polling interval for sntp operation.
sntp poll-interval <sec>
SYNTAX DESCRIPTION: | Integer value ranges from 1 to 1440 minutes. |
DEFAULT VALUE: | The default value is 1440 minutes (1 day). |
COMMAND MODES: | Global configuration |
REFERENCE: | None |
MENU: | Basic Switch Configuration |
| Set SNTP Interval |
EXAMPLE: |
|
!Set SNTP polling interval 300 minutes.
Switch(config)# sntp
Switch(config)#