midcomRscNatSessionId2
MIDCOM-MIB ·
.1.3.6.1.2.1.171.1.3.1.1.9
Object
column MidcomNatSessionIdOrZero
This object refers to the second allocated NAT session for this policy rule. MIDCOM-MIB implementations can read this object to learn whether or not a NAT session for a particular policy rule is used. A value of 0 means that no NAT session is allocated for this policy rule. A value other than 0 refers to the NAT session.
Context
- MIB
- MIDCOM-MIB
- OID
.1.3.6.1.2.1.171.1.3.1.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- midcomResourceEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MIDCOM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MIDCOM-MIB::midcomRscNatSessionId2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MIDCOM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MIDCOM-MIB::midcomRscNatSessionId2.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MIDCOM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MIDCOM-MIB::midcomRscNatSessionId2'
Syntax
- Source
- MidcomNatSessionIdOrZero
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of