Use this command to designate one or more authentication keys from the configured list as the trusted key for client-server communication.
| Default | None |
| Format | ntp trusted-key <key-number> [, <key-number-list>] |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| key-number | The number for identifying an authentication key. The range is 1 to 4,294,967,295. |
| key-number-list | The comma-separated list of authentication keys. The range is 1 to 4,294,967,295. |
Example: The following is an example of the command designating one trusted key.
(Routing) #configure (Routing) (Config) #ntp trusted-key 81
Example: The following is an example of the command designating multiple trusted keys.
(Routing) #configure (Routing) (Config) #ntp trusted-key 1,5