hwAclLinkProtocol

HUAWEI-DSLAM-ACL-MIB · .1.3.6.1.4.1.2011.5.1.1.7.1.4

Object

column r/w Integer32
Describes the protocol types of Ethernet packets that the L2 ACL rules need to match.
Range:1-65536
              
If the value of an L2 ACL rule is not specified, the invalid value 65536 is obtained in the query operation. 
              
Common protocol types are as follows: 
ip: 0x0800 
arp: 0x0806 
rarp: 0x8035 
pppoe-control: 0x8863 
pppoe-data: 0x8864

Context

MIB
HUAWEI-DSLAM-ACL-MIB
OID
.1.3.6.1.4.1.2011.5.1.1.7.1.4
Type
column
Access
readwrite
Status
current
Parent
hwAclLinkEntry

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::hwAclLinkProtocol'
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::hwAclLinkProtocol.<hwAclLinkAclNum>.<hwAclLinkSubitem>'
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::hwAclLinkProtocol'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-65536