swACLPktContRuleOption2Permit
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.10.1.1.12
Object
column r/w
Enumeration
This object indicates if the result of the packet examination is 'permit' or 'deny'.
The default is 'permit'.
permit - Specifies that packets that match the access profile are
permitted to be forwarded by the switch.
deny - Specifies that packets that match the access profile
are not permitted to be forwarded by the switch and will be filtered.
mirror - Specifies that the packets that match the access profile are copied to
the mirror port.
Note: The ACL mirror function will function after mirror is enabled
and a mirror port has been configured.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.3.10.1.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLPktContRuleOption2Entry
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 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContRuleOption2Permit'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContRuleOption2Permit.<swACLPktContRuleOption2ProfileID>.<swACLPktContRuleOption2AccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACLMGMT-MIB::swACLPktContRuleOption2Permit'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | deny |
2 | permit |
3 | mirror |