cfgNetCarpPreemptdemote
WESTERMO-SW6-MIB ·
.1.3.6.1.4.1.16177.1.400.1.1.2.7.1.17
Object
column r/w
Enumeration
Preempt other master when they demote theself.
Allow hosts within a redundancy group that have a better Advbase
and Advskew to preempt the current master when it demotes itself
(skew >= 240).
Preemptdemote only works when `cfgNetCarpPreempt` is used.
Preemptdemote also controls if a master demotes itself when another
CARP-instance in the same `cfgNetCarpLocalInterfaceGroup` goes
down or is demoted.
Applies to AP and STA.
Context
- MIB
- WESTERMO-SW6-MIB
- OID
.1.3.6.1.4.1.16177.1.400.1.1.2.7.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cfgNetCarpTableEntry
- Groups
- 1
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 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-MIB::cfgNetCarpPreemptdemote'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-MIB::cfgNetCarpPreemptdemote.<cfgNetCarpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-SW6-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-SW6-MIB::cfgNetCarpPreemptdemote'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | enabled |
Conformance
Member of