peerState
MPDLSW-MIB ·
.1.3.6.1.4.1.5651.3.22.2.1.6
Object
column Enumeration
State
Context
- MIB
- MPDLSW-MIB
- OID
.1.3.6.1.4.1.5651.3.22.2.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- dlswPeerEntry
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 'MPDLSW-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPDLSW-MIB::peerState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPDLSW-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPDLSW-MIB::peerState.<peerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPDLSW-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPDLSW-MIB::peerState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disconnect |
2 | wait-wr |
3 | wait-rd |
4 | connecting |
5 | connect |