All MIBs › HUAWEI-L2IF-MIB › hwL2IfPortMax
hwL2IfPortMax
Module: HUAWEI-L2IF-MIB
OID (symbolic): HUAWEI-L2IF-MIB::hwL2IfPortMax
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.1.1.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: Max ports that this device supports,BRIDGE-MIB have a resemble definition.
What is hwL2IfPortMax?
This read-only Integer32 reports the maximum number of Layer 2 ports the device supports, mirroring a similar object in BRIDGE-MIB. An admin reads it once to learn the switch's port-count ceiling for capacity planning.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.1 snmpwalk -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfPortMax
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.1.1 snmpget -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfPortMax.1
Start monitoring Huawei switch (Layer 2 interface, hybrid/trunk port config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2IF-MIB::hwL2IfPortMax OID value, configure state conditions and alerts, and monitor any Huawei switch (Layer 2 interface, hybrid/trunk port config) 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.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.42 | hwL2Mgmt | HUAWEI-IPDSLAM-MSTP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42.1 | hwL2IfMib | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1 | hwL2IfObjects | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1 | hwL2Interface | HUAWEI-L2IF-MIB |
| 1.3.6.1.4.1.2011.5.25.42.1.1.1.1 | hwL2IfPortMax | HUAWEI-L2IF-MIB |