All MIBs › SWL2MGMT-MIB › swDevInfoNumOfPortInUse
swDevInfoNumOfPortInUse
Module: SWL2MGMT-MIB
OID (symbolic): SWL2MGMT-MIB::swDevInfoNumOfPortInUse
OID (numeric): 1.3.6.1.4.1.2272.1.201.1.2.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The number of ports in this switch connected to the segment or the end stations.
What is swDevInfoNumOfPortInUse?
Reports how many ports are currently connected to a segment or an end station (0-65535). Comparing it with the total port count gives a quick utilisation figure, e.g. 18 of 28 ports in use.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.2.1.1.3 snmpwalk -v2c -c public <target> SWL2MGMT-MIB::swDevInfoNumOfPortInUse
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.201.1.2.1.1.3.1 snmpget -v2c -c public <target> SWL2MGMT-MIB::swDevInfoNumOfPortInUse.1
Start monitoring D-Link managed Layer 2 Ethernet switch (MAC learning/VLAN/spanning-tree status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SWL2MGMT-MIB::swDevInfoNumOfPortInUse OID value, configure state conditions and alerts, and monitor any D-Link managed Layer 2 Ethernet switch (MAC learning/VLAN/spanning-tree status) from a single console.
OID Breakdown
Upper-level ancestors (10 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.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.201 | cobra | SWPRIMGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1 | privateMgmt | SWPRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2272.1.201.1.2 | swL2MgmtMIB | SWL2MGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.2.1 | swL2DevMgmt | SWL2MGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.2.1.1 | swL2DevInfo | SWL2MGMT-MIB |
| 1.3.6.1.4.1.2272.1.201.1.2.1.1.3 | swDevInfoNumOfPortInUse | SWL2MGMT-MIB |