snMspsNatv2IfNat
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.75.9.1.2
Object
This enables NAT on interface number given by natIfInterfaceNumber. Only the inside host can initiate connections. Translation will be done on outbound packets only. This object can be enabled only after natGlobalAddressTable and natLocalAddressTable are configured.
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.75.9.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
disabled- Parent
- snMspsNatv2IfEntry
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 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsNatv2IfNat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsNatv2IfNat.<snMspsNatv2IfInterfaceNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsNatv2IfNat'