firewallPortProtocol
ZHNFIREWALL ·
.1.3.6.1.4.1.5504.2.5.45.1.2.1.4
Object
Enumerated value of: tcp (1), udp (2), tcpOrUdp (3), icmp (4), icmpv4 (5), none (6)
Context
- MIB
- ZHNFIREWALL
- OID
.1.3.6.1.4.1.5504.2.5.45.1.2.1.4- 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::firewallPortProtocol'
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::firewallPortProtocol.<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::firewallPortProtocol'
Syntax
- Source
- FirewallPortProtocolValues
- Base type
Enumeration
Values & Constraints
Type Values
1 | tcp |
2 | udp |
3 | tcpOrUdp |
4 | icmp |
5 | icmpv4 |
6 | none |
Conformance
Member of