natPortForwardingLanPort
MX-NAT2-MIB ·
.1.3.6.1.4.1.4935.15.500.1.10.10.5.60
Object
The destination port on the unit's LAN side may be configured in two ways.
First, the WAN destination port or port range remains the same on the
LAN side. For this configuration, the current variable must be set to 0.
Second, the traffic matching this rule is redirected to only one port on the LAN
side. For this configuration, the current variable represents this port.
Context
- MIB
- MX-NAT2-MIB
- OID
.1.3.6.1.4.1.4935.15.500.1.10.10.5.60- 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::natPortForwardingLanPort'
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::natPortForwardingLanPort.<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::natPortForwardingLanPort'
Syntax
- Source
- MX-TCMxAdvancedIpPort
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of