fwlIfICMPCode
FIREWALL-MIB ·
aricent variant
·
.1.3.6.1.4.1.2076.16.2.6.1.7
Object
column deprecated
r/w
Enumeration
**************** THIS OBJECT IS DEPRECATED ****************
The ICMP Code to be checked against the packet. If the
packet matches with the ICMP Code, then the packet will
be dropped. The default value is 'noICMPCode'(255). It
means that ICMP code is not configured and need not be
checked. Generally the value zero will be given as default.
But here, zero is an ICMP Code value. Hence 255 is given
as the default value.
Context
- MIB
- FIREWALL-MIB
- OID
.1.3.6.1.4.1.2076.16.2.6.1.7- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- fwlDefnIfEntry
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 'FIREWALL-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIREWALL-MIB::fwlIfICMPCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FIREWALL-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIREWALL-MIB::fwlIfICMPCode.<fwlIfIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FIREWALL-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FIREWALL-MIB::fwlIfICMPCode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | networkUnreachable |
1 | hostUnreachable |
2 | protocolUnreachable |
3 | portUnreachable |
4 | fragmentNeed |
5 | sourceRouteFail |
6 | destNetworkUnknown |
7 | destHostUnknown |
8 | srcHostIsolated |
9 | destNetworkAdminProhibited |
10 | destHostAdminProhibited |
11 | networkUnreachableTOS |
12 | hostUnreachableTOS |
255 | noICMPCode |