vsx-sync time

Syntax

vsx-sync time

no vsx-sync time

Description

Enables VSX synchronization of time-related configurations, including NTP and time zone configurations, on the primary VSX node on the secondary peer switch. To synchronize NTP configurations associated with a particular VRF, you must configure the same VRF on the peer switch.

The no form of this command removes VSX synchronization of global time-related configurations, but it does not remove the existing global time-related feature configurations from the secondary peer switch.

Command context

config-vsx

Authority

Administrators

Examples

The first two lines in the following example show the setting of time-related configurations. The last two lines of the example show the enabling of VSX synchronization for time-related configurations.

switch(config)# ntp authentication
switch(config)# clock timezone utc
switch(config)# vsx
switch(config-vsx)# vsx-sync time

Disabling VSX synchronization for time-related configurations:

switch(config)# vsx
switch(config-vsx)# no vsx-sync time