VLAN-COUNTER-MIB :: swVLANCounterPort

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.171d_linkDE1500-MIB
1.3.6.1.4.1.171.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.65swVLANCounterMIBVLAN-COUNTER-MIB
1.3.6.1.4.1.171.12.65.3swVLANCounterMgmtVLAN-COUNTER-MIB
1.3.6.1.4.1.171.12.65.3.1swVLANCounterTableVLAN-COUNTER-MIB
1.3.6.1.4.1.171.12.65.3.1.1swVLANCounterEntryVLAN-COUNTER-MIB
1.3.6.1.4.1.171.12.65.3.1.1.2swVLANCounterPortVLAN-COUNTER-MIB