swAdmStatus

SW-MIB · .1.3.6.1.4.1.1588.2.1.1.1.1.8

Object

scalar r/w Enumeration
The desired administrative status of the switch.
A management station may place the switch in a desired
state by setting this object accordingly. The states
are as follow:
o online(1) means set the switch to be accessible by an
  external Fibre Channel port;
o offline(2) means set the switch to be inaccessible;
o testing(3) means set the switch to run the built-in test;
o faulty(4) means set the switch to a 'soft' faulty
  condition;
o reboot(5) means set the switch to reboot in 1 second.
o fastboot(6) means set the switch to fastboot in 1 second.
Fastboot would cause the switch to boot but skip over the
POST.
          
When the switch is in faulty state, only two states
can be set: faulty and reboot/fastboot.

Context

MIB
SW-MIB
OID
.1.3.6.1.4.1.1588.2.1.1.1.1.8
Type
scalar
Access
readwrite
Status
current
Parent
swSystem

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-MIB::swAdmStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SW-MIB::swAdmStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1online
2offline
3testing
4faulty
5reboot
6fastboot