macIpExternProtocal
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.10.1.3.9.1.5
Object
column r/w
Integer32
The protocol number field in the IP header used to indicate
the higher layer protocol as specified in RFC 1700. A value
value of 0 matches every IP packet.
For example :
0 is IP, 1 is ICMP, 2 is IGMP, 4 is IP in IP encapsulation,
6 is TCP, 9 is IGRP, 17 is UDP, 47 is GRE, 50 is ESP, 51 is AH,
88 is EIGRP, 89 is OSPF, 94 is KA9Q/NOS compatible IP over IP,
103 is PIMv2, 108 is PCP.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.10.1.3.9.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- macIpExternAclEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::macIpExternProtocal'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::macIpExternProtocal.<macIpExternIndex>.<macIpExternSubIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::macIpExternProtocal'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255