lgPrimaryWeight
ZHONE-GEN-LINE-REDUNDANCY ·
.1.3.6.1.4.1.5504.3.6.3.1.4
Object
column r/w
Integer32
The preference for this line to be active. A value of
1 is low preference, and 10 is high. Default is 5 to
match the secondary line so the default is that both
lines are equal and whichever becomes active first
remains the active line until an error condition
occurs.
Value of 0 is reserved.
Context
- MIB
- ZHONE-GEN-LINE-REDUNDANCY
- OID
.1.3.6.1.4.1.5504.3.6.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lineGroupEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZHONE-GEN-LINE-REDUNDANCY' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-GEN-LINE-REDUNDANCY::lgPrimaryWeight'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-GEN-LINE-REDUNDANCY' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-GEN-LINE-REDUNDANCY::lgPrimaryWeight.<lgId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-GEN-LINE-REDUNDANCY' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-GEN-LINE-REDUNDANCY::lgPrimaryWeight'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-10