hwAclAdvancedIcmpCode
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.5.1.21
Object
column r/w
Integer32
Describes ICMP codes that the ICMP packets are filtered both by ICMP type and ICMP code when hwAclAdvancedProtocol is set to ICMP. Range: 0-255, 256 If the value is not specified for an advanced ACL rule, the invalid value 256 is obtained in the query operation. For the definition and meanings of ICMP codes, see the description in hwAclAdvancedIcmpType.
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.5.1.21- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclAdvancedRuleEntry
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 '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::hwAclAdvancedIcmpCode'
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::hwAclAdvancedIcmpCode.<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::hwAclAdvancedIcmpCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-256