zxAnAclProtocolType
ZTE-AN-ACL-MIB ·
.1.3.6.1.4.1.3902.1015.23.1.2.1.4
Object
column r/w
Enumeration
Protocol Type of ip,such as: ICMP = 1, IGMP = 2, IPINIP = 4, TCP = 6, EIGR = 8, IGRP = 9, UDP = 17, ICMPv6 = 58, OSPF = 89, PIM = 103, VRRP = 112, IP = 255
Context
- MIB
- ZTE-AN-ACL-MIB
- OID
.1.3.6.1.4.1.3902.1015.23.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnAclEntry
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 'ZTE-AN-ACL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ACL-MIB::zxAnAclProtocolType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-ACL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ACL-MIB::zxAnAclProtocolType.<zxAnAclIndex>.<zxAnAclRuleId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-ACL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-ACL-MIB::zxAnAclProtocolType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | icmp |
2 | igmp |
4 | ipInIp |
6 | tcp |
8 | eigr |
9 | igrp |
17 | udp |
58 | icmpv6 |
89 | ospf |
103 | pim |
112 | vrrp |
255 | ip |