hwAclIpVersion
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.25.2
Object
scalar OctetString
Indicates the type of the ACL rule group. If this leaf object outputs character string 'IPv4', it indicates that an IPv4 ACL rule is used. If this leaf object outputs character string 'IPv6', it indicates that an IPv6 ACL rule is used. If this leaf object outputs a zero-length string, it indicates that a layer 2 ACL rule or user-defined ACL rule is used.
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.25.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwQosTrapsVbOids
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 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwAclIpVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwAclIpVersion'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-16