show running-config ntp

Displays the ntp configuration information.

Syntax

show running-config ntp [ server | peer ]

Parameters

server
Specifies the NTP server IP address.
peer
Specifies the NTP peer IP address.

Modes

Exec mode

Examples

The following example shows the configured NTP details.

device# show running-config ntp
ntp enable
ntp peer 10.12.145.32
ntp server 10.12.145.36
ntp server 10.12.155.42

The following examples show the configured NTP peers.

device# show running-config ntp peer
ntp peer 10.12.145.32

The following examples show the configured NTP servers.

device# show running-config ntp server
ntp server 10.12.145.36
ntp server 10.12.155.42