swACLPktContRulePermit
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.3.1.13
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 matching the access profile are
permitted to be forwarded by the switch.
deny - Specifies that packets matching the access profile
are not permitted to be forwarded by the switch and will be filtered.
mirror - Specifies that the packets matching 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.
lease-renew - Specifies the packets matching the access profile are copied to
the CPU.
Note : After a user enables the port's lease-renew state, all kinds of DHCP packets
(including unicast and broadcast DHCP packets) will be copied to the CPU
(using user ACL mask and rule).
set-drop-precedence - Specifies that packets matching the access profile are set
to drop precedence.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.3.3.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLPktContRuleEntry
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::swACLPktContRulePermit'
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::swACLPktContRulePermit.<swACLPktContRuleProfileID>.<swACLPktContRuleAccessID>'
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::swACLPktContRulePermit'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | deny |
2 | permit |
3 | mirror |
4 | lease-renew |
5 | set-drop-precedence |