TPLINK-STACK-MIB :: tpSwitchRole

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › TPLINK-STACK-MIB › tpSwitchRole

tpSwitchRole

Module: TPLINK-STACK-MIB

OID (symbolic): TPLINK-STACK-MIB::tpSwitchRole

OID (numeric): 1.3.6.1.4.1.11863.6.34.1.2.1.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: This object describes the function of the switch:

slave - stack member. master - stack master.

What is tpSwitchRole?

This read-only object reports whether a given member switch is currently acting as the stack slave or the stack master. Only one switch in the stack holds the master role at a time, and it is responsible for the stack's shared control plane, so an admin checks this to know which unit to manage centrally. For example, after a stack master failover, an admin would poll tpSwitchRole across the members to confirm which unit has taken over as master(1).

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.34.1.2.1.1.4
snmpwalk -v2c -c public <target> TPLINK-STACK-MIB::tpSwitchRole

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.34.1.2.1.1.4.1
snmpget -v2c -c public <target> TPLINK-STACK-MIB::tpSwitchRole.1

Start monitoring TP-Link managed switches, stacking (stack-member role/link status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-STACK-MIB::tpSwitchRole OID value, configure state conditions and alerts, and monitor any TP-Link managed switches, stacking (stack-member role/link status) from a single console.

How to Use in IPNetwork Monitor

Select a TP-Link managed switches, stacking (stack-member role/link status) as the target host to create a monitor — the SNMP service should be up and running on it. Click New Monitor, then check SNMP Custom on the Favorites tab, click Next, and confirm the host. On the next page, click Select... to open the built-in SNMP MIB Browser and type tpSwitchRole into the Find box to locate it in the OID tree, selecting the specific row/instance you want to monitor since this is a table column, then select it and click OK. This object describes the function of the switch: slave - stack member. master - stack master. On the monitor's Main parameters page you can set the target's SNMP port (default 161), credentials, polling interval, and other settings — see the SNMP Monitor help for details. On the State conditions and Alerting tabs, configure when the monitor should change state and trigger an alert; since this is an INTEGER-type OID, Value bounds is the most useful condition here — trigger an alert if the value changes unexpectedly, since which role is correct for this switch depends on your stack topology and an unplanned change often indicates a fault or misconfiguration. Click Finish to create the monitor; you can adjust any parameter later.

OID Breakdown

Upper-level ancestors (8 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.11863tplinkTPLINK-MIB
1.3.6.1.4.1.11863.6tplinkMgmtTPLINK-MIB
Numeric OIDNameModule
1.3.6.1.4.1.11863.6.34tplinkStackMIBTPLINK-STACK-MIB
1.3.6.1.4.1.11863.6.34.1tplinkStackMIBObjectsTPLINK-STACK-MIB
1.3.6.1.4.1.11863.6.34.1.2tpStackInfoTPLINK-STACK-MIB
1.3.6.1.4.1.11863.6.34.1.2.1tpSwitchInfoTableTPLINK-STACK-MIB
1.3.6.1.4.1.11863.6.34.1.2.1.1tpSwitchInfoEntryTPLINK-STACK-MIB
1.3.6.1.4.1.11863.6.34.1.2.1.1.4tpSwitchRoleTPLINK-STACK-MIB