set sync source

Last Updated : Nov 06, 2012 |
Specifies which clock source is the active clock source. The identity of the current synchronization source is not stored in persistent storage.
Prolog information

Syntax

set sync source {primary | secondary | local}

Parameters

Parameter
Description
Possible Values
Default Value
primary
Keyword specifying to set the primary clock source to be active
secondary
Keyword specifying to set the secondary clock source to be active, and the primary clock source on standby
local
Keyword specifying to set the local clock to be active

User level

read-write

Context

general

Example

To set the primary clock as the clock source:
Gxxx-001(super)# set sync source primary
If the secondary interface is not configured, the sync source set operation fails:
Gxxx-001(super)# set sync source secondary
  Operation Failed
Cannot set the secondary clock source to be the active clock source