xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
238
show sntp
Purpose
Used to display the SNTP information.
Syntax
show sntp
Description
This command is used to display SNTP settings information including the source IP
address, time and poll interval.
Parameters None.
Restrictions None.
Example usage:
To display SNTP configuration information:
D G S – 3 4 2 6 : 5 # s h o w s n t p
C o m m a n d : s h o w s n t p
C u r r e n t T i m e S o u r c e : S y s t e m C l o c k
S N T P : D i s a b l e d
S N T P P r i m a r y S e r v e r : 1 0 . 1 . 1 . 1
S N T P S e c o n d a r y S e r v e r : 1 0 . 1 . 1 . 2
S N T P P o l l I n t e r v a l : 3 0 s e c
D G S – 3 4 2 6 : 5 #
enable sntp
Purpose
To enable SNTP server support.
Syntax
enable sntp
Description
This command is used to enable SNTP support. SNTP service must be separately
configured (see
config sntp
). Enabling and configuring SNTP support will override any
manually configured system time settings.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command. SNTP settings
must be configured for SNTP to function (
config sntp
).
Example usage:
To enable the SNTP function:
D G S – 3 4 2 6 : 5 # e n a b l e s n t p
C o m m a n d : e n a b l e s n t p
S u c c e s s .
D G S – 3 4 2 6 : 5 #
disable sntp
Purpose
To disable SNTP server support.
Syntax
disable sntp
Description
This command is used to disable SNTP support. SNTP service must be separately
configured (see
config sntp
).
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage: