hwAclAdvancedIcmpType
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.5.1.20
Object
column r/w
Integer32
Describes the ICMP type when packets are filtered by ICMP type and 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.
Type: Indicates the ICMP packet type
Code: Indicates the ICMP code.
The meanings are as follows:
echo: Type=8, Code=0
echo-reply: Type=0, Code=0
fragmentneed-DFset: Type=3, Code=4
host-redirect: Type=5, Code=1
host-tos-redirect: Type=5, Code=3
host-unreachable: Type=3, Code=1
information-reply: Type=16, Code=0
information-request: Type=15, Code=0
net-redirect: Type=5, Code=0
net-tos-redirect: Type=5, Code=2
net-unreachable: Type=3, Code=0
parameter-problem: Type=12, Code=0
port-unreachable: Type=3, Code=3
protocol-unreachable: Type=3, Code=2
reassembly-timeout: Type=11, Code=1
source-quench: Type=4, Code=0
source-route-failed: Type=3, Code=5
timestamp-reply: Type=14, Code=0
timestamp-request: Type=13, Code=0
ttl-exceeded: Type=11, Code=0
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.5.1.20- 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::hwAclAdvancedIcmpType'
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::hwAclAdvancedIcmpType.<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::hwAclAdvancedIcmpType'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-256