portShutdownReason
FS-MIB ·
.1.3.6.1.4.1.52642.2.1.45.1.2.1.1.20
Object
column Bits
The reason of port shutdown. The value is 0 if no shutdown action is applied to this port.
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 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-MIB::portShutdownReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-MIB::portShutdownReason.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-MIB::portShutdownReason'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | admin |
1 | stpLbd |
2 | stpBpduGuard |
3 | networkAccessPortLinkDetection |
4 | networkAccessPortDynamicQos |
5 | portSec |
6 | lbd |
7 | atcBstorm |
8 | atcMstorm |
9 | udld |