Syntax |
show clock [detail] |
Parameter |
detail Show more detail information of clock |
Mode |
Privileged EXEC |
Example |
The example shows how to show clock of switch and detail information. Switch#configure terminal Switch(config)# clock source sntp Switch(config)# clock summer-time DLS recurring usa Switch(config)# sntp host 192.168.1.100 Switch# show clock Switch# show clock detail |
33.6 SNTP
Use the sntp command to set remote SNTP server. Use the no form of this command to default setting.You can verify your setting by entering the show sntp Privileged EXEC command.
Switch#configure terminal
Switch(config)# sntp host HOSTNAME [port <1-65535>]
Switch(config)# no sntp
Syntax |
sntp host HOSTNAME [port <1-65535>] no sntp |
Parameter |
HOSTNAME Specify ip address or hostname of sntp server sntp Specify server port of sntp server |
Default |
No default SNTP server defined. Default server port is 123 when server created. |
Mode |
Global Configuration |
Example |
The example shows how to set remote SNTP server of switch. Switch#configure terminal Switch(config)# clock source sntp Switch(config)# sntp host 192.168.1.100 Switch(config)# show sntp |
33.7 SHOW SNTP
Use the show sntp command to remote SNTP server information.
Switch# show sntp
Syntax |
show sntp |
Mode |
Privileged EXEC |
Example |
The example shows how to show remote SNTP server. Switch# show sntp |