All MIBs › HH3C-OFP-MIB › hh3cOfpInstanceControllerRole
hh3cOfpInstanceControllerRole
Module: HH3C-OFP-MIB
OID (symbolic): HH3C-OFP-MIB::hh3cOfpInstanceControllerRole
OID (numeric): 1.3.6.1.4.1.25506.2.167.1.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The value of the controller's role.
What is hh3cOfpInstanceControllerRole?
This read-only value is the OpenFlow role this controller currently holds for the instance: equal, master, or slave. An admin cares because in a multi-controller OpenFlow deployment only the master controller can issue state-changing commands, so knowing the role helps diagnose which controller is actually in charge and avoid split-brain confusion. For example, seeing master(2) for one controller and slave(3) for a second confirms failover controller redundancy is configured as expected.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.167.1.1.1.3 snmpwalk -v2c -c public <target> HH3C-OFP-MIB::hh3cOfpInstanceControllerRole
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.167.1.1.1.3.1 snmpget -v2c -c public <target> HH3C-OFP-MIB::hh3cOfpInstanceControllerRole.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hh3cOfpInstanceControllerRole.1
Start monitoring H3C SDN-capable switch (OpenFlow controller connectivity) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-OFP-MIB::hh3cOfpInstanceControllerRole OID value, configure state conditions and alerts, and monitor any H3C SDN-capable switch (OpenFlow controller connectivity) from a single console.
How to Use in IPNetwork Monitor
OID Breakdown
Upper-level ancestors (8 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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.167 | hh3cOfp | HH3C-OFP-MIB |
| 1.3.6.1.4.1.25506.2.167.1 | hh3cOfpInstanceObjects | HH3C-OFP-MIB |
| 1.3.6.1.4.1.25506.2.167.1.1 | hh3cOfpInstanceControllerTable | HH3C-OFP-MIB |
| 1.3.6.1.4.1.25506.2.167.1.1.1 | hh3cOfpInstanceControllerEntry | HH3C-OFP-MIB |
| 1.3.6.1.4.1.25506.2.167.1.1.1.3 | hh3cOfpInstanceControllerRole | HH3C-OFP-MIB |