A3COM-HUAWEI-HGMP-MIB :: hgmpMainLanswitchFlag

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsA3COM-HUAWEI-HGMP-MIBhgmpMainLanswitchFlag

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.43a3ComA3COM-BRIDGE-R3-MIB
1.3.6.1.4.1.43.45jv_mibA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1huaweiA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.6huaweiUtilityA3COM-HUAWEI-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.43.45.1.6.7hwClusterA3COM-HUAWEI-HGMP-MIB
1.3.6.1.4.1.43.45.1.6.7.2hwStackObjectA3COM-HUAWEI-HGMP-MIB
1.3.6.1.4.1.43.45.1.6.7.2.3hgmpMainLanswitchFlagA3COM-HUAWEI-HGMP-MIB