natPortForwardingWanFinishPort
MX-NAT2-MIB ·
.1.3.6.1.4.1.4935.15.500.1.10.10.5.30
Object
If the redirection affects a port range, the current variable represents the last port
of the range, while the variable natPortForwardingWanStartPort represents the
first port of the range.
In the case of a single port forwarding, this variable must be the same as
natPortForwardingWanStartPort.
Context
- MIB
- MX-NAT2-MIB
- OID
.1.3.6.1.4.1.4935.15.500.1.10.10.5.30- 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::natPortForwardingWanFinishPort'
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::natPortForwardingWanFinishPort.<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::natPortForwardingWanFinishPort'
Values & Constraints
Type Constraints
range: 1..65535
Conformance
Member of