Clock Commands
show sntp configuration
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
129
8
show sntp configuration
To show the SNTP server defined on the switch, use the show sntp configuration
Privileged EXEC mode command.
Syntax
show sntp configuration
Parameters
N/A
Command Mode
Privileged EXEC mode
Example
switchxxxxxx#
show sntp configuration
SNTP is Enabled
SNTP Server address: 192.1.1.1
SNTP Server port: 123
sntp server
To use SNTP to request and accept Network Time Protocol (NTP) traffic from a
specific server (meaning to accept system time from an SNTP server), use the
sntp server Global Configuration mode command.
To remove the SNTP server, use the no form of this command.
Syntax
sntp server {
ip-address
|
hostname
} [port
port-number
]
no sntp
Parameters
•
ip-address
—IPv4 address of the SNTP server.
•
hostname
—Hostname of the SNTP server. Only translation to IPv4
addresses is supported.