![](/images/new-backgrounds/1165982/165982199x1.webp)
96 | |
|
|
SNTP Commands Set
|
|
|
|
|
|
| Netstar Commands | Level | Description | Example |
|
|
|
|
|
|
|
| sntp enable | G | Enable SNTP function | switch(config)#sntp enable |
|
|
|
| Enable daylight saving time, |
|
|
| sntp daylight | G | if SNTP function is inactive, | switch(config)#sntp daylight |
|
|
|
| this command can’t be |
|
|
|
|
| applied. |
|
|
|
|
| Set period of daylight |
|
|
|
|
| saving time, if SNTP |
|
|
| sntp | G | function is inactive, this | switch(config)# sntp |
|
| [Start time] [End time] | command can’t be applied. |
| ||
|
|
| |||
|
|
| Parameter format: |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| Set offset of daylight saving |
|
|
| sntp | G | time, if SNTP function is | switch(config)#sntp |
|
| [Minute] | inactive, this command |
| ||
|
|
|
| ||
|
|
| can’t be applied. |
|
|
|
|
|
|
|
|
|
|
| Set SNTP server IP, if |
|
|
| sntp ip | G | SNTP function is inactive, | switch(config)#sntp ip 192.169.1.1 |
|
| [IP] | this command can’t be |
| ||
|
|
|
| ||
|
|
| applied. |
|
|
|
|
|
|
|
|
|
|
| Set timezone index, use |
|
|
| sntp timezone |
| “show sntp timzezone” |
|
|
| G | command to get more | switch(config)#sntp timezone 22 |
| |
| [Timezone] |
| |||
|
| information of index |
|
| |
|
|
|
|
| |
|
|
| number |
|
|
|
|
|
|
|
|
| show sntp | P | Show SNTP information | switch#show sntp |
|
| show sntp timezone | P | Show index number of | switch#show sntp timezone |
|
| time zone list |
| |||
|
|
|
|
| |
|
|
|
|
|
|
| no sntp | G | Disable SNTP function | switch(config)#no sntp |
|
| no sntp daylight | G | Disable daylight saving time | switch(config)#no sntp daylight |
|
|
|
|
|
|
|