hwAclAdvancedProtocol

HUAWEI-DSLAM-ACL-MIB · .1.3.6.1.4.1.2011.5.1.1.5.1.4

Object

column r/w Integer32
Describes the protocol of IP packets that matches an advanced ACL rule.
Range: 0-255
Default: 0
              
If the value is not specified for an advanced ACL rule, the invalid value 0 is obtained in the query operation. 
              
The common types include: 
TCP: indicates the Transmission Control Protocol with protocol ID 6
UDP: indicates the User Datagram Protocol with protocol ID 17 
ICMP: indicates the Internet Control Message Protocol with protocol ID 1 
GRE: indicates the Generic Routing Encapsulation with protocol ID 47 
IPinIP: indicates the IP in IP Encapsulation with protocol ID 4

Context

MIB
HUAWEI-DSLAM-ACL-MIB
OID
.1.3.6.1.4.1.2011.5.1.1.5.1.4
Type
column
Access
readwrite
Status
current
Parent
hwAclAdvancedRuleEntry

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 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclAdvancedProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclAdvancedProtocol.<hwAclAdvancedAclNum>.<hwAclAdvancedSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclAdvancedProtocol'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-255