cswStackPowerPortOperStatus
CISCO-STACKWISE-MIB ·
.1.3.6.1.4.1.9.9.500.1.3.2.1.2
Object
column r/w
Enumeration
This object is used to either set or unset the operational
status of the stack port. This object will have following valid
values,
enabled(1) : The port is enabled
disabled(2) : The port is forced down
Context
- MIB
- CISCO-STACKWISE-MIB
- OID
.1.3.6.1.4.1.9.9.500.1.3.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cswStackPowerPortInfoEntry
- 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 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswStackPowerPortOperStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswStackPowerPortOperStatus.<entPhysicalIndex>.<cswStackPowerPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACKWISE-MIB::cswStackPowerPortOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
Conformance
Member of
Compliance refinements
cswStackWiseMIBComplianceRev3
readonly
Write access is not required.
cswStackWiseMIBComplianceRev4
readonly
Write access is not required.