Custom Import File
The suffix of an import file is CSV. The first line of an import file must be [DEF]. The second line of an import file is the defined fields separated by commas. The field values, starting from the third line of an import file, are separated by commas.
Field Description
- DeviceIp: Device IP address, which must conform to the IP address format. Required.
- DeviceLabel: Device name, which is a string of up to 64 characters. Optional.
- SnmpParaVersion: SNMP version. Optional.
- 1 represents SNMPv1, which is the default.
- 2 represents SNMPv2.
- 3 represents SNMPv3.
- SnmpParaRead: SNMP read-only community name, which is a string of up to 32 characters. The default is public. Optional.
- SnmpParaWrite: SNMP write community name, which is a string of up to 32 characters. The default is private. Optional.
- SnmpParaContextName: SNMPv3 context name, which is a string of up to 32 characters. Optional.
- SnmpParaSecurityUser: SNMPv3 user name, which is a string of up to 32 characters. Two users with the same name are considered as the user belonging to the same SNMPv3 template. This filed is applicable to only SNMPv3. Optional.
- SnmpParaSecuMode: Security mode. Optional. This value must match the SnmpParaAuthScheme and SnmpParaPrivScheme values.
- 1 means no authentication and no encryption.
- 2 means authentication but no encryption.
- 3 means authentication and encryption.
- SnmpParaAuthScheme: Authentication mode. Optional.
- 1 means none.
- 2 means MD5.
- 3 means sha.
- SnmpParaAuthPassword: Authentication password, which is a string of up to 32 characters. Optional.
- SnmpParaPrivScheme: Encryption mode. Optional.
- 1 means none.
- 2 means DES.
- 19 means AES128.
- 20 means AES192.
- 21 means AES256.
- SnmpParaPrivPassword: Encryption password, which is a string of up to 32 characters. Optional.
- SnmpParaTimeOut: Timeout time in seconds, which is 4 by default,the maximum is 60 seconds. Optional.
- SnmpParaRetry: Retry times, which is 3 by default. Optional.
- TelnetParaUserName: Telnet username used for logging in to the device through Telnet. Optional. A string of up to 32 characters.
- TelnetParaPassword: Telnet user password used when the Telnet username is used to log in to the device. Optional. A string of up to 32 characters.
- TelnetParaSuPassword: Telnet super password, the password of the device's super user. Optional. A string of up to 32 characters.
- TelnetParaAuthType:SSH authentication type. The default is No Username + No Password authentication. Optional.
- 0 means Password (No Operator or Super/Manager) authentication.
- 1 means Username + Password authentication.
- 2 means Super/Manager Password authentication.
- 3 means Password + Super/Manager Password (No Operator) authentication.
- 4 means Username + Password + Super/Manager Password authentication.
- 5 means No Username + No Password authentication.
- 6 means Username + No Password authentication.
- SshParaUserName: SSH username used for logging in to the device through SSH. Optional. A string of up to 32 characters.
- SshParaPort: SSH port number used for logging in to the device through SSH, which is 22 by default. Optional.
- SshParaRetries: SSH retry times, which specifies the maximum retry times when the system fails to communicate with the device. The default is 3. Optional.
- SshParaTimeOut: SSH timeout time in seconds, which specifies the maximum time for which the system can wait for response from the device. The default is 10 seconds,the maximum is 60 seconds. Optional.
- SshParaAuthType: SSH authentication type. The default is password authentication. Optional.
- 0 means password authentication.
- 1 means key authentication (RSA/DSA).
- 2 means mixed authentication (both password authentication and key authentication are selected).
- 3 means password authentication + super password.
- 4 means key authentication (RSA/DSA) + super password.
- 5 means mixed authentication (both password authentication and key authentication are selected) + super password.
- LoginType: Device login type. The default is Telnet. Optional.
- 0 indicates that you cannot log in to the device.
- 1 indicates Telnet.
- 2 indicates SSH.
- PingDevType: Support of the device for ping. The filed is 0 by default. Optional.
- 0 means support.
- 1 means not support.
- CustomViewName: Custom view name that device is added to, which is a string of up to 32 characters. Optional.
Precautions
- If the SnmpParaVersion field is 3, an SNMPv3 template is added.
- If defined some field in second link of the custom file, there must be a value for the field in every line.
Related Topics