cabhCapMappingProtocol

CABH-CAP-MIB · .1.3.6.1.4.1.4491.2.4.3.1.2.1.1.9

Object

column r/w Enumeration
The protocol for this mapping entry. The value
of other(1) represents a protocol other
than ICMP, TCP, and UDP. Thus, when the value
other(1) is specified for the cabhCapMappingProtocol
value of a CAP Mapping Table entry, 
TCP, UDP or ICMP packets MUST NOT be forwarded even
if the WAN and LAN IP address and port tuple
of the packet matches with mapping entry. 
The value of all(255) represents all protocol types. Thus,
when the cabhCapMappingProtocol value
all(255) is specified for an entry in the CAP Mapping 
Table, traffic of all protocol types MUST be forwarded
accordingly f the WAN and LAN IP address and port tuple
in the packet matches the mapping entry.

Context

MIB
CABH-CAP-MIB
OID
.1.3.6.1.4.1.4491.2.4.3.1.2.1.1.9
Type
column
Access
readwrite
Status
current
Parent
cabhCapMappingEntry
Groups
1

Walk 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 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CABH-CAP-MIB::cabhCapMappingProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CABH-CAP-MIB::cabhCapMappingProtocol.<cabhCapMappingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CABH-CAP-MIB::cabhCapMappingProtocol'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2icmp
3udp
4tcp
255all

Conformance

Member of
Compliance refinements
Values: icmp(2)
icmp(2) applies only to dynamic entries.