natPortForwardingRuleEnable
MX-NAT2-MIB ·
.1.3.6.1.4.1.4935.15.500.1.10.10.5.80
Object
Indicates if the specific port forwarding rule of a row is used or not.
This rule is enabled if the variable ipRoutingEnable is enabled and if
the variable ipRoutingMode is set to NAT.
Since the modification of this variable will be applied in real time, new settings can
affect the current network connections.
Context
- MIB
- MX-NAT2-MIB
- OID
.1.3.6.1.4.1.4935.15.500.1.10.10.5.80- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- natPortForwardingEntry
- 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 'MX-NAT2-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NAT2-MIB::natPortForwardingRuleEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-NAT2-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NAT2-MIB::natPortForwardingRuleEnable.<natPortForwardingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-NAT2-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-NAT2-MIB::natPortForwardingRuleEnable'
Syntax
- Source
- MX-TCMxEnableState
- Base type
Enumeration
Values & Constraints
Type Values
0 | disable |
1 | enable |
Conformance
Member of