snmpStack.verSecurityTable database table

The snmpStack.verSecurityTable maps an IP or subnet address with an SNMP version (1, 2, or 3).

Description

The security parameters must be configured, as specified by the SNMP version, in order to gain SNMP access to network devices. An example of this is the use of community strings for SNMP versions 1 and 2, as well as the specification of the different security levels offered by SNMP V3.

Schema

The snmpStack.verSecurityTable database table schema is described in the following table:

Table 1. snmpStack.verSecurityTable database table schema

Column name

Constraints

Data type

Description

m_AccessLevel  

Integer

The SNMP access level. Possible values are:

  • 1 - Read
  • 2 - Read/write

The default value is 1.

m_EncryptedPwd  

Integer

Whether the password stored in the configuration file is encrypted:

  • 1 - Encrypted
  • 2 - Unencrypted
m_IpOrSubNetVer  

Text

The IP or subnet address to which the device access configuration specified by this record is applicable. The interpretation of this field as an IP or a subnet address is dependent on the value specified in the m_NetMaskBitsVer field.

m_NetMaskBitsVer  

Integer

The subnet mask for the address specified by the m_IpOrSubNetVer field. If this field is set to 32 then m_IpOrSubNetVer is taken as a single IP address.

m_NumRetries  

Integer

The number of times to retry the request.
m_Password  

Text

The password to try for this IP or subnet address; for example, community string.

m_Protocol  

Integer

An integer representation of the network protocol used by the presently-defined zone:
  • 0: Unknown
  • 1: IPv4
  • 2: IPv4 that has been through network address translation (NAT)
  • 3: IPv6
  • 4: Element Management System (EMS) key for a non-IP device
m_SecurityName  

Text

The SNMP V3 security password.

m_SnmpPort  

Integer

The SNMP port on the target device, or target devices if the device access configuration specified by this record is applicable to a subnet.

If no value is specified for m_SnmpPort, then the value defaults to the standard SNMP 161 port.

m_SNMPVer3Details  

Object of type V3SecInfo

An object representation of the authpassword and/or privpassword details for SNMP V3.

m_SNMPVer3Level  

Integer

Integer representation of the SNMP V3 security level.

m_SNMPVersion  

Integer

The SNMP version that this configuration applies to.
  • 0: SNMP V1
  • 1: SNMP V2
  • 2: SNMP V3
m_TimeOut  

Integer

The maximum time to wait for a reply from a device, in milliseconds.
m_Type  

Integer

An integer classification of the password type; for example:

(2) SNMP Get password.