All MIBs › VLAN-COUNTER-MIB › swVLANCounterPort
swVLANCounterPort
Module: VLAN-COUNTER-MIB
OID (symbolic): VLAN-COUNTER-MIB::swVLANCounterPort
OID (numeric): 1.3.6.1.4.1.171.12.65.3.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This object indicates the port number. If the port number is 0, it indicates that the rule belongs to the vlan.
What is swVLANCounterPort?
This read-only value gives the port number a counter entry is scoped to, where a value of 0 means the counter applies to the whole VLAN rather than a specific port. Admins use it to distinguish per-port traffic counters from VLAN-wide aggregate counters within the same table. For example, a swVLANCounterPort of 0 combined with a given VID identifies the aggregate counter for that entire VLAN, while a nonzero value narrows it to one port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.65.3.1.1.2 snmpwalk -v2c -c public <target> VLAN-COUNTER-MIB::swVLANCounterPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.65.3.1.1.2.1 snmpget -v2c -c public <target> VLAN-COUNTER-MIB::swVLANCounterPort.1
Start monitoring D-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the VLAN-COUNTER-MIB::swVLANCounterPort 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.65 | swVLANCounterMIB | VLAN-COUNTER-MIB |
| 1.3.6.1.4.1.171.12.65.3 | swVLANCounterMgmt | VLAN-COUNTER-MIB |
| 1.3.6.1.4.1.171.12.65.3.1 | swVLANCounterTable | VLAN-COUNTER-MIB |
| 1.3.6.1.4.1.171.12.65.3.1.1 | swVLANCounterEntry | VLAN-COUNTER-MIB |
| 1.3.6.1.4.1.171.12.65.3.1.1.2 | swVLANCounterPort | VLAN-COUNTER-MIB |