ethPhyPortLinkStatus
BIANCA-ETH-PHY-MIB ·
.0.1.1.6
Object
column Enumeration
This variable indicates link status and autonegotiation
results:
down(1) -- link down or autonegotiation failed
auto-neg-failed(2) -- autonegotiation failed
auto-neg-unavail(3) -- autonegotiation not available
auto-neg-running(4) -- autonegotiation running
auto-full-100(5) -- negotiated 100 mbps/full duplex
auto-half-100(6) -- negotiated 100 mbps/half duplex
auto-full-10(7) -- negotiated 10 mbps/full duplex
auto-half-10(8) -- negotiated 10 mbps/half duplex
full-100(9) -- forced mode 100 mbps/full duplex
half-100(10) -- forced mode 100 mbps/half duplex
full-10(11) -- forced mode 10 mbps/full duplex
half-10(12) -- forcde mode 10 mbps/half duplex
admin-down(13) -- link set administrative down
full-1000(14) -- forced mode 1000 mbps/full duplex
Context
- MIB
- BIANCA-ETH-PHY-MIB
- OID
.0.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ethPhyEntry
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 'BIANCA-ETH-PHY-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-ETH-PHY-MIB::ethPhyPortLinkStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-ETH-PHY-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-ETH-PHY-MIB::ethPhyPortLinkStatus.<ethPhyPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-ETH-PHY-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-ETH-PHY-MIB::ethPhyPortLinkStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | down |
2 | auto-neg-failed |
3 | auto-neg-unavail |
4 | auto-neg-running |
5 | auto-full-100 |
6 | auto-half-100 |
7 | auto-full-10 |
8 | auto-half-10 |
9 | full-100 |
10 | half-100 |
11 | full-10 |
12 | half-10 |
13 | admin-down |
14 | full-1000 |