The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the system management commands that begin with N.
To configure the Network Time Protocol (NTP) peers and servers for the switch, use the ntp command. To remove configured peers and servers, use the no form of this command.
ntp {peer hostname | server hostname} [prefer] [use-vrf vrf-name]
no ntp {peer hostname | server hostname}
None
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
You can specify multiple peer associations.
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
|
|
---|---|
ntp distribute |
Enables CFS distribution for NTP. |
show ntp |
Displays NTP information. |
To discard the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress, use the ntp abort command.
ntp abort
This command has no arguments or keywords.
None
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to discard the NTP CFS distribution session in progress:
switch(config)# ntp abort
|
|
---|---|
ntp distribute |
Enables CFS distribution for NTP. |
show ntp |
Displays NTP information. |
To enable Network Time Protocol (NTP) authentication, use the ntp authenticate command. To disable NTP authentication, use the no form of this command.
ntp authenticate
no ntp authenticate
This command has no arguments or keywords.
Disabled
Global configuration (config)
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
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)#
|
|
---|---|
show ntp |
Displays the status of NTP authentication. |
To apply the pending configuration pertaining to the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the ntp commit command.
ntp commit
This command has no arguments or keywords.
None
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to commit changes to the active NTP configuration:
switch(config)# ntp commit
|
|
---|---|
ntp distribute |
Enables CFS distribution for NTP. |
show ntp |
Displays NTP information. |
To enable Cisco Fabric Services (CFS) distribution for Network Time Protocol (NTP), use the ntp distribute command. To disable this feature, use the no form of this command.
ntp distribute
no ntp distribute
This command has no arguments or keywords.
Disabled
Global configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
Before distributing the Fibre Channel timer changes to the fabric, the temporary changes to the configuration must be committed to the active configuration using the ntp commit command.
This example shows how to distribute the active NTP configuration to the fabric:
switch(config)# ntp distribute
|
|
---|---|
ntp commit |
Commits the NTP configuration changes to the active configuration. |
show ntp |
Displays NTP information. |
To retry synchronization with the configured Network Time Protocol (NTP) servers, use the ntp sync-retry command.
ntp sync-retry
This command has no arguments or keywords.
None
EXEC mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to retry synchronization with the configured NTP servers:
switch# ntp sync-retry
|
|
---|---|
ntp distribute |
Enables CFS distribution for NTP. |
show ntp |
Displays NTP information. |