All MIBs › A3COM-HUAWEI-HGMP-MIB › hgmpMainLanswitchFlag
hgmpMainLanswitchFlag
Module: A3COM-HUAWEI-HGMP-MIB
OID (symbolic): A3COM-HUAWEI-HGMP-MIB::hgmpMainLanswitchFlag
OID (numeric): 1.3.6.1.4.1.43.45.1.6.7.2.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The status of the local switch in the stack.
What is hgmpMainLanswitchFlag?
A read-write enumeration indicating whether the local switch is the master or a member in the stack; administrators use it to assign roles. Setting this determines cluster hierarchy and failover behavior. Example: value 1 (master) vs. 2 (member) controls which switch owns management responsibilities.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.45.1.6.7.2.3 snmpwalk -v2c -c public <target> A3COM-HUAWEI-HGMP-MIB::hgmpMainLanswitchFlag
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.43.45.1.6.7.2.3.1 snmpget -v2c -c public <target> A3COM-HUAWEI-HGMP-MIB::hgmpMainLanswitchFlag.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.43.45.1.6.7.2.3.1 i <value>
Start monitoring H3C/3Com LAN switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the A3COM-HUAWEI-HGMP-MIB::hgmpMainLanswitchFlag OID value, configure state conditions and alerts, and monitor any H3C/3Com LAN switches 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.43 | a3Com | A3COM-BRIDGE-R3-MIB |
| 1.3.6.1.4.1.43.45 | jv_mib | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1 | huawei | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.45.1.6 | huaweiUtility | A3COM-HUAWEI-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.43.45.1.6.7 | hwCluster | A3COM-HUAWEI-HGMP-MIB |
| 1.3.6.1.4.1.43.45.1.6.7.2 | hwStackObject | A3COM-HUAWEI-HGMP-MIB |
| 1.3.6.1.4.1.43.45.1.6.7.2.3 | hgmpMainLanswitchFlag | A3COM-HUAWEI-HGMP-MIB |