Chapter 4
C Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
clear ntp
To clear Network Time Protocol (NTP) information, use the clear ntp command in EXEC mode.
Syntax Description
session
statistics
all-peers
io
local
memory
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
None mode.
Examples
The following example shows how to clear NTP statistics for all peers.
switch# clear ntp statistics all-peers
The following example shows how to clear NTP statistics for I/O devices.
switch# clear ntp statistics io
The following example shows how to clear NTP statistics for local devices.
switch# clear ntp statistics local
The following example shows how to clear NTP statistics for memory.
switch# clear ntp statistics memory
Related Commands
Command
show ntp
OL-8413-07, Cisco MDS SAN-OS Release 3.x
clear ntp {session | statistics {all-peers | io | local | memory}}
Modification
This command was introduced.
Description
Displays the configured server and peer associations.
Clears NTP CFS session configuration and locks.
Clears NTP statistics.
Clears I/O statistics for all peers.
Clears I/O statistics for I/O devices.
Clears I/O statistics for local devices.
Clears I/O statistics for memory.
Cisco MDS 9000 Family Command Reference
clear ntp
4-61