firewallPortType
ZHNFIREWALL ·
.1.3.6.1.4.1.5504.2.5.45.1.2.1.3
Object
Enumerated value of:
portRange (1), -- Range indicates that any traffic on those ports will be
-- sent to the private IP address.
portRemap (2), -- Remap indicates that any traffic on those ports will be
-- sent to the private IP address at the private port.
dmz (3) -- When DMZ is chosen it is the only rule allowed on that
-- interface. A DMZ rule is effectively the same as a Range
-- rule with all ports included. Range rules are more secure
-- than setting a DMZ rule, because Range rules allow specific
-- ports or groups of ports to be opened up.
Context
- MIB
- ZHNFIREWALL
- OID
.1.3.6.1.4.1.5504.2.5.45.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- firewallPortForwardingEntry
- 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 'ZHNFIREWALL' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNFIREWALL::firewallPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNFIREWALL' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNFIREWALL::firewallPortType.<lanDeviceIndex>.<lanEthernetIndex>.<firewallPortForwardingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNFIREWALL' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNFIREWALL::firewallPortType'
Syntax
- Source
- FirewallPortTypeValues
- Base type
Enumeration
Values & Constraints
Type Values
1 | portRange |
2 | portRemap |
3 | dmz |
Conformance
Member of