aclL3v4ExtRuleICMPMessageCode
DES-1210-52-CX ·
.1.3.6.1.4.1.171.10.75.20.1.15.4.1.1.5
Object
column r/w
Integer32
The message code to be checked against the packet. If the
packet matches with the message code, then the packet will
be dropped / allowed based on the action set in aclL3RuleAction.
The default value is '-1', which means the rule don't care this
condition.
Some ICMP message codes are :
networkUnreachable(0),
hostUnreachable(1),
protocolUnreachable(2),
portUnreachable(3),
fragmentNeed(4),
sourceRouteFail(5),
destNetworkUnknown(6),
destHostUnknown(7),
srcHostIsolated(8),
destNetworkAdminProhibited(9),
destHostAdminProhibited(10),
networkUnreachableTOS(11),
hostUnreachableTOS(12),
Context
- MIB
- DES-1210-52-CX
- OID
.1.3.6.1.4.1.171.10.75.20.1.15.4.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Default
-1- Parent
- aclL3v4ExtRuleEntry
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 'DES-1210-52-CX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-1210-52-CX::aclL3v4ExtRuleICMPMessageCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES-1210-52-CX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-1210-52-CX::aclL3v4ExtRuleICMPMessageCode.<aclL3v4ExtRuleProfileNo>.<aclL3v4ExtRuleAccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES-1210-52-CX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES-1210-52-CX::aclL3v4ExtRuleICMPMessageCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-255