ciscoEsPortMdiMdix
CISCO-ES-STACK-MIB ·
.1.3.6.1.4.1.9.5.14.4.1.1.31
Object
column mandatory
Enumeration
Indicates whether the port is configured as MDI or MDIX or none (meaning not applicable). This object is also used to show the termination status for 10Base2 type ports.
Context
- MIB
- CISCO-ES-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.14.4.1.1.31- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ciscoEsPortEntry
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 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ES-STACK-MIB::ciscoEsPortMdiMdix'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ES-STACK-MIB::ciscoEsPortMdiMdix.<ciscoEsPortSwitchNumber>.<ciscoEsPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-ES-STACK-MIB::ciscoEsPortMdiMdix'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | mdi |
2 | mdix |
3 | none |
4 | internal-term-on |
5 | internal-term-off |