defaultPolicy
MX-NFW-MIB ·
.0.2250.1.550
Object
scalar r/w
Enumeration
Network Firewall Default Policy
Action taken when a packet does not match any rule.
Default policy can be one of the following:
* Accept: Let the packet through.
* Drop: The packet is dropped without any notification.
To have no filtering applied to forwarded packets, set the
default policy to 'Accept' and remove all rules from the network
firewall.
Context
- MIB
- MX-NFW-MIB
- OID
.0.2250.1.550- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- nfwMIBObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-NFW-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NFW-MIB::defaultPolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-NFW-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-NFW-MIB::defaultPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
100 | accept |
300 | drop |