fltStmtIpProtocol
ZHONE-COM-IP-FILTER-MIB ·
.1.3.6.1.4.1.5504.4.1.8.3.1.10
Object
column r/w
Enumeration
The IP protocol value that is to be matched. The enum
values are as follows:
any(1) : any protocol type is a match (wildcard)
ip(2) : raw IP packet
tcp(3) : TCP packet
udp(4) : UDP packet
icmp(5) : ICMP packet
The default value is any(1).
Context
- MIB
- ZHONE-COM-IP-FILTER-MIB
- OID
.1.3.6.1.4.1.5504.4.1.8.3.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- filterStatementEntry
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 'ZHONE-COM-IP-FILTER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-FILTER-MIB::fltStmtIpProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-FILTER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-FILTER-MIB::fltStmtIpProtocol.<fltSpecIndex>.<fltStmtIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-FILTER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-FILTER-MIB::fltStmtIpProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | any |
2 | ip |
3 | tcp |
4 | udp |
5 | icmp |