nameIpExternProtocol
AMER-MIB ·
.1.3.6.1.4.1.6339.100.10.1.4.3.13
Object
scalar 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 IGRP, 89 is OSPF, 94 is KA9Q/NOS compatible IP over IP,
103 is PIMv2, 108 is PCP.
Context
- MIB
- AMER-MIB
- OID
.1.3.6.1.4.1.6339.100.10.1.4.3.13- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- nameIpExternAcl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AMER-MIB' -M '/opt/observium/mibs/dcn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AMER-MIB::nameIpExternProtocol.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AMER-MIB' -M '/opt/observium/mibs/dcn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AMER-MIB::nameIpExternProtocol'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255