All MIBs › ACLMGMT-MIB › swACLCounterState
swACLCounterState
Module: ACLMGMT-MIB
OID (symbolic): ACLMGMT-MIB::swACLCounterState
OID (numeric): 1.3.6.1.4.1.171.12.9.3.8.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Specifies whether the counter feature will be enabled/disabled. 1. This is optional. The default is disable. 2. If the rule is not bound with flow_meter, then all packets that match will be counted. If the rule is bound with flow_meter, then the 'counter' will be overridden.
What is swACLCounterState?
This OID controls whether packet counting is turned on or off for a specific ACL rule, and is read-write so you can change it. Engineers enable this when they want to track how many packets hit a particular ACL rule to monitor traffic patterns and troubleshoot network behavior. For example, setting this to 1 (enabled) tells the switch to count every packet that matches this ACL rule.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.9.3.8.1.3 snmpwalk -v2c -c public <target> ACLMGMT-MIB::swACLCounterState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.9.3.8.1.3.1 snmpget -v2c -c public <target> ACLMGMT-MIB::swACLCounterState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.9.3.8.1.3.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swACLCounterState.1
Start monitoring D-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ACLMGMT-MIB::swACLCounterState OID value, configure state conditions and alerts, and monitor any D-Link managed switches from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.9 | swAclMgmtMIB | ACLMGMT-MIB |
| 1.3.6.1.4.1.171.12.9.3 | swAclRuleMgmt | ACLMGMT-MIB |
| 1.3.6.1.4.1.171.12.9.3.8 | swACLCounterTable | ACLMGMT-MIB |
| 1.3.6.1.4.1.171.12.9.3.8.1 | swACLCounterEntry | ACLMGMT-MIB |
| 1.3.6.1.4.1.171.12.9.3.8.1.3 | swACLCounterState | ACLMGMT-MIB |