Skip to main content

cluster time-service ntp key show

Contributors
Suggest changes

Display NTP symmetric authentication keys

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster time-service ntp key show command displays the configured Network Time Protocol (NTP) symmetric authentication keys.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-id <integer>] - NTP Symmetric Authentication Key ID

If this parameter is specified, the command displays the keys that match the specified key ID.

[-type <sha1>] - NTP Symmetric Authentication Key Type

If this parameter is specified, the command displays the keys that match the specified key type.

[-value <text>] - NTP Symmetric Authentication Key Value

If this parameter is specified, the command displays the keys that match the specified value.

Examples

The following example displays information about the NTP authentication keys in the cluster:

cluster1::> cluster time-service ntp key show
ID      Type       Value
------  ---------  ----------------------------------------
2       sha1       5a01120580b5a6ade6ebcd5bad7673fdd6db0113
10      sha1       1f48d2e6f02f17e3f8fa8798cc77af101df29642
2 entries were displayed.