tnPortEtherMDIMDIX
TN-PORT-MIB ·
.1.3.6.1.4.1.7483.6.1.2.2.4.4.1.9
Object
column Enumeration
The tnPortEtherMDIMDIX variable indicates whether the Ethernet interface is of type 'mdi' (Media Dependent Interface) or 'mdix' (Media Dependent Interface with crossover). If the agent cannot identify the type of Ethernet interface the value 'unknown (0)' is indicated. tnPortEtherMDIMDIX is only valid if tnPortClass is 'faste' or 'xcme'.
Context
- MIB
- TN-PORT-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.2.4.4.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnPortEtherEntry
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 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortEtherMDIMDIX'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortEtherMDIMDIX.<tnPortPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-PORT-MIB::tnPortEtherMDIMDIX'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | mdi |
2 | mdix |