aniDevEthernetCurrentLinkStatus
DEVETHERNET-MIB ·
.1.3.6.1.4.1.4325.2.11.1.2
Object
scalar Enumeration
Displays the current ethernet link status of the device
Context
- MIB
- DEVETHERNET-MIB
- OID
.1.3.6.1.4.1.4325.2.11.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- aniDevEthernetConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DEVETHERNET-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVETHERNET-MIB::aniDevEthernetCurrentLinkStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DEVETHERNET-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DEVETHERNET-MIB::aniDevEthernetCurrentLinkStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |