This chapter describes the system management commands that begin with N.
ntp
form of this command.
Syntax Description
Specifies the hostname or IP address of an NTP peer.
Specifies the hostname or IP address of the NTP server.
(Optional) Specifies this peer/server as the preferred peer/server.
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach this peer/server.
Command Default
None
Command Modes
Global configuration mode
Command History
Release
Modification
4.0(0)N1(1a)
This command was introduced.
4.0(1a)N1(1)
is retained for backwards compatibility.
Usage Guidelines
You can specify multiple peer associations.
Examples
This example shows how to form a server association with a server:
switch(config)# ntp server ntp.cisco.com
This example shows how to form a peer association with a peer:
switch(config)# ntp peer 192.168.10.0
This example shows how to delete an association with a peer:
switch(config)# no ntp peer 192.168.10.0
Related Commands
Command
Description
Enables CFS distribution for NTP.
Displays NTP information.
ntp abort
command.
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Global configuration mode
Command History
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Examples
This example shows how to discard the NTP CFS distribution session in progress:
switch(config)# ntp abort
Related Commands
Command
Description
Enables CFS distribution for NTP.
Displays NTP information.
ntp authenticate
To enable Network Time Protocol (NTP) authentication, use the ntp authenticate command. To disable NTP authentication, use the no form of this command.
no ntp authenticate
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration (config)
Command History
Release
Modification
5.0(3)N1(1)
This command was introduced.
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enable NTP authentication:
switch(config)# ntp authenticate
This example shows how to disable NTP authentication:
switch(config)# no ntp authenticate
switch(config)#
Related Commands
Command
Description
Displays the status of NTP authentication.
ntp commit
command.
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Global configuration mode
Command History
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Examples
This example shows how to commit changes to the active NTP configuration:
switch(config)# ntp commit
Related Commands
Command
Description
Enables CFS distribution for NTP.
Displays NTP information.
ntp distribute
form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration mode
Command History
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Usage Guidelines
command.
Examples
This example shows how to distribute the active NTP configuration to the fabric:
switch(config)# ntp distribute
Related Commands
Command
Description
Commits the NTP configuration changes to the active configuration.
Displays NTP information.
ntp sync-retry
command.
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Examples
This example shows how to retry synchronization with the configured NTP servers: