efa inventory device ntp server create

Creates an NTP server.

Syntax

efa inventory device ntp server create [ --ip device-ip | --ntp-ip ntp-ip | --auth-key key | --auth-key-name key-name | --encryption-type { md5 | sha1 } | --trusted-key | --fabric name ]

Parameters

--ip device-ip
Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101. Required if you do not specify --fabric.
--ntp-ip ntp-ip
Specifies the IP address of the NTP server.
--auth-key key
Specifies the authentication key ID. Values can be from 1 to 65535.
--auth-key-name key-name
Specifies the name of the key.
--encryption-type { md5 | sha1 }
Specifies the encryption type. .
--trusted-key key
Specifies the trusted key.
--fabric name
Specifies the name of the fabric. Required if you do not specify --ip.

Usage Guidelines

The command creates an NTP server. By default, XCO sets the key name to be encrypted 7. SLX supports encryption levels of 0 (clear text) and 7 (encrypted).

Here, one auth-key ID can be used by different NTP servers in SLX. To simplify, XCO enforces a unique key id per NTP server. Here, device IP addresses and fabric options are mutually exclusive.

Examples

efa inventory device ntp server create –ntp-ip 3.3.3.3 
–-auth-key 1 –-auth-key-name ntpsecret –-encryption-type md5 –trusted-key  
–-ip 10.20.246.10
efa inventory device ntp server create –ntp-ip 3.3.3.3 –-auth-key 1 
–-auth-key-name ntpsecret –-encryption-type md5 –trusted-key –-fabic clos_fabric