nsPlyAction
NETSCREEN-POLICY-MIB ·
.1.3.6.1.4.1.3224.10.1.1.8
Object
column Enumeration
Actions objects that describe what the firewall does to the traffic it receives. Permit allows the packet to pass the firewall. Deny blocks the packet from traversing the firewall. Tunnel encapsulates outgoing IP packets and decapsulates incoming IP packets.
Context
- MIB
- NETSCREEN-POLICY-MIB
- OID
.1.3.6.1.4.1.3224.10.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- nsPlyEntry
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 'NETSCREEN-POLICY-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSCREEN-POLICY-MIB::nsPlyAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETSCREEN-POLICY-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSCREEN-POLICY-MIB::nsPlyAction.<nsPlyVsys>.<nsPlyId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETSCREEN-POLICY-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETSCREEN-POLICY-MIB::nsPlyAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | deny |
1 | permit |
2 | tunnel |