snStackSecSwitchCfgCmd
HP-SN-AGENT-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.5.2.1.1.10
Object
column r/w
Enumeration
snStackSecSwitchSlotId must be set before the Configuration command sent from the primary switch to the secondary switch either manually or automatically. auto(2)...........auto-configuration command sent. manual(3).........manual-configuration command sent. if manual-mode is used, snStackSecSwitchIpAddr and snStackSecSwitchSubnetMask must be first set before this command is sent. The return result of the above commands are either normal(0)...........normal condition. invalid(1)..........invalid result.
Context
- MIB
- HP-SN-AGENT-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.5.2.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snStackSecSwitchEntry
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 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snStackSecSwitchCfgCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snStackSecSwitchCfgCmd.<snStackSecSwitchIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-AGENT-MIB::snStackSecSwitchCfgCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | invalid |
2 | auto |
3 | manual |