hh3cAclPacketProtocol
HH3C-ACL-MIB ·
.1.3.6.1.4.1.25506.2.8.4.15
Object
scalar Integer32
The protocol of IPv4/IPv6 packet. icmp(1), tcp(6), udp(17), igmp(2), gre(47), ospf(89), ipinip(4), icmp6(58), ipv6_ah(51), ipv6_esp(50)
Context
- MIB
- HH3C-ACL-MIB
- OID
.1.3.6.1.4.1.25506.2.8.4.15- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hh3cAclPacketfilterTrapObjects
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 'HH3C-ACL-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-ACL-MIB::hh3cAclPacketProtocol.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-ACL-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-ACL-MIB::hh3cAclPacketProtocol'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255