snMspsAclL3FilterMessageCode
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.30.5.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 snMspsAclL3FilterAction.
The default value is 255. It means that message code is not
configured and need not be checked. Generally the value zero
will be given as default. But here, zero can be an ICMP Code
value. Hence 255 is given as the default value.
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),
noICMPCode(255)
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.30.5.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Default
255- Parent
- snMspsAclL3FilterEntry
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 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsAclL3FilterMessageCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsAclL3FilterMessageCode.<snMspsAclL3FilterNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsAclL3FilterMessageCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535