hwAclv6AdvancedIcmpv6Type
HUAWEI-IPDSLAM-ACLV6-MIB ·
.1.3.6.1.4.1.2011.5.112.1.3.1.21
Object
column r/w
Integer32
Describes the ICMPv6 type when packets are filtered by ICMPv6 type and when hwAclv6AdvancedProtocol is set to ICMPv6.
Range: 0-255, -1
If the value is not specified for an advanced ACLv6 rule, the invalid value -1 is obtained in the query operation.
Type: Indicates the ICMPv6 packet type
Code: Indicates the ICMPv6 code.
The meanings are as follows:
echo Type=128, Code=0
echo-reply Type=129, Code=0
err-Header-field Type=4, Code=0
frag-time-exceeded Type=3, Code=1
hop-limit-exceeded Type=3, Code=0
host-admin-prohib Type=1, Code=1
host-unreachable Type=1, Code=3
neighbor-advertisement Type=136, Code=0
neighbor-solicitation Type=135, Code=0
network-unreachable Type=1, Code=0
packet-too-big Type=2, Code=0
port-unreachable Type=1, Code=4
redirect Type=137, Code=0
router-advertisement Type=134, Code=0
router-solicitation Type=133, Code=0
unknown-ipv6-opt Type=4, Code=2
unknown-next-hdr Type=4, Code=1
Context
- MIB
- HUAWEI-IPDSLAM-ACLV6-MIB
- OID
.1.3.6.1.4.1.2011.5.112.1.3.1.21- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclv6AdvancedRuleEntry
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-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedIcmpv6Type'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedIcmpv6Type.<hwAclv6AdvancedAclNum>.<hwAclv6AdvancedSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedIcmpv6Type'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-255