snmpUser (Structure)

Top  Previous  Next

Architecture:

NX32L

Device support:

All NX devices

Firmware version:

1.52.00


The snmpUser structure contains the information of a USM security user.

 

The structure is used with the snmpConnect, snmpUserGet, snmpUserSet, snmpAgentUsersGet and snmpAgentUsersSet functions.

 

 

Fields:

Username : STRING  (Max 63 characters)

The name of the user

 

Authentication : SINT

The method used to authenticate the user.

_SNMP_USM_MD5

- MD5

_SNMP_USM_SHA

- SHA

 

Password : STRING  (8..63 characters)

The password to authenticate the user.

 

Encryption : SINT

The method used to encrypt communication

_SNMP_USM_AES

- AES

_SNMP_USM_DES

- DES

 

Cryptkey : STRING (8..63 characters)

The text used to encrypt communication.

 

EngineID : STRING (10..64 characters or empty)

The engine ID value as a Hex value.

 

Level : SINT

The security level used in communication.

_SNMP_SEC_NONE

- No authentication or encryption

_SNMP_SEC_AUTH

- Authentication and no encryption

_SNMP_SEC_ENC

- Authentication and encryption

 

 

Declaration:

STRUCT_BLOCK snmpUser;
  username       : STRING;
  authentication : SINT;
  password       : STRING;
  encryption     : SINT;
  cryptkey       : STRING;
  engineid       : STRING;
  level          : SINT;
END_STRUCT_BLOCK;