hpicfGRpCurrentPrimarySwitch
HP-ICF-GENERIC-RPTR ·
.1.3.6.1.4.1.11.2.14.11.4.5.3
Object
scalar Integer32
The hpicfGRpSwitchIndex of the switch that is currently the primary switch for this stack. The automatic port-to-segment distribution feature will make decisions based on which switch is the primary switch. A value of 0 indicates that there are no internal switches in the system, and no external switches have been configured.
Context
- MIB
- HP-ICF-GENERIC-RPTR
- OID
.1.3.6.1.4.1.11.2.14.11.4.5.3- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hpicfGRpSwitchConfig
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-ICF-GENERIC-RPTR' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-ICF-GENERIC-RPTR::hpicfGRpCurrentPrimarySwitch.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-ICF-GENERIC-RPTR' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-ICF-GENERIC-RPTR::hpicfGRpCurrentPrimarySwitch'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-31
Conformance
Member of