All MIBs › Partition-MIB › switchPortConfigNumPorts
switchPortConfigNumPorts
Module: Partition-MIB
OID (symbolic): Partition-MIB::switchPortConfigNumPorts
OID (numeric): 1.3.6.1.4.1.2000.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Number of ports in this switch
What is switchPortConfigNumPorts?
The total number of physical ports on this switch. Admins read this to confirm the port count management software expects matches the actual hardware, especially useful when scripting per-port configuration loops.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2000.1.2 snmpwalk -v2c -c public <target> Partition-MIB::switchPortConfigNumPorts
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2000.1.2.1 snmpget -v2c -c public <target> Partition-MIB::switchPortConfigNumPorts.1
Start monitoring vendor-neutral, standards-based MSF MIB, GSMP-controlled ATM/MPLS switches (network element partitioning) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Partition-MIB::switchPortConfigNumPorts OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MSF MIB, GSMP-controlled ATM/MPLS switches (network element partitioning) from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2000 | msf | Partition-MIB |
| 1.3.6.1.4.1.2000.1 | switchConfig | Partition-MIB |
| 1.3.6.1.4.1.2000.1.2 | switchPortConfigNumPorts | Partition-MIB |