cnatSessionProtocolType

CISCO-IETF-NAT-MIB · .1.3.6.1.4.1.9.10.77.1.2.5.1.5

Object

The protocol type of this session.
              
TCP and UDP sessions are uniquely identified by the
tuple of (source IP address, source UDP/TCP port,
destination IP address, destination TCP/UCP port).
ICMP query sessions are identified by the tuple of
(source IP address, ICMP query ID, destination IP
address).

Context

MIB
CISCO-IETF-NAT-MIB
OID
.1.3.6.1.4.1.9.10.77.1.2.5.1.5
Type
column
Access
readonly
Status
current
Parent
cnatSessionEntry
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 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-NAT-MIB::cnatSessionProtocolType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-NAT-MIB::cnatSessionProtocolType.<cnatSessionBindId>.<cnatSessionId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-NAT-MIB::cnatSessionProtocolType'

Syntax

Source
NATProtocolType
Base type
Enumeration

Values & Constraints

Type Values
1other
2icmp
3udp
4tcp

Conformance

Member of