swACLIpRulePermit
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.2.1.20
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 the packets matching the access profile are copied
to the mirror port.
Note : The ACL mirror function will work after the mirror is enabled and the mirror port has
been configured.
set-drop-precedence - Specifies the packets that match the access profile are set
to drop precedence.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.3.2.1.20- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLIpRuleEntry
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::swACLIpRulePermit'
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::swACLIpRulePermit.<swACLIpRuleProfileID>.<swACLIpRuleAccessID>'
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::swACLIpRulePermit'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | deny |
2 | permit |
3 | mirror |
5 | set-drop-precedence |