All MIBs › DES3526-L2MGMT-MIB › swDevInfoTotalNumOfPort
swDevInfoTotalNumOfPort
Module: DES3526-L2MGMT-MIB
OID (symbolic): DES3526-L2MGMT-MIB::swDevInfoTotalNumOfPort
OID (numeric): 1.3.6.1.4.1.171.11.64.1.2.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The number of ports within this switch. This value is the sum of the ports within this switch.
What is swDevInfoTotalNumOfPort?
Reports the total number of physical ports built into this switch. Admins use it to size port-range scripts or confirm the unit model (e.g. a 24-port vs 48-port DES-3526) matches inventory records.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.64.1.2.1.1.2 snmpwalk -v2c -c public <target> DES3526-L2MGMT-MIB::swDevInfoTotalNumOfPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.64.1.2.1.1.2.1 snmpget -v2c -c public <target> DES3526-L2MGMT-MIB::swDevInfoTotalNumOfPort.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swDevInfoTotalNumOfPort.1
Start monitoring D-Link DES-3526 managed switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3526-L2MGMT-MIB::swDevInfoTotalNumOfPort OID value, configure state conditions and alerts, and monitor any D-Link DES-3526 managed switch 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.11 | dlink_mgmt | DES2218-MIB |
| 1.3.6.1.4.1.171.11.64 | des3500SeriesProd | SW3500PRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.64.1 | des3526 | SW3500PRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.64.1.2 | swL2MgmtMIB | DES3526-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.64.1.2.1 | swL2DevMgmt | DES3526-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.64.1.2.1.1 | swL2DevInfo | DES3526-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.64.1.2.1.1.2 | swDevInfoTotalNumOfPort | DES3526-L2MGMT-MIB |